Written exam

 

Problem

            Instance

            Solution

Algorithm

            Complete, correct, finite, executable

Stepwise refinement, psuedocode

            How, why

Data type

            Set of allowed values and set of defined operations

            Difference between real-world and computer

            C++ native types

                        int, long, short, unsigned

                        float, double

                        char

                        boolean

            literal, variable, constant, expression

statement execution patterns

            sequential

            selection

            repetition

                        determinate

                        indeterminate

            procedure (just the name for now)

For the C++ statements we’ve done so far

            Syntax

            Use (when to use for, while, do-while, for example)

            If shown a piece of code that uses one or more of the statements, tell what it does

                        Be able to reproduce output EXACTLY without running it on a computer

            Know common errors

                        More than one statement as action of IF or loop

                        Single = instead of double for Boolean comparison

                        Etc.