CST112: Exam 1
-
At the exam you will create and save a Processing "sketch" which may include
any or all of the following elements:
- Pixel based coordinate systems
-
Drawing function calls including point
()
, line()
,
rect()
, ellipse()
, rectMod()
,
ellipseMode()
, arc()
, stroke()
,
noStroke()
, fill()
, noFill()
,
colorMode()
, triangle()
, quad()
,
beginShape()
, vertex()
and endShape()
- Setup functions including size
()
and background()
- Output functions including println
()
and print()
- Error detection and correction
- The "Processing Reference"
-
Code blocks with the setup
()
, draw()
,
mousePressed()
and keyPressed()
functions
- The mouseX, mouseY, pmouseX, pMouseY, width and height system variables
- Variables, types, and variable declaration and initialization
- Variable assignment including increments
- Randomization with the random
()
function and casting
- Images
-
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.