Python Basics Quiz

Python Basics Quiz

9th Grade

26 Qs

quiz-placeholder

Similar activities

ÔN TẬP TIN 7

ÔN TẬP TIN 7

1st - 12th Grade

25 Qs

Trivia 2025

Trivia 2025

9th Grade - University

21 Qs

Biology Midterm Review

Biology Midterm Review

9th - 12th Grade

22 Qs

Python Basics Quiz

Python Basics Quiz

9th Grade

30 Qs

Engineering Technology Review A

Engineering Technology Review A

9th - 12th Grade

25 Qs

Computer Basics

Computer Basics

KG - 12th Grade

21 Qs

Digital Media 1st 9 weeks REVIEW  (FALL 2021)

Digital Media 1st 9 weeks REVIEW (FALL 2021)

8th - 9th Grade

30 Qs

PIT A Unit 1 Review (20-21)

PIT A Unit 1 Review (20-21)

9th Grade - Professional Development

24 Qs

Python Basics Quiz

Python Basics Quiz

Assessment

Quiz

Other

9th Grade

Medium

Created by

Hamza Motiyar

Used 1+ times

FREE Resource

26 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct extension of a Python file?

.py

.python

.pt

.txt

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is used to print in Python?

echo

print()

cout

display()

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which symbol is used to comment in Python?

//

/**/

#

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Python is:

Compiled

Interpreted

Both

None

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these is a valid variable name?

2name

@name

name_1

my-name

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of: type(10.5)?

int

float

str

double

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a string?

"True"

True

1

0

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?