CHAPTER 2 OVERVIEW -HENDRICKSON
ch-2 Writing Your first programs
a. Lecture over new concepts
1. Program Development-Top Down Design
2. Writing Programs
a. reserved words
b. declare valid identifiers(variables)
c. basic components of a c++ program
d. basic structure(sriting your first code)
3. Data types and output
a. Use & Understand
1. int
2. char
3. double
4. strings & string constant
b. differentiate between fixed and floating point
c. syntax
d. format output
4. Graphics(introduction)(Boreland 3.0 c++)
a. Understand the conceptual framework
b. Learn the "graphics" mode settings & code
c. draw simple line segments
b. Programming assignments discussion
1. prog-1 pg 60_1(create dot fields & design/remove dots)
2. prog-2 pg 60_2(see notes to 1)
3. prog-3 pg 60_5(save for permanant usage later)
4. prog-4 pg 60_8(reg, honors do a "truck")
c. Debugging techniques
1. Spell key(reserved) words correctly
2. End lines with a semi-colon(error often below)
3. careful use of extractor (<<) for output
4. graphics:
a. #include graphics.h
b. set i.d.e. for graphics
c. use functions graphdriver & init graph & closegraph();
d. check your coordinates
d. Homework
1. 2.1 page 30(2,4,6,8 +honor 9,10,11,12)
2. 2.2 page 40(1-7 all)
3. 2.3 page 49(1-7 all)
4. 2.4 page 58(1-3 all)(Graphics)
5. a. Vocabulary page 58(34 words)
b. Keywords Page 58(8 words)
6. Page 60 Chapter Review Exercises(1-16 all)
e. Chapter Tests & Quizzes
Go back to chapter 1. . . .
Go forward to chapter 3. . . .
Go back to Computer Science page. . . .