
Python Basics Quiz - Revision

Quiz
•
Computers
•
12th Grade
•
Hard
Vatsala Dadeech
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the year in which Python was developed by Guido van Rossum?
1992
1990
1993
1991
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a feature of Python?
Difficult to use
Compiled language
Limited library support
Cross-platform language
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the expression 'print(3**3)' in Python?
6
9
27
81
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the 'int()' function in Python?
Converts string to integer
Converts integer to float
Converts float to integer
Converts integer to string
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of 'math.factorial(4)' in Python?
8
120
6
24
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of '5 & 3' in Python bitwise operations?
1
3
5
7
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the 'break' statement in Python?
Print a message
Do nothing
Skip remaining statements in the loop
Terminate the loop
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Python Basics Review (TSK)

Quiz
•
9th - 12th Grade
15 questions
Unit 2 Test Review

Quiz
•
9th - 12th Grade
16 questions
Python basics

Quiz
•
9th - 12th Grade
15 questions
Python Revision Tour - I

Quiz
•
12th Grade
10 questions
Python lists and tuples

Quiz
•
12th Grade
20 questions
Grade 7 Python Programming Quiz

Quiz
•
7th Grade - University
10 questions
Python3

Quiz
•
4th Grade - University
15 questions
Python Basics Quiz

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade