
Practice Quiz
Quiz
•
Computers
•
9th - 12th Grade
•
Practice Problem
•
Hard
Used 4+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Consider the following code segment, which uses the variables r, s, and t.
r <-- 1
s <-- 2
t <-- 3
r <-- s
s <-- t
DISPLAY (r)
DISPLAY (s)
What is displayed as a result of running the code segment?
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following is a true statement about program documentation?
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following best explains what happens when a new device is connected to the Internet?
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Consider the following code segment. (As seen in the picture) Which of the following replacements for "<MISSING CONDITION>" will result in an infinite loop?
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
The algorithm below is used to simulate the results of flipping a coin 4 times. Consider the goal of determining whether the simulation resulted in an equal number of heads and tails.
Step 1 : Initialize the variables "heads_counter" and "flip_counter" to 0.
Step 2 : A variable "coin_flip" is randomly assigned a value of either 0 or 1. If "coin_flip" has the value 0, the coin flip result is heads, so heads-counter is incremented by 1.
Step 3 : Increment the value of "flip_counter" by 1.
Step 4 : Repeat steps 2 and 3 until "flip_counter" equals 4.
Following execution of the algorithm, which of the following expressions indicates that the simulation resulted in an equal number of heads and tails?
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
An algorithm has been developed to compute the sum of all the elements in a list of integers. Which of the following programming structures must be added to the existing algorithm so that the new algorithm computes the sum of only the even integers in the list?
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following activities poses the greatest personal cybersecurity risk?
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
11 questions
HEALTH AND SAFETY 9
Quiz
•
7th - 9th Grade
15 questions
1.1.1 The structure and function of the processor
Quiz
•
11th Grade - University
10 questions
Fundamentos PHP (Manejo de Fomularios y arreglos)
Quiz
•
9th Grade
9 questions
OCR GCSE CS - 2.1 ERL sorts and searches
Quiz
•
10th - 11th Grade
10 questions
INTRODUCCION A LA PROGRAMACION
Quiz
•
6th Grade - University
10 questions
MEDIA AND INFORMATION LITERACY
Quiz
•
12th Grade
10 questions
SHORTCUT PADA KEYBOARD
Quiz
•
10th - 12th Grade
11 questions
Threats to Data
Quiz
•
9th - 12th Grade
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
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
