If you finished the Python beginner series, you could do this quiz to test your understanding of Python. Don’t worry, more tutorials are being created on a weekly and sometimes daily basis. We hope you like our tutorials and enjoy the quizes!
A quiz to understand your understanding of Python. This quiz only covers parts of the beginners series and not all of the topics covered on this site including variables, functions, classes, objects and many more. We recommend you do the beginner series first if you have not done so yet.
The quiz consists of 20 questions.
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 20 questions answered correctly
Your time:
Time has elapsed
You have reached 0 of 0 points, (0)
Categories
Not categorized0%
Thanks for taking our quiz. We hope you enjoyed it, please check out our other tutorials on this site.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Answered
Review
Question 1 of 20
1. Question
1 points
Which function displays a message on the screen in Python?
Correct
Incorrect
Question 2 of 20
2. Question
1 points
How do we get a variable from the command line?
Correct
Incorrect
Question 3 of 20
3. Question
1 points
Which of these prints the length of a string s?
Correct
Incorrect
Question 4 of 20
4. Question
1 points
If we have a list x [1,2,3,4], how do we print the first element?
Correct
Incorrect
Question 5 of 20
5. Question
1 points
How do we remove an element from a list?
Correct
Incorrect
Question 6 of 20
6. Question
1 points
Which operator is used to compare two numbers for equality?
Correct
Incorrect
Question 7 of 20
7. Question
1 points
How can we define a function in Python?
Correct
Incorrect
Question 8 of 20
8. Question
1 points
Which is the correct output for :
for i in range(1,10):
print(i)
Correct
Incorrect
Question 9 of 20
9. Question
1 points
What is the binary number 00001010 in decimal?
Correct
Incorrect
Question 10 of 20
10. Question
1 points
Should you use recursion for factorial?
Correct
Incorrect
Question 11 of 20
11. Question
1 points
Check the correct box
Correct
Incorrect
Question 12 of 20
12. Question
1 points
What is inheritance used for?
Correct
Incorrect
Question 13 of 20
13. Question
1 points
True or false, a dictionary is always in order.
Correct
Incorrect
Question 14 of 20
14. Question
1 points
If User is a class, how do we make a new User object?
Correct
Incorrect
Question 15 of 20
15. Question
1 points
An object can contain:
Correct
Incorrect
Question 16 of 20
16. Question
1 points
When would you use a while loop?
Correct
Incorrect
Question 17 of 20
17. Question
1 points
What is a nested loop?
Correct
Incorrect
Question 18 of 20
18. Question
1 points
How can you include a module in Python?
Correct
Incorrect
Question 19 of 20
19. Question
1 points
How to find your Python version?
Correct
Incorrect
Question 20 of 20
20. Question
1 points
True or false, a function can be defined inside a function
Correct
Incorrect
Python Beginner Quiz 2
Time limit: 0
Quiz-summary
0 of 10 questions completed
Questions:
1
2
3
4
5
6
7
8
9
10
Information
Another Python quiz to test your knowledge of Python for the beginners series. The quiz includes some general questions on the Python programming langage.
You may be surprised to find some of the answers.
The test Consists of 10 questions.
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: