Quiz 4 Review, CPSC 110,
Some things you
should know:
This is NOT an all
encompassing list, but it should help.
- Your Name, Your ID, Your Section Number
- Know about if and else.
- Know the structure of UNITs.
- Know what UNITs contain. Know the stuff
you were told to know in class.
- What are the sections of a unit
(implementation, interf…)
- What is a block of code?
- This class is about Problem Solving (in
a structured way (using Turbo Pascal) ).
- Read, Readln, Write, Writeln are what?
How do you use them?
- Be able to evaluate Boolean expressions.
- What is a CONST? Where are they
used/defined in a Pascal program?
- What is TYPE? Where is it used in a
Pascal program? What does it do?
- How do you declare a variable of a type
you just defined?
- Understand Loops (Whiles, Fors, and
Repeats)
- What is a control variable?
- What is a parameter? What are the types
of parameters?
- Does the order of parameters matter?
Why?
- Can you send a constant as a value
parameter? as a variable parameter?
- What is the order of declarations (by
the book) in a program?
- Be able to read and write programs using
functions and parameters.
- How does a function return a value?
- How do you know what type of data a
function returns?
- Look at chapters 4, 5 and 8 (though the quiz is
cumulative).
- Be able to WRITE A PROGRAM
FROM SCRATCH – or at least
fill in blanks for one.
- Be able to determine the output of a
given program – see the book for examples.
- Other things talked about in class
and/or in lab and/or homework and/or some from the book.