
Python Basics
Quiz
•
Computers
•
University
•
Practice Problem
•
Medium
Jyothi Goddu
Used 2+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following code snippet?
print(2**3 + (5 + 6)**(1 + 1))
121
127
129
None
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following code snippet?
print(type(5 / 2)) print(type(5 // 2))
int and int
int and float
float and int
float and float
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
All keywords in Python are in
Capitalized
UPPER CASE
lower case
None of the mentioned
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the order of precedence in python?
Exponential, Parentheses, Multiplication, Division, Addition, Subtraction
Parentheses, Exponential, Multiplication, Division, Addition, Subtraction
Exponential, Parentheses, Division, Multiplication, Addition, Subtraction
Parentheses, Exponential, Multiplication, Division, Subtraction, Addition
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are the values of the following Python expressions?
2**(3**2) (2**3)**2 2**3**2
512, 64, 512
64, 64, 64
512, 512, 512
64, 512, 64
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which one of the following is not a keyword in Python language?
pass
eval
assert
nonlocal
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What arithmetic operators cannot be used with strings in Python?
+
-
*
None of the above
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
10 questions
cp06-01-1D-Array
Quiz
•
University
12 questions
Access
Quiz
•
University
10 questions
6-文件操作
Quiz
•
University
10 questions
Listen in Python
Quiz
•
University
13 questions
Chap 1: What is a program made of?
Quiz
•
University
10 questions
Arquitetura IPv6
Quiz
•
1st Grade - University
10 questions
Python Quiz Techno India
Quiz
•
University
10 questions
MS Excel - Day 04
Quiz
•
University
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
