Python Advanced Quiz Online
Python Quiz Online:
INSTRUCTION:
Number of Questions: 30
Time: 30 minutes
Each question carry 1 mark each
No negative marking
Quiz-summary
0 of 30 questions completed
Questions:
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
Information
You have already completed the quiz before. Hence you can not start it again.
Quiz is loading...
You must sign in or sign up to start the quiz.
You have to finish following quiz, to start this quiz:
Results
0 of 30 questions answered correctly
Your time:
Time has elapsed
You have reached 0 of 0 points, (0)
Average score |
|
Your score |
|
Categories
- Not categorized 0%
-
Thanks for Submitting
Webeduclick Python Quiz Test
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- Answered
- Review
-
Question 1 of 30
1. Question
1 pointsWho developed Python Language?
Correct
Incorrect
-
Question 2 of 30
2. Question
1 pointsPython files are saved with the extension as –
Correct
Incorrect
-
Question 3 of 30
3. Question
1 pointsIDLE stands for –
Correct
Incorrect
-
Question 4 of 30
4. Question
1 pointsWhat type of language is Python?
Correct
Incorrect
-
Question 5 of 30
5. Question
1 pointsWhich of the following is an assignment operator in Python?
Correct
Incorrect
-
Question 6 of 30
6. Question
1 pointsComments in Python begin with –
Correct
Incorrect
-
Question 7 of 30
7. Question
1 pointsWhat will be the output after the following statements?
x = 6
y = 3
print(x / y)Correct
Incorrect
-
Question 8 of 30
8. Question
1 pointsWhat will be the output after the following statements?
x = 8
y = 2
print(x // y)Correct
Incorrect
-
Question 9 of 30
9. Question
1 pointsWhat will be the output after the following statements?
x = 5
y = 4
print(x % y)Correct
Incorrect
-
Question 10 of 30
10. Question
1 pointsWhat will be the output after the following statements?
x = 3
y = 2
x += y
print(x)Correct
Incorrect
-
Question 11 of 30
11. Question
1 pointsWhat will be the output after the following statements?
x = 5
y = 7
x *= y
print(x)Correct
Incorrect
-
Question 12 of 30
12. Question
1 pointsWhat will be the output after the following statements?
import math
print(math.pow(3,2))Correct
Incorrect
-
Question 13 of 30
13. Question
1 pointsWhat will be the output after the following statements?
x = 25
y = 15
x -= y
print(x)Correct
Incorrect
-
Question 14 of 30
14. Question
1 pointsWhat does the following statements do?
import datetime
print(datetime.datetime.today())Correct
Incorrect
-
Question 15 of 30
15. Question
1 pointsWhat will be the output after the following statements?
x = 30
y = 7
x %= y
print(x)Correct
Incorrect
-
Question 16 of 30
16. Question
1 pointsWhat will be the output after the following statements?
x = ’24’ + ’16’
print(x)Correct
Incorrect
-
Question 17 of 30
17. Question
1 pointsWhat is the data type of x after the following statement?
x = [‘Today’, ‘Tomorrow’, ‘Yesterday’]Correct
Incorrect
-
Question 18 of 30
18. Question
1 pointsWhat will be the output after the following statements?
x = [‘Sunday’, ‘Monday’, ‘Tuesday’]
y = x[1] + x[2]Correct
Incorrect
-
Question 19 of 30
19. Question
1 pointsWhat will be the output after the following statements?
x = [5, 4, 3, 2]
x.append(1)
print(x)Correct
Incorrect
-
Question 20 of 30
20. Question
1 pointsWhat will be the output after the following statements?
x = [5, 4, 3, 2, 1]
x.extend(x)
print(x)Correct
Incorrect
-
Question 21 of 30
21. Question
1 pointsWhat will be the output after the following statements?
x = [25, 35, 53, 25, 52, 35, 25]
print(len(x))Correct
Incorrect
-
Question 22 of 30
22. Question
1 pointsWhat will be the data type of x after the following statements?
false = “This is not true”
x = falseCorrect
Incorrect
-
Question 23 of 30
23. Question
1 pointsWhich of the following is immutable (values that cannot be changed)?
Correct
Incorrect
-
Question 24 of 30
24. Question
1 pointsWhat will be the output after the following statements?
for i in range(1,5):
print(i, end=”)Correct
Incorrect
-
Question 25 of 30
25. Question
1 pointsWhat will be the output after the following statements?
y = lambda x: x*4
print(y(6))Correct
Incorrect
-
Question 26 of 30
26. Question
1 pointsWhich of the following function can be used to find the data type of a variable?
Correct
Incorrect
-
Question 27 of 30
27. Question
1 pointsWhat will be the data type of x after the following statement?
x = {2015, 2016, 2017, 2018}Correct
Incorrect
-
Question 28 of 30
28. Question
1 pointsWhat is the data type of x after the following statement?
x = [7, 8, 9, 10]Correct
Incorrect
-
Question 29 of 30
29. Question
1 pointsWhat will be the output after the following statements?
a = list(range(-10,5,2))
print(sum(a))Correct
Incorrect
-
Question 30 of 30
30. Question
1 pointsWhat will be the output after the following statements?
x = ‘Python’
print(x[2:4])Correct
Incorrect
NOTE:
Click the ‘Quiz-summary‘ button and then click ‘Finish quiz‘ button to submit your quiz answers
Your Online quiz will be submitted after the time is expired
Do not refresh the Page.