Font size
WorksheetsY9 CS End of Year Assessment
Total questions: 90
Worksheet time: 45mins
Expand IDLE
Internal Development Environment
Integrated Development Enforcement
Integrated Development Environment
What are the names of the two types of mode that are used in Python? Select two.
Interactive mode
Scratch mode
Imperial mode
Script mode
Which mode displays the python code result immediately?
Script
Compiler
Interactive
Program
Which mode lets you save your program and run it later?
Script
Compiler
Interactive
Program
What is an Integer?
A data type that contains whole numbers. eg: 3, 45, 124
Numbers with decimal point. eg: 0.5, 2.45, 56.04
Group of characters between quotation marks. eg: "dog"
Data type that can only be True or False.
What is a Float?
A data type that contains whole numbers. eg: 3, 45, 124
Numbers with decimal point. eg: 0.5, 2.45, 56.04
Group of characters between quotation marks. eg: "dog"
Data type that can only be True or False.
What is a String data type?
Holds whole numbers
Holds decimal numbers
holds alphanumeric data as text. It is any letter, number or character.
Holds true or false value
What is the Python built-in function to converts a number to a string?
str()
int()
parseInt()
convert
What is the Python built-in function to converts a variable to decimal number
str()
int()
float()
bool()
What is the Python built-in function to converts a variable to whole number
str()
int()
float()
bool()
What part of an if statement should be indented?
All of it
The statements within it
the first line
the lines within the brackets
In Python, what are if-statements used for?
Looping
Indexing
Decision Making
Testing
A FOR loop is....
A COUNT controlled loop
A CONDITION controlled loop
A WHILE loop is....
A COUNT controlled loop
A CONDITION controlled loop
What term is used to describe data passed into a function?
Variable
Loop
Constant
Parameter
What is a function in Python
Iteration in a loop
a way of giving one instruction that actually leads to a longer set of instructions in order to save time.
Selection in an IF statement
A list
A comment in Python starts with a #. What does a comment do?
Used in a While loop (Iteration)
Used in a For loop (Iteration)
These are useful to help understand your code. A comment is ignored by the computer
Used in an IF statement (Selection)
What is a list in python?
A collection of variables
A collection of items assigned to a single variable
A statement that cant be changed
A Christmas list
Which code would i use to add an item to a list?
variable.add()
variable.append()
append.variable()
add.variable()
Breaking down a year's worth of daily temperature data by monthly average is an example of:
Decomposition
Pattern Recognition
Abstraction
Algorithm Design
What is an Algorithm?
A list of steps to complete a task.
What is used to make a computer work.
When you look for similarities between different parts of a problem.
Breaking a problem down into smaller, more manageable pieces.
Which term is for when you identify sections of a problem that are similar to each other?
pattern recognition
abstraction
output
iteration
In Computational thinking, what is the term for ignoring the characteristics we don't need
branching
decomposition
abstraction
iteration
In a flowchart, which is the symbol for a decision?
In a flowchart, which shape is an input?
In a flowchart, what is this symbol for?
decision
process
output
input
What does the image show an example of?
An IF WHILE statement
An IF THEN statement
A DO WHILE statement
What is the term for when we repeat a process over and over again?
algorithm
branching
iteration
decomposition
What is the term for when you are thinking in a way that helps you solve complicated problems?
sequencing
iteration
computational thinking
abstraction
Define ABSTRACTION
Breaking a task into smaller tasks.
Drawing a map to show how to reach a destination.
Creating step by step instructions.
Focusing on what is important and ignoring what is unnecessary.
What is the definition of an algorithm?
Simple step by step instructions in a specific order, to solve a problem
Rules which you need to follow to write instructions in a programming language
Specific order of the instructions
Consistent system of written symbols/ graphics to help communication/understanding
Which of these best describes what pseudocode is?
Pseudocode is a programming language. Every programming language uses it.
Pseudocode is a simple way of describing a set of instructions. It is not a programming language.
A loop is also called ____________.
iteration
a character
a structure that repeats a sequence of instructions
a value that can change depending on the conditions
A nested If statement is:
Assigned variable
WHILE loop
An if statement inside another if statement
IF statement
If else statement
Outputs a message on the screen
Gets data from the user
A decision
A loop controlled by a decision
The steps in the order they need to happen.
Sequence
Selection
Iteration
Variable
What is an input device?
It is hardware component you connect to a computer that has information sent to it.
It is hardware component you connect to a computer that allows users to enter data and instructions into a computer
It is hardware component you don't connect to a computer that has information sent to it.
It is hardware component you connect to a computer that allow you to conveys (delivers) information to user
An input device that is used to control a pointer or a cursor on a screen.
Pointer
Mouse
Display
Cables
Input devices that measure body characteristics
Optical scanners
Touch screens
Biometric devices
Light pen
Is this device Input or Output?
Printer
Input
Output
Allows the user to see/hear data coming out of the computer
The instructions that tell the computer what to do:
Hardware
Input
Software
Ooutput
The physical objects that make up the computer system:
Software
Storage
Input
Hardware
Which is the fastest memory?
CPU Cache
Main Memory
CPU Registers
Magnetic Disk
What does volatile mean?
Data is lost when the power is turned off
Data is NOT lost when the power is turned off
Secondary storage devices can be grouped into three categories - what are they?
Magnetic, Flash and Optical
Magnetic, Optical and Solid State
Solid State, Flash and Hard Drives
Hard Drives, CDs and USBs
Hard Disk Drives are a type of...
Optical storage device
Magnetic storage device
Solid State memory
Primary memory
CDs, DVDs and Blu-Rays are all types of...
Magnetic storage devices
Optical storage devices
Solid State memory
Primary memory
Which category of secondary storage devices has the fastest access speeds? (i.e. quicker to read and write to)
Magnetic storage
Solid state storage
Primary memory
Optical memory
Which of the following is the best definition of a bit?
An electrical signal in a wire
A physical signal that becomes a digital signal
A measure of computer graphics and sound
A single 1 or 0 in a digital signal
Which of the following statements is true?
The Internet consists of millions of web pages linked together.
The Internet is a web page created by a business.
The WWW consists of millions of web pages linked together.
WWW is the unique identity of a web page.
What is a Domain Name?
A type of computer.
Numbers to let computers find each other.
What we usually refer to as a web address.
A network that covers large geographical areas is called ...
local area network.
intranet
peer-to-peer network.
wide area network.
What is meant by a data packet?
A unit of data that travels along a network
The number of error found in data when it has been transmitted
The data a computer needs to connect to a network
A connection point in a network that allows data to be shared
Which if these terms refers to the maximum rate at which data can be transferred?
Error detection
Packet switching
Bandwidth
Transmission media
Which topology is this a picture of
Star
Bus
Mesh
Ring
In packet switching each packet will follow the same route
True
False
Why are packets split?
To make the data arrive in order
To make the data more manageable
To make it easier to transport
Which of these is an advantage of cloud storage?
The user has no control over their data
Many programs can be run at the same time, regardless of the processing power of your device
Accessible anywhere with an internet connection
Portability
_____________ is a general term used to describe
a new class of network based computing that takes
place over the Internet
Cloud Computing
Network Computing
Storage Computing
None of the choices
What is encryption?
Building tombs
Protecting data by scrambling it
Unscrambling data to read it
Exploring church basements
What will be the output?
name = "Dave"
print (name)
Dave
'Dave'
name
(name)
Friday = False
if Friday:
print "Jeans day!"
else:
print "Dress code"
What is python?
a high level programming language
DTP software
Spreadsheet software
Computer
