
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
15 questions
Жанар214

Quiz
•
9th Grade - University
10 questions
Python quiz

Quiz
•
10th Grade - Professi...
12 questions
Типы данных Python2

Quiz
•
6th Grade - University
10 questions
Java Static

Quiz
•
University
15 questions
Paper 2 Revision

Quiz
•
10th Grade - University
10 questions
PYTHON-STRINGS

Quiz
•
University
15 questions
Py-Hackathon - Week 2 - Day 2

Quiz
•
University
10 questions
Python Round 2

Quiz
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University