
Python basics
Professional Development
Professional Development
Used 5+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following are true of Python dictionaries:
Dictionaries are accessed by key.
All the keys in a dictionary must be of the same type.
Items are accessed by their position in a dictionary.
2.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
What is the output of the following?
i = 1
while False:
if i%2 == 0:
break
print(i)
i += 2
1
1 3 5 7 …
1 2 3 4 …
none of the mentioned
3.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
What is the output of the following?
i = 1
while True:
if i%2 == 0:
break
print(i)
i += 1
1 2
error
1 2 3
none of the mentioned
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following is the use of function in python?
Functions are reusable pieces of programs
Functions are reusable pieces of programs
you can’t create your own functions
All of the mentioned
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is used to define a block of code (body of loop, function etc.) in Python?
Curly braces
Parenthesis
Indentation
Quotation
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
In the following code, n is a/an _______?
n = '5'
integer
string
tuple
operator
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is used to take input from the user in Python?
cin
scanf()
input()
<>
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
11 questions
The Mediately Quiz 🤓🧐
Quiz
•
Professional Development
15 questions
शिक्षा योजना निर्माणसम्बन्धी अवधारणा
Quiz
•
Professional Development
13 questions
Anime 99
Quiz
•
9th Grade - Professio...
10 questions
Complete Recovery EQ DAY 2
Quiz
•
Professional Development
10 questions
INTELLIGENCE
Quiz
•
Professional Development
10 questions
Gujarat State
Quiz
•
KG - Professional Dev...
12 questions
Week 16 - Primary Survey Recap
Quiz
•
University - Professi...
12 questions
BASF ECMS Quizzimodo Challenge
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