Review
for Test 1 COSC 117
Read Lessons 1 through 9 in the notes:
You should know all the terms listed below. Know their
definition.
constant
expression variable double
integer
run
time error logic
error method function control
structure
assignment
syntax
error data type object
class
algorithm
instance
literals
loop
conditional
boolean
read
write
while
char
relational operators
Boolean operators (logical operators)
You will be required to write some Java code including a
complete Java program.
Look at the examples given in class and in lab:
Look at problems you did in Lab 2
Look at problems you did in Lab 3
Be sure you know how to define variables and constants in Java.
Be sure you know how to write nested looops in Java.
the if (grade>=90)
System.out.println("You got an A");
else if (grade >=80)
etc.
Be sure to know the following instructions in Java.
Scanner keyboard=new Scanner(System.in);
and the heading for a Java main program
public static void main(String[] args) {