Python Quiz1

Python Quiz1

6th - 8th Grade

20 Qs

quiz-placeholder

Similar activities

Introduction to Python Programming

Introduction to Python Programming

7th Grade

22 Qs

Ch.8 - Introducing Python

Ch.8 - Introducing Python

6th Grade - Professional Development

20 Qs

Python Test

Python Test

8th - 12th Grade

20 Qs

Python Basics Recap

Python Basics Recap

8th - 11th Grade

23 Qs

Python First Steps Homework Quiz

Python First Steps Homework Quiz

7th - 9th Grade

20 Qs

ASK T2 - Kod Arahan (Python)

ASK T2 - Kod Arahan (Python)

7th Grade - University

20 Qs

Python

Python

7th - 10th Grade

20 Qs

Introduction to Python

Introduction to Python

KG - University

25 Qs

Python Quiz1

Python Quiz1

Assessment

Quiz

Computers

6th - 8th Grade

Medium

Created by

Abdullah Ansari

Used 2+ times

FREE Resource

AI

Enhance your content

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is the truncation division operator in Python?

|

//

/

%

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of the following Python function?

min(max(False,-3,-4), 2,7)

-4

-3

2

False

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of the following Python expression if x=56.236?

print("%.2f"%x)

56.236

56.23

56.0000

56.24

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of the following Python code snippet?

for i in [1, 2, 3, 4][::-1]:

print(i, end=' ')

4 3 2 1

error

1 2 3 4

None of the mentioned

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will be the output of the following Python code?

1 2 3

error

1 2

none of the mentioned

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will be the output of the following code snippet?

15

0

20

None of the mentioned

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the order of precedence in python?

Exponential, Parentheses, Multiplication, Division, Addition, Subtraction

Exponential, Parentheses, Division, Multiplication, Addition, Subtraction

Parentheses, Exponential, Multiplication, Division, Subtraction, Addition

Parentheses, Exponential, Multiplication, Division, Addition, Subtraction

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?