NUS CS1010 Lecture Notes for AY22/23 Semester 1
Intermediate C
Algorithms
Arrays, Pointers, Memory Management
Control Statements
-
8. Conditional Statements
-
9. Logical Expressions
-
10. Assertions
-
11. Loops
-
12. Invariant
Basic C
Preliminaries
-
1. Programming
What is a program? What is programming? What is CS1010 about?
-
2. Computational Problems
What is a computational problem? Express a step-by-step solution to a computational problem with a flowchart.
-
3. Functions
Write functions that solve simpler sub-problems and then combine the functions to solve higher-level and more complex problems.
-
4. Types
Each variable has a type that tell the machine how to turn a bit sequence into a meaningful value.