Topic 4.1 Video 2

Quiz
•
Computers
•
11th Grade
•
Medium
Myra Deister
Used 1+ times
FREE Resource
6 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many times will this code execute?
while(true)
System.out.print("AP CSA ");
infinitely
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is an infinite loop?
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
From the video, what must be done to avoid an infinite loop?
Make sure there is a correct update inside of the loop.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is output by the code below?
int n = 0;
while(n<10)
{
n+=3;
}
System.out.print( n );
12
9
6
3
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is output by the code below?
int n=4, a=0;
while(n<13)
{
a += n;
n+=3;
}
System.out.print( a );
25
21
32
28
15
6.
OPEN ENDED QUESTION
3 mins • 1 pt
Upload a screenshot of the last screen of the video. Make sure your name is displayed and the title of the video. There is an example on the left.
Evaluate responses using AI:
OFF
Similar Resources on Wayground
11 questions
setup start

Quiz
•
9th - 12th Grade
10 questions
Guided Note 5.3 For Loop and List

Quiz
•
9th - 12th Grade
10 questions
2.2 Programming techniques - repetition

Quiz
•
11th Grade
10 questions
AP Computer Science Principles - Unit 5: Lists, Loops

Quiz
•
9th - 12th Grade
10 questions
CODEHS Looping Unit 5 Review

Quiz
•
9th - 12th Grade
10 questions
Programming - Iteration, Basic Programming Constructs & Loop

Quiz
•
2nd - 12th Grade
10 questions
Programming - Algorithms in Pseudocode & Flow Diagrams

Quiz
•
1st - 12th Grade
7 questions
CodeHS 4.9 Local Variables and Scope

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade