CST112: Exam 2
-
For the exam you will create and save a Processing "sketch" that consists of
two files, a "class" file and a "driver" file, and which may include any or all
of the following elements:
-
Boolean expressions, relational operators and conditional statements:
if, else, else if
- Logical operators: AND (&&) and NOT (||)
- Mouse rollovers
- Boolean variables
- Looping structures: for, while and do while
- Local vs. global variables
- Modularity: calling programmer-defined functions
- Arguments and parameters
-
Returning values and function return types
(vs. the
void
type)
- Object-oriented programming (objects and classes)
- Constructors, class methods and instance variables
- Instantiating objects and calling their methods
- Objects as data types
- Working with tabs in the Processing editor
- Arguments in constructors
-
Because programming exams by nature are cumulative, any
topics that were covered on Exam 1 additionally may be
included among the requirements for this test
-
The exam is open book. That means you
may use your textbook, printouts of programs and lecture notes, as well
as any other notes. You may use the Internet only to access the
on-line "Processing" or if you have an on-line version of the textbook.
-
Once you have completed the exam, you will upload the project
file(s) to a Brightspace dropbox.