JavaScript isn't enabled in your browser, so this file can't be opened. Enable and reload.
Pravin Patil College Of Diploma Engineering and Technology, Bhyandar East
ONLINE QUIZ COMPETITION ON PYTHON
LOCKDOWN ACTIVITY
* Indicates required question
Email
*
Your email
Full name
*
Your answer
Name of the institute
*
Your answer
Python was developed by:
*
5 points
Guido Van Rossum
James Gosling
Dennis Ritchie
Bjarne Stroustrupt
Suppose a tuple arr contains 20 elements.How can you set the 5th element of the tupple to 'Hello'
*
5 points
arr[4]='Hello'
arr(4)='Hello'
arr[5]='Hello'
Elements of tuple cannot be changed
What will be output of the following program : print((1,2)+(3,4))
*
5 points
(1,2),(3,4)
(4,6)
(1,2,3,4)
Invalid syntax
What is the maximum length of an identifier in python?
*
5 points
32
31
63
None of the above
What is the output of the following code: print 5//2
*
5 points
2
2.5
2.0
Error
What will be the output of the below python code : str1="cO" str1.upper() print(str1)
*
5 points
CO
Co
co
cO
What will be the o/p of the following python code: str1="Information " print(str1[2:8])
*
5 points
format
formatio
orma
ormat
Predict the o/p : str1="stack of books" print(len(str1))
*
5 points
13
14
16
15
Which of the following creates a tuple
*
5 points
tuple1=("a","b")
tuple1[2]=("a","b")
tuple1=(5)*2
None of the other
In python what is the method inside the class?
*
5 points
Attribute
Object
Argument
Function
Which function is used to take input in python?
scanf()
int()
promt()
input()
Clear selection
Python is written in which language?
0 points
c
c++
java
html
Clear selection
What is the extension of the python file?
*
0 points
.p
.py
.python
D. None of the above
Python is an Object-Oriented Programming Language.
*
0 points
True
False
Python 3.0 is released in which year?
*
0 points
2008
2009
2016
2004
What is used to define a block of code in Python?
*
2 points
A. Parenthesis
B. Indentation
C. Curly braces
D. None of the above
By the use of which character, single line is made comment in Python?
*
0 points
A. *
B. @
C. #
D. !
Send me a copy of my responses.
Submit
Clear form
Never submit passwords through Google Forms.
reCAPTCHA
Privacy
Terms
This content is neither created nor endorsed by Google.
Report Abuse
-
Terms of Service
-
Privacy Policy
Forms