9 . Lists, Tuples, Sets and Dictionary - 5

Quiz
•
Computers
•
12th Grade
•
Hard
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
Similar Resources on Wayground
14 questions
Python: списки, кортеж, словник, множина

Quiz
•
9th - 12th Grade
10 questions
Vocabulary Do Now 1

Quiz
•
9th - 12th Grade
10 questions
H466 - Arrays, Records, Tuples and Lists

Quiz
•
11th Grade - University
10 questions
Python lists and tuples

Quiz
•
12th Grade
10 questions
Data Structures Quiz

Quiz
•
12th Grade
10 questions
Python Basics Test

Quiz
•
12th Grade
15 questions
Problem Solving using Python and R - UNIT II - Tuples

Quiz
•
12th Grade
10 questions
10 Important Python Fundamentals Questions

Quiz
•
12th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade