Notation
Data
Uh-oh
Vocabulary
Odds and Ends
100

How do you create an in-line comment?

With double slashes

100

What is the difference between print() and println()?

println() includes a return to a new line

100

What happens when you attempt to divide by zero?

An ArithmeticException

100

A finite set of instructions that accomplish a task

Algorithm

100

The special character that signifies the end of an instruction.

The semicolon ;

200

How do you create a multi-line comment?

Open the comment with /* and close with */

200

An instance of a Class

Object

200

The program crashes while running.

Runtime error

200

The specific value provided when a method or constructor is called

Argument

200

The name of this operator: %

Modulo

300

What is the escape sequence?

A backslash before the offending character
300

Name the three primitive datatypes we have discussed.

int, double, boolean

300

The program compiles and runs without crashing, but it doesn’t do what is expected.

Logic error

300

Used to call a method in a class

Dot Operator

300

What is the return on this: 10 % 5?

0

400

The rules regarding the correct way to type the code so the program will run.

Syntax

400

A way to tell a variable to temporarily become a different datatype.

Casting

400

What would happen if you used "public" as a variable name?

A Syntax error

400

Defines the type of value to receive when a method or constructor is called

Parameter

400

This binary number in Base 10:  1001

9

500

What is the concatenation operator?

The + sign

500

String phrase = "Be prepared.";
String result = phrase.substring(11);
System.out.print(result);

.

500

You forget a semicolon at the end of a statement

Compiler error

500

 Consists of a name and parameter list

Method Signature

500

The convention of naming with a lowercase letter and an uppercase letter to start a new word, such as namingStyle?

Camel back

M
e
n
u