Data
Quiz
•
Computers
•
9th Grade - University
•
Hard
Thomas Martinez
FREE Resource
Enhance your content in a minute
11 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A school is developing a program to keep track of information about students and their class schedules. In which of the following instances would a data abstraction be most helpful?
The program includes individual variables to store the names of each student rather than a single list of students.
A program includes repeated code that could be moved inside a function.
A program includes multiple comments that could be combined into a single comment
A program includes repeated programming statements that could be moved inside a loop
2.
FILL IN THE BLANK QUESTION
1 min • 1 pt
What will be displayed when this program finishes running?
var numbersList = [20, 10, 5]
appendItem(numbersList, 50)
appendItem(numbersList,100)
removeItem(numbersList,1)
insertItem(numbersList, 0, 30)
console.log(numbersList.length)
3.
FILL IN THE BLANK QUESTION
1 min • 1 pt
What will be displayed after the program?
for(var i = 0; i < 4; i++){
console.log(i);
}
4.
FILL IN THE BLANK QUESTION
1 min • 1 pt
What will the following program display in the console?
var sum = 0;
for(var i = 0; i < 5; i++){
sum = sum + i;
}
console.log(sum);
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
6.
FILL IN THE BLANK QUESTION
1 min • 1 pt
A program is designed to determine the minimum value in a list of positive numbers called numList. The following program was written
var minimum = <MISSING CODE>
for(var i = 0; i < numList.length; i++){
if (numList[i] < minimum){
minimum = numList[i];
}
}
console.log("The minimum is" + minimum);
Fill in the missing code
7.
FILL IN THE BLANK QUESTION
1 min • 1 pt
A restaurant knows from historical data that 60 out of 100 of its customers purchase a full meal while 40 out of 100 only order a side dish. The program below is intended to simulate the orders of 1000 customers.
fullMeal 0
sideDish 0
REPEAT 1000 TIMES{
IF (<MISSING CODE>)
{ fullMeal fullMeal + 1}
ELSE { sideDish sideDish + 1 }}
DISPLAY (fullMeal)
DISPLAY ("full meals were ordered,")
DISPLAY (sideDish)
DISPLAY ("side dishes were ordered.")
Create a free account and access millions of resources
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
16 questions
Quiz on List and Tuples
Quiz
•
University
10 questions
Grade 11 Term 4 Practice 2
Quiz
•
11th Grade
10 questions
Year 9 - Computing - Networking - Transmission Media
Quiz
•
9th Grade
15 questions
PROBLEM SOLVING USING R UNIT I MCQS
Quiz
•
University
16 questions
Ejercicio estadística
Quiz
•
University
10 questions
PYTHON_CHAPTER 6
Quiz
•
University
9 questions
CHAPTER 5 ONLINE QUIZ
Quiz
•
University
12 questions
Javascript
Quiz
•
University
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
Discover more resources for Computers
15 questions
Internet Vocabulary Notebook Check #2 - CTEA(2024)
Quiz
•
12th Grade
11 questions
Internet Terms Vocabulary- Notebook Check #1- CTEA
Quiz
•
12th Grade
39 questions
UNIT 7 and UNIT 8 — Multiple Choice Question Bank (Extracted)
Quiz
•
9th Grade
50 questions
Money Matters Fall 2025 Final Exam — Worksheet Questions
Quiz
•
12th Grade
47 questions
CSF Final Exam Practice
Quiz
•
9th - 12th Grade
