9 . Lists, Tuples, Sets and Dictionary - 4

9 . Lists, Tuples, Sets and Dictionary - 4

12th Grade

10 Qs

quiz-placeholder

Similar activities

Python Revision - I

Python Revision - I

12th Grade

15 Qs

APCSP CodeHS Python

APCSP CodeHS Python

10th - 12th Grade

12 Qs

CodeHS Fundamentals of CS Unit 8

CodeHS Fundamentals of CS Unit 8

10th - 12th Grade

12 Qs

Relational Database Quiz (XII)

Relational Database Quiz (XII)

12th Grade

10 Qs

Python List Mastery

Python List Mastery

12th Grade

10 Qs

Set Dictionary List Tuple Python

Set Dictionary List Tuple Python

11th - 12th Grade

7 Qs

Python Lists Dictionaries Tuple Set

Python Lists Dictionaries Tuple Set

11th - 12th Grade

7 Qs

Structures in C++

Structures in C++

12th Grade

10 Qs

9 . Lists, Tuples, Sets and Dictionary - 4

9 . Lists, Tuples, Sets and Dictionary - 4

Assessment

Quiz

Computers

12th Grade

Medium

Created by

Geetha Geetha

Used 35+ times

FREE Resource

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?