Next: About this document
Computer Programming II (CS2500)
Midterm Review, Spring 1997
These are some questions to help you review for the midterm. They are
intended to help you study, but they will not replace studying the book
and your notes.
- Describe the general problem solving method using a computer.
- Briefly discuss debugging and testing techniques.
- What are the syntax and semantics of a programming language?
How are they different?
- Briefly describe each of the following: identifier, data type,
variable, declaration, reserved word, standard identifier,
procedure.
- What are the four elementary data types in Pascal?
- What is a type declaration? Why are type declarations
important? What is the effect of a type declaration?
- What is a constant declaration? Why are they useful?
- What are semi-colons used for in Pascal?
- What arithmetic and boolean operations are available in Pascal?
- What structured data types are available in Pascal?
- Describe the syntax for declaring arrays and records
in Pascal.
- What are pointer variables? What facilities does Pascal
provide for working with pointers? Briefly discuss
some of the issues involved in using pointers.
- What is an abstract data type? Give some examples.
- Describe the Stack abstract data type.
- Give an implementation of the stack ADT.
- Given some Pascal code, describe its output for given input.
- Write some Pascal code.
- Etc. ...
Tom Carter
Tue Mar 25 11:48:17 PST 1997