
Python Programming
Authored by sudheer kumar
Education
University
Used 4+ 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
What is the result of int(3.99)?
3.0
3
3.0 or 3
None
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of the operation: 11//2 ?
5.5
5.0
1
5
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the value of x after the following is run:
x=4 x=x/2
2
4
2.0
1.0
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following: print("AB\nC\nDE")?
AB\nC\nDE
AB
C
DE
AB
CD
E
ABCDE
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of following?
"hello Mike".find("Mike")
Mike
5
6.0
6
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of the following code segment:
1//2 ?
1
0.5
0
2
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In Python, if you executed name = 'Lizz' , what would be the output of print(name[0:2]) ?
Liz
Li
iz
zz
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?