9 . Lists, Tuples, Sets and Dictionary - 5

Quiz
•
Computers
•
12th Grade
•
Hard
Geetha Geetha
Used 13+ 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
Similar Resources on Wayground
14 questions
Python Programming Quiz

Quiz
•
12th Grade
14 questions
Python Syntax

Quiz
•
6th - 12th Grade
10 questions
python - Advanced level

Quiz
•
7th - 12th Grade
10 questions
Python Syntax Quiz

Quiz
•
12th Grade
11 questions
Python Boolean

Quiz
•
11th - 12th Grade
10 questions
Python Revision Tour

Quiz
•
12th Grade
10 questions
Python Generators

Quiz
•
10th Grade - University
15 questions
Computer Science Quiz

Quiz
•
12th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade