
PYTHON FUNDAMENTALS (CLASS XI)
Authored by Sasmita Lenka
Computers
11th Grade
Used 45+ 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
10 sec • 1 pt
Q1. Which amongst the following is a mutable datatype in Python ?
A. int
B. string
C. tuple
D. list
2.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Q2. Which of the following is not a keyword ?
A. eval
B. else
C. is
D. pass
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Q3. Identify the types of following literals ?
23.789 , 23789, True, ‘True’, 0XFACE
A. Floating Point , Decimal , String , Boolean , Hexadecimal
B. Decimal , floating Point , String , Boolean , Octal
C. Floating Point , Decimal , Boolean , String , Hexadecimal
D. Decimal , floating Point , Boolean , String , Octal
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Q4. What will be the output produced by following code ?
name="Simar"
age=17
print(name,",you are", 17,"now but",end=" ")
print(" you will be ",age+1,"next year")
A. name ,you are 17 now but
you will be age+1 next year
B. Simar ,you are 17 now but you will be 18 next year
C. Simar ,you are 17 now but
you will be 18 next year
D. Error
5.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Q5. Which function in Python is used to return the identity of an object ?
A. id( )
B. identity( )
C. address( )
D. idobject( )
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Q6. What will be output of following code ?
x,y=2,6
x,y=y,x+2
print(x,y)
A. 4 8
B. 2 6
C. 6 4
D. None of these
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Q7. Predict the output of following :
x,y=7,2
x,y,x=x+1,y+3,x+10
print(x,y)
A. 5 17
B. 5 5
C. 17 17
D. 17 5
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?