2021 Paper 2 Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

differences between a 1D array and a 2D array?

A
  • 1D is a row , 2D is a table
  • Each element in 1D is a single value, each element in 2D is a 1D array
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

how is the ceaser cipher a weak encryption algorithm

A
  • The number of keys are limited, making it easy for brute force to decrypt
  • It can be easy to find commonly used letters and guess the key
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

state what is meant by a built in subprogram

A

a subprogram that has already been defined

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

does the key go on the left or up? (viginere)

A

left

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

binary > linear search

A
  • can be quicker than a linear search, as it does not have to examine each item in the list
  • halves the list each time so it can be faster to find an item
How well did you know this?
1
Not at all
2
3
4
5
Perfectly