Final Review Bina Ramamurthy 12132021 BR 1 Chapters
Final Review Bina Ramamurthy 12/13/2021 BR 1
Chapters and Sections • Chapter 2: Simple C++ Programs – 2. 1 to 2. 5, 2. 8 up to page 64 • Chapter 3: Control Structures – 3. 2 to 3. 5, exercises on p. 116, 117, Ex 28 on p. 119 • Chapter 4: Working with data files – 4. 1 to 4. 3, class notes and examples 12/13/2021 BR 2
Chapters and Sections (contd. ) • Chapter 5: Modular Programming with functions – 5. 1 to 5. 3, 5. 5, class notes, Ex. 1 on p. 219 • Chapter 6: One dimensional arrays – 6. 1, class notes, exercises on p. 266, 278 • Chapter 8 – 8. 1 to 8. 3, class notes, exercises on p. 355, 356 12/13/2021 BR 3
Summary of Topics Covered • Engineering Problem Solving, Design and Implementation of a solution • C++ language elements: variables, arithmetic operations, operator precedence, constants • Simple statements: Assignment, input and output statements • Using library functions: iostream and cmath • Selection statements: If, if. . else, switch • Repetition statement: while, for, do. . while • File input and output • Functions: declaring, defining and invoking a function; parameter passing • Array data structures: definition and usage • Object-oriented programming: class concept, object instantiation, member function invocation 12/13/2021 BR 4
Final exam • Date and Time: Thursday 5/12/2005, 3. 30 -6. 30 pm • Locations: Knox 20, Franczak 454 • Go to Knox 20 , if it is full then go to Franczak 454 ( we don’t plan to use Capen 10) • Format: You may bring one sheet of any information you like, you name should be on the sheet; please hand in the sheet along with answered exam. • Bring pencils, pens and erasers; no calculators allowed. 12/13/2021 BR 5
Tentative Exam Format • Multiple choice (20 questions) • 10 short answer/programming questions 12/13/2021 BR 6
- Slides: 6