
List In python - test
Quiz
•
Computers
•
11th Grade
•
Practice Problem
•
Hard
Sangeetha John
Used 12+ times
FREE Resource
Enhance your content in a minute
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]
Create a free account and access millions of resources
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
Solon Microsoft Excel Quiz
Quiz
•
9th - 12th Grade
50 questions
AQA 8525 GCSE CS 3.2.10 Subroutines & 3.2.11 Robust & Secure
Quiz
•
10th - 11th Grade
50 questions
Journalistsic Integrity and Ethics
Quiz
•
9th - 12th Grade
53 questions
AP CSP Vocab Part2
Quiz
•
11th Grade
55 questions
2021 SAMPLE PAPER 1 (TERM 1)
Quiz
•
11th - 12th Grade
50 questions
Grade 10 Computer Systems Quiz
Quiz
•
10th Grade - University
50 questions
Quiz Latihan Soal-Soal UTS Keamanan Jaringan
Quiz
•
KG - University
45 questions
GCSE Python Legends
Quiz
•
1st - 12th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
