Java 1
Java 2
Bases
Coding 1
Coding 2
100

What is the ASCII value of 'A'?

65

100

Recite the Java main method

public static void main (String [] args)

100
Convert 25 from decimal to binary

11001

100

What is the escape sequence for a new line?

\n
100

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

println() moves to the next line after printing

200

What is the ASCII value for '0'?

48

200

List the 8 primitive data types

byte, short, int, long, float, double, char, boolean

200

Convert 101001 from binary to decimal.

41

200

What is the escape sequence for a backslash?

\\

200

A java file name is always the same as the name of the what?

Class

300

What is the ASCII value for 'a'?

97

300

What is instantiation?

creating one instance of an object

300

Convert A5 from base 16 to decimal

165

300

Write a code that prints a blank line.

System.out.println();

300

boolean a = true;

String b = "that";

What is a+b?

"truethat"

400

What error occurs when your code asks a computer to do something it can not reliably do?

Runtime error

400

What is Integer.MIN-VALUE?

-2^31

400

Convert 10100111 from base 2 to hexadecimal.

A7

400

int a = 6;

char b = '2'

What is a+b?

56

400

int a = 6;

boolean b = false;

What is a+b?

error

500

Which error occurs when your syntax is incorrect?

Compile error

500

Which scanner method reads in a single word?

next();

500

Convert 69420 from decimal to base 31.

2A7B

500

int a = 6;

double b = 2;

What is a+b?

8.0
500

int a = 6;

String b = '2';

What is a+b?

62