APCSP BJC Unit 4 Lab
Quiz
•
Computers
•
10th - 12th Grade
•
Hard
Thomas Martinez
FREE Resource
Enhance your content in a minute
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What, if anything, is printed as a result of executing the code segment?
21
161116
161161
16111621
Nothing is printing because of an infinite loop.
2.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What will be the value of count after executing the code segment?
6
5
4
1
0
3.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
This code segment is intended to store the sum of all multiples of 10 between 10 and 100, inclusive (10 + 20 + ... + 100), in the variable total.
What should /* missing code */ be?
x < 100
x <= 100
x > 10
x >= 10
x != 10
4.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
This code is intended to print the sum of the digits in num. For example, when num is 12345, the code segment should print 15, which represents the sum 1 + 2 + 3 + 4 + 5.
What should /* missing loop header */ be?
while (num > 0)
while (num >= 0)
while (num > 1)
while (num > 2)
while (num > sum)
5.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
What, if anything, is printed as a result of executing the code segment?
0
1
2
3
Nothing is printed.
Similar Resources on Wayground
10 questions
Internet Technologies
Quiz
•
12th Grade
10 questions
🔦 Formative Assessment 2: Flow Controls
Quiz
•
12th Grade
9 questions
Test Excel
Quiz
•
10th - 12th Grade
10 questions
Hour of Code
Quiz
•
2nd - 12th Grade
10 questions
XI_осн_веб_кон
Quiz
•
9th - 12th Grade
10 questions
Tugas kelas XII RPL
Quiz
•
12th Grade
10 questions
Bài 8 - Câu lệnh lặp For - Cánh diều Python
Quiz
•
10th Grade
10 questions
History of Digital Computer
Quiz
•
10th - 12th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
