
List In python - test
Authored by Sangeetha John
Computers
11th Grade
Used 12+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
50 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
cho biến
x='Python test 3'
print(x[7:])
Test 3
test 3
Python test 3
on test 3
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Cho biến
x='Python test 3'
print(x[2:10])
Python
thon test 3
thon tes
thon test
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Cho biến
x='Python test 3'
print(len(x))
8
11
14
13
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the output of the following list assignment
aList = [4, 8, 12, 16]
aList[1:4] = [20, 24, 28]
print(aList)
[4, 20, 24, 28, 8, 12, 16]
[4, 20, 24, 28]
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the output of the following list operation
aList = [10, 20, 30, 40, 50, 60, 70, 80]
print(aList[2:5])
print(aList[:4])
print(aList[3:])
[20, 30, 40, 50]
[10, 20, 30, 40]
[30, 40, 50, 60, 70, 80]
[30, 40, 50]
[10, 20, 30, 40]
[40, 50, 60, 70, 80]
None of these
6.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Select all the correct options to join two lists in Python
listOne = ['a', 'b', 'c', 'd']
listTwo = ['e', 'f', 'g']
newList = listOne + listTwo
newList = extend(listOne, listTwo)
newList = listOne.extend(listTwo)
newList.extend(listOne, listTwo)
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the output of the following
aList = [5, 10, 15, 25]
print(aList[::-2])
[15, 10, 5]
[10, 5]
[25, 10]
Access all questions and much more by creating a free account
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
Already have an account?
Similar Resources on Wayground
50 questions
Digital Graphics - Terminology, File Types, Photoshop Basics
Quiz
•
9th - 12th Grade
51 questions
Digital Literacy Chapter 14 Review
Quiz
•
9th - 12th Grade
50 questions
Знакомство с IDE. Алфавит языка. Синтаксис. Типы данных. Правила
Quiz
•
11th Grade
50 questions
MID INFORMATIKA
Quiz
•
9th - 12th Grade
45 questions
HTML
Quiz
•
11th Grade
47 questions
MS Word Preliminary Examination
Quiz
•
10th Grade - University
50 questions
First Monthly Examination
Quiz
•
11th Grade
50 questions
Strings in python - Test
Quiz
•
11th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade