
Unit 3A - Programming
Authored by Justin Loomis
Computers
9th - 12th Grade
Used 21+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
40 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
A variable is to be used to represent a person's first name. Which of the following is the most appropriate data type for this variable?
Boolean
String
Number
List
2.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
A variable is to be used to represent the state of a switch. The switch can be in one of two states: on or off. Which of the following is the most appropriate data type for this variable?
Boolean
String
Number
List
3.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
A variable is to be used to represent a person's height in inches. Which of the following is the most appropriate data type for this variable?
Boolean
String
Number
List
4.
FILL IN THE BLANK QUESTION
1 min • 5 pts
Consider the following code segment.
x ← 8
y ← 9
z ← 7
x ← y
z ← x
DISPLAY (z)
What is displayed as a result of executing the program?
5.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Consider the following code segment.
bob ← 12
jane ← 8
jane ← bob
bob ← 10
DISPLAY (bob)
DISPLAY (jane)
What is displayed as a result of executing the program?
10 10
10 12
12 8
10 8
6.
MULTIPLE SELECT QUESTION
45 sec • 5 pts
Which of the following are benefits of using descriptive variable names?
The code will compile faster.
The variables will use less memory
The program will be easier to read and understand
The program will be easier to debug and maintain
7.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Which of the following values would be best represented as a Boolean value?
The roll of a die
The flip of a coin
A card drawn from a deck
A player's score
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
40 questions
Internet Ethics
Quiz
•
9th Grade
35 questions
INFORMATIKA 2
Quiz
•
10th Grade
40 questions
ICT Quiz
Quiz
•
12th Grade
44 questions
6. SINIF 2022 2. DÖNEM 1. SINAV ÇALIŞMA SORULARI
Quiz
•
5th - 10th Grade
35 questions
OCR 275 Fundamentals of Computer Systems
Quiz
•
10th - 11th Grade
40 questions
Pemrograman Dasar Kelas X
Quiz
•
10th Grade
40 questions
Graphic Design Principles & Elements of Design (20 min)
Quiz
•
9th - 12th Grade
45 questions
Kuis Sistem Komputer
Quiz
•
10th Grade - University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
29 questions
Alg. 1 Section 5.1 Coordinate Plane
Quiz
•
9th Grade
22 questions
fractions
Quiz
•
3rd Grade
11 questions
FOREST Effective communication
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade