Welcome to your Python Fundamentals Quiz.

You have 10 minutes to complete this quiz of 15 questions.
After successful submission, you will receive the results at your registered email address below. For further queries, you can contact us through our Contact Us Page.

Thank you.

Name
Email
Contact Number
Qualification
1. 
[Python]
Python is based on which type of Memory Allocation
2. 
[Python]
Which of the following are true of Python lists?

Multiple may be correct

3. 
[Python]
Find the output of the following program:

nL = ['Harsh', 'Pratik', 'Bob', 'Dhruv']
pos = nL.index("edSlash")
print(pos * 3)
Deselect Answer

4. 
[Python]
Which of the following will be the output of the given print statement:

def fun(x):
           x[0] = 5
           return x
g = [10,11,12]

print (fun(g), g)

Deselect Answer

5. 
[Python]
What is the output of the following program :

i = 0
while i <3:
       print(i)
       i ++
       print(i+1)Deselect Answer

6. 
[Python]
Which statement is used to tell Python to skip the rest of the statements in the current loop block and to continue to the next iteration of the loop?
7. 
[Python]
Elements from a list in Python can be removed one-by-one by
8. 
[Python]
Which of these is not a core data type?
9. 
[Python]
Which of the following are mutable?

Multiple may be correct.

10. 
[Python]
Is list less secured than tuple? Why
11. 
[Python]
Which collection is ordered, mutable and allows duplicate members?
12. 
[Python]
What command is used to insert 6 in a list ‘‘l’’ at 3rd position?

Add description here!Deselect Answer

13. 
[Python]
What is output of following code −

a = (1, 2)
a[0] +=1Deselect Answer

14. 
[Python]
Suppose a tuple, t, contains 10 elements. How can you set the 5th element of the tuple to 'Hello'?
15. 
[Python]
In the Python statement x = a + 5 - b:

a and b are ________
a + 5 - b is ________Deselect Answer