Search Header Logo

9 . Lists, Tuples, Sets and Dictionary - 4

Authored by Geetha Geetha

Computers

12th Grade

Used 35+ times

9 . Lists, Tuples, Sets and Dictionary - 4
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

1.---------- consists of a number of values separated by a comma and enclosed within parentheses.

Lists

Tuples

set

Dictionary

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

2. The elements of a tuple are enclosed by ________ .

array bracket

square brackets

parenthesis

Curley brace

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

3. The __________ function is used to create Tuples from a list.

tuple

set()

list()

tuple( )

4.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

4. Creating a Tuple with one element is called ____________ tuple.

Singleton

doubleton

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

5. Which of the following is true for a tuple?

Tup = 1,2,3

Tup = (""1,"2)

Tup = (1,2,3,4)

None of the above

6.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

6. Tuples in Python are mutable

False

True

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

7. In a nested tuple, each tuple is considered as an ------------ .

element

variable

parameter

none of these

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?