
Iteration Quiz review part 2

Quiz
•
Computers
•
9th - 12th Grade
•
Hard
David Guy
Used 25+ times
FREE Resource
13 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Consider the following method.
Which of the following method calls will cause "0 10 " to be printed?
printSome(0,20)
printSome(5,10)
printSome(10,5)
printSome(20,5)
printSome(25,5)
2.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
"appl"
"apple"
"elppa"
"lppa"
Nothing is returned due to a run-time error.
3.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Consider the following method.
What, if anything, is returned by the method call abMethod("sing the song", "ng")?
"si"
"si the so"
"si the song"
"sig the sog"
Nothing is returned because a is thrown.
4.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Consider the following code segment. Assume that
Which of the following best describes the contents of as a result of executing the code segment?
The product of num2 and num3
The product of num2 and num3-1
The sum of num2 and num3
The sum of all integers from num2 to num3, inclusive
The sum of all integers from num2 to num3-1, inclusive
5.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Consider the following code segment.
Which of the following code segments will produce the same output as the code segment above?
6.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Consider the following code segment. What is printed as a result of executing the code segment?
6
10
12
15
Nothing is printed due to an infinite loop.
7.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
I only
II only
I and II only
I and III only
I, II and III
Create a free account and access millions of resources
Similar Resources on Wayground
12 questions
Pseudocódigos en Pseint

Quiz
•
11th Grade
8 questions
Year 9 Programming Mini Assessment

Quiz
•
9th Grade
11 questions
J277 Programming - Data Types

Quiz
•
9th - 11th Grade
11 questions
Casting in Java

Quiz
•
9th - 12th Grade
10 questions
KS4 Programming Techniques (1)

Quiz
•
8th - 10th Grade
10 questions
Instrucțiuni repetitive

Quiz
•
9th - 12th Grade
15 questions
APCSP Cumulative Test 2

Quiz
•
9th - 12th Grade
10 questions
C# Programming Basics Quiz

Quiz
•
10th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

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

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
1.2 OSI & TCP IP Models Quiz

Quiz
•
10th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
30 questions
Introduction to Computers

Quiz
•
8th - 9th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade