What is a variable in a computer program?

Computer Programming Quiz

Quiz
•
Computers
•
12th Grade
•
Hard
Rafael Araujo
FREE Resource
100 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A storage location with a name and a value
A type of computer hardware
A programming language
A type of software
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the assignment operator = do in Python?
Compares two values
Assigns a value to a variable
Multiplies two numbers
Divides two numbers
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a valid variable name in Python?
6pack
can_volume
can volume
class
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the data type of the value 3.14 in Python?
int
float
str
bool
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a floating-point number?
42
-3.14
0
100
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of the expression 5 + 3 * 2 in Python?
16
11
13
10
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the print function do in Python?
Reads input from the user
Displays output to the screen
Saves data to a file
Terminates the program
Create a free account and access millions of resources
Similar Resources on Quizizz
98 questions
OCR GCSE Computer Science Revision Paper 1- Saim C :D

Quiz
•
8th - 12th Grade
100 questions
SCRATCH 3.0 Semester Exam 2 Review

Quiz
•
9th - 12th Grade
99 questions
Рк 2

Quiz
•
12th Grade
100 questions
SQL: Using Single-Row Functions

Quiz
•
8th Grade - Professio...
102 questions
M3 R5 Test 13

Quiz
•
12th Grade
100 questions
Ulangkaji SK 2018

Quiz
•
10th - 12th Grade
100 questions
Computer Science Vocabulary Practice

Quiz
•
9th - 12th Grade
100 questions
Pndas Dara Frames

Quiz
•
12th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University