CSE115 / CSE503 Introduction to Computer Science I Dr. Carl Alphonce 343 Davis Hall alphonce@buffalo.edu Office hours: Thursday 12:00 PM – 2:00 PM Friday 8:30 AM – 10:30 AM OR request appointment via e-mail PROFESSIONALISM Turn off and put away electronics: cell phones pagers laptops tablets etc. © Dr. Carl Alphonce Today ROADMAP Q&A © Dr. Carl Alphonce EXAM ROOMS “Abayev” to “Hammer Walitzer”: Knox 104 “Hamoudi” to “Pizarro”: Knox 110 “Poon” to “Zuccala”: Norton 112 © Dr. Carl Alphonce EXAM RULES Exam starts promptly at 11:45 Exam seating starts at 11:30 No departure prior to 12:15 No arrivals past 12:15 Late? Zero for final. No show? Zero for final. © Dr. Carl Alphonce Howareyoupreparingforthe final? A. Ihaveretakenexams 1and/or2under examconditions. B. Ihavelookedover thesolutionsto exams1and/or2. C. Ihavenotreviewed exams1or2. D. Thereareexam solutionsposted? Howareyoupreparingforthe final? A. Ihavere-done severallabs. B. Ihavelookedover, butnotre-done, severallabs. C. Ihavenotlookat thelabs. D. Therearelabs? Howareyoupreparingforthe final? A. Ihavecomeupwith possibleexam questionsonmyown. B. Ihavethoughtabout possibleexam questions,butnot writtenthemout. C. Ihavenotthought aboutpossibleexam questions. D. There’sanexam? Howareyoupreparingforthe final? A. Ihavereviewmyown lecturenotesindetail, takingadditionalnotes, jottingdownquestions asIreviewed. B. Ihaveskimmedmy lecturenotesonceor twice. C. Ihavenotreviewedmy ownlecturenotes. D. Idonothaveany lecturenotes. • • • representinginformation gates(and, or,not) languagetranslation – – • • • headerandbody instancevariables constructors(&methods) vocabulary – – • assignmentoperator‘=’ classdefinitions – – – • type,name,value,location,scope, lifetime instanceandlocal(bothparameterandnon-parameter) variabledeclarations assignmentstatement – • properties– instancevariables behaviors- methods variables – – • • • objects – – • compilation(HLLtoLLL) assembly(LLLtoLLL) • keywords(package,public,private,class,new) header,body, terminator,parameterlist,argumentlist, declaration,statement,etc. accesscontrolmodifiers – public /private null graphicaluserinterfaces memoryorganization – static/dynamic – dynamic:stack/heap classinstantiation – newoperator • • • • – referenceisvalueofnewexpression diagrams – object(objects, variables, references) – class(classes, relationships) relationships – composition/association/inheritance (generalization)/implementation (realization) methodinvocation – – • • • conditionals(if/if-else),loops(for,while,foreach) collections – – • • invocationrecord onruntimestack argumenttoparameterassignment controlstructures – • allocatesmemoryonheap ArrayList<E>,HashSet<E> Iterator<E> designpatterns:Observer, Iterator,… inhertiance, overloading, overriding, constructor chaining, typehierarchy,Object primitives: binaryandtwo’s complement representations andothermisc.topics(incl.search)