Font size
WorksheetsAQA MID TERM
Total questions: 102
Worksheet time: 50mins
Removing unnecessary details from a problem is...
An algorithm
Abstraction
Decomposition
A program
Breaking a problem down into smaller sub-problems that can be solved is...
An algorithm
Abstraction
Decomposition
A program
A step by step sequence of instructions used to complete a task is ...
An algorithm
Abstraction
Decomposition
Program
To display text on screen using Python would use the code
enter
output
input
To allow the user to enter some code in Python would use
enter
output
input
Which type of sorting algorithm uses a 'divide and conquer' technique?
Bubble
Merge
Linear
Binary
Which searching algorithm requires the list to be 'in order'?
Bubble
Merge
Linear
Binary
Which data type allows you to store numbers with decimal places?
integer
string
boolean
real
Which data type allows only true or false values to be stored?
integer
string
boolean
real
What is the name given to a place that you can store a single piece of data that has a fixed value that cannot be changed in the program?
variable
constant
assignment
array
What is the name given to the act of giving a value to a variable or constant?
assignment
identifier
abstraction
instantiation
What is the term used to describe the execution of statements one after the other?
iteration
selection
sequence
order
What is the term used to describe repeating sections of code?
iteration
selection
sequence
order
What is the term used to describe making decisions in a program?
iteration
selection
sequence
order
What type of loop would you use in Python if you want to keep asking a question until the correct answer is given?
for
while
repeat
What number do we begin counting at in an array when using Python?
0
1
2
3
What data structure do we use to store multiple items of data under a single identifier?
file
variable
array
index
What word means to join multiple strings together?
substring
instantiation
adding
concatenation
What is the name of a sub-routine that does NOT return a value?
structured
function
procedure
parameter
What type of test data is one that is of the wrong data type or is outside the expected values?
normal
erroneous
boundary
extreme
The central processing unit (CPU) is the _____ of the computer that carries out
instructions to process data.
Memory
Heart
Brain
Eyes
What does ALU stand for?
arithmetic local unit
arithmetic logic unit
alternate logic uniform
alternate logic unit
What does CU stand for?
Close Up
Closed Unit
Control Up
Control Unit
The von Neumann architecture of a system can be described as
Storing data and programs in the same memory.
Storing data and programs in the different memory.
Processing data and programs in the same cpu.
Processing data and programs in the different cpu's.
The ________ manages the execution of instructions by making sure that all
the components perform their task at the correct time.
Clock
ALU
Control Unit
CPU
_______ are small areas of memory in the CPU that hold data and memory
addresses used during the fetch-execute cycle.
RAM
Cache
Registers
ROM
Match the following
Fetch
retrieve next instruction from memory
Decode
translate, instruction to work out what it is
Execute
carry out, the instruction
Control unit
manages the execution of instructions
Clock
synchronises tasks
4 5 9 6 2 7
4 5 6 2 7 9
4 5 2 6 7 9
11, 8, 13, 9, 7, 3
How many searches will it take to find 10 in [1,3,5,7,10,12,15] using BINARY search?
3
4
5
6
Why do we use BUBBLE SORT?
To place items in ORDER
To SEARCH for values in a list
Which algorithm uses a divide and conquer approach?
Linear Search
Binary Search
What is an algorithm?
When a task or problem is broken down to make it easier to solve.
When unnecessary detail is removed from a problem to make it easier to solve.
When patterns are identified to make a problem easier to solve.
When a step-by-step set of instructions are developed to form a solution to a problem.
What is Encryption?
If the same key is used to encrypt and decrypt a message, this is known as?
Asymmetric Encryption
Symmetric Encryption
Encryption doesn't exist!
Same-key encryption
What type of key can be freely shared with anyone so that they can encrypt a message?
Private Key
Personal Key
Public Key
Free Key
Encryption is a way of __________________
Hacking Passwords
Securing Information on a network
Securing Viruses
Deleting Application
True or False.
An encryption key is used to help decrypt messages.
(a)
Taking a secret message and reproducing the original plain text is known as?
Caesar Cipher
Encryption
Cipher Text
Decryption
True or False.
Asymmetric encryption uses only 1 key
(a)
Information that is readable without performing any cryptographic operations.
cryptography
encryption
plain text
decryption
The process of converting plaintext to ciphertext.
(a)
A string of text that has been converted to a secure form using encryption.
cipher text
encryption
plain text
decryption
The process of converting a ciphertext into plaintext.
cipher text
encryption
plain text
decryption
Give 1 reason why we use Encryption based on the discussion
(a)
What is the difference of Symmetric and Asymmetric Encryption?
A fragmented hard drive is one in which…..?
Program instructions and data are spread across tracks and sectors on the hard disk drive
Programs and instructions are grouped together to occupy a continuous section of the hard disk drive
A hard disk drive that has been dropped and broken into lots of pieces
The hard disk drive is split into portions each representing a different logical drive.
When a hard drive becomes fragmented reading and writing files becomes…...?
Faster
Slower
No different
Harder
Defragmentation will aim to…..?
Make more space on the hard drive
Move files further apart from each other
Move free space closer together
A defragmented hard disk drive will improve the computer's performance?
True
False
To scramble data so that it is unreadable without a key the definition of….?
Compression
Encryption
Backup
Defragmentation
Encryption does not prevent someone from intercepting a message it only prevents them from being able to understand it without a key.
True
False
Unencrypted messages are called...?
Originaltext
Plaintext
Ciphertext
Keytext
Encrypted messages are called...?
Originaltext
Plaintext
Ciphertext
Keytext
Lossy Compression is…..?
...usually performed on text
...when some original data is lost in compression, and the original file cannot be re-created exactly as it was
...when the original file can be re-created exactly as it was from the compressed file
...turning the text into a format that only a reader with a key can decrypt it
Which type of compression ensures that all of the data is kept?
Lossless
Lossy
Lossy compression removes data that isn't needed...
True
False
Compression makes file sizes...
Bigger
Smaller
Keeps them the same
An advantage of lossless compression is...
All data is lost
The file size stays the same
All of the important data is kept
A disadvantage of lossless compression is...
There is a big reduction in file size
There is only a slight reduction in file size
There is no reduction in quality
Cannot be used on text or software files
The correct encoding of the letter C in this tree is...
11
10
01
00
Huffman trees use the _______________ of each character to work out their encoding.
Frequency
Order in ASCII
Number value
How do you move through a Huffman tree?
0 = right 1= left
1 = left 2 = right
0 = left 1 = right
0 = middle 1 = back
How do you calculate the number of bits of a body of text in ASCII?
Number of characters * 7
Number of characters (including spaces) *7
bits in Huffman * 7
bits in Huffman / 7
Which formula shows how to work out the percentage a file has been compressed by?
bits in (Huffman *7) /100
bits in ASCii - bits in Huffman
difference in bits / bits in ASCII * 100
Which type of compression ensures that all of the data is kept?
Lossless
Lossy
Lossy compression removes data that isn't needed...
True
False
The correct encoding of the letter C in this tree is...
11
10
01
00
Huffman trees use the _______________ of each character to work out their encoding.
Frequency
Order in ASCII
Number value
How do you move through a Huffman tree?
0 = right 1= left
1 = left 2 = right
0 = left 1 = right
0 = middle 1 = back
How do you calculate the number of bits of a body of text in ASCII?
Number of characters * 7
Number of characters (including spaces) *7
bits in Huffman * 7
bits in Huffman / 7
Use this Huffman tree to encode "ban"
111001
100011
010
143
The first line of this image in RLE would be...
8W, 1Bl, 20B, 1W
10B, 4Y, 17R, 2G
2G, 10P, 17Y, 2Bl
What is the hexadecimal equivalent of the decimal number 300?
12D
13C
13D
12C
What is the base in the decimal number system?
16
100
10
1
In the decimal number 12345, what is the positional value of 4?
10**4
10**2
10**1
10**0
For hexadecimal numbers with a fractional part, the positional values to the right of the decimal start with?
16**-1
16**0
16**1
16**-2
What is the decimal equivalent of the hexadecimal number 1DA6?
7590
7591
7589
7690
The left-most bit of a number having the greatest value is called the ____
Least Significant Bit
MSB
Most Significant Bit
LSB
What is the hexadecimal equivalent of the decimal number 0.675?
0.AD
0.AC
0.AB
0.BD
What is the decimal equivalent of hexadecimal value 'D'?
11
10
13
14
Which number system is used the most widely in computer applications?
Octal
Binary
Hexadecimal
Decimal
What is the decimal equivalent of the hexadecimal number 7CF?
1996
1999
1997
1998
