NEW
Font size
WorksheetsYear 8 Autumn Asessment
Total questions: 53
Worksheet time: 30mins
Anaya wants to write a Python program that displays a greeting message on the screen. Which line of code should she use to output hello world!?
output("Hello World!")
Print("Hello World!")
print("hello world!")
print("hello world")
Noah is learning Python and wants to display a welcome message on the screen for his classmates. He wants the message to look like this:
Hello World!
Which command should Noah use?
print(Hello World!)
print("Hello World!")
print("Hello World" + !)
print"(Hello World!)"
Arthur is writing a Python program and wants to leave a note in his code to explain a particular section. Which symbol should Arthur use to add a comment to his code?
@
#
*
&
George wants to keep track of how many apples he has. What could he use in his computer program to store this number?
A box (memory location) where you store values
A type of graphics
Data type
A type of memory
Aarav is writing a program to decide what to wear based on the weather. If it's raining, he wants to wear a raincoat. If it's sunny, he wants to wear sunglasses. If he wants more than one option for his code after checking 'if', what should Aarav use?
elif
else
ifif
Poppy is building a website that displays prices in British English format. She needs to convert a number to a string so it appears correctly on the page. Which function should she use?
str()
int()
parseInt()
convert
Ella is writing a Python program to calculate the total price of apples. She needs to multiply the number of apples by the price per apple. Which operator should Ella use to carry out a multiplication in her code?
+
/
X
*
Amelia is writing a Python program to share candies equally among her friends. Which operator should she use to perform the division?
-
+
/
*
Grace is writing a Python program to help her count apples. She uses the following code:
answer = input("Give me a number")
print(answer * 5)
What will be the output if she enters a number?
An error message
The value of answer multiplied by 5
answer * 5
The value of answer repeated 5 times
Isabella is writing a Python programme for her school project. Which of these is true?
A syntax error will stop a programme running
A logic error will stop a programme running
A syntax error will let the programme run but may have unexpected outcomes
The programme will always show an error message for a logic error
Ava is learning Python programming. She wants to show numbers and text on the screen while writing her code. What is the word (command) she should use?
input
output
command
Arjun is working on a computer program and notices that it isn't running as expected. What is the term used to summarise the process Arjun would follow to find and fix the error in his code?
Error checking
Debugging
Syntax finder
Error finder
Leo is writing a program and accidentally uses a semicolon in the wrong place, causing the code to not run. This is an example of a syntax error, which means the code has a 'grammar' mistake or symbols/operations are used incorrectly.
True
False
Rosie is learning to code and her teacher asks her to choose a programming language that is text-based. Which of the following should Rosie pick?
Python
A foreign language
Language written in JavaScript
Visual-based programming language
Evie is learning how to bake a cake. She follows a set of precise instructions step by step to make sure the cake turns out perfectly. Is this set of instructions an algorithm?
True
False
Kiara is writing a Python program to check if the number of apples she has is less than or equal to 10. Which Python operator should she use for this comparison?
≥
>
<
≤
Grace is deciding whether to bring an umbrella. If it is raining, she will bring an umbrella. Otherwise, she will not. Is this sequence, selection, or repetition?
Sequence
Selection
Repetition
Emily has 4 apples. She buys 5 more apples. What is the final number of apples Emily has?
4
5
9
Lily has a box with some marbles. At first, she puts 4 marbles in the box. What is the initial value of the number of marbles in Lily's box?
4
5
9
Charlie is writing a computer program to keep track of the number of apples he picks each day. What is the purpose of a variable in Charlie's program?
to input data at random
to enable the user to switch between programmes
to temporarily store data while the programme is running
to enable the user to change the order of inputs
Noah wants to set his age to 16 in a computer program. Which of the following assigns the value 16 to the variable age?
age = 16
age (16)
age 16
16 = age
Daniel is writing a program that asks the user to enter their address from the keyboard. Which of the following lines of code correctly assigns the value entered to the variable 'address'?
Enter your address (input)
address = input ('Enter your address')
input = address ('Enter your address')
input (address) = 'Enter your address'
Neha is learning Python and writes the following code to calculate a sum:
print("3+4")
What will be the output when she runs this code?
7
3+4
34
SyntaxError
Florence submits a school essay that she copied from a website and claims it as her own work. What is this an example of?
Copying someone else's work and claiming it as your own
Using your own words to explain someone else's ideas
Giving credit to the original author of information you used
Florence is writing a report for her class. Which of the following actions would be considered plagiarism?
Using her own words to explain a concept she learnt from a book
Copying a paragraph from a website without giving credit
Citing a source she used in her research
Scarlett downloads movies from the internet and shares them with her friends without paying for them or getting permission from the creators. What is this act called?
Infringement
Plagiarism
Piracy
Bootlegging
Evie is considering using her computer to access someone else's private files without permission. What law is designed to deter people from using a computer to commit a crime like this?
To deter people from not looking after their computers
To deter people from using a computer to commit a crime
To ensure that all data is properly looked after
Florence creates an original song and wants to make sure no one else can use, copy, or distribute it without her permission. What legal protection does Florence need?
Permission to use, copy or distribute a file
A restriction on using, copying or distributing a file
A legal means of ensuring that all original works can be protected
Imagine Mia decides to test her skills by hacking into her school's network. Which of the following laws could she be prosecuted under for this action?
Creative Commons Licence
Data Protection Act
Copyright and Patents Act
Computer Misuse Act
Freedom of Information Act
Sophie notices her computer is acting strangely and files are disappearing. She suspects a computer programme is attacking her system. What is the term for such programmes?
Malware
DangerDroids
RudeBots
Dangerware
Max opened an email attachment and suddenly all his important files became inaccessible. A message appeared demanding money to unlock his data. What type of software has affected Max?
Software that sends scam emails
Software that copies itself
Software that you think is good software but is not
Software that hides your data and demands payment to release it
Benjamin is programming a robot in Scratch. He wants the robot to wave its hand several times without writing the same instructions over and over. What programming construct should Benjamin use to make the robot repeat the waving action multiple times?
A loop in Scratch coding is a programming construct that allows a set of instructions to be executed randomly.
A loop in Scratch coding is a programming construct that allows a set of instructions to be skipped.
A loop in Scratch coding is a programming construct that allows a set of instructions to be repeated multiple times.
A loop in Scratch coding is a programming construct that allows a set of instructions to be repeated only once.
Arjun is creating a game in Scratch where a character jumps only when the spacebar is pressed. What is the purpose of using conditions in this scenario?
The purpose of conditions in Scratch coding is to add unnecessary complexity to the programme.
The purpose of conditions in Scratch coding is to slow down the programme execution.
The purpose of conditions in Scratch coding is to make the programme more difficult to understand.
The purpose of conditions in Scratch coding is to control the flow of the programme and make decisions.
What would the following blocks output?
What would the following blocks output?
What would the following blocks output?
Noah has 13 apples. If he has more than 7 apples, he tells his friend, "more than 7". If he has more than 23 apples, he says, "more than 23". What does Noah say?
more than 7
more than 23
spam
7
Sophia is writing a Python program to check if a user is old enough to vote. She uses an if statement. Which part of her if statement should be indented?
All of it
The statements within it
The first line
The lines within the brackets
Grace is playing a game. Her score is set to 0. If her score is exactly 1, the game will display "One". Otherwise, it will display "Zero". What will happen when the game is run?
Syntax error
One will be displayed
Zero will be displayed
One then Zero will be displayed
Arjun is writing a Python program to check if two numbers are the same. Which operator should he use to compare if the values are equal?
less than
equal to
greater than
not equal to
Sophie is writing a programme to ask users about their favourite colour. She uses the following code:

What is the name of the variable in this programme?
colour
input
" "
Arjun claims that 1 is equal to 0. Is his statement correct?
True
False
James is writing a Python program to repeatedly check the temperature every minute. In this context, iteration is another word for a:
loop
variable
function
command
Alexander wants to create a computer program to organize his book collection. He decides to use Python for this task. Python is an example of a:
Text-based programming language
Visual-based programming language
Block-based programming language
Language written in JavaScript
Chloe is applying for a university scholarship. The admissions team looks at her online presence and sees her positive blog posts, website bio, and thoughtful comments. Which statement below is an example of how Chloe's digital footprint can affect her future?
A positive digital footprint can help you score well on a standardised test.
A positive or negative digital footprint is not likely to affect you in the future.
A positive digital footprint might make someone think you are not trustworthy.
A positive digital footprint can make a difference when applying for a job, a scholarship, or university.
Emily wants to make sure she creates a positive digital footprint while using social media. Which of the following should she do?
Share information that is not accurate but might make you look good.
Post funny images that might be offensive if taken out of context.
Post about things or causes you are passionate about.
Send mean replies to people who post or say things you disagree with.
Evie comes across a news article online that was deliberately created to spread false information in order to support a particular agenda. What is this type of misinformation called?
Rumour
Clickbait
Disinformation
Bias
Kiara is browsing the internet and sees an image with a sensational headline urging her to click on it, mostly for advertising purposes. What is this type of content called?
Phishing
Confirmation Bias
Clickbait
Curiosity Gap
Emily is applying for a job that requires her to demonstrate digital literacy. Which of these best shows what digital literacy means in this context?
the ability to use digital tools to locate, evaluate, use and create information
the ability to code and make websites
the ability to use a mobile phone and take part in online gaming
The ability to read about computers and digital technology
Sebastian is chatting online with someone he has never met before. What type of personal information is it acceptable for him to share with this person?
Your name and telephone number only
Your email address only, if it does not include your name
Minor details such as the name of your school, and what your parents do for a living
You should never share ANY personal information with someone you do not know
Samuel is filling out an online form that asks for his full name and address, email address, and mobile phone number. Which of these is considered personal information?
Full Name and Address
Email Address
Mobile Phone Number
All of the Above
Aarav is learning about digital media in his class. His teacher asks him to identify which of the following is an example of digital media. Which should Aarav choose?
Computers
Social network sites
Video games
All of these
Emily submits a school project by copying text from a website and claiming it as her own work. What is this an example of?
A delicious dessert
Copying someone else's work and claiming it as my own.
citing resources
Creating a list of Web sites
