
Python Test10
Authored by PRAVEEN SHARMA
Engineering
Professional Development
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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?
//
#
/*
;
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
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 Engineering
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