
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
What is a variable in a computer program?
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 Wayground
100 questions
计算机网络第一部分

Quiz
•
12th Grade
100 questions
Com prog reviewer prelims

Quiz
•
12th Grade
100 questions
HTML2

Quiz
•
11th Grade - University
99 questions
untitled

Quiz
•
12th Grade - University
105 questions
CP15 2020 - TEST 1-25.11.22

Quiz
•
12th Grade
100 questions
Digital Security Quiz

Quiz
•
12th Grade
100 questions
ITF+ Quiz Part 45

Quiz
•
12th Grade
100 questions
Informatica

Quiz
•
12th Grade
Popular Resources on Wayground
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World

Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
20 questions
ELA Advisory Review

Quiz
•
7th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns

Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade