
Python Day 5
Quiz
•
Computers
•
University
•
Hard
ASWIN LAKSHMAN Y
Used 1+ times
FREE Resource
Enhance your content
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you create an empty list?
my_list = {}
my_list = []
my_list = ()
my_list = [None]
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you add the element `5` to the end of a list named `numbers`?
numbers.add(5)
numbers.append(5)
numbers.insert(5)
numbers.extend(5)
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you access the first element of a list named `fruits`?
fruits[0]
fruits[1]
fruits[first]
fruits.get(0)
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you remove the element `10` from a list named `numbers`?
numbers.delete(10)
numbers.pop(10)
numbers.remove(10)
numbers.discard(10)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you find the length of a list named `items`?
len(items)
items.length()
items.size()
length(items)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you create an empty tuple?
my_tuple = {}
my_tuple = []
my_tuple = ()
my_tuple = (None)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you access the second element of a tuple named `my_tuple`?
my_tuple[1]
my_tuple[0]
my_tuple[2]
my_tuple(1)
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple

Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
20 questions
Mobile Apps PayKu
Quiz
•
1st Grade - Professio...
10 questions
Graficas con matlab y pandas
Quiz
•
University
15 questions
Basic Computer Trivia
Quiz
•
University
10 questions
System Design
Quiz
•
University
20 questions
Review Quiz (Chapter 3&4)
Quiz
•
University
15 questions
HTML Quiz
Quiz
•
11th Grade - University
10 questions
C++ Array Quiz
Quiz
•
University
15 questions
Queues
Quiz
•
11th Grade - Professi...
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
11 questions
NEASC Extended Advisory
Lesson
•
9th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade
Discover more resources for Computers
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
22 questions
FYS 2024 Midterm Review
Quiz
•
University
20 questions
Physical or Chemical Change/Phases
Quiz
•
8th Grade - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
12 questions
1 Times Tables
Quiz
•
KG - University
20 questions
Disney Trivia
Quiz
•
University
38 questions
Unit 6 Key Terms
Quiz
•
11th Grade - University