Intro to Programming ADP Outline
Intro to Programming ADP Outline
Table of Contents
1 Week 1: 4
1.1 Intro to Problem Solving 4
1.1.1 Intro to Problem Solving 4
1.2 Von-Neumann architecture: 4
1.3 Intro to Programming: 4
2 Week 2 5
2.1 Intro to Programming (Continued) 5
2.2 Compiler and Linker: 5
2.3 Introduction to Algorithms: 5
3 Week 3 6
3.1 Variables and Data Types 6
3.2 Operators 6
3.3 Conditional Statements: 6
4 Week 4 7
4.1 Nested Conditional Statements: 7
4.2 Repetitive Statements: 7
4.3 Pretest loops in c++: 7
5 Week 5 8
5.1 Nested Pretest Loops in c++: 8
5.2 Posttest Loops: 8
5.3 Quiz 1 (Conditional and Repetitive Statements) 8
6 Week 6 9
6.1 List Data Structure: 9
6.2 List Data Structure (Continued): 9
6.3 Dimensional Arrays: 9
7 Week 7 10
7.1 Dimensional Arrays (Continued): 10
7.2 Modular Programming: 10
7.3 Functions and Basic Modules: 10
8 Week 8 11
8.1 Organising Code into Multiple Files: 11
8.2 Quiz 2 (Arrays and Functions): 11
8.3 Stacks and Programming Stack Management: 11
9 Week 9 12
9.1 The Call Stack: 12
9.2 Stack Overflow and Infinite Executions: 12
9.3 Characters in c++: 12
10 Week 10 13
10.1 C-style Strings 13
10.2 C++ String Class (std::string): 13
10.3 Working with std::string: 13
11 Week 11 14
11.1 Working with std::string (Continued) 14
11.2 String Manipulation: 14
11.3 String Comparisons: 14
12 Week 12 15
12.1 String Conversion 15
12.2 Pointers: 15
12.3 Quiz 3 (Characters and Strings) 15
13 Week 13 16
13.1 Pointers (Continued): 16
13.2 References 16
13.3 Pointers vs Arrays: 16
14 Week 14 17
14.1 Dynamic Memory Allocation: 17
14.2 Static Memory Allocation 17
14.3 Quiz 4 (Pointers and Dynamic Memory Allocation) 17
15 Week 15 18
15.1 Intro to File I/O: 18
15.2 Working With Text Files: 18
15.3 Reading from Text Files: 18
16 Week 16 19
16.1 Writing to Text Files: 19
16.2 Error Handling in File Operations: 19
16.3 File Management Operations: 19
1 Week 1:
1.1 Intro to Problem Solving
1.1.1 Intro to Problem Solving
3.2 Operators
● Logical Operators
● Arithmetic Operators
● Comparative Operators
● Creating a Basic Calculator (Example + practical)
● Celsius to Fahrenheit Conversion (Example + Practical)
12.2 Pointers:
● Brief overview of RAM
● Concept of memory addresses
● Variables and memory locations
● What is a pointer?
● Definition and purpose
● Pointer declaration syntax
● Address-of operator (&)
● Dereferencing operator (*)
13.2 References
● Definition and purpose
● Reference declaration syntax
● Differences between pointers and references
● When to use references vs. pointers
● Recap of Pass by Reference to function