C++Arrays Loops and Functions Review

Quiz
•
Computers
•
University
•
Medium

Anu Joseph
Used 67+ times
FREE Resource
15 questions
Show all answers
1.
FILL IN THE BLANK QUESTION
1 min • 1 pt
A loop inside of another loop is called a _____________loop.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many times is the following loop body repeated (i.e., how many iterations)?
1
9
10
infinite
Answer explanation
Because the value of i is never changing
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the loop statements always has their body executed at least once.
for loop
while loop
do while loop
if statement
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code?
0 1 2 3 4
0 1 2 3 4 5
1 2 3 4
1 2 3 4 5
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The following is an example of a ______________.
answer = min(10, y);
function definition
function call
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Parameters are required
True
False
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If the variable is declared inside a loop control structure, it cannot be referenced outside the loop.
True
False
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Struktur Data Pra UAS

Quiz
•
University
15 questions
DSA Day 1

Quiz
•
University
20 questions
Recap C++

Quiz
•
University
20 questions
Advanced Excel

Quiz
•
KG - University
18 questions
JavaScript Variables, Data Types, and Operators Quiz

Quiz
•
University
20 questions
Python Programming Quiz

Quiz
•
9th Grade - University
20 questions
Uji Pengetahuan Dasar Informatika

Quiz
•
8th Grade - University
10 questions
informatika

Quiz
•
7th Grade - University
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
Discover more resources for Computers
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

Interactive video
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University