You are on page 1of 3

Chapter 2.

Organization: Create a folder called week2_yourname. Place all of you programs in this
folder.
Submission: Take a screen shot for each of your executed program, .jpg or pdf. Submit
these in canvas. Do not zip the files.

Lecture
Guided Practice.
2.1 How many parts are there in a C++ program? The Part of a c++ program
Program 2-1 page 28
2.2 What does this do? The cout Object
Program 2-2 p32, 2-3 p32
2.3 What it the #include directive
2.4 How do we use Variables and Literals?
Program 2-7 p 38
Program 2-9 P 40
2.5 What is an Identifier p 42
2.6 How many are there Integer Data Types?
Program 2-10 p44
2.7 What is a char Data Type?
Program 2-12 p47

Student lab
Skills Review: Write Programs:

Program 2.-5 p33


Program 2-8 p 40
Program 2-13 p60

Independent Practice. Perform the requested activity.


Checkpoints.
Checkpoint 2.1 .p30 Checkpoint
2.4 p37 Checkpoint 2.9 p47
Checkpoint 2.14 p52

Programming
Challenges p 81

1 calculation are Sum=Number1+Number2


3 TotalSalesTax = TotalSales *TAX
5 Average(sum1+sum2+..)/Numberofitems

Class B Chapter 2

Lecture
Guided Practice
2.8 What is a StringData Type? Why do we need them?
Program 2-15 p51
2.9 Why do we use the bool Data Type?
Program 2-17 p56
2.11 Determining the Size of a Data Type
Program 2-18 p57
2.12 Variable Assignment and Initialization
Program 2-19 p 59
2.13 Scope
Program 2-20 p60
2.14 Arithmetic Operators
+, - , *, / Integer division returns the lowest whole number.

2.15 Comments
Program 2-27 p 69
2.18 If you plan to continue in computer science standard and
prestandard C++.
Page 74. Headers #define instead of const

Student lab

Skills Review: Write Programs:


Program 2-24 p66

Independent Practice. Perform the requested activity.


Checkpoints. None.

Programming Challenges p 81
o 14 o 15

You might also like