Day 2

Quiz
•
Computers
•
Professional Development
•
Hard
Akash 1705004
Used 1+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 sec • 10 pts
Which of the following data types in Python is mutable?
String
Tuple
List
Dictionary
2.
MULTIPLE CHOICE QUESTION
20 sec • 10 pts
What will be the output of the following code?
my_tuple = (1, 2, 3)
my_tuple[0] = 4
print(my_tuple)
(1, 2, 3)
(4, 2, 3)
Error: Tuple indices must be integers, not strings
Error: Tuple object does not support item assignment
3.
MULTIPLE CHOICE QUESTION
5 sec • 10 pts
Which data type in Python is used to store a collection of elements with no duplicate values?
Set
List
Tuple
Dictionary
4.
MULTIPLE CHOICE QUESTION
10 sec • 10 pts
Which of the following is NOT a valid way to create a dictionary in Python?
my_dict = {}
my_dict = dict()
my_dict = {1: 'one', 2: 'two', 3: 'three'}
my_dict = {'one': 1, 'two': 2, 'three': 3}
5.
MULTIPLE CHOICE QUESTION
10 sec • 10 pts
What is the result of the expression: len("Hello World")?
5
10
11
12
6.
MULTIPLE CHOICE QUESTION
30 sec • 10 pts
Which of the following data types in Python allows duplicate elements?
List
Tuple
Set
Dictionary
7.
MULTIPLE CHOICE QUESTION
10 sec • 10 pts
What will be the type of the following expression: type((1,2))?
List
Tuple
Set
str
Create a free account and access millions of resources
Similar Resources on Wayground
7 questions
Demo Quiz Ashv

Quiz
•
Professional Development
12 questions
Python Collections Quiz

Quiz
•
Professional Development
12 questions
python loop practice

Quiz
•
Professional Development
12 questions
flow charts

Quiz
•
Professional Development
15 questions
Scratch: Events, Loops and The Coordinate System

Quiz
•
2nd Grade - Professio...
12 questions
Operating Systems

Quiz
•
Professional Development
12 questions
Funciones, Listas, Tuplas, Diccionarios

Quiz
•
Professional Development
12 questions
Repetition Control Structures Quiz

Quiz
•
Professional Development
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
11 questions
All about me

Quiz
•
Professional Development
10 questions
How to Email your Teacher

Quiz
•
Professional Development
15 questions
Fun Random Trivia

Quiz
•
Professional Development
22 questions
Anne Bradstreet 1612-1672

Quiz
•
Professional Development
18 questions
Spanish Speaking Countries and Capitals

Quiz
•
KG - Professional Dev...
14 questions
Fall Trivia

Quiz
•
11th Grade - Professi...
15 questions
Disney Characters Quiz

Quiz
•
Professional Development
15 questions
Quiz to Highlight Q types & other great features in Wayground

Quiz
•
Professional Development