Python Basics Quiz

Python Basics Quiz

9th Grade

20 Qs

quiz-placeholder

Similar activities

PAT ROBOTIC 3D Design & 3D Print 2019 - 2020

PAT ROBOTIC 3D Design & 3D Print 2019 - 2020

KG - Professional Development

25 Qs

Creator STEAM

Creator STEAM

9th - 12th Grade

16 Qs

Le défi robot

Le défi robot

9th Grade

20 Qs

Understanding Input and Output Devices

Understanding Input and Output Devices

9th Grade

15 Qs

Python Math Division CS

Python Math Division CS

9th - 12th Grade

19 Qs

ข้อสอบ Kidbright ชุด 1

ข้อสอบ Kidbright ชุด 1

7th - 9th Grade

20 Qs

Chapter 10 Review

Chapter 10 Review

9th - 12th Grade

25 Qs

test-midterm 1-2564

test-midterm 1-2564

1st Grade - University

20 Qs

Python Basics Quiz

Python Basics Quiz

Assessment

Quiz

Instructional Technology

9th Grade

Medium

Created by

saima abbas

Used 1+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a string in Python?

A sequence of numbers

A sequence of characters enclosed in quotes

A mathematical operation

A loop

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command is used to display text in Python?

display()

show()

print()

output()

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will print('Hello') output?

Hello

'Hello'

Error

Nothing

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of 4 + 5 in Python?

45

9

Error

"4+5"

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which symbol is used for multiplication in Python?

×

*

÷

#

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a variable in Python?

A reserved keyword

A box that stores a value

A loop

A function

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the following code? answer = 5 + 3 print(answer)

5 + 3

8

answer

Error

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?