
Python list starter

Quiz
•
Computers
•
10th Grade
•
Easy
Razia Suleman Darvesh
Used 2+ times
FREE Resource
12 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
What is the index of “grape” in the list
[“apple”, “grape”, “orange”, “watermelon”]?
0
1
2
3
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which brackets are used to create Lists?
()
{}
[]
Answer explanation
Lists are created using square brackets and have commas separating the different data values.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a Variable
Takes and input from a user.
Represents a particular value held in the memory.
Displays the results.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
num = [1, 2, 3, 4]
num.append(0)
print(num)
What is the output?
[0,1,2,3,4]
[1,2,3,4,5]
[0,1,2,3]
[1,2,3,4,0]
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the output of the following code?
list = []
list.append(1)
list.append(2.0)
list.append("vk")
print(list)
[1, 2.0, 'vk']
Error
['vk', 1, 2.0]
No putput
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these is a list?
fruit = ["apples", "oranges", "bananas"]
fruit = "apples", "oranges", "bananas"
fruit = {"apples", "oranges", "bananas"}
fruit = ("apples", "oranges", "bananas")
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the output of Following code?
cheeses = ['Cheddar', 'Edam', 'Gouda']
numbers = [42, 123]
print(cheeses, numbers)
['Cheddar', 'Edam', 'Gouda'] [42, 123]
[42, 123] ['Cheddar', 'Edam', 'Gouda']
Compilation Error
No output
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Python Quiz for Grade 11 List, Tuple & Strings

Quiz
•
11th Grade
12 questions
12cs cha9

Quiz
•
12th Grade
7 questions
list

Quiz
•
11th Grade
10 questions
ArrayLists

Quiz
•
11th - 12th Grade
10 questions
Python List Quiz

Quiz
•
11th Grade
10 questions
Basic python

Quiz
•
University
10 questions
Python lists and tuples

Quiz
•
12th Grade
10 questions
2-列表与元组

Quiz
•
University
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
Discover more resources for Computers
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
10 questions
Characteristics of Life

Quiz
•
9th - 10th Grade
10 questions
Essential Lab Safety Practices

Interactive video
•
6th - 10th Grade
62 questions
Spanish Speaking Countries, Capitals, and Locations

Quiz
•
9th - 12th Grade
20 questions
First Day of School

Quiz
•
6th - 12th Grade
21 questions
Arithmetic Sequences

Quiz
•
9th - 12th Grade