New User Special Price Expires in

Let's log you in.

Sign in with Facebook


Don't have a StudySoup account? Create one here!


Create a StudySoup account

Be part of our community, it's free to join!

Sign up with Facebook


Create your account
By creating an account you agree to StudySoup's terms and conditions and privacy policy

Already have a StudySoup account? Login here

CSE 360 Week 2 Notes

by: Alexandra Notetaker

CSE 360 Week 2 Notes CSE 360

Alexandra Notetaker
GPA 3.5

Preview These Notes for FREE

Get a free preview of these Notes, just enter your email below.

Unlock Preview
Unlock Preview

Preview these materials now for free

Why put in your email? Get access to more of this material and other relevant free materials for your school

View Preview

About this Document

Lifelong learning and debugging
Software Engineering
Debra Calliss
Class Notes
cse, 360, CSE360, notes, software, Engineering, study
25 ?




Popular in Software Engineering

Popular in Computer Science and Engineering

This 6 page Class Notes was uploaded by Alexandra Notetaker on Sunday August 28, 2016. The Class Notes belongs to CSE 360 at Arizona State University taught by Debra Calliss in Fall 2016. Since its upload, it has received 4 views. For similar materials see Software Engineering in Computer Science and Engineering at Arizona State University.

Similar to CSE 360 at ASU

Popular in Computer Science and Engineering


Reviews for CSE 360 Week 2 Notes


Report this Material


What is Karma?


Karma is the currency of StudySoup.

You can buy or earn more Karma at anytime and redeem it for class notes, study guides, flashcards, and more!

Date Created: 08/28/16
CSE 360 SOFTWARE ETHICS  Attributesofamature profession  Accreditation  Education  Skilldevelopment  Certification  License  Code ofethics  Professionalsociety  Professionaldevelopment  Softwareengineersshallcommitthemselvestomaking theanalysis, specification,design, development,testing,andmaintenance ofsoftware abeneficialandrespectedprofession.In accordance withtheircommitmenttothe health,safety,andwelfareofthepublic,software engineersshalladhere tothe following 8principles:  Public  Client& Employer  Product  Judgement  Management  Profession  Colleagues  Self  Public  Shallactconsistentlywiththepublicinterest  Client& Employer  Shallactin amanner thatisin thenestinterestoftheir clientandemployer consistentwiththe publicinterest.  Product  Shallinsure thatproductsandrelayedmodificationsmeet thehighest professionalstandards.  Judgement  Shallmaintain integrityandindependence in professionaljudgement.  Management  Managersandleader shallsubscribe toandpromote an ethicalapproachtothemanagement, ofdevelopmentandmaintenance.  Profession  Shalladvance the integrityandreputation ofthe profession,consistentwith the publicinterest.  Colleagues  Shallbe fair andsupportive ofcolleagues  Self  Shallparticipatein lifelonglearning regarding  The practice oftheir profession,andshallpromote an ethicalapproachtothe practice ofthe profession.  PersonalLevel  Neverstealdatafor personalgain  Neverdistribute tosellproprietaryinfoobtainedaspartofworkon aproject  Nevermaliciouslydestroy/modifyothers’files  Neverviolate the privacyofan individual,group,or organization  Neverhack for sportor profit  Nevercreate avirusor aworm  Neverusetechtofacilitate discrimination or harassment  Whatistheprofessionalcode ofethics?  Expectationsfor waysprofessionalswork  NOTacontractor law. LIFELONG LEARNING  Reasonsfor lifelong learning  PersonalGrowth  Health  SocietalImpact  EconomicImpact  Educatev.Learning  Education isbasedon a formal,structuredprogramoflearning:  Setperiodoftime  Learn before youdo  Lifelong learning takeswhatyou can doandallowsyoutolearn.  What,when,where youwanttolearn.  Fundamentally,  Education impliescompletion  Learning isongoing  Challengesoflifelong learning  Timemanagement  Toomanytemptations  Self-discipline  Whattolearn?  Financialconstraints  Peer group pressure  Responsibility  Individualsplan andmonitor their own learning  Self- evaluation tofocuson improvement  For own learning  Lifelong learning !=lifelong schooling  Tipsfor lifelong learning  Have abook..READ!  Keep atolearn list  Have intellectualfriends  Teachothers  Challenging hobbies  Jobsthat encouragelearning  Start aproject  Celebrate achievements  Learning asapriority  Open tolearning opportunities  ContinuousProfessionalDevelopment  Systematicmaintenance,improvement,andbroadening ofrelevantknowledge andskills,and thedevelopmentofthese qualitiesnecessaryfor thesuccessfulcarrying outofprofessional dutiesthroughoutaprofessionalcareer  Aimedatenhancing individualworthandperformance.  S.M.A.R.TLearning  S=Specific/Strategic  M=Measurable  A=Attainable/Action Based/AgreedUpon  R=Realistic  T=TimeBound  Change  The actor instance ofmaking or becoming different  Can be:  Voluntary/Involuntary  Trivial/LifeChanging CSE 360 SKILL: DEBUGGING  Process  Debugging Effort  Part1:Timerequiredtocorrecttheerrorandconductregression tests.  Part2:Timerequiredtodiagnosesymptomsanddetermine cause  SymptomsandCauses  Symptomsandcausesmaybe geographically separate  Maydisappear when anotherproblemisfixed  Due tocombination ofnon-errors  Due tosystem/compilererrors  Due toassumptions  Maybe intermittent  Thoughtson Debugging  Think—beforeyou actandcorrect  Usetoolstogain insight  Atan impasse,getoutsideopinion  Once corrected,regressiontest touncoveranyside effects  Representing Data  Aprimitivevariable containsthevalue itself,butan objector referencevariablecontainsthe addressoftheobject  An objectcan be thoughtofasapointer to thelocation oftheobject  Rather than dealingwith arbitraryaddress,we oftendepictareference graphically  Assignment  Makesacopyofavalue andstoresitin avariable  Reference Assignment  Assignmentcopiestoaddress  Aliases  2or morereferencesthat refertothesame objectarecalled aliases  Thiscreatesan interestingsituation:one objectcan be accessedusing multiple reference variables  Aliasescan be useful,butshouldbe managescarefully  Changing an objectthroughone reference changesitfor allofits aliasesbecause there is reallyonlyone object.  Stack v.Heap  Stack containsdeclared:  Variables  Parameters  Heap contains:  DynamicallyCreatedVariables(“new”)  Coding for Debugging  Instrumenting code  Adding code fordebugging purposes  Do NOTwantalldebugging outputin finalproduct  Options:  Setcondition for compilation  Preprocessor generatescodesfor debugging  C/C++#ifdef  Setcondition for execution  Compilation  Run-time  Commentoutcode  SetCondition  If(debug) System.out.println(data);  How isdebugset?  Before compilation  Boolean debug=true;  Atrun-time  System.out.println(“debugon?Enteryor n”);  String result=in nextline();  Debug =result.charAt(0)==’y’;  Commenting Out  Needtoeasilyidentifycode thatisfor debugging  Usekeywordtosearch System.out.println(“Debut–“+val);  Searchfor debug andcommentoutcode //System.out.println(“Debut –“+val);  WhattoInstrument?  Atstart  Identifymethod  Displayvalue andinputparameters  Atend  Identifyleavingmethod  DisplayReturn Value  KeyLogic  Printvalue ofconditions  Printvalue ofcalculations


Buy Material

Are you sure you want to buy this material for

25 Karma

Buy Material

BOOM! Enjoy Your Free Notes!

We've added these Notes to your profile, click here to view them now.


You're already Subscribed!

Looks like you've already subscribed to StudySoup, you won't need to purchase another subscription to get this material. To access this material simply click 'View Full Document'

Why people love StudySoup

Jim McGreen Ohio University

"Knowing I can count on the Elite Notetaker in my class allows me to focus on what the professor is saying instead of just scribbling notes the whole time and falling behind."

Janice Dongeun University of Washington

"I used the money I made selling my notes & study guides to pay for spring break in Olympia, Washington...which was Sweet!"

Steve Martinelli UC Los Angeles

"There's no way I would have passed my Organic Chemistry class this semester without the notes and study guides I got from StudySoup."


"Their 'Elite Notetakers' are making over $1,200/month in sales by creating high quality content that helps their classmates in a time of need."

Become an Elite Notetaker and start selling your notes online!

Refund Policy


All subscriptions to StudySoup are paid in full at the time of subscribing. To change your credit card information or to cancel your subscription, go to "Edit Settings". All credit card information will be available there. If you should decide to cancel your subscription, it will continue to be valid until the next payment period, as all payments for the current period were made in advance. For special circumstances, please email


StudySoup has more than 1 million course-specific study resources to help students study smarter. If you’re having trouble finding what you’re looking for, our customer support team can help you find what you need! Feel free to contact them here:

Recurring Subscriptions: If you have canceled your recurring subscription on the day of renewal and have not downloaded any documents, you may request a refund by submitting an email to

Satisfaction Guarantee: If you’re not satisfied with your subscription, you can contact us for further help. Contact must be made within 3 business days of your subscription purchase and your refund request will be subject for review.

Please Note: Refunds can never be provided more than 30 days after the initial purchase date regardless of your activity on the site.