Arrays
File IO
Loops
Control
Numbers
100
A data structure that can hold a given number of elements of the same type
What is an array?
100
Input and Output
What does the IO stand for in File IO?
100
Always loops for the same number of iterations
What is a FOR loop?
100
Used to allow portions of an algorithm to be executed under specific conditions.
What are control structures?
100
1100(binary)
What is the decimal number 12 in binary?
200
The number of elements that can be stored in an array
What does array length refer to?
200
1 Open the file 2 Read/Write the file 3 Close the file
What are the three basic steps of File IO?
200
Loops zero or more times
What is a WHILE loop?
200
The condition used to make a selection
What are boolean expressions used for in control structures?
200
E(hex)
What is the number 14 in hexadecimal?
300
int[] numbers = new int[10];
What is an array of 10 integers in Java?
300
Columns of data with a comma between each field
What is a Comma Separated Values(CSV) file?
300
Always loops at least once
What is a DO-WHILE Loop?
300
The value used to establish precision for comparing real numbers
What is tolerance/delta?
300
14(oct)
What is the decimal number 12 in octal?
400
names[6] = "Caprica"
What is the syntax for initialising the 7th element of a String array to "Caprica"?
400
Reads in chunks of a file instead of one byte at a time
What is BufferedReader?
400
((stopVal - startVal) / incVal) + 1
What is the number of times a FOR loop will iterate?
400
The boolean expression used to check if two strings are the same in Java
What is String.equals()?
400
Group the binary in sets of four from right to left, then convert each set
What is one method of converting binary to hexadecimal?
500
int[][] jumpCoords;
What is a the syntax for declaring a 2d array of ints called jumpCoords in Java?
500
A checked exception that must always be handled when reading or writing to a file
What is IOException?
500
f = 1; for (i = 2; i < n; i++) { f = f * i; }
What is n! (n factorial)?
500
The boolean expression used to check if (2.5) and (5.0/2.0) are equal
What is ABS(2.5 - 5.0/2.0) < TOLERANCE?
500
11011.101(binary)
What is the decimal number 27.5 in binary?
M
e
n
u