Python Quiz

Quiz
•
Computers
•
10th Grade
•
Medium
CSC Teachers
Used 4+ times
FREE Resource
29 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How are constants conventionally named in Python?
In lowercase characters
In mixed case characters
In all uppercase characters
In camel case
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the data type for a sequence of characters?
int
float
str
bool
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the meaning of the arithmetic operator '*'?
division
multiplication
exponentiation
subtraction
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the relational operator '!=' mean?
equal to
not equal to
greater than
less than
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which logical operator is used to check if both sides of a test must be true to return true?
or
not
and
==
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which operator is used for integer division? (floor division)
/
//
%
*
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of an assignment in programming?
To set or change the value of a variable
To execute a command repeatedly
To check a condition
To block code segments
Create a free account and access millions of resources
Similar Resources on Wayground
26 questions
Program Development - Python: Loops

Quiz
•
9th - 10th Grade
30 questions
AP CSP Programming Basics

Quiz
•
10th - 12th Grade
24 questions
Scratch Coding grade 4 and above_18April20

Quiz
•
4th - 12th Grade
24 questions
Intro to Programming with Karel

Quiz
•
9th - 12th Grade
25 questions
GCSE Computer Science- 2.2 Programming Techniques

Quiz
•
9th - 11th Grade
25 questions
GCSE Computer Science: Programming (Python)

Quiz
•
9th - 12th Grade
25 questions
Algorithms - python (GCSE)

Quiz
•
10th - 12th Grade
27 questions
Intro to Microbit

Quiz
•
9th - 12th Grade
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