
Python basics
Authored by Om sinha
Computers
6th - 8th Grade
Used 33+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which function is used to display output on the console in Python?
input()
print()
display()
output()
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you get user input in Python?
get()
input()
user_input()
read()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which operator is used to assign a value to a variable in Python?
==
<=
=
-=
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of the following expression: 5 + 3 * 2?
10
11
16
13
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which operator is used for exponentiation in Python?
^
//
%
**
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which logical operator is used to perform a logical AND operation in Python?
&
&&
|
and
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following expression: 10 > 5 and 3 < 2?
True
False
Error
None
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?