This is a list of the topics we have covered so far.
The midterm questions can come from any of these.
Read over the notes and review the readings mentioned in them (if any).
Study the example code.
This will be updated as we get closer to the midterm.
Know the four properties of a variable, name, type, location and contents.
Know the different data types, int, float char etc.
If statements with and without else.
For, while and do loops.
Functions can be used wherever a variable of the return type can be used.
Know the difference between pass by value and pass by reference (reference parameters).
Declaration and use, the name.field notation.
Know the different operators ( <, >, >+, <=, != ) know the
logical operators ( !, &&, || ) How to combine them.
What is true and what is false?
Now how to declare and use one and two dimensional arrays.
Array elements are all the same size.
Arrays cannot be expanded.