Which of these is the correct code for creating a list of names?

grade XI Recapitulation

Quiz
•
Computers
•
11th - 12th Grade
•
Hard
Bhoomika Anand
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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]
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the index number for 'Spain'?
['England','Brazil','Spain','France']
0
1
2
3
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which code would i use to add an item to a list?
variable.add()
variable.append()
append.variable()
add.variable()
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What sort of loop is this?
Count Controlled
Condition Controlled
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the program below?
mariana_islands = ['Guam', 'Saipan', 'Tinian', 'Rota']
cmni = mariana_islands[1:]
len(cmni)
1
2
3
4
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What would this code do?
Remove the name "Felipe" from the list
Remove the first copy of "John" from the list
Remove the name "Felipe" from the list and print it out to the shell
An error
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
1. A list is ------------------------------ data type
sequence
selection
iteration
None of hese
Create a free account and access millions of resources
Similar Resources on Quizizz
20 questions
Python list, if

Quiz
•
6th - 12th Grade
20 questions
list 6th

Quiz
•
7th Grade - University
14 questions
Python Basics

Quiz
•
9th - 12th Grade
10 questions
Списки Python + Pygame

Quiz
•
KG - University
10 questions
Master curs 1

Quiz
•
12th Grade
10 questions
Quiz1_HPB2021_2010t1

Quiz
•
1st - 12th Grade
15 questions
Python Lists

Quiz
•
10th - 12th Grade
20 questions
Python - lists,loops,basics

Quiz
•
9th - 11th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade