
Python and Excel Objective Questions
Authored by Sathish Krishnaa
Information Technology (IT)
Professional Development
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
101 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 10 pts
What is the output of print(2 ** 3)?
6
8
9
5
2.
MULTIPLE CHOICE QUESTION
20 sec • 10 pts
Which of the following is a valid variable name in Python?
2var
_value
my-variable
class
3.
MULTIPLE CHOICE QUESTION
20 sec • 10 pts
What data type is the result of 3 / 2 in Python 3?
int
float
str
bool
4.
MULTIPLE CHOICE QUESTION
20 sec • 10 pts
Which function is used to get the length of a list?
length()
count()
len()
size()
5.
MULTIPLE CHOICE QUESTION
20 sec • 10 pts
What does // operator do?
Modulus
Power
Floor division
None
6.
MULTIPLE CHOICE QUESTION
20 sec • 10 pts
Which of the following is immutable?
List
Dictionary
Set
Tuple
7.
MULTIPLE CHOICE QUESTION
20 sec • 10 pts
What is the output of 'a' + 'b' * 2?
'abb'
'abab'
'a2b'
Error
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?