NEW
Font size
WorksheetsWJEC CS 1.1, 1.2, 1.4, 1.8, 2.3.1 and 2.3.3 Part 4
Total questions: 28
Worksheet time: 17mins
The characteristics of ROM are it is .....
Non-volatile, read, contents cannot be altered
Volatile, read & write, contents can be altered
Describe the purpose of RAM
Stores the instructions to load up the computer
Stores data or information currently in use
What is the main feature of the von Neumann Computer architecture?
There is a single PRIMARY MEMORY for both data and instructions.
The model as a single CPU
The instructions are stored in PRIMARY MEMORY
Data is stored in SECONDARY STORAGE
What is the difference between Harvard and Von Neumann?
Harvard has separate stores for data and instructions, VN does not
Processing capacity; VN is faster
VN has separate stores for data and instructions, Harvard does not
Processing capacity; Harvard is faster
A microphone is...
INPUT
OUTPUT
STORAGE
A speaker is...
INPUT
OUTPUT
STORAGE
Ā·Ā=
A
Ā
1
0
A·Ā =
A
Ā
1
0
Which of the following is the correct truth table for the Boolean expression shown here:
Which of the following is the correct truth table for the Boolean expression shown here:
What is used to convert a sound wave in to a digital format?
A sound wave converter
A router
An amplitude to digital converter
Analogue to digital converter
What is the formula for finding a sound files size?
size = rate * resolution * seconds
size = rate * resolution * minutes
size = amplitude * bits * seconds
size = sample * frequency * bits
How many nibbles are there in a byte?
1
2
4
8
11010111 in binary is...
ODD
EVEN
Where is hexadecimal used on the internet?
To represent colours (RGB values)
It's written into every website to display text
Videos are stored in hex
On BBC Bitesize and that's the only place you'll ever find it
Where is hexadecimal used inside a computer?
For the locations of memory
For interfacing between a printer and Microsoft Word
It is never, only humans use it
Sound plays quicker in hex, so we store it in hex
Semantic analysis is?
Comments and unneeded spaces are removed. Remaining code is turned in to tokend and. A symbol table is created which holds the addresses of variables, labels and subroutines.
Tokens are checked to see if they match the spelling and grammar expected. This is done by parsing each token to determine if it uses the correct syntax for the programming language. If syntax errors are found, error messages are produced.
Variables are checked to ensure that they have been properly declared, used and are the correct data type. Operations are checked to ensure that they are legal for the type of variable being used, e.g. you would not try to store the result of a division operation as an integer.
Machine code is generated. Code optimisation to run as fast as possible. redundant data is removed.
Syntax Analysis is?
Comments and unneeded spaces are removed. Remaining code is turned in to tokend and. A symbol table is created which holds the addresses of variables, labels and subroutines.
Tokens are checked to see if they match the spelling and grammar expected. This is done by parsing each token to determine if it uses the correct syntax for the programming language. If syntax errors are found, error messages are produced.
Variables are checked to ensure that they have been properly declared, used and are the correct data type. Operations are checked to ensure that they are legal for the type of variable being used, e.g. you would not try to store the result of a division operation as an integer.
Machine code is generated. Code optimisation to run as fast as possible. redundant data is removed.
Each assembly instruction usually has an address or data called an
opcode
operand
mnemonic
instruction set
