Search Header Logo

Python Quiz1

Authored by SHAIK SAJIDA

Computers

University

Used 1+ times

Python Quiz1
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

State true/false. Python is dynamically typed.

True

False

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

choose the correct output.

a=9//5

print(a)

1.8

0

error

1

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Input() is used to take which type of data from keyboard

Int

Float

Bool

Str

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of range(5)

1 2 3 4 5

0 1 2 3 4

1 5 10 15 20

None of the above

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which method is used to add 1 element at end of list

extend()

append()

count()

len()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will happen if we try to store 256 into bytearray

256 gets stored

Type error

Value error

Identification error

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which is the correct complex number

5+5i

5+i5

5+5j

All of the above

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?

Discover more resources for Computers