Comp
110
1st Mid Term
Study Guide
i. Machine language
ii. Assembly language
iii. High-level language
=, +=, -=, *=, /=,
%=
+, -, *, /, %, ++, --
i. byte
ii. short
iii. int
iv. long
v. float
vi. double
i. Syntax errors
ii. Runtime errors
iii. Logic errors
<, <=, >, >=, ==, !=
!, &&, ||, ^
i. With and without else clauses
ii. Nested if statements
i. Data types for the switch variable
ii. Use of the break statement
iii. Use of the default case
iv. Converting between switch and if statements
i. The while loop
ii. The do-while loop
iii. The for loop (what are the
three parts for controlling the loop)
i. Method header
1.
Modifiers
2.
Return
value type
3.
Method
name
4.
Parameters
i. Sequence (series)
ii. Selection (choice)
iii. Loop (iteration)
iv. Method (subprogram)