wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Computer Science

Total questions: 65

Worksheet time: 30mins

Name
Class
Date
1.
What enables different parts of the CPU to work on different tasks at the same time
a)
Hyper Threading
b)
Multiplier
c)
Cores
d)
Bus Speed
2.
The main circuit board in a computer is called the ________.
a)
RAM
b)
dongle
c)
motherboard
d)
 power supply unit
3.
which of these is an example of a peripheral
a)
the CPU
b)
RAM
c)
A printer or scanner
d)
A USB socket
4.

Ram is?

a)

Read only memory

b)

Random access memory

c)

A box

d)

The CPU detroyer

5.

What does LAN stand for?

a)

Micheal

b)

Little actual area

c)

local area network

d)

Large area network

6.

ROM

a)

Read only memory

b)

reach on mate

c)

Random only memory

d)

Raz only mould

7.

Computer screens are divided up into a grid of small dots called .....................?

a)

Bits

b)

Pixels

c)

Packets

d)

byte

8.
What is software?
a)
any set of instructions that tells the hardware what to do
b)
the video card on the monitor
c)
the operating system
d)
the monitor and computer case
9.
What is hardware?
a)
all the ports and buttons of a computer
b)
is any part of your computer that has a physical structure.
c)
is any part of your desktop
d)
software
10.

A _______ is an electronic device that manipulates information, or data.

a)

Software

b)

Hardware

c)

Keyboard

d)

Computer

11.

An _____________ is the most important software that runs on a computer. It manages the computer's memory and processes, as well as all of its software and hardware.

a)

Banana

b)

Hardware

c)

Software

d)

Operating System

12.
_____ is a way of repeating code
a)
While
b)
Expression
c)
Loop
d)
Lopp 
13.
Function names are always followed by parentheses 
a)
True
b)
False
14.
______ is a type of programming data that represents text
a)
Basic
b)
Syntax
c)
Argument
d)
String
15.
In the code example: enemy = "Kratt", the varible is 
a)
"Kratt"
b)
Kratt
c)
d)
enemy
16.
enemy = "Kratt" 
hero.attack("Kratt") is the same as 
a)
hero.attack(friend)
b)
Hero.attack(enemy)
c)
hero.attack(enemy2)
d)
hero.attack(enemy)
17.

the brains of the computer where most calculations take place.

a)

Algorithm

b)

Program

c)

CPU

d)

Hardware

18.
a)

Hardware

b)

Software

19.
Pulling out specific differences to make one solution work for multiple problems. 
a)
Function
b)
Abstraction
c)
Loop
d)
Coding
20.
An error in a program that prevents the program from running as expected. 
a)
Coding
b)
Algorithm
c)
Bug
d)
Event
21.
Statements that only run under certain conditions or situations. 
a)
Conditionals
b)
Variables
c)
Loops
d)
Commands
22.
A list of steps to finish a task. A set of instructions that can be performed with or without a computer. 
a)
recipe
b)
algorithm
c)
statement
d)
loop
23.
This is the piece of code that you add to a program to indicate that the program should run the code inside a function at a certain time. 
a)
Call a function
b)
Command
c)
DeBug
d)
Shout out
24.
To add code inside a function so that the program knows what it is supposed to do when the function is called. 
a)
Call a function
b)
algorithm 
c)
command
d)
Define a function
25.

Which of these is a benefit of a peer-to-peer network?

a)

Antivirus scans can be run across all computers from one computer

b)

All software updates can be run across all computers from one computer

c)

All computers can be maintained from one computer

d)

Files and peripherals can be shared

26.

Where are you most likely to find a peer-to-per network?

a)

In a large organisation

b)

In a home

c)

In a large office

d)

Across several offices in a company

27.

Which of these statements is true?

a)

A client-server network has a central computer that provides services to the rest of the network

b)

A client-server network is cheap and easy to set up

c)

A client-server network cannot be used to share files

d)

Each computer on a client-server network is maintain separately

28.

Which of these is the correct definition of a router?

a)

Forwards data packets along a network

b)

Corrects errors that are found in data packets

c)

A type of transmission media that provides the greatest bandwidth

d)

A server within a network

29.

What data type would store the value: 6.4?

a)

String

b)

List

c)

Boolean

d)

Float

30.

What data type would store the value: Oranges

a)

String

b)

Float

c)

Boolean

d)

Integer

31.

What would you put in an if statement to see if two values are equal?

a)

++

b)

==

c)

//

d)

||

32.

A type of error that occurs when a rule of the programming language code is broken?

a)

Syntax error

b)

Logic error

c)

Run-time error

d)

Program error

33.

Use the correct order of operations to evaluate this expression ...


6 * 8 / 2 + (15 - 6) + 3 ^ 2

a)

42

b)

32

c)

52

d)

72

34.

Odd one out ...?

a)
b)
c)
d)
35.

Example of ...?

a)

Sequence

b)

Selection

c)

Repetition

d)

Recursion

36.

Example of ...?

a)

Nested selection

b)

Nested loop

c)

Repetition

d)

Iteration

37.

Choose all the types of loop ...

a)

FOR ... TO ...

b)

WHILE ... DO ...

c)

FOR EACH .... DO ...

d)

IF ... THEN ... ELSE ...

38.

A special type of loop that never ends?

a)

Infinite loop

b)

Recursive loop

c)

Nested loop

d)

Unconditional loop

39.

Symbols used for entering comments in Python ...?

a)

# This is a Python comment

b)

''' This is a Python comment '''

c)

// This is a Python comment

d)

/* This is a Python comment */

40.

Choose all the techniques for improving the readability of a program ...

a)

Descriptive identifier names

b)

Extra spacing

c)

Explanatory comments

d)

Indenting blocks of code

41.

Select all the Low-level programming code ...

a)
b)
c)
d)
42.

Select all the types of program translator ...

a)

Compiler

b)

Interpreter

c)

Assembler

d)

Parser

43.

What is another name for the original untranslated program code?

a)

Source code

b)

Object code

c)

Machine code

d)

Assembly code

44.

For AND, when is it TRUE?

a)

false AND false

b)

true AND false

c)

false AND true

d)

true AND true

45.

For OR, when is it TRUE?

a)

false AND false

b)

true AND false

c)

false AND true

d)

true AND true

46.

What is the output?

a)

True

b)

False

47.
Convert 128 to binary
a)
10000000
b)
01111110
c)
10000001
d)
11001100
48.

A kilobyte is

a)

1024 bits

b)

1024 bytes

49.
How many megabytes are in 1 gigabyte?
a)
1024
b)
1
c)
1024 x 10 = 10240
50.
The following is a correct order of units of storage from lowest to highest:
a)
a bit, a nibble, a byte, a kilobyte, a megabyte, a gigabyte, a terabyte
b)
a bit, a byte, a nibble, a kilobyte, a megabyte, a gigabyte, a terabyte
c)
a bit, a nibble, a byte, a megabyte, a kilobyte, a gigabyte, a terabyte
d)
a byte, a bit, a nibble, a megabyte, a kilobyte, a gigabyte, a terabyte
51.

Convert 3 to binary

a)

10000001

b)

01111110

c)

00000011

d)

11001100

52.
Quality of an image depends on:
a)
Resolution
b)
Metadata
c)
Screen size
d)
Computer's speed
53.
The density of pixels in an image file is known as:
a)
Resolution
b)
Dimensions.
c)
Transparency.
d)
Compression.
54.
Identify a true statement:
a)
Image files can be compressed by setting pixels with similar colour to the exactly same colour.
b)
Compressing files improves their quality.
c)
Resolution doesn't affect the printed size of an image.
d)
Black and white images have colour depth of two bits.
55.
Colour depth refers to:
a)
How many bits are used in a file to store colour information in every pixel
b)
Resolution divided by the number of colours in an image.
c)
Degree of file compression applied to an image file.
d)
Repeated resampling of an image.
56.

What is the colour depth of the image?

a)

colour depth of 1

b)

colour depth of 2

c)

colour depth of 4

d)

colour depth of 16

57.
Most graphic formats create many colours from:
a)
Red, green, blue.
b)
Red, pink, yellow.
c)
Red, white, blue.
d)
Black, white, green.
58.

What is the sample rate?

a)

The number of times a sound wave is sampled per second

b)

The number of bits used to store each sample

c)

How loud a sound is

d)

The size of the sound wave

59.

What is used to convert a sound wave in to a digital format?

a)

A sound wave converter

b)

A router

c)

An amplitude to digital converter

d)

Analogue to digital converter

60.

What is amplitude?

a)

Number of samples taken

b)

The number of bits per sample

c)

The height of the sound wave

d)

The pitch

61.
What is Pitch?
a)
How loud or soft a sound is
b)
muscle that holds vocal cords
c)
movement back and forth
d)
how high or low a sound is
62.
Bubble sort takes the first two values of a list, and swaps them if wrong?
a)
True
b)
False
63.
Merge Sort is?
a)
When a list is kept as one and compared
b)
List is split into 2 and merged together
c)
List is split into 2 and kept seperate
d)
Nothing
64.
Which of these is a type of searching algorithm?
a)
Linear search
b)
Word search
c)
Search engine
65.
Which type of sort algorithm is this?
a)
Bubble
b)
Merge
c)
Insertion