
List with tuple

Quiz
•
Computers
•
12th Grade
•
Hard
Kelzang Lethro
Used 3+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these is the best description of a list in Python?
A list is a collection of data that has an order and can be changed
A list is a lot of variables
A list is used for shopping
A list is a collection of data that cannot hold duplicated data and cannot be changed
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these is the correct code for creating a list of names?
nameList = John, Harry, Jesse, John, Harry, Harry
nameList = ("John", "Harry", "Jesse", "John", "Harry", "Harry")
nameList = ["John", "Harry", "Jesse", "John", "Harry", "Harry"]
nameList = [John, Harry, Jesse, John, Harry, Harry]
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What would this code show on the screen?
7
6
5
4
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
For tuples and list which is correct?
List and tuples both are mutable.
List is mutable whereas tuples are immutable.
List and tuples both are immutable.
List is immutable whereas tuples are mutable
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which is a correctly declared tuple?
a = ("orange", "yellow", "red")
a = "orange", "yellow", "red"
a = "orangeyellowred"
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If list1=[17,23,41,10]
then list1.append(32) will result in:
[32,17,23,41,10]
[17,23,41,10,32]
[10,17,23,32,41]
[41,32,23,17,10]
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What would the following code print?
[3, 2, 1]
[2, 0, 2]
[2, 2, 2]
[2, 2, 1]
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Python Programming Quiz

Quiz
•
12th Grade
15 questions
Understanding Tuples, Arrays, and Records

Quiz
•
12th Grade
12 questions
Dictionary Class 11

Quiz
•
11th - 12th Grade
11 questions
Ctech Unit 2 1.2 Video Qs

Quiz
•
12th Grade
10 questions
PYTHON

Quiz
•
12th Grade
10 questions
Python Programming

Quiz
•
12th Grade
12 questions
Grade 12 Python Basics and Functions Quiz

Quiz
•
12th Grade
12 questions
12cs cha9

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