Professional Documents
Culture Documents
Guided Practice.: Student Lab
Guided Practice.: Student Lab
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:
Programming
Challenges p 81
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
Programming Challenges p 81
o 14 o 15