
Traversal Practice code.org unit 6
Flashcard
•
Computers
•
12th Grade
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Student preview

10 questions
Show all answers
1.
FLASHCARD QUESTION
Front
What will happen when this code runs? Options: it will print each fruit and the price on a new line, It will print all the fruits and prices at once, It will print "fruit cost price", It will change the fruit list to be the price list
Back
it will print each fruit and the price on a new line
2.
FLASHCARD QUESTION
Front
What goes in the part that's blacked out? Options: i < foot.length, i < fruit, i < fruits, i < fruits.length
Back
i < fruits.length
3.
FLASHCARD QUESTION
Front
What goes in the part that's blacked out? Options: var i = 0, i = fruit, i < fruits.length, i = 0
Back
var i = 0
4.
FLASHCARD QUESTION
Front
What does this code do?
Back
prints the index + 1 number and the name of the pet for each pet in the favoritePets list
5.
FLASHCARD QUESTION
Front
What is created at the end of this loop?
Back
Animal words that are greater than 5 letters are put into a filtered list
6.
FLASHCARD QUESTION
Front
If the animal whose length of their name is greater than 5 are put into a list, what should that list look like at the beginning of the code?
Back
var animalsFiltered = []
7.
FLASHCARD QUESTION
Front
What does this code do? Options: Finds the maximum price, Prints each price, Does nothing, Finds the minimum price
Back
Finds the minimum price
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
8 questions
CHILDREN 2 (1ST CLASS)
Flashcard
•
KG
8 questions
Unit 3.7 Firm's costs, Revenue & Objective
Flashcard
•
11th Grade
12 questions
Organic 2 Exam 4 Review
Flashcard
•
KG
5 questions
Kuis statistika
Flashcard
•
11th Grade - University
4 questions
Types of Brands
Flashcard
•
University
4 questions
SISTEMA LINFOIDE - HISTOLOGIA
Flashcard
•
University
11 questions
7517 05 Structured Programming
Flashcard
•
10th Grade - University
10 questions
Primary Storage Concepts
Flashcard
•
KG
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
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
20 questions
Figurative Language Review
Quiz
•
6th Grade