Python Basics Quiz

Python Basics Quiz

9th Grade

20 Qs

quiz-placeholder

Similar activities

Review for Python Midterm

Review for Python Midterm

9th - 12th Grade

15 Qs

TECNOLOGÍA

TECNOLOGÍA

9th Grade

19 Qs

Python Ch. 11- Review

Python Ch. 11- Review

9th - 12th Grade

16 Qs

Algorithms

Algorithms

6th - 9th Grade

18 Qs

8th grade CS exam

8th grade CS exam

7th - 9th Grade

20 Qs

Python

Python

9th Grade

20 Qs

9кл Повторение май 2023

9кл Повторение май 2023

9th Grade

23 Qs

Quiz 1 décimo python

Quiz 1 décimo python

9th - 12th Grade

17 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?