
Python QCM
Authored by Abdelouahab Bella
Other
University
Used 25+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
21 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
l=[1,2,3,4]
l.append(index(3))
print(l)
[1, 4, 3, 4, 2]
[1, 2, 3, 4, 2]
[]
none of above !
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
l=[1,2,3,4]
l.append(l.index(3))
print(l)
[1,2,3,4,5]
[1,2,3,2,4]
[1,2,3,4,2]
none of above
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
print([i**3 for i in range(5)])
[0,1,2,3,4]
[0,2,4,6,8]
[0,3,6,8,10]
[0,3,6,9,12]
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
i=1
j=2
print([(i,j)for i in range(j) for j in range(i)])
[(1, 0)]
[(1, 2)]
[(1, 1)]
[(0, 1)]
5.
FILL IN THE BLANK QUESTION
20 sec • 1 pt
let's say that we want to open and read a file named index.html and effect it to the varibale name : pt
whrite the correct form
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
what is the type of x:
x=pt.readliens
string
tuple
list
none of above
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
the same qstn for this:
print(pt.readline)
string
tuple
list
none type variable
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
20 questions
PRE TEST PKWU KELAS XII
Quiz
•
University
20 questions
NMMS MAT 7காலம் சார்ந்த கணக்குகள்
Quiz
•
University
20 questions
Kosárlabda történelem
Quiz
•
1st Grade - Professio...
18 questions
Títulos de Crédito típicos
Quiz
•
University
20 questions
4. Special Laws on Banking and Finance
Quiz
•
University
21 questions
komputery
Quiz
•
5th Grade - University
20 questions
GDCD 6 - BÀI TẬP TRẮC NGHIỆM - BÀI 1,2
Quiz
•
6th Grade - University
20 questions
Đố vui về Covid
Quiz
•
12th Grade - University
Popular Resources on Wayground
8 questions
2 Step Word Problems
Quiz
•
KG - University
20 questions
Comparing Fractions
Quiz
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Latin Bases claus(clois,clos, clud, clus) and ped
Quiz
•
6th - 8th Grade
22 questions
fractions
Quiz
•
3rd Grade
7 questions
The Story of Books
Quiz
•
6th - 8th Grade
Discover more resources for Other
8 questions
2 Step Word Problems
Quiz
•
KG - University
7 questions
Comparing Fractions
Interactive video
•
1st Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
10 questions
14.2 Independent/Dependent Variables
Quiz
•
KG - University
18 questions
Great Lakes States
Quiz
•
KG - University
7 questions
DNA, Chromosomes, Genes, and Traits: An Intro to Heredity
Interactive video
•
11th Grade - University
7 questions
Reflexive Verbs in Spanish
Lesson
•
9th Grade - University
7 questions
Narrative Writing 1
Interactive video
•
4th Grade - University