NEW
Font size
WorksheetsYear 8: End of Year Assessment
Total questions: 47
Worksheet time: 24mins
What three building blocks are used when designing a program?
Sequencing, selection, iteration
Sequencing, programming, iteration
Sequencing, selection, programming
Python
What is sequencing?
The order in which steps are carried out in a program
The order in which we think computationally
The process of repeating a number of steps in a program
The process of coding
Why is sequencing important?
To ensure the program is kept to a reasonable length
To ensure the program functions as intended
To ensure the program is efficient
To debug the program
What is a variable?
A variable is a number
A variable is a message input by the user
A variable is a location in memory that we use to store data
Something that can be changed
Why are variables so named?
Variables are so named because we can choose whether or not to use them
Variables are so named because the data we store in them can change
Variables are so named because we can change their names
So they sound good
In programming what name is given to the data type which represents any combination of characters on a keyboard?
Integers
Strings
Floating point numbers
Characters
What statement is used to obtain a value for a variable from a user?
get
input
set
enter
What is selection?
Repeating a number of steps
A decision point in a program
The order in which instructions are carried out
A chocolate bar
In programming how is selection implemented?
IF-ELIF-ELSE
IF-OTHERWISE
DO-ELSE
DO-UNTIL
In programming what is the answer to an IF question?
Yes or No
Positive or Negative
True or False
On or OFF
In programming, what is iteration?
The repetition of steps within a program
The order in which instructions are carried out
A decision point in a program
Random outputs appear
Why is iteration important?
It determines the order in which instructions are carried out
It allows code to be simplified by removing duplicated steps
It allows multiple paths through a program
You can control the program more efficiently
Which type of loop uses a counter?
A repeat-many loop
A condition-controlled loop
A count-controlled loop
Infinite loop
What is the name given to a loop that continues indefinitely?
An infinite loop
A forever loop
A continuous loop
A repeating loop
What is a data structure?
A list of variables
A list of variables and strings
A facility that holds more than one value
Just a list
What is an array?
A list of variables
A list of strings
A series of memory locations, each with the same name, that hold related data
A list of items
In the array 'numbers(6, 10, 7, 12, 9, 2)', what is the value of element numbers(4)?
Nine
Twelve
Two
Seven
In the array 'colours("Purple", "Blue", "Red", "Green", "Yellow")', what is the value of the element colours(3)?
Green
Red
Purple
Blue
Yellow
How is 'equals' represented in Boolean logic?
>
<
=
==
How is 'equals to' represented in Python?
=
!=
==
=!
How is 'greater than or equal to' represented in Boolean logic?
<=
>
>=
=>
myFile = open("data.txt", "w")
myFile.write("Hello World")
myFile.close()
What's the name of the file?
Hello World
data
myFile
write
myFile = open("data.txt", "w")
myFile.write("Hello World")
myFile.close()
What is "w" function in the code?
read
wrote
wipe
write
myFile = open("data.txt", "w")
myFile.write("Hello World")
myFile.close()
What will be saved in the text file?
myFile
data
Hello World
hello world
A phishing email is one which:
requests a payment for goods you have not received
offers you products in which you may have no interest
encourages you to click on a link to a fraudulent website
contains abusive and threatening language
If you receive an email from a well-known company, but its name is misspelt in the sender’s address, you should:
click on the link in the email to check if it’s genuine
reply, pointing out the error
report it as a possible phishing scam
forward the email to a friend to check
You can tell whether a link in email will take you to a genuine website, for example belonging to a bank, without risk, by:
pointing to the link without clicking
deleting the email
replying to the email
clicking on the link
You can protect your files from unauthorised access by:
only allowing your friends and family to know your passwords
making frequent backups
choosing a strong password and changing it regularly
never using computers in a public place such as a library
A computer virus is a small program which:
will destroy your computer hardware
you may unintentionally transmit to other computers
can only be transmitted via email
cannot be removed from your computer
“Malware” is:
a type of virus
a software bug
security software to detect viruses
unwanted software installed without consent
1. Which of the following is a sign of a possible malware attack?
A new toolbar appears on your browser
You see a lot of pop-up adverts even when you’re offline
Your hard disk is working overtime but you’re not doing anything
Any of the above
To avoid your computer being infected by malware, you should not:
Download music or software from illegal sites
open emails from people you don’t know
open email attachments
post personal details on social networking sites
You receive a desperate plea for help from a friend who says they are stuck overseas and all their money has been stolen. You should:
reply to the email
delete the email
send some money
forward the email to a mutual friend
Gaining unauthorised access to someone else’s computer files is known as:
copyright infringement
hacking
virus attack
data theft
Hackers...
will destroy your computer hardware
are rarely able to steal personal data
sometimes steal passwords so they can access your online account
can only steal one password at a time
Hacking is illegal under:
The Data Protection Act or GDPR
The Computer Misuse Act
Copyright Law
Health and Safety Law
What is the animation software used?
Microsoft Flash
Adobe Flash
PowerPoint
Adobe PhotoShop
What do you select to create a new animation
Animation
Banners
ActionScript 3.0
ActionScript 2.0
What is the area you create the animation on called?
Image
Frame
Stage
Screen
How do you insert an image from a folder?
INSERT
COPY and PASTE
EXPORT to stage
IMPORT to stage
What is the selected layer called?
wheel
background
PlayHead
KeyFrame
What type of frame defines a change in animation?
Picture Frame
Photo Frame
Motion Frame
Key Frame
What allows you to speed up and slow down how fast the animation plays?
Play
Fast Forward
Frame Rate
Delay
You need to make sure Photoshop objects are different ____________ to be used separately in Flash
timelines
layers
files
backgrounds
How do you change layer name ?
Click
Press key F5
Double Click
Press key F6
________is the process of recording two instances of a single object and having the computer calculate the images for the in-between frames.
Tweening
Illusion
Keyframe
Frame
What does IDE stand for in Python?
Information Development Environment
Integrated Design Environment
Introduction Design Evaluation
Integrated Development Environment
