
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
7 questions
International Yoga Day Quiz
Flashcard
•
KG - University
7 questions
Glossary IRL to revise
Flashcard
•
University
10 questions
Technology vocabulary
Flashcard
•
University
10 questions
THE PARAGRAPH
Flashcard
•
University
5 questions
Root words
Flashcard
•
University
8 questions
Tablet Parts
Flashcard
•
KG
6 questions
IE 4 U5 lesson 5-6
Flashcard
•
12th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th 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
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
Discover more resources for Computers
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
15 questions
Christmas Song Emoji Pictionary
Quiz
•
7th - 12th Grade
20 questions
Christmas Movies
Quiz
•
1st - 12th Grade
55 questions
CHS Holiday Trivia
Quiz
•
12th Grade
20 questions
Christmas Movie Trivia
Quiz
•
9th - 12th Grade
29 questions
christmas facts
Lesson
•
5th - 12th Grade
20 questions
Christmas Trivia
Quiz
•
5th - 12th Grade
20 questions
Stages of Meiosis
Quiz
•
9th - 12th Grade