Introduction to Python Quiz - Year 5

Quiz
•
Computers
•
4th Grade
•
Hard

Nick Williams
Used 2+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following will print the word "Hello" on the screen in Python?
print(Hello)
print("Hello")
print('Hello)
print(Hello")
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct way to ask the user for their name in Python?
name = input("What is your name?")
name = ask("What is your name?")
name = print("What is your name?")
name = get("What is your name?")
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a conditional statement in Python?
if age > 10:
print(age > 10)
input(age > 10)
while age > 10
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the following code print? - print("My favourite colour is", "blue")
My favourite colour is blue
My favourite colour isblue
My favourite colour is, blue
My favourite colour is: blue
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you print the value of a variable called score
?
print(score)
print("score")
print(score=)
print('score')
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code? x = 5 y = 3 print(x + y)
53
8
2
15
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following will correctly check if a number is equal to 10?
if number = 10:
if number == 10:
if number != 10:
if number > 10:
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Python

Quiz
•
3rd - 10th Grade
15 questions
Selection in Python

Quiz
•
1st - 9th Grade
13 questions
mBlock assessment

Quiz
•
3rd - 6th Grade
11 questions
Informatika

Quiz
•
4th Grade
14 questions
ôn tập về chuỗi

Quiz
•
1st - 5th Grade
16 questions
Quizz

Quiz
•
1st - 12th Grade
13 questions
KS3 Python Quiz

Quiz
•
3rd - 10th Grade
20 questions
Pseudocode

Quiz
•
4th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
20 questions
place value

Quiz
•
4th Grade
10 questions
Order of Operations No Exponents

Quiz
•
4th - 5th Grade
20 questions
Place Value and Rounding

Quiz
•
4th Grade
12 questions
Text Structures

Quiz
•
4th Grade
15 questions
Subject-Verb Agreement

Quiz
•
4th Grade
15 questions
Place Value

Quiz
•
4th Grade
10 questions
Input Output Tables

Quiz
•
4th Grade
15 questions
Singular and Plural Nouns

Quiz
•
4th Grade