wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Year 8 Autumn Asessment

Total questions: 53

Worksheet time: 30mins

Name
Class
Date
1.

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!?

a)

output("Hello World!")

b)

Print("Hello World!")

c)

print("hello world!")

d)

print("hello world")

2.

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?

a)

print(Hello World!)

b)

print("Hello World!")

c)

print("Hello World" + !)

d)

print"(Hello World!)"

3.

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?

a)

@

b)

#

c)

*

d)

&

4.

George wants to keep track of how many apples he has. What could he use in his computer program to store this number?

a)

A box (memory location) where you store values

b)

A type of graphics

c)

Data type

d)

A type of memory

5.

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?

a)

elif

b)

else

c)

ifif

6.

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?

a)

str()

b)

int()

c)

parseInt()

d)

convert

7.

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?

a)

+

b)

/

c)

X

d)

*

8.

Amelia is writing a Python program to share candies equally among her friends. Which operator should she use to perform the division?

a)

-

b)

+

c)

/

d)

*

9.

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?

a)

An error message

b)

The value of answer multiplied by 5

c)

answer * 5

d)

The value of answer repeated 5 times

10.

Isabella is writing a Python programme for her school project. Which of these is true?

a)

A syntax error will stop a programme running

b)

A logic error will stop a programme running

c)

A syntax error will let the programme run but may have unexpected outcomes

d)

The programme will always show an error message for a logic error

11.

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?

a)

print

b)

input

c)

output

d)

command

12.

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?

a)

Error checking

b)

Debugging

c)

Syntax finder

d)

Error finder

13.

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.

a)

True

b)

False

14.

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?

a)

Python

b)

A foreign language

c)

Language written in JavaScript

d)

Visual-based programming language

15.

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?

a)

True

b)

False

16.

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?

a)

b)

>

c)

<

d)

17.

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?

a)

Sequence

b)

Selection

c)

Repetition

18.

Emily has 4 apples. She buys 5 more apples. What is the final number of apples Emily has?

a)

4

b)

5

c)

9

19.

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?

a)

4

b)

5

c)

9

20.

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?

a)

to input data at random

b)

to enable the user to switch between programmes

c)

to temporarily store data while the programme is running

d)

to enable the user to change the order of inputs

21.

Noah wants to set his age to 16 in a computer program. Which of the following assigns the value 16 to the variable age?

a)

age = 16

b)

age (16)

c)

age 16

d)

16 = age

22.

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'?

a)

Enter your address (input)

b)

address = input ('Enter your address')

c)

input = address ('Enter your address')

d)

input (address) = 'Enter your address'

23.

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?

a)

7

b)

3+4

c)

34

d)

SyntaxError

24.

Florence submits a school essay that she copied from a website and claims it as her own work. What is this an example of?

a)

Copying someone else's work and claiming it as your own

b)

Using your own words to explain someone else's ideas

c)

Giving credit to the original author of information you used

25.

Florence is writing a report for her class. Which of the following actions would be considered plagiarism?

a)

Using her own words to explain a concept she learnt from a book

b)

Copying a paragraph from a website without giving credit

c)

Citing a source she used in her research

26.

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?

a)

Infringement

b)

Plagiarism

c)

Piracy

d)

Bootlegging

27.

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?

a)

To deter people from not looking after their computers

b)

To deter people from using a computer to commit a crime

c)

To ensure that all data is properly looked after

28.

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?

a)

Permission to use, copy or distribute a file

b)

A restriction on using, copying or distributing a file

c)

A legal means of ensuring that all original works can be protected

29.

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?

a)

Creative Commons Licence

b)

Data Protection Act

c)

Copyright and Patents Act

d)

Computer Misuse Act

e)

Freedom of Information Act

30.

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?

a)

Malware

b)

DangerDroids

c)

RudeBots

d)

Dangerware

31.

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?

a)

Software that sends scam emails

b)

Software that copies itself

c)

Software that you think is good software but is not

d)

Software that hides your data and demands payment to release it

32.

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)

A loop in Scratch coding is a programming construct that allows a set of instructions to be executed randomly.

b)

A loop in Scratch coding is a programming construct that allows a set of instructions to be skipped.

c)

A loop in Scratch coding is a programming construct that allows a set of instructions to be repeated multiple times.

d)

A loop in Scratch coding is a programming construct that allows a set of instructions to be repeated only once.

33.

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?

a)

The purpose of conditions in Scratch coding is to add unnecessary complexity to the programme.

b)

The purpose of conditions in Scratch coding is to slow down the programme execution.

c)

The purpose of conditions in Scratch coding is to make the programme more difficult to understand.

d)

The purpose of conditions in Scratch coding is to control the flow of the programme and make decisions.

34.

What would the following blocks output?

a)
b)
c)
d)
35.

What would the following blocks output?

a)
b)
c)
d)
36.

What would the following blocks output?

a)
b)
c)
d)
37.

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?

a)

more than 7

b)

more than 23

c)

spam

d)

7

38.

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?

a)

All of it

b)

The statements within it

c)

The first line

d)

The lines within the brackets

39.

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?

a)

Syntax error

b)

One will be displayed

c)

Zero will be displayed

d)

One then Zero will be displayed

40.

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?

a)

less than

b)

equal to

c)

greater than

d)

not equal to

41.

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?

a)

print

b)

colour

c)

input

d)

" "

42.

Arjun claims that 1 is equal to 0. Is his statement correct?

a)

True

b)

False

43.

James is writing a Python program to repeatedly check the temperature every minute. In this context, iteration is another word for a:

a)

loop

b)

variable

c)

function

d)

command

44.

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:

a)

Text-based programming language

b)

Visual-based programming language

c)

Block-based programming language

d)

Language written in JavaScript

45.

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)

A positive digital footprint can help you score well on a standardised test.

b)

A positive or negative digital footprint is not likely to affect you in the future.

c)

A positive digital footprint might make someone think you are not trustworthy.

d)

A positive digital footprint can make a difference when applying for a job, a scholarship, or university.

46.

Emily wants to make sure she creates a positive digital footprint while using social media. Which of the following should she do?

a)

Share information that is not accurate but might make you look good.

b)

Post funny images that might be offensive if taken out of context.

c)

Post about things or causes you are passionate about.

d)

Send mean replies to people who post or say things you disagree with.

47.

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?

a)

Rumour

b)

Clickbait

c)

Disinformation

d)

Bias

48.

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?

a)

Phishing

b)

Confirmation Bias

c)

Clickbait

d)

Curiosity Gap

49.

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?

a)

the ability to use digital tools to locate, evaluate, use and create information

b)

the ability to code and make websites

c)

the ability to use a mobile phone and take part in online gaming

d)

The ability to read about computers and digital technology

50.

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?

a)

Your name and telephone number only 

b)

Your email address only, if it does not include your name 

c)

 Minor details such as the name of your school, and what your parents do for a living 

d)

You should never share ANY personal information with someone you do not know 

51.

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?

a)

Full Name and Address

b)

Email Address

c)

Mobile Phone Number

d)

All of the Above

52.

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?

a)

Computers

b)

Social network sites

c)

Video games

d)

All of these

53.

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)

A delicious dessert

b)

Copying someone else's work and claiming it as my own.

c)

citing resources

d)

Creating a list of Web sites