CS 1114 Lecture Notes - Lecture 4: Greenfoot, Unit Testing

176 views1 pages

Document Summary

Greenfoot options debugger (reference bluejay textbook, chapter iii). ~ program ii note: navigate the edge of the island in order to complete the island in its entirety. Only one if statement" is required to obtain all of the flowers on the island. Only one if statement" is required to obtain all of the nets on the island. No more than two if statements" are required to navigate the shore. This program can be successfully completed with one loop. Keep statements clear and concise no smelly" code! Notes: utilize getwidth(); and getheight(); for jeroo instantiation (not required for program ii); right click and drag. Unary operators refer to a single variable being changed. Therefore, not (!) is a unary prefix operator. Binary operators contain two values in a question. Therefore, and (&&) and or (||) are binary infix operators. Syntax errors typically will occur earlier on, and the compiler will spot them.

Get access

Grade+
$40 USD/m
Billed monthly
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
10 Verified Answers
Class+
$30 USD/m
Billed monthly
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
7 Verified Answers

Related Documents