Topic 4.2 Video 3

Quiz
•
Mathematics
•
11th Grade
•
Easy
Standards-aligned
Myra Deister
Used 2+ times
FREE Resource
6 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these best describes the output of these 2 code segments?
Segment 1 and Segment 2 produce the same output.
Segment 1 produces a larger sum than Segment 2, because the update increments by 2.
Segment 2 produces a larger sum than Segment 1, because no numbers are skipped in the for loop.
Segment 1 only sums the odd numbers from 1 to 20, while Segment 2 only sums the even numbers from 0 to 20.
Segment 1 and Segment 2 would produce the same output if the initialization of i in Segment 1 was changed from 1 to 0.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Complete the code to produce the following output
public static void main(String [ ] args)
{
for (/* initialization */; / * Boolean Expression */; number++)
{
System.out.print(number * 3 + " ");
}
System.out.println( );
}
Output: 0 3 6 9 12 15 18 21 24 27 30
int number = 0; number < 10;
int number = 0; number <= 10;
int number = 3; number < 10;
int number = 3; number <= 10;
3.
OPEN ENDED QUESTION
3 mins • 1 pt
If you have $200 in a bank account that earns 10% interest per year, how much would you have after saving that money for 50 years?
Write a code segment (using a for loop) to calculate and display the total amount that you would have after 50 years.
Evaluate responses using AI:
OFF
Tags
CCSS.HSF.BF.A.2
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which type of a loop is a for loop?
pre-test
post-test
mid-test
zero-test
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
if the condition of a for loop is false the first time it is checked:
There will be a syntax error
The loop will never end
The loop will execute only once
The loop will never execute.
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
10 questions
Functions Review

Quiz
•
9th - 12th Grade
10 questions
midpoint and distance formula

Quiz
•
9th - 12th Grade
10 questions
Special Segments in Triangles

Quiz
•
9th - 12th Grade
10 questions
AP Calculus Integrals Review

Quiz
•
10th - 12th Grade
10 questions
Java Operators

Quiz
•
9th - 12th Grade
11 questions
Definite integrals and its properties

Quiz
•
11th - 12th Grade
11 questions
AP Statistics Two Variable Data Review

Quiz
•
10th - 12th Grade
11 questions
Polar graphing

Quiz
•
11th - 12th Grade
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
Discover more resources for Mathematics
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
10 questions
Solving Equations Opener

Quiz
•
11th Grade
21 questions
Arithmetic Sequences

Quiz
•
9th - 12th Grade
15 questions
Polynomials: Naming, Simplifying, and Evaluating

Quiz
•
9th - 11th Grade
40 questions
Camp CMS Math 1 Test Review

Quiz
•
9th - 12th Grade