Introduction to Python Quiz - Year 5

Introduction to Python Quiz - Year 5

4th Grade

15 Qs

quiz-placeholder

Similar activities

Python Pages 10 to 26

Python Pages 10 to 26

1st - 5th Grade

15 Qs

Pascal Assessment

Pascal Assessment

3rd - 4th Grade

10 Qs

Python Quiz - 4

Python Quiz - 4

4th - 11th Grade

10 Qs

Python_Nhập xuất_If else

Python_Nhập xuất_If else

1st - 5th Grade

20 Qs

Apps Shortcut

Apps Shortcut

4th - 5th Grade

14 Qs

Python Series

Python Series

1st - 5th Grade

15 Qs

Database Fundamentals

Database Fundamentals

KG - University

10 Qs

Arduino Quiz 5

Arduino Quiz 5

KG - Professional Development

10 Qs

Introduction to Python Quiz - Year 5

Introduction to Python Quiz - Year 5

Assessment

Quiz

Computers

4th Grade

Hard

Created by

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?