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
13 questions
Digital Technology Office 365 - 29May2020
Quiz
•
University - Professi...
11 questions
Office 365
Quiz
•
Professional Development
11 questions
Email of request
Quiz
•
12th Grade - Professi...
10 questions
Mothers Competition
Quiz
•
Professional Development
10 questions
DL Refresher
Quiz
•
KG - Professional Dev...
10 questions
FSDA OW Sec. Amsterdam
Quiz
•
Professional Development
15 questions
Code X Trade
Quiz
•
Professional Development
10 questions
List
Quiz
•
Professional Development
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
Discover more resources for Computers
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
25 questions
Christmas Movies
Quiz
•
Professional Development
20 questions
Christmas Trivia
Quiz
•
Professional Development
15 questions
Fun Holiday Trivia
Quiz
•
Professional Development
25 questions
Name That Tune - Christmas
Quiz
•
Professional Development
29 questions
Christmas Song Emoji Pictionary
Quiz
•
Professional Development
9 questions
Holiday Movie Trivia
Lesson
•
Professional Development
34 questions
Winter Trivia
Quiz
•
Professional Development
