
GCSE Python Programming Quiz
Authored by Odin Thor
Fun
Professional Development
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct syntax to output "Hello, World!" in Python?
`echo "Hello, World!"`
`print("Hello, World!")`
`printf("Hello, World!")`
`console.log("Hello, World!")`
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What data type is the following value: `"42"`?
Integer
Float
String
Boolean
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT a valid variable name in Python?
`my_variable`
`2nd_variable`
`_hidden_variable`
`firstName`
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of `print(3 * "Hello")`?
`HelloHelloHello`
`Hello Hello Hello`
`Error`
`3Hello`
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What keyword is used to define a function in Python?
`func`
`def`
`define`
`function`
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these statements correctly creates a list in Python?
`my_list = [1, 2, 3]`
`my_list = (1, 2, 3)`
`my_list = {1, 2, 3}`
`my_list = "1, 2, 3"`
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will `len([4, 5, 6, 7])` return?
`3`
`4`
`5`
`Error`
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Microsoft
or continue with
%20(1).png)
Apple
Others
Already have an account?