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
25 questions
Application Software

Quiz
•
9th - 12th Grade
28 questions
Computer Translators

Quiz
•
8th - 10th Grade
25 questions
Digital Literacy Chapter 4 Review

Quiz
•
9th - 12th Grade
25 questions
Microsoft Word: Module 2

Quiz
•
9th - 12th Grade
29 questions
Business Letters Pretest

Quiz
•
7th - 12th Grade
24 questions
Final Cut Pro Vocabulary

Quiz
•
9th - 12th Grade
25 questions
CPA Inkscape Quiz 01

Quiz
•
7th - 12th Grade
25 questions
Keyboard Shortcuts

Quiz
•
9th - 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
10 questions
Proper Keyboarding Techniques

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

Interactive video
•
7th - 12th Grade
29 questions
AP CSP Unit 2 Review (Code.org)

Quiz
•
10th - 12th Grade