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
18 questions
Python basics

Quiz
•
7th - 10th Grade
24 questions
S3 Python datatypes and variables

Quiz
•
8th - 10th Grade
15 questions
Milestone Exkul SMP SMA - Q8_2022_Python Exploration

Quiz
•
6th - 8th Grade
20 questions
Python: Escape Sequences, Input(), Variables, Math and Numbers

Quiz
•
6th Grade
15 questions
Q4_Quiz1 in CompSci7_AY2024-25

Quiz
•
7th Grade
20 questions
GCSE J277 - 2.2.3 - Arrays

Quiz
•
7th Grade
20 questions
Reverse Python quiz

Quiz
•
8th - 9th Grade
15 questions
Y7 Python Mid Point

Quiz
•
7th - 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
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
20 questions
typing

Quiz
•
6th Grade
18 questions
Company Logos

Quiz
•
6th - 8th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
20 questions
Input, Output, Processing or Storage

Quiz
•
5th - 6th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade