CPTR 124 Fundamentals of Programming Test 1 Study Guide
The material presented in this guide covers the concepts emphasized on
Test 1. It is meant to guide students studying and reviewing for Test 1;
it is not guaranteed to be comprehensive.
Actual test questions will differ from the examples given here.
Students should use this guide in addition to other study activities
(like reading Chapters 1-7, reviewing completed lab assignments,
old quizzes, etc.)
- Know the following concepts. Understand where they apply
and when they should or could be used.
- Basic terminology such as compiler, linker, etc.
- Identifiers, naming and using
- Arithmetic with variables and literals, integer arithmetic
vs. floating point arithmetic, mixed arithmetic, the limitations
of floating point representations, arithmetic abbreviations
- Boolean expressions involving relational operators and
logical connectives
- Conditional statements with if and
if/else and switch
- Loops: while
do/while, and for
- Abnormal loop flow statements: break and
continue
- Comments--how and why
- Be able to do the following tasks.
During your study, take some time to reflect on what you have
done in the labs.
If you have mastered the labs, then you should not be overly
challenged by the programming part of the test. On the other hand,
if you don't
understand all of the labs completely, (for example, someone else
did all or most of the work for you), then the programming problem may be
daunting.