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 multiple comments that could be combined into a single comment. A program includes repeated programming statements that could be moved inside a loop. A program includes repeated code that could be moved inside a function.

Units 6 and 7 Flashcard

Flashcard
•
Computers
•
11th Grade
•
Hard
Quizizz Content
FREE Resource
Student preview

17 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Back
The program includes individual variables to store the names of each student rather than a single list of students.
2.
FLASHCARD QUESTION
Front
Which of the following will result in ONLY all the items in list being printed to the console if placed where the program reads
Back
i < list.length
3.
FLASHCARD QUESTION
Front
What will be displayed in the console when this program runs? Options: 2, 3, 20, 30
Back
30
4.
FLASHCARD QUESTION
Front
What will be displayed when this program finishes running? Options: 3, 6, 7, 5
Back
5
5.
FLASHCARD QUESTION
Front
What will be displayed in the console when the following program runs? Options: 0 2 4 6, 0 2 4, 2 4 6, The program will result in an infinite loop
Back
The program will result in an infinite loop
6.
FLASHCARD QUESTION
Front
What will the following program display in the console?
for(var i = 0; i < 4; i++){
console.log(i);
}
Back
0 1 2 3
7.
FLASHCARD QUESTION
Front
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);
Back
10
Create a free account and access millions of resources
Similar Resources on Quizizz
20 questions
AP CSP Unit 7: Parameters, Returns, and Libraries

Flashcard
•
9th - 12th Grade
10 questions
Arrays

Flashcard
•
10th - 12th Grade
13 questions
AP CSP Unit 7: Parameters, Returns, and Libraries

Flashcard
•
9th - 12th Grade
12 questions
Code.org - Unit 6 Lists, Loops, and Traversals

Flashcard
•
10th Grade - University
12 questions
AP CSP Loops Practice

Flashcard
•
9th - 12th Grade
10 questions
CODEHS Looping Unit 5 Review

Flashcard
•
9th - 12th Grade
14 questions
Java Math and String Libraries

Flashcard
•
9th - 12th Grade
9 questions
Unit 5 -- Lists, Loops, Traversals

Flashcard
•
9th - 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