Presentation is loading. Please wait.

Presentation is loading. Please wait.

Wednesday, 10/9/02, Slide #1 CS 106 Intro to CS 1 Wednesday, 10/9/02  QUESTIONS ??  Today:  Discuss HW #02  Discuss test question types  Review 

Similar presentations


Presentation on theme: "Wednesday, 10/9/02, Slide #1 CS 106 Intro to CS 1 Wednesday, 10/9/02  QUESTIONS ??  Today:  Discuss HW #02  Discuss test question types  Review "— Presentation transcript:

1 Wednesday, 10/9/02, Slide #1 CS 106 Intro to CS 1 Wednesday, 10/9/02  QUESTIONS ??  Today:  Discuss HW #02  Discuss test question types  Review  Test #1 is on Friday

2 Wednesday, 10/9/02, Slide #2 Types of questions on exams  Exam covers all material we’ve studied through today’s class  There may be questions of any of the following types:  Define or describe basic terms  Give examples  Evaluate expressions  Trace programs: Show output and/or contents of memory  Debug programs: Find and/or correct syntax and logical errors  Write short programs or program segments.  You may bring to the exam a reference sheet: a single, 8.5 by 11 piece of paper, on which you may write any information you wish (both sides OK).

3 Wednesday, 10/9/02, Slide #3 Exam Topics: Chaps. 1-2, (+ parts of 6, 7)  Chapter 1: Basic computer components and terminology; high and low level languages; beginning C++ programming ideas (program structure, input/output, assignment, float objects, precedence of operators); kinds of program errors  Possible questions: Describe, give examples of basic terms; write a small, complete program; evaluate some arithmetic expressions  Chapter 2, 6 and 7: if--else if--else structure (Chap. 2 and also 7.1); T-F expressions; relational operators and precedence; swapping; while structure; initializing and updating; counting, summing, accumulating; sentinels; nested loops; int v. float v. double (6.1-6.2)  Possible questions: Trace program segments, showing memory and monitor; evaluate T-F expressions; write segments involving choice and/or loops

4 Wednesday, 10/9/02, Slide #4 Exam Topics: Chaps. 3-5  Chapter 3 & 5 (functions): Basic function syntax, function parameters and arguments; function return types, value-returning v. void functions; scope of objects; constants and global constants; using library functions; function prototypes and definitions; value v. reference parameters  Possible questions: Given example, identify return type, parameters, arguments; trace function call; write code to use a library function; write program segment defining a function  Chapter 4: Program design process; top-down design; software life cycle  Possible questions: Describe main steps of these processes

5 Wednesday, 10/9/02, Slide #5 Exam Topics: Chap. 12  Chapter 12 (through 12.4.a): Basic syntax and concepts of OOP and classes; principles of OOP, ADTs, objects; client use of classes: declaring instances of class objects, the member access operator (dot); the header file: client interface, class definition, function prototypes, data members (attributes), public v. private; the implementation file: prefix of function names with class name and scope operator, defining member functions.  Possible questions: Explain concepts; for given ADT, give client use, prototypes, implementations.


Download ppt "Wednesday, 10/9/02, Slide #1 CS 106 Intro to CS 1 Wednesday, 10/9/02  QUESTIONS ??  Today:  Discuss HW #02  Discuss test question types  Review "

Similar presentations


Ads by Google