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.

1. 
Python
Which of these is not a core data type?
2. 
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

3. 
Python
Python is based on which type of Memory Allocation
4. 
Python
What is the output of the following program :

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

5. 
Python
Which of the following are mutable?

Multiple may be correct.

6. 
Python
Which of the following are true of Python lists?

Multiple may be correct

7. 
Python
Is list less secured than tuple? Why
8. 
Python
What is output of following code −

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

9. 
Python
Suppose a tuple, t, contains 10 elements. How can you set the 5th element of the tuple to 'Hello'?
10. 
Python
What command is used to insert 6 in a list ‘‘l’’ at 3rd position?

Add description here!Deselect Answer

11. 
Python
Which collection is ordered, mutable and allows duplicate members?
12. 
Python
Elements from a list in Python can be removed one-by-one by
13. 
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?
14. 
Python
In the Python statement x = a + 5 - b:

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

15. 
Python
Find the output of the following program:

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