Introduction to Problem Solving
Defining the problem
Identifying problem constraints
Creating a step-by-step solution
Algorithms I
General vs. specific problem solutions
Everyday problems and algorithms
Formal algorithm definition
Algorithms II
Pseudo code
Solution Flowcharts
Control Structures
Introduction to computers
Basic computer components (CPU, memory, secondary storage, I/O devices)
Number systems
Decimal Number System
Binary Number System
Octal and Hexadecimal
Converting between number systems
Variables and Arithmetic operators
Variable names
Variable types and declarations
Arithmetic operators
Operator precedence and use of parenthesis
Integer division and modulus operator
Selection Control Structures
Relational Operators
Boolean Expressions
‘if’ statements
‘if-else’ statements
‘if- else if – else’ statements
Nesting ‘if’ statements
‘switch’ statement
Loops
‘for’ loops
‘while’ loops
other loops
Sentinel values
Functions
Using functions
Defining functions
Functions that return a value
Function parameters
Local variables
Arrays
Array definition and declaration
Accessing array elementArrays and functions
|