ITP 100 – Exam 4 Study Sheet
The final exam consists of short answer concept questions from the object oriented chapter (Chapter 14)
and program design questions using on loops, modules, arrays and files.
The topics a
...
ITP 100 – Exam 4 Study Sheet
The final exam consists of short answer concept questions from the object oriented chapter (Chapter 14)
and program design questions using on loops, modules, arrays and files.
The topics are listed below. It may seem like a lot of topics, but most of the topics are listed to remind
you to review the previous chapter topics. (if needed)
Selection Statements – Review the topics in the chapters. Make sure that you know when to use each
type of selection statement. You have to know which type of IF statement to use to design the modules
and array problems.
1. What is the function of the IF statement in the selection control structure?
2. What is the function of the ELSE statement in the selection control structure?
3. What is the function of the simple selection control structure?
4. What is the function of the null ELSE statement?
5. What is the function of the combined selection statement?
6. What is the function of the nested non-linear IF statement?
7. What is the function of the nested linear IF statement?
8. What is the function of the CASE structure?
9. Solve problems using the simple selection control structure.
10. Solve problems using the null ELSE statement.
11. Solve problems using the combined selection statement.
12. Solve problems using the nested non-linear IF statement.
13. Solve problems using the nested linear IF statement.
14. Solve problems using the CASE structure.
1. What is a program loop?
2. What is the function of a counter?
3. What is the function of a DOWHILE loop?
4. When would you use a REPEAT UNTIL loop?
5. When would you use a Counted loop?
6. Counter controlled loop required 4 things
7. When would you use a leading decision loop?
8. When would you use a trailing decision loop?
9. What is the function of a sentinel value?
10. Solve problems using a counter controlled loop, Counted loop and REPEAT UNIL loop?
11. What is trailer record logic?
12. What is a trailer record?
13. Solve problems using the Trailer record control structure.
14. Solve problems using the Automatic End of File control structure.
1. What is an object?
2. What is a class?
3. What is the relationship between an object and a class?
4. What are attributes?
5. What are methods?
6. How are attributes and methods related to an object?
7. What is a public access method?
8. What is a private access method?
9. What is inheritance?
10. What is encapsulation? Information hiding?
11. What is a constructor?
12. What is the purpose of the New keyword?
13. What is a mutator?
14. What is a UML diagram?
15. What are the three sections of a UML diagram?
15. What is polymorphism?
What does a subclass inherit from a superclass?
Modularization Topics – make sure that you can design a solution using pseudocode the uses modules.
File Topics – make sure that you can design a solution using pseudocode the uses data files.
OOP Topics – make sure that you understand the basic concepts of Object Oriented Programming (you
will not be coding OOP on the exam).
[Show More]