Professional Documents
Culture Documents
Evaluation
Lecture Topics
Topic from the Book Used
Arithmetic expression
Page 57 to 62
Concept/Purpose of variable
Concept of Type
Declaration of variable/Syntax, Semantics
The rule for a valid identifier
Initialization of variables
Accessing values of a variable
Assignment statement, Syntax/Semantics
Arithmetic Expression involving variables and/or literal
constants
Problem-solving using literal constants, variables
Interactive Program (Taking Input from Console)
Selection Statement
Need/Purpose of Selection
Selection: if and if...else DS Malik,
7th
One-Way Selection Page 183 to 193
Compound (Block of) Statements Page 143 to 151
Comparing if...else Statements with a Series of if Page 211 to 214
Statements; Short-Circuit Evaluation
Solution/Algorithm development (Pseudo-Code and
Flow-Chart)
Comparing Floating-Point Numbers for Equality
Associativity of Relational Operators DS Malik,
Input Failure and the if Statement Quiz 1
8 th
Page 221 to 223 Graded Lab 1
Confusion between the Equality Operator (==) and the
Assignment Operator (=)
switch Structures (Pseudo-Code and Flow-Chart)
Nested Selection
Pre/Post-Increment DS Malik,
10 th
Pre/Post-Decrement Page 50 to 55
Order of Precedence Page 69 to 71
Ascii values
Type Conversion (Casting)
11th Loop Statement DS Malik, Quiz 2
Graded Lab2
Page 266 to 282
Why Is Repetition Needed?
while Looping (Repetition) Structure
Designing while Loops
Case 1: Counter-Controlled while Loops
Case 2: Sentinel-Controlled while Loops
Solution/Algorithm development (Pseudo-Code and
Flow-Chart)
Case 3: Flag-Controlled while Loops
More on Expressions in while Statements
for Looping (Repetition) Structure
do...while Looping (Repetition) Structure DS Malik,
12th
Choosing the Right Looping Structure Page 283 to 286 Assignment 3
break and continue Statements Page 297 to 314
Solution/Algorithm development (Pseudo-Code and
Flow-Chart and Dry-Run the loop).
Dry-Run the loop.
Nested Loop
MIDTERM
17th
MIDTERM (Review)
1D Arrays
31th Revision
32th Revision