Prog F: Quiz 1 Revision

Quiz
•
Computers
•
6th - 8th Grade
•
Medium
Yasmin Basiran
Used 1+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a variable in Python?
A type of function
A special keyword
A container for storing data values
A type of loop
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you declare a variable in Python?
Using var keyword
By assigning a value, e.g., x = 10
Using let keyword
By calling a function
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the difference between = and == in Python?
oth are comparison operators
= is an assignment operator, == is a comparison operator
Both are assignment operators
= is used in loops, == in conditions
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of 10 % 3?
3
10
0
1
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you check if x is greater than y in Python?
x >= y
x < y
x > y
x != y
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you create a list in Python?
Using parentheses
Using curly braces
Using square brackets
Using angle brackets
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you access the first element of a list?
Using index 1
Using index 0
Using first()
Using list.first
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Python Functions Quiz

Quiz
•
8th Grade
15 questions
Computer Programming Language

Quiz
•
8th Grade
20 questions
tic tac toe with ai

Quiz
•
7th Grade
15 questions
Python Basics

Quiz
•
KG - University
20 questions
Combined Python Turtle 1&2

Quiz
•
8th Grade
19 questions
Programming Techniques Survey

Quiz
•
8th - 12th Grade
20 questions
Season 5 #Spaic Python Weekly Quiz

Quiz
•
KG - Professional Dev...
20 questions
Ch.8 - Introducing Python

Quiz
•
6th Grade - Professio...
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade
Discover more resources for Computers
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
13 questions
Primary and Secondary Sources

Quiz
•
6th Grade
15 questions
Decimal Operations

Quiz
•
6th Grade
10 questions
Plotting Points on the Coordinate Plane

Quiz
•
7th - 8th Grade