
Python Coding Contest
Authored by Narayanan G
Education
University
Used 21+ 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
45 sec • 1 pt
Who developed Python Programming Language?
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What will be the output of the following Python function?
len(["hello",2, 4, 6])
Error
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What will be the output of the following Python code snippet if x=1?
x<<2
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What will be the output of the following Python statement?
>>>"a"+"bc"
bc
abc
a
bca
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which one of the following is not a keyword in Python language?
pass
eval
assert
nonlocal
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What will be the output of the following Python program?
z=set('abc')
z.add('san')
z.update(set(['p', 'q']))
z
{‘a’, ‘c’, ‘c’, ‘p’, ‘q’, ‘s’, ‘a’, ‘n’}
{‘abc’, ‘p’, ‘q’, ‘san’}
{‘a’, ‘b’, ‘c’, ‘p’, ‘q’, ‘san’}
{‘a’, ‘b’, ‘c’, [‘p’, ‘q’], ‘san}
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?