
Exploring Python Fundamentals

Quiz
•
Computers
•
8th Grade
•
Hard
Dumbani Tunthuwa
FREE Resource
13 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are the basic data types in Python?
char, list, tuple, dict
int, float, array, set
string, number, boolean, object
int, float, str, bool
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you declare a variable in Python?
variable_name : value
let variable_name = value
var variable_name = value
You declare a variable in Python by using the syntax: variable_name = value.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the difference between a list and a tuple in Python?
Lists can contain only numbers; tuples can contain any data type.
Lists are mutable; tuples are immutable.
Tuples are mutable; lists are immutable.
Lists are faster than tuples in all cases.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What control structure would you use to repeat a block of code?
Variable
Loop
Condition
Function
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you create a conditional statement in Python?
Use 'for' and 'while' to create loops.
Use 'if', 'elif', and 'else' to create conditional statements.
You can only use 'if' for conditional statements.
Conditional statements are created with 'switch' and 'case'.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the expression 5 + 3 * 2?
8
11
10
16
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you check if a number is even in Python?
Use the expression n / 2 == 1.
Use the expression n % 2 == 0.
Use the expression n - 2 == 0.
Check if n is divisible by 3.
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Coding 300 Coding Basics

Quiz
•
7th - 8th Grade
15 questions
Code.org Express Course Quiz 2

Quiz
•
6th - 8th Grade
14 questions
PowerPoint Techniques

Quiz
•
6th - 8th Grade
11 questions
Python L24 Debugging Skill

Quiz
•
6th - 8th Grade
15 questions
G-8-Python Basics Quiz

Quiz
•
8th Grade
10 questions
Python Alternating Turns

Quiz
•
7th - 12th Grade
15 questions
Python Quiz

Quiz
•
8th Grade
16 questions
Python programming

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

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
18 questions
Company Logos

Quiz
•
6th - 8th Grade
10 questions
Exploring Cybersecurity Techniques and Threats

Interactive video
•
6th - 10th Grade
10 questions
Understanding the Internet and Data Transmission

Interactive video
•
7th - 12th Grade
25 questions
How to Email a Teacher- https://youtu.be/NioeNhfpVfI

Quiz
•
6th - 8th Grade
20 questions
Computer Hardware

Quiz
•
6th - 8th Grade
21 questions
Gear Ratio Practice

Quiz
•
6th - 8th Grade