Get started with python
Quiz
•
Computers
•
University
•
Practice Problem
•
Medium
Anik m
Used 9+ times
FREE Resource
Enhance your content in a minute
19 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 3 pts
What are the basic data types in Python?
char, list, tuple, dict
int, float, str, bool
int, float, array, set
string, number, boolean, object
2.
MULTIPLE CHOICE QUESTION
20 sec • 2 pts
How do you define a variable in Python?
x : 10.
int x = 10.
x; 10.
x = 10.
3.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
What is the purpose of the 'if' statement in Python?
To define a function in Python.
To execute code conditionally based on a boolean expression.
To create a loop that iterates over a list.
To declare a variable in Python.
4.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Explain the difference between a list and a tuple in Python.
A list is immutable and tuple is mutable
Both lists and tuples are mutable
A list contain integers, tuple contain string.
A list is mutable and
tuple is immutable
5.
MULTIPLE CHOICE QUESTION
30 sec • 7 pts
How functions is defined in python?
Using 'def' keyword
Using 'define' keyword
Using 'func' keyword.
Using x=fun()
6.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
How do you import a module in Python?
Using 'require' statement
Using 'load' command
Using 'import' statement
By function call
7.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
What is the syntax for a for loop in Python?
for variable in sequence:
for variable to sequence:
foreach variable in sequence:
for (variable : sequence)
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
20 questions
data structures1
Quiz
•
University
16 questions
Quiz on List and Tuples
Quiz
•
University
15 questions
OS Quiz-1
Quiz
•
University
20 questions
Week 5: Test your understanding part 1
Quiz
•
University
15 questions
Digital Etiquette
Quiz
•
4th Grade - University
15 questions
Data Mining - Classification Mining
Quiz
•
University
20 questions
DATASET'24 Quizz (Round 1)
Quiz
•
University
20 questions
Microsoft Excel
Quiz
•
KG - Professional Dev...
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
Discover more resources for Computers
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
7 questions
Different Types of Energy
Interactive video
•
4th Grade - University
20 questions
Slopes and Slope-Intercept Form
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
7 questions
Biomolecules (Updated)
Interactive video
•
11th Grade - University
20 questions
Winter/Holiday Trivia
Quiz
•
KG - University
10 questions
WINTER WIN Time - ELA - 12/9/2025
Quiz
•
KG - University
7 questions
Human Impact on Resources
Interactive video
•
4th Grade - University
