Final Exam Review


The final exam will be open book. Bring your textbook there will be at least one problem that requires you to use the tables in the Appendix.

Topics

Declarations and data types
Simple arithmetic expressions and numerical inaccuracies
Logical expressions
Given a function description, write the function.
Write a selection statement given the criteria
Loops: counting, conditional, and EOF.  Determine count, high, low, average, and total.
Subprograms - functions and procedures
    return types
    input and output parameters
Arrays; declaring and initializing
    loops for processing arrays
    arrays as parameters
Strings; declaring and initializing
    representation
    assignment
    input/output
Records; declaring and initializing
   accessing fields
Arrays of records
    loops for processing
Write a test plan
Perform a hand trace or prediction
Given a problem, design subprogram definitions (E.g., Ch 6 #4)
Implement a complete program using arrays.