
Python Quiz-8

Quiz
•
Computers
•
University
•
Medium
shilpa gupta
Used 9+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
MCQ Questions- List

Quiz
•
University
10 questions
set - 13

Quiz
•
University
15 questions
Quiz4

Quiz
•
University
10 questions
Puzzle Quiz

Quiz
•
University
13 questions
Idiomatic Python

Quiz
•
University
15 questions
Round 4 - Harvest

Quiz
•
University
15 questions
ASK F2 -KOD ARAHAN (PYTHON)

Quiz
•
1st Grade - University
10 questions
Python - Functions

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
15 questions
Properties of Equality

Quiz
•
8th Grade - University
38 questions
WH - Unit 3 Exam Review*

Quiz
•
10th Grade - University
21 questions
Advise vs. Advice

Quiz
•
6th Grade - University
12 questions
Reading a ruler!

Quiz
•
9th Grade - University