Python Basics Quiz

Python Basics Quiz

9th Grade

20 Qs

quiz-placeholder

Similar activities

9TH GRADE TECHNOLOGY'S MEASUREMENT OF KNOWLEDGE

9TH GRADE TECHNOLOGY'S MEASUREMENT OF KNOWLEDGE

9th Grade

15 Qs

EXAMEN B3A Y B3B

EXAMEN B3A Y B3B

3rd Grade - University

20 Qs

HTML Elements

HTML Elements

9th - 12th Grade

22 Qs

JavaScript Quiz

JavaScript Quiz

9th Grade

15 Qs

Green Skills

Green Skills

9th Grade

25 Qs

computer science

computer science

9th - 12th Grade

20 Qs

Kuiz _Sistem Elektronik

Kuiz _Sistem Elektronik

9th - 12th Grade

15 Qs

TechnoQuiz

TechnoQuiz

7th - 10th Grade

15 Qs

Python Basics Quiz

Python Basics Quiz

Assessment

Quiz

Instructional Technology

9th Grade

Hard

Created by

saima abbas

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?