
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
SOAL INFORMATIKA KELAS XI SEMESTER 1
Quiz
•
11th Grade
45 questions
Skills for Real World Survival
Quiz
•
9th - 12th Grade
50 questions
Digital Media II Final Study Guide
Quiz
•
9th - 12th Grade
50 questions
Computer Science Multiple Choice Review
Quiz
•
9th - 12th Grade
55 questions
K11 - Giữa HK II - CS Cánh diều
Quiz
•
11th Grade
45 questions
9618 AS Comp Sci Full Revision Set 1
Quiz
•
9th - 12th Grade
50 questions
PHOTOSHOP INTRO
Quiz
•
9th - 12th Grade
52 questions
Ulangkaji ASK Ting 2 Bab 3.1 Persekitaran Kod Arahan
Quiz
•
1st - 12th Grade
Popular Resources on Wayground
8 questions
Spartan Way - Classroom Responsible
Quiz
•
9th - 12th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
14 questions
Boundaries & Healthy Relationships
Lesson
•
6th - 8th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
3 questions
Integrity and Your Health
Lesson
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
9 questions
FOREST Perception
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade