
Fall Semester Final (Version B) - CS Principles
Flashcard
•
Other
•
11th Grade
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Student preview

10 questions
Show all answers
1.
FLASHCARD QUESTION
Front
What number will be output by the console.log command on line 5?
Back
35
2.
FLASHCARD QUESTION
Front
What will be the order of letters printed to the console when this program is run? Options: a b c, a b c b c b c, a b c b c, a b c a
Back
a b c b c
3.
FLASHCARD QUESTION
Front
What is the correct code for the updateScreen() function which would be called in each of the onEvent blocks?
Back
4.
FLASHCARD QUESTION
Front
This function chooses the screen to display based on the score. What is the correct way to call this function?
Back
5.
FLASHCARD QUESTION
Front
Refers to the entire length of a list.
Back
myList.length
6.
FLASHCARD QUESTION
Front
A way to reference the last item in a list.
Back
myList.length-1
7.
FLASHCARD QUESTION
Front
What does this code check in the conditional?
Back
if index is less than the last item in the list
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 Microsoft
or continue with
%20(1).png)
Apple
Others
Already have an account?