Font size
WorksheetsY9 Quiz 3.1
Total questions: 15
Worksheet time: 8mins
Ava is creating a digital invitation for her birthday party. She wants to join the greeting "Hello" with her name to make a new string.
This is called...
Floor division
Concatentaion
Iteration
Integer division
Emily is creating a personalized greeting card using Python. She wants to join two strings, 'Happy' and 'Birthday', to form a complete message. What symbol in Python should she use to join these two strings together?
,
*
-
+
Matilda is creating a digital diary and wants to store her daily thoughts, symbols, and even some numbers. She wonders if a string is a suitable data type for this purpose.
True
False
Chloe is setting up her new email account and needs to create a password. What data type should be used for a password, such as
C0ys1998*
Float
String
Boolean
Integer
Aarav is registering for a new course online.
firstname = input("Enter your firstname")
surname = input(“Hey " + __________ + " Enter your surname")
What is missing between the + symbols?
surname
secondname
firstname
first name
Neha is creating a secure password for her new email account. She decides to use the password "C0ys1999*".
passwordLength = len(password)
What is stored in the variable, "passwordLength"?
8
14
9
Oliver is trying to set a password for his new online account. He decides to use the password = ("C0ys1999*").
He then wants to check the length of his password using passwordLength = len(PASSWORD).
Why will this code get a syntax error?
The variable is spelt incorrectly
The wrong case has been used
The command order is incorrect
Rohan is writing a message to his friend and wants to know if spaces are counted in the length of the message.
"Hi Bob"
True
False
Isla is writing a message to her friend and she types the following string:
"Hi Bob"
What is the length of characters in her message?
6
5
Aarav is working on a project where he needs to join two text strings together to create a single string. This process is known as...
C (a)
Benjamin is writing a program to collect user information. Select the variable name and the string from this code.
Select 2 answers
first_name = input ("Enter your first name: ")
first_name
input
"Enter your first name: "
=
Rosie is learning programming and she wonders if a Boolean data type should start with a capital letter.
answer_correct = True
True
False
Rohan is measuring the weight of a fruit. He finds that the weight is 3.25 kg. This is an example of a float.
weight = 3.25
True
False
Ava is keeping track of her scores in a game. She wonders if she should put speech marks around the score value.
score = 0
Yes she should
No she shouldn't
Oliver is writing a program to display a greeting message. He wonders if he should put speech marks around the string.
print ("Hello")
True
False
