
Python Quiz 2

Quiz
•
Other
•
University
•
Hard
Aditi Pokale
Used 3+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the answer to this expression, 22 % 3 is?
7
1
0
5
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Mathematical operations can be performed on a string.
True
False
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The expression Int(x) implies that the variable x is converted to integer.
True
False
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these in not a core data type?
a) Lists
b) Dictionary
c) Tuples
d) Class
Lists
Dictionary
Tuples
Class
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In order to store values in terms of key and value we use what core data type.
list
tuple
class
dictionary
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What keyword would you use to add an alternative condition to an if statement?
else if
elseif
elif
None of the above
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which statement will check if a is equal to b?
A. if a = b:
B. if a == b:
C. if a === c:
D. if a == b
if a = b:
if a == b:
if a === c:
if a == b
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
TPS UTBK SBMPTN (Himpunan)

Quiz
•
12th Grade - University
10 questions
ATP-lab viva

Quiz
•
University
10 questions
UNIT1_PYTHON

Quiz
•
University
10 questions
Python Review Module 14 - Recursion

Quiz
•
University
10 questions
Element of Reservation quiz

Quiz
•
University
13 questions
Introduction to Python Programming Quiz 9E

Quiz
•
10th Grade - University
12 questions
Unit 201 -H&S

Quiz
•
University - Professi...
15 questions
Technoquiz..3

Quiz
•
University
Popular Resources on Wayground
55 questions
CHS Student Handbook 25-26

Quiz
•
9th Grade
10 questions
Afterschool Activities & Sports

Quiz
•
6th - 8th Grade
15 questions
PRIDE

Quiz
•
6th - 8th Grade
15 questions
Cool Tool:Chromebook

Quiz
•
6th - 8th Grade
10 questions
Lab Safety Procedures and Guidelines

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

Quiz
•
3rd Grade
20 questions
Bullying

Quiz
•
7th Grade
18 questions
7SS - 30a - Budgeting

Quiz
•
6th - 8th Grade
Discover more resources for Other
36 questions
USCB Policies and Procedures

Quiz
•
University
4 questions
Benefits of Saving

Quiz
•
5th Grade - University
20 questions
Disney Trivia

Quiz
•
University
2 questions
Pronouncing Names Correctly

Quiz
•
University
15 questions
Parts of Speech

Quiz
•
1st Grade - University
1 questions
Savings Questionnaire

Quiz
•
6th Grade - Professio...
26 questions
Parent Functions

Quiz
•
9th Grade - University
18 questions
Parent Functions

Quiz
•
9th Grade - University