
Traversal Practice code.org unit 6
Flashcard
•
Computers
•
12th Grade
•
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
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
8 questions
Why is the ocean salty
Flashcard
•
12th Grade
9 questions
Sorting Algorithms
Flashcard
•
9th - 12th Grade
10 questions
Main Idea
Flashcard
•
11th Grade
10 questions
Demonstratives:This/These, That/Those & One/Ones
Flashcard
•
University
8 questions
Lesson 3 - Internet Concepts
Flashcard
•
KG
10 questions
KUIZ PENDIDIKAN MORAL TINGKATAN 5 UNIT 4
Flashcard
•
10th - 11th Grade
7 questions
Fundamentals of Common Mechanisms and Lifting Equipment
Flashcard
•
12th Grade
7 questions
EQUATION OF LINE IN SPACE (VECTORS)
Flashcard
•
12th Grade
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
11 questions
NEASC Extended Advisory
Lesson
•
9th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade