
Fundamentals of Programming Part 2
Authored by Barbara Froehlich
Computers
11th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Why do we use while loops in JavaScript?
To break out of some block of code
To do something if a condition is true
To repeat some code while a condition is true
To repeat something for a fixed number of times
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Why do we use for loops in JavaScript?
To break out of some block of code
To do something if a condition is true
To repeat some code while a condition is true
To repeat something for a fixed number of times
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which general while loop definition is written correctly?
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does an if/else statement look like in JavaScript?
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Why do we use if/else statements in JavaScript?
To repeat something for a fixed number of times
To do something if a condition is true and do something else if the condition is false
To break out of some block of code
To repeat something while a condition is true
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
10 questions
Resume Do's and Don'ts
Quiz
•
9th - 12th Grade
10 questions
AP CSP~ BigIdea 2 Data
Quiz
•
9th - 12th Grade
7 questions
OCR Computer Science 2.3 Testing
Quiz
•
8th - 11th Grade
10 questions
Web Development
Quiz
•
1st - 12th Grade
10 questions
Soal Latihan 2 - Scratch
Quiz
•
8th - 12th Grade
10 questions
Computer Software
Quiz
•
8th - 12th Grade
10 questions
Computer Languages
Quiz
•
6th - 12th Grade
10 questions
Premiere Pro
Quiz
•
10th - 12th Grade
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
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th 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