Search Header Logo

Python_quiz

Authored by Pallabi Mazumdar

Computers

11th Grade

15 Questions

Used 7+ times

Python_quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

1.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Choose the Correct statement for Tuple

Tuple is ordered and mutable

Tuple is unordered and mutable

Tuple is ordered and immutable

Tuple is unordered and mutable

2.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Tuples can contain elements of any data type.(T/F)

True

False

3.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

In tuples values are enclosed in __________________

Square brackets

Curly brackets

Parenthesis

None of the above

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Media Image

Write the output of the following.

(python)

(“Python”)

(‘P’ , ‘y’ , ‘t’ , ‘h’ , ‘o’ , ‘n’)

None of the above

5.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

len( ) function returns the number of elements in tuple.(T/F)

True

False

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Media Image

Find the output

(‘P’, ‘y’, ‘t’, ‘h’, ‘o’, ‘n’)

[‘P’, ‘y’, ‘t’, ‘h’, ‘o’, ‘n’]

none of the above

Error

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Media Image

Find the output

28

29

27

26

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?