Presentation is loading. Please wait.

Presentation is loading. Please wait.

Test Review Computer Science History

Similar presentations


Presentation on theme: "Test Review Computer Science History"— Presentation transcript:

1 Test Review Computer Science History
Computer Organization and Components Overview Software & Programming Languages Characteristics of a Well Designed Program Translation Process Syntax and Style Syntax Errors/Logic Errors

2 Input/Output Console Libraries required cout/cin <</>>
Escape sequences Stream manipulators File ifstream/ofstream Opening and closing files Specifying file paths Validating successful open

3 Variables/Literals/Constants
Types of How stored Variables Rules for naming Types Libraries required Declaration statements Storage Format Initialization or Lack Thereof Relative storage size and value limits Assigning values Assignment Operator Multiple Assignment Combined Assignment Named constants Declaration Naming convention When to use

4 Arithmetic Calculations
Arithmetic Operators Precedence Associativity Number and type of operands Writing Algebraic Expressions in C++ Integer Division Mixed Mode Arithmetic Type Casting cmath library Formatting numerical output

5 Relational Expressions
Relational Operators Precedence with respect arithmetic operators Precedence with respect to assignment operator Relational Expressions Evaluating What values they can evaluate to Comparison of floating point (or double) numbers Comparison of char Comparison of strings

6 Decision Making Control Structures
if (condition) { } else else if (condition) else //optional

7 Switch switch (IntegerExpression) { case ConstantExpression1:
stuff to do when IntegerExpression evaluates to ConstantExpression1 break; //Optional case ConstantExpression2: stuff to do when IntegerExpression evaluates to ConstantExpression2 break; . default: //Optional stuff to do when IntegerExpression evaluates to none of the ConstantExpression(n)s }

8 Boolean Expressions Logical Operators
Precedence with respect to each other Precedence with respect to relational operators


Download ppt "Test Review Computer Science History"

Similar presentations


Ads by Google