WorksheetsEncryption and 2D Arrays
Total questions: 20
Worksheet time: 10mins
Which has 2 keys?
symmetric key
asymmetric key
public key
secret key
Which has 1 key?
symmetric key
asymmetric key
public key
secret key
Caesar cipher is a form of:
symmetric key
asymmetric key
public key
secret key
Using public key encryption, the key is passed over the internet.
True
False
Sometimes
Encryption is:
turning plain text into cipher text
turning cipher text into plain text
Decryption is:
turning plain text into cipher text
turning cipher text into plain text
plain text
is easily read
needs to be decrypted before it's read
cipher text
is easily read
needs to be decrypted before it's read
decodes one character at a time
stream cipher
block cipher
decodes a set of characters at a time
stream cipher
block cipher
Which is a single array?
int[] doubleArray = new int[5];
int[][] singleArray = new int[5][5];
Which is a double array?
int[] doubleArray = new int[5];
int[][] singleArray = new int[5][5];
To cross a double array:
use a for loop
use nested for loops
call on space's address using the name of the array, the row number, and the column number
To look a single cell in a double array:
use a for loop
use nested for loops
call on space's address using the name of the array, the row number, and the column number
int[][] thisArray = new int[4][9];
4 columns. 9 rows
4 rows, 9 columns
int[][] thisArray = new int[4][9] has a space named thisArray[4][9]
true
false
sometimes
loops for a set number of iterations
for loop
while loop
switch statement
if/else statement
creates a blank line between items printed out
System.out.println();
break;
Nest for loops cross a 2D array:
by looking at the first row, then all its columns, then moving on to the next row
by looking at the first column, then all its rows, then moving on to the next column
rondomly
Does Dylan have an appendix?
yes
no
