
Python Test10
Quiz
•
Engineering
•
Professional Development
•
Medium
PRAVEEN SHARMA
Used 2+ times
FREE Resource
Enhance your content
27 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not a Python keyword?
pass
eval
assert
lambda
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of print(type(10)) in Python?
<class 'int'>
<class 'float'>
<class 'number'>
<class 'decimal'>
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the following code print: print(5 // 2)?
2
2.5
3
Error
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a correct statement about Python indentation?
Indentation is optional.
Indentation is used to define blocks of code.
Indentation can be mixed (tabs and spaces).
Python ignores indentation.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not a valid Python variable name?
my_var
_myvar
2myvar
myvar2
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following operators in Python is used for exponentiation?
^
**
*
%
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which symbol is used to start a comment in Python?
//
#
/*
;
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
11 questions
NEASC Extended Advisory
Lesson
•
9th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade