Python Basics Quiz

Python Basics Quiz

Professional Development

15 Qs

quiz-placeholder

Similar activities

Ertugrul quiz

Ertugrul quiz

6th Grade - Professional Development

10 Qs

Quiz

Quiz

University - Professional Development

15 Qs

Supply-PKT-December-2

Supply-PKT-December-2

Professional Development

10 Qs

IHG One Rewards - 2022

IHG One Rewards - 2022

Professional Development

12 Qs

Chery Sales Process (CSP)

Chery Sales Process (CSP)

Professional Development

20 Qs

Program Utama Q1 2022

Program Utama Q1 2022

Professional Development

12 Qs

PKT Supply_Week-2_August'22

PKT Supply_Week-2_August'22

Professional Development

10 Qs

PKT Supply_Week-4_October'22

PKT Supply_Week-4_October'22

Professional Development

10 Qs

Python Basics Quiz

Python Basics Quiz

Assessment

Quiz

Other

Professional Development

Practice Problem

Medium

Created by

SANJANA PRASAD

Used 6+ times

FREE Resource

AI

Enhance your content in a minute

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

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of type(10) in Python?

<class 'str'>

<class 'float'>

<class 'int'>

<class 'bool'>

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a valid Boolean value in Python?

TRUE

true

False

Yes

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the result of: 3 > 2 and 5

A) False

B) True

C) 0

D) SyntaxError

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a comparison operator in Python?

==

!=

=

>=

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

6. What is the output of 10 == '10'

A) True

B) False

C) TypeError

D) None

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of bool(0)?

True

False

0

Error

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which statement is used to stop the execution of the loop and continue with the next iteration?

return

break

continue

exit

Access all questions and much more by creating a free account

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

Already have an account?