
CSP - Unit 6
Quiz
•
Computers
•
9th - 12th Grade
•
Practice Problem
•
Hard
Jake Oertle
Used 6+ times
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 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.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following will result in ONLY all the items in list being printed to the console if placed where the program reads <INSERT CODE> and the program is run?
i < list[list.length]
i < list.length
i < list[0]
i < list.length-1
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
wordList is a list of words that currently contains the values ["ball", "rock", "stick"]
Which of the following lines will result in the list containing the values ["stick", "rock", "stick"]
wordList[2] = wordList[0]
wordList[0] = wordList[2]
insertItem(wordList, 0, "air")
removeItem(wordList,0)
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be displayed in the console when this program runs?
A
B
C
Error
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be displayed when this program finishes running?
3
6
7
5
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be displayed in the console when the following program runs?
0 2 4 6
0 2 4
2 4 6
The program will result in an infinite loop
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the following program display in the console?
TEST TEST TEST TEST TEST
TEST TEST
TEST TEST TEST TEST
ERROR
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
10 questions
Scratch
Quiz
•
KG - Professional Dev...
10 questions
Java: repetition control structure for & while
Quiz
•
10th - 12th Grade
10 questions
Lesson 1 Introduction to Database System
Quiz
•
10th Grade
10 questions
Review
Quiz
•
9th - 12th Grade
15 questions
Cyber Security KS4
Quiz
•
8th - 12th Grade
15 questions
LA1.C1: Introduction to Small Basic
Quiz
•
9th Grade
13 questions
WJEC GCSE ICT Unit 1 E-Mail
Quiz
•
9th - 10th Grade
16 questions
Unit 8 Practice Test For CSP
Quiz
•
9th 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
