Day3 - Python STT
Quiz
•
Computers
•
Professional Development
•
Medium
ICT Academy of Kerala
Used 6+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which is the correct operator for power(xy)?
X^y
X**y
X^^y
None of the mentioned
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which one of these is floor division?
/
//
%
None of the mentioned
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Suppose d = {“john”:40, “peter”:45}, what happens when we try to retrieve a value using the expression d[“susan”]?
Since “susan” is not a value in the set, Python raises a KeyError exception
It is executed fine and no exception is raised, and it returns None
Since “susan” is not a key in the set, Python raises a KeyError exception
Since “susan” is not a key in the set, Python raises a syntax error
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following statements create a dictionary?
d = {}
d = {“john”:40, “peter”:45}
d = {40:”john”, 45:”peter”}
All of the mentioned
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The output of the code above is
Key Error
4
Math
6.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
Assume the key is the student's id and the value is the grade. Which of the following code will get the grade of student id 102?
grades[102]
grades.get(102)
grades[2]
grades[3]
grades.key(102)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the code above
3.9
4
Syntax error
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
14 questions
ABREDES - Devasc Python
Quiz
•
Professional Development
10 questions
UNIDAD 3: ELABORACIÓN DE DOCUMENTOS
Quiz
•
Professional Development
15 questions
Data Quality Quiz
Quiz
•
Professional Development
11 questions
FDE cycle
Quiz
•
Professional Development
15 questions
Quiz Evaluasi 1 Mapel DPJK
Quiz
•
Professional Development
10 questions
Ice Breaker Challenge- Guess the Tool by Its Logo
Quiz
•
Professional Development
13 questions
TIP Trivia
Quiz
•
Professional Development
10 questions
Digital Tools in Education Pre-Test
Quiz
•
Professional Development
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
Discover more resources for Computers
10 questions
How to Email your Teacher
Quiz
•
Professional Development
6 questions
3RD GRADE DECLARATION OF INDEPENDENCE EXIT TICKET
Quiz
•
Professional Development
19 questions
Black History Month Trivia
Quiz
•
6th Grade - Professio...
22 questions
Multiplying Exponents with the Same Base
Quiz
•
9th Grade - Professio...
40 questions
Flags of the World
Quiz
•
KG - Professional Dev...
