
Python Programming - Test 1
Authored by Prashant Dhope
Computers
University - Professional Development
Used 52+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Which of the following character is used to give comments in Python?
//
#
!
/
2.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
What will be the output?
name = 'Python'
print (type(name))
char
'Python'
str
Error
3.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
What will be the output?
str1 = "SGBIT"
print (str1 [2])
S
G
B
I
4.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
What will be the output?
d = 10 < 11
print (d)
10
11
True
False
5.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Identify the arithmetic operator which is used to calculate exponential.
*
%
!
**
6.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
List is declared using _______.
{ }
[ ]
( )
< >
7.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
What will be the output?
print (13/6)?
2
2.1666
2.5
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?