wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Y9 CS End of Year Assessment

Total questions: 90

Worksheet time: 45mins

Name
Class
Date
1.

Expand IDLE

a)

Internal Development Environment

b)

Integrated Development Enforcement

c)

Integrated Development Environment

2.

What are the names of the two types of mode that are used in Python? Select two.

a)

Interactive mode

b)

Scratch mode

c)

Imperial mode

d)

Script mode

3.

Which mode displays the python code result immediately?

a)

Script

b)

Compiler

c)

Interactive

d)

Program

4.

Which mode lets you save your program and run it later?

a)

Script

b)

Compiler

c)

Interactive

d)

Program

5.
What is a variable?
a)
A box(memory location) where you store values
b)
a type of graphics
c)
Data type
d)
a type of memory
6.

What is an Integer?

a)

A data type that contains whole numbers. eg: 3, 45, 124

b)

Numbers with decimal point. eg: 0.5, 2.45, 56.04

c)

Group of characters between quotation marks. eg: "dog"

d)

Data type that can only be True or False.

7.

What is a Float?

a)

A data type that contains whole numbers. eg: 3, 45, 124

b)

Numbers with decimal point. eg: 0.5, 2.45, 56.04

c)

Group of characters between quotation marks. eg: "dog"

d)

Data type that can only be True or False.

8.

What is a String data type?

a)

Holds whole numbers

b)

Holds decimal numbers

c)

holds alphanumeric data as text. It is any letter, number or character.

d)

Holds true or false value

9.

What is the Python built-in function to converts a number to a string?

a)

str()

b)

int()

c)

parseInt()

d)

convert

10.

What is the Python built-in function to converts a variable to decimal number

a)

str()

b)

int()

c)

float()

d)

bool()

11.

What is the Python built-in function to converts a variable to whole number

a)

str()

b)

int()

c)

float()

d)

bool()

12.
Code executed based on a condition being true
a)
Sequence
b)
Selection
c)
Iteration
d)
Variable
13.

What part of an if statement should be indented?

a)

All of it

b)

The statements within it

c)

the first line

d)

the lines within the brackets

14.

In Python, what are if-statements used for?

a)

Looping

b)

Indexing

c)

Decision Making

d)

Testing

15.
What is another word for 'iteration'?
a)
Selection
b)
Variable Assignment
c)
Repetition
d)
Sequencing
16.

A FOR loop is....

a)

A COUNT controlled loop

b)

A CONDITION controlled loop

17.

A WHILE loop is....

a)

A COUNT controlled loop

b)

A CONDITION controlled loop

18.
A syntax error in your code means:
a)
You have not used enough characters. 
b)
There was no defined index. 
c)
Python can't find a file to pass the code to. 
d)
There is an error with your typing and code structure. 
19.

What term is used to describe data passed into a function?

a)

Variable

b)

Loop

c)

Constant

d)

Parameter

20.

What is a function in Python

a)

Iteration in a loop

b)

a way of giving one instruction that actually leads to a longer set of instructions in order to save time.

c)

Selection in an IF statement

d)

A list

21.

A comment in Python starts with a #. What does a comment do?

a)

Used in a While loop (Iteration)

b)

Used in a For loop (Iteration)

c)

These are useful to help understand your code. A comment is ignored by the computer

d)

Used in an IF statement (Selection)

22.

What is a list in python?

a)

A collection of variables

b)

A collection of items assigned to a single variable

c)

A statement that cant be changed

d)

A Christmas list

23.

Which code would i use to add an item to a list?

a)

variable.add()

b)

variable.append()

c)

append.variable()

d)

add.variable()

24.

Breaking down a year's worth of daily temperature data by monthly average is an example of:

a)

Decomposition

b)

Pattern Recognition

c)

Abstraction

d)

Algorithm Design

25.

What is an Algorithm?

a)

A list of steps to complete a task.

b)

What is used to make a computer work.

c)

When you look for similarities between different parts of a problem.

d)

Breaking a problem down into smaller, more manageable pieces.

26.

Which term is for when you identify sections of a problem that are similar to each other?

a)

pattern recognition

b)

abstraction

c)

output

d)

iteration

27.

In Computational thinking, what is the term for ignoring the characteristics we don't need

a)

branching

b)

decomposition

c)

abstraction

d)

iteration

28.

In a flowchart, which is the symbol for a decision?

a)
b)
c)
d)
29.

In a flowchart, which shape is an input?

a)
b)
c)
d)
30.

In a flowchart, what is this symbol for?

a)

decision

b)

process

c)

output

d)

input

31.

What does the image show an example of?

a)

An IF WHILE statement

b)

An IF THEN statement

c)

A DO WHILE statement

32.

What is the term for when we repeat a process over and over again?

a)

algorithm

b)

branching

c)

iteration

d)

decomposition

33.

What is the term for when you are thinking in a way that helps you solve complicated problems?

a)

sequencing

b)

iteration

c)

computational thinking

d)

abstraction

34.

Define ABSTRACTION

a)

Breaking a task into smaller tasks.

b)

Drawing a map to show how to reach a destination.

c)

Creating step by step instructions.

d)

Focusing on what is important and ignoring what is unnecessary.

35.
What is a flowchart?
a)
A visual representation of an algorithm using symbols
b)
Using 'fake code' to plan an algorithm
c)
Using a programming language to show an algorithm
d)
Uisng different types of charts to show an algorithm
36.

What is the definition of an algorithm?

a)

Simple step by step instructions in a specific order, to solve a problem

b)

Rules which you need to follow to write instructions in a programming language

c)

Specific order of the instructions

d)

Consistent system of written symbols/ graphics to help communication/understanding

37.

Which of these best describes what pseudocode is?

a)

Pseudocode is a programming language. Every programming language uses it.

b)

Pseudocode is a simple way of describing a set of instructions. It is not a programming language.

38.

A loop is also called ____________.

a)

iteration

b)

a character

c)

a structure that repeats a sequence of instructions

d)

a value that can change depending on the conditions

39.

A nested If statement is:

a)

Assigned variable

b)

WHILE loop

c)

An if statement inside another if statement

d)

IF statement

40.

If else statement

a)

Outputs a message on the screen

b)

Gets data from the user

c)

A decision

d)

A loop controlled by a decision

41.

The steps in the order they need to happen.

a)

Sequence

b)

Selection

c)

Iteration

d)

Variable

42.

What is an input device?

a)

It is hardware component you connect to a computer that has information sent to it.

b)

It is hardware component you connect to a computer that allows users to enter data and instructions into a computer

c)

It is hardware component you don't connect to a computer that has information sent to it.

d)

It is hardware component you connect to a computer that allow you to conveys (delivers) information to user

43.

An input device that is used to control a pointer or a cursor on a screen.

a)

Pointer

b)

Mouse

c)

Display

d)

Cables

44.

Input devices that measure body characteristics

a)

Optical scanners

b)

Touch screens

c)

Biometric devices

d)

Light pen

45.
Which type of device is a monitor:
a)
Output Device
b)
Storage Device
c)
Input Device
46.

Is this device Input or Output?

Printer

a)

Input

b)

Output

47.
What is the the definition for?
Allows the user to see/hear data coming out of the computer
a)
Input Device
b)
Output Device
48.
What hardware device is the thing that processes the information on the computer?  It is known as the brains of the computer.
a)
motherboard
b)
keyboard
c)
cpu
d)
ram
49.
What device below would be used for storage-- long term?
a)
monitor
b)
printer
c)
hard drive
d)
mouse
50.
What is the device in the computer that holds all of the small electronic components?
a)
Big Board
b)
tower
c)
motherboard
d)
harddrive
51.
What does the RAM store?
a)
Operating system, programs and data which are currently being used
b)
A program used to start the computer called the �boot program� or BIOS
c)
All programs and documents stored on the computer
52.

The instructions that tell the computer what to do:

a)

Hardware

b)

Input

c)

Software

d)

Ooutput

53.

The physical objects that make up the computer system:

a)

Software

b)

Storage

c)

Input

d)

Hardware

54.
Clock speed measures what?
a)
Speed at which instructions are fetched from main memory
b)
Time taken to perform a single Fetch-Decode-Execute cycle
c)
Number of Fetch-Decode-Execute cycles that can be completed in 1 sec
d)
Speed at which instructions are decoded 
55.
What is the purpose of Cache?
a)
Performs Arithmetic and Logical operations
b)
Decodes and directs instructions to be carried out
c)
Stores frequently used data and instructions
d)
Processes graphical functions
56.
How does a CPU process instructions?
a)
Using the Fetch Decode Execute cycle
b)
Linearly using parallel processing
c)
Using machine code
d)
Through the Control Bus
57.

Which is the fastest memory?

a)

CPU Cache

b)

Main Memory

c)

CPU Registers

d)

Magnetic Disk

58.
ROM Vs RAM: What is used to boot up the computer when it is switched on...
a)
RAM
b)
ROM
59.

What does volatile mean?

a)

Data is lost when the power is turned off

b)

Data is NOT lost when the power is turned off

60.

Secondary storage devices can be grouped into three categories - what are they?

a)

Magnetic, Flash and Optical

b)

Magnetic, Optical and Solid State

c)

Solid State, Flash and Hard Drives

d)

Hard Drives, CDs and USBs

61.

Hard Disk Drives are a type of...

a)

Optical storage device

b)

Magnetic storage device

c)

Solid State memory

d)

Primary memory

62.

CDs, DVDs and Blu-Rays are all types of...

a)

Magnetic storage devices

b)

Optical storage devices

c)

Solid State memory

d)

Primary memory

63.

Which category of secondary storage devices has the fastest access speeds? (i.e. quicker to read and write to)

a)

Magnetic storage

b)

Solid state storage

c)

Primary memory

d)

Optical memory

64.

Which of the following is the best definition of a bit?

a)

An electrical signal in a wire

b)

A physical signal that becomes a digital signal

c)

A measure of computer graphics and sound

d)

A single 1 or 0 in a digital signal

65.
A byte is
a)
8 bits
b)
4 bits
66.
What are the only two numbers you can use in binary?
a)
0 and 1
b)
1 and 2
c)
1, 2, 3, 4, 5, 6, 7, 8, 9, 10
d)
1, 2, 4, 8, 16
67.

Which of the following statements is true?

a)

The Internet consists of millions of web pages linked together.

b)

The Internet is a web page created by a business.

c)

The WWW consists of millions of web pages linked together.

d)

WWW is the unique identity of a web page.

68.
Define what is meant by the 'internet'.
a)
A global network of computers connected together.
b)
A collection of websites and other resources identified by Uniform Resource Locators (URLs)
69.

What is a Domain Name?

a)

A type of computer.

b)

Numbers to let computers find each other.

c)

What we usually refer to as a web address.

70.

A network that covers large geographical areas is called ...

a)

local area network.

b)

intranet

c)

peer-to-peer network.

d)

wide area network.

71.

What is meant by a data packet?

a)

A unit of data that travels along a network

b)

The number of error found in data when it has been transmitted

c)

The data a computer needs to connect to a network

d)

A connection point in a network that allows data to be shared

72.

Which if these terms refers to the maximum rate at which data can be transferred?

a)

Error detection

b)

Packet switching

c)

Bandwidth

d)

Transmission media

73.

Which topology is this a picture of

a)

Star

b)

Bus

c)

Mesh

d)

Ring

74.

In packet switching each packet will follow the same route

a)

True

b)

False

75.

Why are packets split?

a)

To make the data arrive in order

b)

To make the data more manageable

c)

To make it easier to transport

76.
What type of network is this?
a)
Ring 
b)
Bus 
c)
Star
d)
Mesh
77.
What type of network is this?
a)
Mesh
b)
Star
c)
Ring
d)
Token
78.
What is a characteristic of a LAN?
a)
Small geographical location such as a school or small office.
b)
Really cheap to set up.
c)
Uses less cables than a star.
79.
A client-server network allows people to save their data centrally.
a)
True
b)
False
80.

Which of these is an advantage of cloud storage?

a)

The user has no control over their data

b)

Many programs can be run at the same time, regardless of the processing power of your device

c)

Accessible anywhere with an internet connection

d)

Portability

81.

_____________ is a general term used to describe

a new class of network based computing that takes

place over the Internet

a)

Cloud Computing

b)

Network Computing

c)

Storage Computing

d)

None of the choices

82.

What is encryption?

a)

Building tombs

b)

Protecting data by scrambling it

c)

Unscrambling data to read it

d)

Exploring church basements

83.
What is the word (command) used to display numbers and text on the screen?
a)
print
b)
input
c)
output
d)
command
84.
What symbol is used in python to assign values to a variable?
a)
equals =
b)
plus + 
c)
forward slash /
d)
asterisk *
85.

What will be the output?

name = "Dave"

print (name)

a)

Dave

b)

'Dave'

c)

name

d)

(name)

86.
What Python command lets the user enter an answer to a question?
a)
answer()
b)
open()
c)
print()
d)
input()
87.
The result of this program:
Friday = False
if Friday:

    print "Jeans day!"
else:
    print "Dress code"
a)
Jeans Day
b)
Jeans day
c)
Dress code
d)
Dress Code
88.
Which two statements are used to implement iteration?
a)
IF and WHILE
b)
ELSE and WHILE
c)
FOR and WHILE
d)
IF and ELSE
89.
Why is iteration important?
a)
It determines the order in which instructions are carried out
b)
It allows code to be simplified by removing duplicated steps
c)
It allows multiple paths through a program
d)
It ensures the code works correctly
90.

What is python?

a)

a high level programming language

b)

DTP software

c)

Spreadsheet software

d)

Computer