Font size
WorksheetsCS A2 Level
Total questions: 116
Worksheet time: 1hrs 28mins
This image shows...
Memory paging
Memory segmentation
Distributed processing
Virtual memory
Select the true statements about memory paging:
Processes are split into equal sized frames
A page table is used to record all the pages
Unused pages are swapped out of main memory and into virtual memory
Processes are split into variable sized frames
The role of scheduling is...
To make sure tasks get as much time as they need on the CPU
To make sure that all tasks get time on the processor and respond in a reasonable time
To make sure that the user does not have to wait for processes to run
To prevent the user from crashing the computer
An OS which you would use in day-to-day life on a normal school computer is a...
Embedded
Real Time
Distributed
Multi-Tasking
Multi-User
Device drivers...
allow peripherals to communicate with the OS
allow users to communicate with the OS
allow peripherals to work directly with the CPU
allow users to change settings of their peripherals
A virtual machine...
uses secondary storage instead of RAM when the computer runs out of space on the main memory
allows software to act as hardware, running code or an operating system within another OS.
can only be used through the internet
relies on cloud storage
Definition of encryption
Using an algorithm and a key to convert message data into a form that is not understandable without that key.
A method of trying to find the plain text from the cipher text without the decryption key.
Process of turning legible text into gobbledygook.
Using an algorithm and a key to convert encrypted message data into its plain text equivalent.
RISC code can better utilise pipe-lining as the time needed for each operation can be predicted.
TRUE
FALSE
CISC aims to improve processing time by increasing the number of instructions understood by the CPU in the instruction set.
TRUE
FALSE
RISC aims to improve processing speed by simplifying instructions so that one line takes one clock cycle.
TRUE
FALSE
CISC code can better utilise pipe-lining as the time needed for each operation can be predicted.
TRUE
FALSE
An example of where you would find CISC processors:
Tablets
Smartphones
Laptops
Desktop Computers
Smartwatches
An example of where you would find RISC processors:
Tablets
Smartphones
Laptops
Desktop Computers
Smartwatches
A dual core system is always twice as fast as a single core system.
TRUE
FALSE
Creates an executable file
Interpreter
Compiler
Assembler
Must be installed for the code to run on another machine
Interpreter
Compiler
Assembler
Converts low level code to machine code
Interpreter
Compiler
Assembler
Provides quicker debugging
Interpreter
Compiler
Does not provide the source code to the user
Interpreter
Compiler
The correct order of the stages of compilation is:
Lexical Analysis, Syntax Analysis, Code Generation, Code Optimisation
Lexical Analysis, Syntax Analysis, Code Optimisation, Code Generation
Syntax Analysis, Lexical Analysis, Code Optimisation, Code Generation
Syntax Analysis, Lexical Analysis, Code Generation, Code Optimisation
Removing whitespace is in:
Lexical Analysis
Syntax Analysis
Code Generation
Code Optimisation
Token creation is in:
Lexical Analysis
Syntax Analysis
Code Generation
Code Optimisation
Symbol table is created in:
Lexical Analysis
Syntax Analysis
Code Generation
Code Optimisation
The code is checked against the rules in:
Lexical Analysis
Syntax Analysis
Code Generation
Code Optimisation
The syntax tree is created in:
Lexical Analysis
Syntax Analysis
Code Generation
Code Optimisation
The syntax tree is converted into object code in:
Lexical Analysis
Syntax Analysis
Code Generation
Code Optimisation
Redundant code is removed in:
Lexical Analysis
Syntax Analysis
Code Generation
Code Optimisation
The code is improved to run as fast as possible in:
Lexical Analysis
Syntax Analysis
Code Generation
Code Optimisation
Which one of the following network topologies has a central 'hub'?
Bus topology
Star topology
Peer-to-peer topology
Mesh topology
Every device connecting to a network has a unique MAC address. MAC stands for
Motherboard Access Circuit
Main Area Code
Machine Area Circuit
Media Access Control
This network device has an internal processor and has the address of each connected device stored in a table on it. What is it?
Modem
NIC
Switch
Server
Which of these is NOT an AI technology
Facial recognition
Image recognition
Robotics
Animation
Plaintext
original message
coded message
algorithm for transforming plaintext to ciphertext
info used in cipher known only to sender/receiver
ciphertext
•field of both cryptography and cryptanalysis
•study of encryption principles/methods
•converting plaintext to ciphertext
•coded message
key
algorithm for transforming plaintext to ciphertext
info used in cipher known only to sender/receiver
•recovering ciphertext from plaintext
•converting plaintext to ciphertext
Confidentiality
Ensure message remains secret during transmission between parties
Ensure message is not altered while in transit between communicating partners
Verifies sender is who she says she is
Proves that nobody but on sender could have sent a particular message
Integrity
Ensure message remains secret during transmission between parties
Ensure message is not altered while in transit between communicating partners
Verifies sender is who she says she is
Proves that nobody but on sender could have sent a particular message
Non-repudiation
Ensure message remains secret during transmission between parties
Ensure message is not altered while in transit between communicating partners
Verifies sender is who she says she is
Proves that nobody but on sender could have sent a particular message
Authentication
Ensure message remains secret during transmission between parties
Ensure message is not altered while in transit between communicating partners
Verifies sender is who she says she is
Proves that nobody but on sender could have sent a particular message
Which condition does stack apply?
FILO
LIFO
FIFO
LILO
Which of the TCP/IP model layers is responsible for breaking down the message into packets?
Network
Application
Transport
Internet
Which of these is NOT a layer on the TCP/IP Stack?
Application
Transport
Transfer
Network
What's the bottom-most layer of the Internet protocol stack called?
transport layer
link layer
internet layer
application layer
IP addresses are added at the Network layer
True
False
HTTP and SMTP protocols work at the Link layer
True
False
When adding 1 + 1 in binary, you need to ___
use the symbol 2
put 0 as the sum and carry the 1
put 1 as the sum and carry the 1
put 1 as the sum and carry the 0
Which 7-bit code, invented in 1963, was developed to represent characters?
binary
hexadecimal
ASCII
Unicode
What encoding scheme, devised in 1992, was developed to include many languages?
7-bit ASCII
8-bit ASCII
16-bit Unicode
32-bit Windows OS
What is 111.11000 in denary?
(not using two's compliment)
(a)
______ is used to provide the maximum level precision for the number of bits
normalisation
first normal form
third normal form
floating point binary
normalise 0.0010110 0011
(a)
Convert this into normalised binary floating point:
-14.5
(a)
What is the purpose of the DNS?
Turns human friendly domain names into IP addresses
Turns human friendly domain names into MAC addresses
Turns IP addresses into domain names
Turns MAC addresses into IP addresses
Where is the first place that the browser will check for an IP address for a frequently visited web site?
The top level domain server
The root domain server
The browser cache
The ISP DNS resolver
Which addresses will be included in the packet header?
Web address
Source and destination IP address
Destination MAC address
What is the purpose of the sequence number in a data packet?
Allows lost packets to be deleted
Checks for errors
Allows the packets to be reassembled in the correct order on receipt
Allows receipt to be acknowledged.
Packet switching
Circuit switching
Virtual-circuit packet switching
Datagram packet switching
In packet switching each packet will follow the same route
True
False
A company distributes a list among its employees for ordering stationery items. Each item is added as it is requested. This is an example of which file organization/access method?
Sequential file access
random/direct file access
serial file access
index sequential file access
A company has a set of records detailing the seating arrangement of all employees, listed in the order of seat number. This is an example of which file organization/access method?
Sequential file access
random/direct file access
serial file access
index sequential file access
Which logic gate(s) is/are not used in a half adder circuit?
NOT and OR
AND and XOR
XOR
AND
Across - A - 0,1
Down - B - 0,1
Which expression represents the Karnaugh Map? (0s removed for simplicity)
A'B'
AB'
A'B
AB
Across - AB - 00,01,10,11
Down - C - 0,1
Which expression represents the Karnaugh Map? (0s removed for simplicity)
A'B'C+AB'C
AB'C'+ABC
ABC+ABC'
ABC+A'B'C'
Across - AB - 00,01,10,11
Down - C - 0,1
Which expression represents the Karnaugh Map? (0s removed for simplicity)
A
B
C
0
Which layer?
Deals with error control
Application
Transport
Network
Link
Which layer?
Receives packets from network layer and adds MAC addresses
Application
Transport
Network
Link
RISC aims to improve processing speed by simplifying instructions so that one line takes one clock cycle.
TRUE
FALSE
RISC code can better utilise pipe-lining as the time needed for each operation can be predicted.
TRUE
FALSE
what is the main part of the operating system
user interface
kernel
system utilities
device drivers
what is this operating system called
windows
mac os x
linux
penguin dude
If A and B are the inputs of a half adder, the sum is given by __________
The difference between half adder and full adder is __________
If A, B and C are the inputs of a full adder then the sum is given by __________
A XOR B XOR C
A NAND B NAND c
A OR B AND C
A AND B AND C
FCFS is operates similar to a
stack
sorting algorithm
circle
queue
What is the purpose of scheduling in an operating system?
To favor long jobs over short jobs
To provide security to the computer system
To maximize the use of the whole computer system
To prevent the system from failing if it is becoming overloaded
Which scheduling algorithm favors short jobs even more than Shortest Job First?
Multi-level feedback queues
Round Robin
Shortest time remaining
First come first served
What is the purpose of a pre-emptive scheduler in operating system scheduling?
To decide that the job running should be made to stop to make way for another job
To make sure the processor time is used efficiently
To prevent the system from failing if it is becoming overloaded
To favor long jobs over short jobs
Which scheduling algorithm allows each job to be given a set amount of processor time?
Shortest time remaining
Shortest job first
Round Robin
First come first served
Which scheduling algorithm sorts jobs in the ready queue in ascending order of time expected to be needed by each job?
Multi-level feedback queues
Shortest time remaining
Shortest job first
Round Robin
What is the purpose of a non-pre-emptive scheduler in operating system scheduling?
To leave a job in the running state until it does not need to run anymore
To favor long jobs over short jobs
To prevent the system from failing if it is becoming overloaded
To make sure the processor time is used efficiently
Which of the following is not a method used by the OS to manage memory:
Segmentation
Defragmentation
Virtual Memory
Paging
True or False: Pages and Segments are both stored on disk
TRUE
FALSE
What is the name of the process that can occur with frequent use of virtual memory?
Paging
Thrashing
Swapping
Caching
Virtual machines enable you to run another OS on an existing physical computer by emulating a computer’s hardware environment
True
False
The physical machine you are using is called the:
Host
Guest
Environment
Director
The simulated computer system is referred to as the:
Guest
Host
Client
Virtualizer
True or False: Virtual machines can be isolated so for testing malware without damage to the host machine or network.
True
False
if there are no errors tokens are converted into object code. Code is optimised at this stage
Lexical analysis
syntax analysis
semantic analysis
code generation
the program is checked to ensure it conforms to the syntax rules. for example an error would appear if a semi-colon was missing
Lexical analysis
syntax analysis
semantic analysis
code generation
the program is converted from a sequence of characters into a series of tokens by removing white space at this stage
Lexical analysis
syntax analysis
semantic analysis
code generation
Must be installed for the code to run on another machine
Interpreter
Compiler
Assembler
The correct order of the stages of compilation is:
Lexical Analysis, Syntax Analysis, Code Generation, Code Optimisation
Lexical Analysis, Syntax Analysis, Code Optimisation, Code Generation
Syntax Analysis, Lexical Analysis, Code Optimisation, Code Generation
Syntax Analysis, Lexical Analysis, Code Generation, Code Optimisation
Symbol table is created in:
Lexical Analysis
Syntax Analysis
Code Generation
Code Optimisation
What is the following expression an example of?
3 4 +
Infix expression
Postfix expression
Afterfix expression
Between expression
What is the postfix equivalent of the following infix expression?
5 + 6
+ 5 6
5 6 +
6 + 5
6 + 5 +
What is the postfix equivalent for the following infix expression?
(2/4)*(5-6)
2 4 5 6 / - *
2 4 / 5 6 - *
2 4 / * 5 - 6
2 4 / 5 - 6 *
What does SSL stand for?
Secure Socket Layer
Secret Secure Layer
The process of converting plaintext to ciphertext.
cryptography
cyphertext
decryption
encryption
Information that is readable without performing any cryptographic operations.
cryptography
plaintext
encryption
decryption
A digital certificate is issued by..
a digital authoriser
a certificate authority
a certificate handler
a digital certificate handler
