wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Python Advanced Assessment

Total questions: 35

Worksheet time: 31mins

Name
Class
Date
1.

Which of the following pieces of code will display the message once without input?

a)

Name = input("enter a name")

b)

print("hello world")

2.

Which of the following pieces of code will display a message on the screen and store in a variable?

a)

Age = input ("enter age"), print(age)

b)

Age = input ("enter age")

3.

Which of the following code will process a decision?

a)

print(“Hello World”)  

b)

if mood == “good”: print(“You’re happy”) else: print(“You’re not happy”)

c)

number = int(number)

4.

Which of the following pieces of code will convert a string variable into an integer variable (one that contains a number not text)?

a)

number = int(number)     

b)

name = input(“What is your name?)

5.

Reorder the following code: I am giving you the following code: print("I'd give this film", film, "four stars"), film

=input("enteryourfavouritefilm")Puttheselinesinorderbelow:*

a)

print("I'd give this film", film, "four stars")

b)

film

=input("enteryourfavouritefilm")

c)

Add last

1)
2)
3)
6.

Look at the flowchart (open the image by clicking on it), what would the program do?

4 lines
7.

WHILE loops are

a)

loops which run an unknown number of times

b)

loops which run for a specific number of times

c)

the same as if statements

d)

not part of programming

8.

FOR loops are

a)

loops which run an unknown number of times

b)

loops which run for a specific number of times

c)

the same as if statements

d)

not part of programming

9.

What is happening in this code? (click image)

4 lines
10.

What is happening with this code (click image to make it bigger)

4 lines
11.

In your own words, what exactly is a firewall?

4 lines
12.
Organisations storing your data must...
a)
Keep it up to date
b)
Keep it for no longer than 5 years after your death
c)
Ask for more data than required
d)
Wait for you to contact them to ensure its accurate
13.
Why was the Computer Misuse Act of 1990 introduced?
a)
To help protect computer software
b)
To help protect computer hardware
c)
To stop the spread of computer viruses
d)
To stop people from accessing unauthorised information. 
14.
The Computer Misuse Act also makes it illegal to copy software
a)
True
b)
False
15.

What is CyberSecurity?

a)

Protection of computer systems for an organisation or individual from theft or damage to their online systems

b)

Protecting our business from people that try to break in and cause damage or theft to our property or systems

c)

The ability to control external users of our website and have them download cookies to protect our systems

d)

Making sure that our site does not install a virus when our customers try to place orders

16.

What is Phishing?

a)

Software that enables a user to obtain covert information about another's computer activities by transmitting data from their hard drive

b)

A piece of code capable of copying itself to corrupt a system or destroy data

c)

The practice of sending emails that claim to be from reputable sources to entice you to reveal personal information or click on unsafe links

d)

Software designed to disrupt, damage or gain unauthorised access to a computer or system

17.

What needs to be avoided when creating passwords?

a)

Easy to guess

b)

Saving passwords in shared folders

c)

Making them overly complicated

d)

Multi-factor authentication

18.

You get a phone call from someone pretending to be from microsoft, they ask for your log in details and password

a)

Phishing

b)

Blagging

c)

Brute Force

d)

Hacking

19.

When adding a new object, which option do you select from the Add menu

a)

Surface

b)

Mesh

c)

Curve

20.

What shape did you add for the Party Monkey's hat?

a)

cuboid

b)

sphere

c)

cone

d)

cylinder

21.
What keyboard shortcut matches the picture?
a)

R

b)

G

c)

B

d)

S

22.

What is the shortcut key to extrude an object?

a)

E

b)

S

c)

M

d)

P

23.

In which interaction mode, would you find the option to add loop cuts?

a)

Texture Paint

b)

Object Mode

c)

Edit Mode

d)

Sculpt Mode

24.

Identify the type of light in the given image.

a)

Point Light

b)

Area Light

c)

Spot Light

d)

Sun Lamp

25.

Which of these diagrams is correct for an OR gate?

a)
b)
c)
26.

Complete this truth table for an AND gate.

a)

0000

b)

0001

c)

0111

d)

1111

27.

Which gate "reverses" any numbers that pass through it?

a)

AND

b)

OR

c)

NOT

28.

The process of converting plaintext to ciphertext.

a)

cryptography

b)

cyphertext

c)

decryption

d)

encryption

29.

What is the algorithm of ceasar's cipher?

a)

Each letter is replaced with a particular symbol

b)

Each letter is replaced with a letter a certain number of steps down the alphabet

c)

Each letter is replaced with a particular number from 0 to 26, and numbers are replaced with letters.

d)

Each letter is replaced with a completely random number

30.

What does WWW stand for?

a)

World Wide Web

b)

Wide World Web

c)

Web World Wide

d)

We Will Wait

31.

Who invented the WWW?

a)

Alan Turing

b)

Tim Berners-Lee

c)

Mark Zuckerberg

d)

Steve Jobs

32.

What do the letters HTML stand for?

a)

Hide The Massive Lions

b)

Hyper Text Markup Language

c)

Happy Text Markup Language

d)

Happy Text Makeup Language

33.

What does the letter S stand for in HTTPS?

a)

Secure

b)

System

c)

Server

d)

Sorry

34.

_____________ is an international network of computers.

a)

Network

b)

WWW

c)

Internet

d)

Local Area Network

35.
Compares pairs of items and swaps them if they are in the wrong order. Each pair in the list is checked.
a)
Bubble sort
b)
Insertion sort