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
100 questions
Computer Science Vocabulary Practice

Quiz
•
9th - 12th Grade
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
97 questions
HOTS on Heaps and Sets

Quiz
•
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
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade