CS3250 (Ada) Review for Exam #1
Test Format
- Matching - 10 qs @ 2 pts ea. This section will contain terms
we went over in class but that I don't expect you to be able to pull from
memory.
- Fill-In-The-Blank - 10 qs @ 3 pts ea. These will be sentences
with a word missing and you are expected to supply it. These are terms we
mentioned numerous times in class that I expect you to be able to pull
from memory.
- Short Answer - 4 qs @ 5 pts ea. These are questions that will
test your knowledge of concepts we went over in class. You will be
expected to explain something in one sentence (be brief).
- Long Answer - 3 q @ 10 pts eas. These are multi-part questions
that will test your knowledge of several related concepts.
- Bonus Question - 1 q @ 2 pts. This will test your knowledge of
computer-related trivia beyond the scope of this class.
Things You Should Study
- The Ages of Programming Languages
- Virtues of Object-Oriented Programming
- All about Namespaces: scope, masking, global, etc.
- Ada data types
- Top-Down Approach
- Comments on Commenting, how to comment in Ada
- Enumeration with TYPE
- Constraining ranges with SUBTYPE
- CONSTANT and what it does
- PACKAGEs and how they, encapsulate, make a namespace, etc
- Set operator: IN, how to use it
- 3 Types of Programming Statements
- Approaches to Block Syntax, how blocks are done in Ada
- The IF Statement
- PROCEDUREs, including Access Specifiers in Procedure Lists
- The FUNCTION Statement including Overloading
- The PACKAGE Statement
- All about Looping: different types of constructs, asserts, invariants
- Approaches to Error Handling
- Exception Handling
- Some other Ada syntax