
Python Quiz-8
Quiz
•
Computers
•
University
•
Practice Problem
•
Medium
shilpa gupta
Used 9+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
nameList = ['Harsh', 'Pratik', 'Bob', 'Dhruv']
pos = nameList.index("Bob")
print (pos * 3)
pos pos pos
Bob Bob Bob
6
3
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
nameList = ['Harsh', 'Pratik', 'Bob', 'Dhruv']
print (nameList[1][-1])
P
Pratik
k
Bob
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Codes = [1, 2, 3, 4]
Codes.append([5,6,7,8])
print(Codes)
[1,2,3,4,5,6,7,8]
[1,2,3,4]
[1,2,3,4,[5,6,7,8]]
[1,2,3,4][5,6,7,8]
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
list1 = range(100, 110)
print (list1.index(105))
4
5
6
0
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
list1 = [1, 2, 3, 4, 5]
list2 = list1
list2[0] = 0;
print( list1)
[1, 2, 3, 4, 5, 0]
[0,1, 2, 3, 4, 5]
[0, 2, 3, 4, 5]
[1, 2, 3, 4, 0]
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
list1 = [1998, 2002]
list2 = [2014, 2016]
print ((list1 + list2)*2)
[1998, 2002, 2014, 2016, 1998, 2002, 2014, 2016]
[1998, 2002, 2014, 2016]
[1998, 2002, 1998, 2002]
[2014, 2016, 2014, 2016]
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
list1 = ['physics', 'chemistry', 1997, 2000]
print (list1[1][-1])
p
y
7
2
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
13 questions
CIS1103 Week 9_10 CLO3 Part 3
Quiz
•
University
12 questions
R variable Data Type and Flow Control Quiz
Quiz
•
University
10 questions
Q2 - Python
Quiz
•
University
10 questions
WORD ĐỀ 6
Quiz
•
University
14 questions
LA5.C5: Branching and Subroutines
Quiz
•
9th Grade - University
15 questions
Python
Quiz
•
University
10 questions
T02: Python - The Basics
Quiz
•
University
15 questions
Network Advantages and Disadvantages
Quiz
•
10th Grade - University
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
