| Lecture # | Date | Lecture Quiz | Notes | Recording | Pages | Lab | HW | Keywords |
|---|---|---|---|---|---|---|---|---|
| WEEK 1 | ||||||||
| Introduction, course policies and motivations
Watch Chapter #1 Recordings | ||||||||
| Chapter #2: Structure of a C program, Commenting, Identifiers, Data types. | ||||||||
| WEEK 2 | ||||||||
| Chapter #2 cont.: Data types, Variables, Literal Constants, Symbolic/Defined Constants, Formatted I/O | ||||||||
| Chapter #2 cont.: Formatted I/O, Width and precision modifiers, Errors and debugging with examples | ||||||||
| WEEK 3 | ||||||||
| Chapter #3: Expressions(Operators and operands). Operator precedence. Assignment expressions. Simple & Compound assignments.
Prefix and postfix (Undefined vs. Well-defined behavior example).
Single and mixed data type expressions. implicit, explicit (type casting) |
||||||||
| Chapter #3 cont.: Single and mixed data type expressions. implicit, explicit (type casting), and assignment data type conversions. Rounding, truncation using floor(), type casting to int, truncation in printing using precision modifiers. A brief overview of Selection via calculation. | ||||||||
| WEEK 4 | ||||||||
| Chapter #3 cont.: Selection via calculation explained with 2 examples.
Chapter#4: Purpose of functions. Motivation - why? Factor – smaller is easier. Reuse - by you or others. Remove redundancy. Protect data – using the variable doesn't change its value. |
||||||||
| Chapter #4: cont.
Types of functions: 1- No parameters - no return value: ex. welcome() , menu_options(). 2- No parameters - with return value: ex. get_input(). |
||||||||
| WEEK 5 | ||||||||
| Chapter#4 cont. Types of functions.
3- With parameters - with return value - Many math.h fx, sin(). 4- With parameters - no return value - printf(), display_results(). What is permitted in main() Function - only local variable definitions, function calls and limited selection or repetition (to call functions). Parameter passing: 1- Pass by value. |
||||||||
| Chapter #4 cont. Parameter passing: 1- Pass by value. 2- Pass by address. Pointer operations. |
||||||||
| WEEK 6 | ||||||||
| Chapter #4 cont. Scope. Structure Charts. How to read a structure chart. Problem-solving method (specify, analyze, design, code, test and debug, refine). Chapter #5: Selection. Logical data. logical operators (NOT, AND, OR). Logical operators truth table. Logical expressions evaluation. Short circuit method with example. |
||||||||
| Chapter#5 cont. : Relational operators (<, <=, >, >=).
equality operators (==, !=). Compound statements.
Examples illustrating compound statements with short circuit method. Complements: (1) Relational and equality operators. (2) Logical operators. examples on Complements. | ||||||||
| WEEK 7 | ||||||||
| Chapter #5 cont.: Two way selection: (1) if-else with examples. Nested selection (if/if else). Dangling else. (2) Conditional expressions. |
Midterm Exam #1 - Date: Tuesday, October 7 *** Time: 8:00pm - 9:00pm *** Location: ELLT 116 | |||||||
| Chapter #5 cont.:
Two way selection: (2) Conditional expressions. Multiway selection: (1) if / else if / else with examples compared to if if structure. (2) switch construct. |
||||||||
| WEEK 8 | ||||||||
|   🍁 FALL / OCTOBER BREAK 🍁 | ||||||||
| Chapter #6: Repetition using loops. looping basics and terminology.
Repetition Flow chart example (calc avg, min and max of exam scores). Pretest and post-test loops. How to choose the right construct. Factorial example. |
||||||||
| WEEK 9 | ||||||||
| Chapter #6 cont.:
Event-controlled vs. Counter-controlled processes. Input validation.
Basic syntax of while and do while loops. Revisiting Factorial example to demonstrate another variation of the factorial example using while and do while loops. while vs do-while loops with example(factorial example). Nesting concept. Nested loops with example (range of factorials example). | ||||||||
| Chapter #6 cont.:
The infinite loop. The for loop.
Converting while loops to for loops examples. Rearranging digits in a number example. |
||||||||
| WEEK 10 | ||||||||
| Chapter #6 cont.:
Recursion: concepts with examples (Restaurant waiting line & factorial examples).
|
||||||||
| Chapter #6 cont.: Previous Exams Questions on Chapters 5 & 6 | ||||||||
| WEEK 11 | ||||||||
| Chapter #8:
|
||||||||
| Chapter #8 | ||||||||
| WEEK 12 | Midterm Exam #2 - Date: Monday, November 10 *** Time: 8:00pm - 9:30pm *** Location: ELLT 116 | |||||||
| Chapter #8 | ||||||||
| Chapter #8 | ||||||||
| WEEK 13 | ||||||||
| Chapters #9 & #10 | ||||||||
| Chapters #9 & #10 | ||||||||
| WEEK 14 | ||||||||
| Lecture will be recorded and NOT an in-person meeting | ||||||||
|   🦃 THANKSGIVING 🦃 | ||||||||
| WEEK 15 | ||||||||
| Chapter #8 | ||||||||
| Chapter #8 | ||||||||
| WEEK 16 | ||||||||
|   NO LECTURE - Lecture is canceled to compensate for evening midterm exam 1 | ||||||||
|   NO LECTURE - Lecture is canceled to compensate for evening midterm exam 2 | Final Exam - Date: Wednesday, December 17 *** Time: 7:00pm - 9:00pm *** Location: ELLT 116 | |||||||
|
I never lose.. Either I win or learn 😉 Nelson Mandela |
|---|