Code.org Unit 6 Assessment Day

Flashcard
•
Computers
•
9th - 12th Grade
•
Hard
Wayground Content
FREE Resource
Student preview

12 questions
Show all answers
1.
FLASHCARD QUESTION
Front
In which instance 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.
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 NOT result in an error if placed where the program reads <INSERT CODE> and the program is run? Options: i < list[list.length], i < list.length, i < list[0], i < list.length - 1
Back
i < list.length
3.
FLASHCARD QUESTION
Front
Which line will result in the list containing the values ["air", "rock", "air"]? Options: wordList[0] = wordList[2], wordList[2] = wordList[0], insertItem(wordList, 0, "air"), removeItem(wordList,0)
Back
wordList[0] = wordList[2]
4.
FLASHCARD QUESTION
Front
What will be displayed in the console when this program runs?
var numList = [10,20,30];
console.log(numList[numlist.length-1]);
Back
30
5.
FLASHCARD QUESTION
Front
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)
Back
5
6.
FLASHCARD QUESTION
Front
What will be displayed in the console when the following program runs?
var count = 0
while (count != 5){
console.log(count);
count = count + 2;
}
Back
The program will result in an infinite loop
7.
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
Create a free account and access millions of resources
Similar Resources on Wayground
11 questions
CSP - Unit 6

Flashcard
•
9th - 12th Grade
9 questions
Data Unit Flashcard

Flashcard
•
9th - 12th Grade
9 questions
PYTHON -- Lists (short)

Flashcard
•
9th - 12th Grade
8 questions
CS Discoveries: Unit 1 Flashcard

Flashcard
•
KG - University
13 questions
Interactive Animations and Games from code.org

Flashcard
•
7th - 12th Grade
10 questions
Code.org Unit 3 Review: Intro to App Design

Flashcard
•
12th Grade
12 questions
JavaScript Programming Concepts

Flashcard
•
9th - 12th Grade
8 questions
AP Computer Science Principles Unit 4 Review

Flashcard
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade
29 questions
AP CSP Unit 2 Review (Code.org)

Quiz
•
10th - 12th Grade