wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

CS A2 Level

Total questions: 116

Worksheet time: 1hrs 28mins

Name
Class
Date
1.

This image shows...

a)

Memory paging

b)

Memory segmentation

c)

Distributed processing

d)

Virtual memory

2.

Select the true statements about memory paging:

a)

Processes are split into equal sized frames

b)

A page table is used to record all the pages

c)

Unused pages are swapped out of main memory and into virtual memory

d)

Processes are split into variable sized frames

3.

The role of scheduling is...

a)

To make sure tasks get as much time as they need on the CPU

b)

To make sure that all tasks get time on the processor and respond in a reasonable time

c)

To make sure that the user does not have to wait for processes to run

d)

To prevent the user from crashing the computer

4.

An OS which you would use in day-to-day life on a normal school computer is a...

a)

Embedded

b)

Real Time

c)

Distributed

d)

Multi-Tasking

e)

Multi-User

5.

Device drivers...

a)

allow peripherals to communicate with the OS

b)

allow users to communicate with the OS

c)

allow peripherals to work directly with the CPU

d)

allow users to change settings of their peripherals

6.

A virtual machine...

a)

uses secondary storage instead of RAM when the computer runs out of space on the main memory

b)

allows software to act as hardware, running code or an operating system within another OS.

c)

can only be used through the internet

d)

relies on cloud storage

7.

Definition of encryption

a)

Using an algorithm and a key to convert message data into a form that is not understandable without that key.

b)

A method of trying to find the plain text from the cipher text without the decryption key.

c)

Process of turning legible text into gobbledygook.

d)

Using an algorithm and a key to convert encrypted message data into its plain text equivalent.

8.

RISC code can better utilise pipe-lining as the time needed for each operation can be predicted.

a)

TRUE

b)

FALSE

9.

CISC aims to improve processing time by increasing the number of instructions understood by the CPU in the instruction set.

a)

TRUE

b)

FALSE

10.

RISC aims to improve processing speed by simplifying instructions so that one line takes one clock cycle.

a)

TRUE

b)

FALSE

11.

CISC code can better utilise pipe-lining as the time needed for each operation can be predicted.

a)

TRUE

b)

FALSE

12.

An example of where you would find CISC processors:

a)

Tablets

b)

Smartphones

c)

Laptops

d)

Desktop Computers

e)

Smartwatches

13.

An example of where you would find RISC processors:

a)

Tablets

b)

Smartphones

c)

Laptops

d)

Desktop Computers

e)

Smartwatches

14.

A dual core system is always twice as fast as a single core system.

a)

TRUE

b)

FALSE

15.

Creates an executable file

a)

Interpreter

b)

Compiler

c)

Assembler

16.

Must be installed for the code to run on another machine

a)

Interpreter

b)

Compiler

c)

Assembler

17.

Converts low level code to machine code

a)

Interpreter

b)

Compiler

c)

Assembler

18.

Provides quicker debugging

a)

Interpreter

b)

Compiler

19.

Does not provide the source code to the user

a)

Interpreter

b)

Compiler

20.

The correct order of the stages of compilation is:

a)

Lexical Analysis, Syntax Analysis, Code Generation, Code Optimisation

b)

Lexical Analysis, Syntax Analysis, Code Optimisation, Code Generation

c)

Syntax Analysis, Lexical Analysis, Code Optimisation, Code Generation

d)

Syntax Analysis, Lexical Analysis, Code Generation, Code Optimisation

21.

Removing whitespace is in:

a)

Lexical Analysis

b)

Syntax Analysis

c)

Code Generation

d)

Code Optimisation

22.

Token creation is in:

a)

Lexical Analysis

b)

Syntax Analysis

c)

Code Generation

d)

Code Optimisation

23.

Symbol table is created in:

a)

Lexical Analysis

b)

Syntax Analysis

c)

Code Generation

d)

Code Optimisation

24.

The code is checked against the rules in:

a)

Lexical Analysis

b)

Syntax Analysis

c)

Code Generation

d)

Code Optimisation

25.

The syntax tree is created in:

a)

Lexical Analysis

b)

Syntax Analysis

c)

Code Generation

d)

Code Optimisation

26.

The syntax tree is converted into object code in:

a)

Lexical Analysis

b)

Syntax Analysis

c)

Code Generation

d)

Code Optimisation

27.

Redundant code is removed in:

a)

Lexical Analysis

b)

Syntax Analysis

c)

Code Generation

d)

Code Optimisation

28.

The code is improved to run as fast as possible in:

a)

Lexical Analysis

b)

Syntax Analysis

c)

Code Generation

d)

Code Optimisation

29.

Which one of the following network topologies has a central 'hub'?

a)

Bus topology

b)

Star topology

c)

Peer-to-peer topology

d)

Mesh topology

30.

Every device connecting to a network has a unique MAC address. MAC stands for

a)

Motherboard Access Circuit

b)

Main Area Code

c)

Machine Area Circuit

d)

Media Access Control

31.

This network device has an internal processor and has the address of each connected device stored in a table on it. What is it?

a)

Modem

b)

NIC

c)

Switch

d)

Server

32.

Which of these is NOT an AI technology

a)

Facial recognition

b)

Image recognition

c)

Robotics

d)

Animation

33.

Plaintext

a)

original message

b)

coded message

c)

algorithm for transforming plaintext to ciphertext

d)

info used in cipher known only to sender/receiver

34.

ciphertext

a)

•field of both cryptography and cryptanalysis

b)

•study of encryption principles/methods

c)

•converting plaintext to ciphertext

d)

•coded message

35.

key

a)

algorithm for transforming plaintext to ciphertext

b)

info used in cipher known only to sender/receiver

c)

•recovering ciphertext from plaintext

d)

•converting plaintext to ciphertext

36.

Confidentiality

a)

Ensure message remains secret during transmission between parties

b)

Ensure message is not altered while in transit between communicating partners

c)

Verifies sender is who she says she is

d)

Proves that nobody but on sender could have sent a particular message

37.

Integrity

a)

Ensure message remains secret during transmission between parties

b)

Ensure message is not altered while in transit between communicating partners

c)

Verifies sender is who she says she is

d)

Proves that nobody but on sender could have sent a particular message

38.

Non-repudiation

a)

Ensure message remains secret during transmission between parties

b)

Ensure message is not altered while in transit between communicating partners

c)

Verifies sender is who she says she is

d)

Proves that nobody but on sender could have sent a particular message

39.

Authentication

a)

Ensure message remains secret during transmission between parties

b)

Ensure message is not altered while in transit between communicating partners

c)

Verifies sender is who she says she is

d)

Proves that nobody but on sender could have sent a particular message

40.

Which condition does stack apply?

a)

FILO

b)

LIFO

c)

FIFO

d)

LILO

41.
Secure version of HTTP, encrypts all data sent & received
a)
HTTP
b)
TCP/IP
c)
FTP
d)
HTTPS
42.
TCP / IP stands for
a)
Transfer Central Protocol / Internet Protocol
b)
Transmission Control Program/ Internet Program
c)
Transmitted Central Protocol / Internet Protocol
d)
Transmission Control Protocol / Internet Protocol
43.
Packets can be sent down different routes
a)
True
b)
False
44.
Which protocol is responsible for sending/receiving packets over the internet?
a)
Http
b)
Ftp
c)
TCP/IP
d)
IMAP
45.
Which protocol would you use to download an email from your email server?
a)
FTP
b)
SMTP
c)
POP3
d)
HTTP
46.
Which protocol would you use to transfer files?
a)
FTP
b)
SMTP
c)
POP3
d)
HTTP
47.

Which of the TCP/IP model layers is responsible for breaking down the message into packets?

a)

Network

b)

Application

c)

Transport

d)

Internet

48.

Which of these is NOT a layer on the TCP/IP Stack?

a)

Application

b)

Transport

c)

Transfer

d)

Network

49.

What's the bottom-most layer of the Internet protocol stack called?

a)

transport layer

b)

link layer

c)

internet layer

d)

application layer

50.

IP addresses are added at the Network layer

a)

True

b)

False

51.

HTTP and SMTP protocols work at the Link layer

a)

True

b)

False

52.

When adding 1 + 1 in binary, you need to ___

a)

use the symbol 2

b)

put 0 as the sum and carry the 1

c)

put 1 as the sum and carry the 1

d)

put 1 as the sum and carry the 0

53.

Which 7-bit code, invented in 1963, was developed to represent characters?

a)

binary

b)

hexadecimal

c)

ASCII

d)

Unicode

54.

What encoding scheme, devised in 1992, was developed to include many languages?

a)

7-bit ASCII

b)

8-bit ASCII

c)

16-bit Unicode

d)

32-bit Windows OS

55.

What is 111.11000 in denary?

(not using two's compliment)

(a)  

56.

______ is used to provide the maximum level precision for the number of bits

a)

normalisation

b)

first normal form

c)

third normal form

d)

floating point binary

57.

normalise 0.0010110 0011

(a)  

58.

Convert this into normalised binary floating point:

-14.5

(a)  

59.
“A method of sending data over a wide area network in which the message is broken into a number of parts which are sent independently, over whatever route is optimum for each packet, and reassembled at the destination.” 
a)
Packet Switching
b)
WAN
c)
LAN
d)
Protocol Layering
e)
DNS
60.
“A method of sending data over a wide area network in which two network nodes establish a dedicated communications channel through the network before the nodes may communicate.  All data then follows this same path for the duration of the data transfer.” 
a)
Circuit Switching
b)
Packet Switching
c)
WAN
d)
LAN
e)
Protocol Layering
61.
“A computer application used in a network to prevent external users gaining unauthorised access to a computer system.” 
a)
Firewall
b)
Circuit Switching
c)
Packet Switching
d)
WAN
e)
LAN
62.
“A method of network organisation in which network stations make use of resources available at one or more servers.” 
a)
Client-Server
b)
Encryption
c)
Proxies
d)
Firewall
e)
Circuit Switching
63.

What is the purpose of the DNS?

a)

Turns human friendly domain names into IP addresses

b)

Turns human friendly domain names into MAC addresses

c)

Turns IP addresses into domain names

d)

Turns MAC addresses into IP addresses

64.

Where is the first place that the browser will check for an IP address for a frequently visited web site?

a)

The top level domain server

b)

The root domain server

c)

The browser cache

d)

The ISP DNS resolver

65.

Which addresses will be included in the packet header?

a)

E-mail

b)

Web address

c)

Source and destination IP address

d)

Destination MAC address

66.

What is the purpose of the sequence number in a data packet?

a)

Allows lost packets to be deleted

b)

Checks for errors

c)

Allows the packets to be reassembled in the correct order on receipt

d)

Allows receipt to be acknowledged.

67.
Which switching method offers a a dedicated transmission channel? 
a)

Packet switching

b)

Circuit switching 

c)

Virtual-circuit packet switching

d)

Datagram packet switching

68.

In packet switching each packet will follow the same route

a)

True

b)

False

69.

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?

a)

Sequential file access

b)

random/direct file access

c)

serial file access

d)

index sequential file access

70.

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?

a)

Sequential file access

b)

random/direct file access

c)

serial file access

d)

index sequential file access

71.

Which logic gate(s) is/are not used in a half adder circuit?

a)

NOT and OR

b)

AND and XOR

c)

XOR

d)

AND

72.

Across - A - 0,1

Down - B - 0,1

Which expression represents the Karnaugh Map? (0s removed for simplicity)

a)

A'B'

b)

AB'

c)

A'B

d)

AB

73.

Across - AB - 00,01,10,11

Down - C - 0,1

Which expression represents the Karnaugh Map? (0s removed for simplicity)

a)

A'B'C+AB'C

b)

AB'C'+ABC

c)

ABC+ABC'

d)

ABC+A'B'C'

74.

Across - AB - 00,01,10,11

Down - C - 0,1

Which expression represents the Karnaugh Map? (0s removed for simplicity)

a)

A

b)

B

c)

C

d)

0

75.

Which layer?

Deals with error control

a)

Application

b)

Transport

c)

Network

d)

Link

76.

Which layer?

Receives packets from network layer and adds MAC addresses

a)

Application

b)

Transport

c)

Network

d)

Link

77.

RISC aims to improve processing speed by simplifying instructions so that one line takes one clock cycle.

a)

TRUE

b)

FALSE

78.

RISC code can better utilise pipe-lining as the time needed for each operation can be predicted.

a)

TRUE

b)

FALSE

79.
A message sent by the OS to change the CPU schedule is known as...
a)
Interupt
b)
Poll
c)
Cache
d)
Defrag
80.
What is processor speed measured in?
a)
Kilometers per hour Km/h
b)
Bits per second BPS
c)
Gigahertz GHz
d)
Megabits Mb
81.

what is the main part of the operating system

a)

user interface

b)

kernel

c)

system utilities

d)

device drivers

82.

what is this operating system called

a)

windows

b)

mac os x

c)

linux

d)

penguin dude

83.

If A and B are the inputs of a half adder, the sum is given by __________

a)
NAND
b)
XOR
c)
OR
d)
AND
84.

The difference between half adder and full adder is __________

a)
A half adder can only perform addition, while a full adder can perform addition and subtraction.
b)
The difference between half adder and full adder is that a half adder adds two single-bit binary numbers, while a full adder adds three single-bit binary numbers.
c)
A half adder adds three single-bit binary numbers, while a full adder adds two single-bit binary numbers.
d)
A half adder has two outputs, while a full adder has three outputs.
85.

If A, B and C are the inputs of a full adder then the sum is given by __________

a)

A XOR B XOR C

b)

A NAND B NAND c

c)

A OR B AND C

d)

A AND B AND C

86.

FCFS is operates similar to a

a)

stack

b)

sorting algorithm

c)

circle

d)

queue

87.

What is the purpose of scheduling in an operating system?

a)

To favor long jobs over short jobs

b)

To provide security to the computer system

c)

To maximize the use of the whole computer system

d)

To prevent the system from failing if it is becoming overloaded

88.

Which scheduling algorithm favors short jobs even more than Shortest Job First?

a)

Multi-level feedback queues

b)

Round Robin

c)

Shortest time remaining

d)

First come first served

89.

What is the purpose of a pre-emptive scheduler in operating system scheduling?

a)

To decide that the job running should be made to stop to make way for another job

b)

To make sure the processor time is used efficiently

c)

To prevent the system from failing if it is becoming overloaded

d)

To favor long jobs over short jobs

90.

Which scheduling algorithm allows each job to be given a set amount of processor time?

a)

Shortest time remaining

b)

Shortest job first

c)

Round Robin

d)

First come first served

91.

Which scheduling algorithm sorts jobs in the ready queue in ascending order of time expected to be needed by each job?

a)

Multi-level feedback queues

b)

Shortest time remaining

c)

Shortest job first

d)

Round Robin

92.

What is the purpose of a non-pre-emptive scheduler in operating system scheduling?

a)

To leave a job in the running state until it does not need to run anymore

b)

To favor long jobs over short jobs

c)

To prevent the system from failing if it is becoming overloaded

d)

To make sure the processor time is used efficiently

93.

Which of the following is not a method used by the OS to manage memory:

a)

Segmentation

b)

Defragmentation

c)

Virtual Memory

d)

Paging

94.

True or False: Pages and Segments are both stored on disk

a)

TRUE

b)

FALSE

95.

What is the name of the process that can occur with frequent use of virtual memory?

a)

Paging

b)

Thrashing

c)

Swapping

d)

Caching

96.

Virtual machines enable you to run another OS on an existing physical computer by emulating a computer’s hardware environment

a)

True

b)

False

97.

The physical machine you are using is called the:

a)

Host

b)

Guest

c)

Environment

d)

Director

98.

The simulated computer system is referred to as the:

a)

Guest

b)

Host

c)

Client

d)

Virtualizer

99.

True or False: Virtual machines can be isolated so for testing malware without damage to the host machine or network.

a)

True

b)

False

100.

if there are no errors tokens are converted into object code. Code is optimised at this stage

a)

Lexical analysis

b)

syntax analysis

c)

semantic analysis

d)

code generation

101.

the program is checked to ensure it conforms to the syntax rules. for example an error would appear if a semi-colon was missing

a)

Lexical analysis

b)

syntax analysis

c)

semantic analysis

d)

code generation

102.

the program is converted from a sequence of characters into a series of tokens by removing white space at this stage

a)

Lexical analysis

b)

syntax analysis

c)

semantic analysis

d)

code generation

103.

Must be installed for the code to run on another machine

a)

Interpreter

b)

Compiler

c)

Assembler

104.

The correct order of the stages of compilation is:

a)

Lexical Analysis, Syntax Analysis, Code Generation, Code Optimisation

b)

Lexical Analysis, Syntax Analysis, Code Optimisation, Code Generation

c)

Syntax Analysis, Lexical Analysis, Code Optimisation, Code Generation

d)

Syntax Analysis, Lexical Analysis, Code Generation, Code Optimisation

105.

Symbol table is created in:

a)

Lexical Analysis

b)

Syntax Analysis

c)

Code Generation

d)

Code Optimisation

106.

What is the following expression an example of?


3 4 +

a)

Infix expression

b)

Postfix expression

c)

Afterfix expression

d)

Between expression

107.

What is the postfix equivalent of the following infix expression?


5 + 6

a)

+ 5 6

b)

5 6 +

c)

6 + 5

d)

6 + 5 +

108.

What is the postfix equivalent for the following infix expression?


(2/4)*(5-6)

a)

2 4 5 6 / - *

b)

2 4 / 5 6 - *

c)

2 4 / * 5 - 6

d)

2 4 / 5 - 6 *

109.
What type of key can be freely shared with anyone so that they can encrypt a message?
a)
Personal key
b)
Private key
c)
Free key
d)
Public key
110.

What does SSL stand for?

a)

Secure Socket Layer

b)

Secret Secure Layer

111.

The process of converting plaintext to ciphertext.

a)

cryptography

b)

cyphertext

c)

decryption

d)

encryption

112.

Information that is readable without performing any cryptographic operations.

a)

cryptography

b)

plaintext

c)

encryption

d)

decryption

113.

A digital certificate is issued by..

a)

a digital authoriser

b)

a certificate authority

c)

a certificate handler

d)

a digital certificate handler

114.
Firewalls remove viruses
a)
False
b)
True
115.
Which protocol would you use to transfer files?
a)
FTP
b)
SMTP
c)
POP3
d)
HTTP
116.
An Ethernet Cable is used in the Link Layer
a)
True
b)
False