Give examples of compile-time (syntax), run-time, and logical errors.
Front
Compile-time: forgetting a semi-colon; typing a brace instead of a parenthesis
Run-time: dividing by zero
Logical: The output displays Hello Word instead of Hello World
Back
If a program is not using whitespace properly, the program is not indented and spaced in a
readable form, but
Front
will work properly regardless of the spacing.
Back
What does it mean to say Java is case-sensitive?
Front
Writing a word in the Java text like String or string are different.
Creating an identifier Happy is different than HAPPY.
Back
What is another name for the brain of the computer?
Front
CPU
Back
What does the string concatenation operator, the plus sign (+)
Front
string concatenation operator, the plus sign (+), allows you to add one string to another.
Back
How many distinct items or values can 1 bit hold, 2 bits, 3 bits...
Front
n bits = 2^n items
Back
What cycle do computers continuously follow?
Front
fetch-decode-execute
Back
java
Front
object oriented
Back
comments
Front
do not effect the program
Back
An if statement is used in Java code to:
Front
execute certain statements based on the value of a variable
Back
compiling is the process by which:
Front
program code is translated into machine code
Back
print.ln
Front
out put is on different lines
Back
What is a byte?
Front
One byte equals 8 bits.
Back
print
Front
output is on the same line
Back
Is RAM or ROM volatile? What does it mean to be volatile?
Front
RAM. If the power is turned off or lost, you lose what is stored in the RAM.