Python Basics Quiz

Python Basics Quiz

9th Grade

20 Qs

quiz-placeholder

Similar activities

Python Basics Quiz

Python Basics Quiz

9th Grade

20 Qs

Welcome and Statements Review

Welcome and Statements Review

9th - 12th Grade

15 Qs

Python

Python

9th Grade

15 Qs

Python IF statements Part 4

Python IF statements Part 4

9th - 12th Grade

20 Qs

Luyện tập rẽ nhánh

Luyện tập rẽ nhánh

1st - 12th Grade

19 Qs

KodeKiddo Excul - SMP (Python)

KodeKiddo Excul - SMP (Python)

7th - 9th Grade

20 Qs

Intro to Coding Week 4

Intro to Coding Week 4

9th - 12th Grade

16 Qs

Programming knowledge contest ( 1st level )

Programming knowledge contest ( 1st level )

9th - 12th Grade

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?