9 . Lists, Tuples, Sets and Dictionary - 5

9 . Lists, Tuples, Sets and Dictionary - 5

12th Grade

10 Qs

quiz-placeholder

Similar activities

Python Lists Dictionaries Tuple Set

Python Lists Dictionaries Tuple Set

12th Grade

10 Qs

Python Data Types and Operators Skill #1

Python Data Types and Operators Skill #1

12th Grade

13 Qs

Dictionary in Python

Dictionary in Python

11th - 12th Grade

10 Qs

Python Quiz

Python Quiz

7th - 12th Grade

10 Qs

Python Basics

Python Basics

11th Grade - University

10 Qs

Review of python

Review of python

12th Grade

10 Qs

9 . Lists, Tuples, Sets and Dictionary - 1

9 . Lists, Tuples, Sets and Dictionary - 1

12th Grade

10 Qs

9 . Lists, Tuples, Sets and Dictionary - 4

9 . Lists, Tuples, Sets and Dictionary - 4

12th Grade

10 Qs

9 . Lists, Tuples, Sets and Dictionary - 5

9 . Lists, Tuples, Sets and Dictionary - 5

Assessment

Quiz

Computers

12th Grade

Hard

Created by

Geetha Geetha

Used 11+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

1. A set is created by placing all the elements separated by a comma within a pair of _____________ .

parenthesis

curly brackets

square bracket

array bracket

2.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

2. The function can also be used to create sets in Python.

set( )

set

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

3. A list or Tuple can be converted as set by using ________ function.

list()

tuple()

set( )

set

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

4. In python, the operator______ is used to the union of two sets.

|

&

-

^

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

5. The___________ operator is used to symmetric difference set operation in python.

caret (^)

minus (-)

union (|)

ampersand (&)

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

6. Which of these about a set is not true?

Mutable data type

Allows duplicate values

Data type with unordered values

Immutable data type

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

7. ____________ includes the common elements in two sets

Intersection

Union

Difference

Symmetric

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?