LOOPS IN C++

Quiz
•
Computers
•
10th Grade - University
•
Medium
Hafiz Intsar
Used 169+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
How many loops are there in C++
2
3
4
1
2.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What is currect syntax of for loop?
for(initialization;condition; increment/decrement)
for(increment/decrement; initialization; condition)
for(initialization, condition, increment/decrement
None of These
3.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Can a for loop contain another for loop?
No
Yes
Compilation Error
Runtime Error
4.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Each pass through a loop is called a/an
pass through
enumeration
iteration
culmination
5.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Which looping process checks the test condition at the end of the loop?
for
while
do-while
no looping process checks the test condition at the end
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
In a group of nested loops, which loop is executed the most number of times?
the outermost loop
the innermost loop
all loops are executed the same number of times
cannot be determined without knowing the size of the loops
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
The statement i++; is equivalent to
i = i + i;
i = i + 1;
i = i - 1;
i --;
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Kuizi 14 - Web

Quiz
•
10th Grade - University
10 questions
C Programming - Dia Aberto - EPC

Quiz
•
9th - 12th Grade
15 questions
C - Language Quiz

Quiz
•
12th Grade
9 questions
Java Iteration

Quiz
•
University
15 questions
CSE 102 Exam 2 Practice

Quiz
•
University
10 questions
Programming - Iteration, Basic Programming Constructs & Loop

Quiz
•
2nd - 12th Grade
15 questions
C# Loops (All)

Quiz
•
9th - 12th Grade
10 questions
Post-Test Operator (Pemrograman Web Server-Side PHP)

Quiz
•
9th - 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 Computers
40 questions
Algebra Review Topics

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

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

Lesson
•
9th - 12th Grade
40 questions
LSHS Student Handbook Review: Pages 7-9

Quiz
•
11th Grade
10 questions
Characteristics of Life

Quiz
•
9th - 10th Grade
10 questions
Essential Lab Safety Practices

Interactive video
•
6th - 10th Grade
20 questions
Scalars, Vectors & Graphs

Quiz
•
11th Grade
62 questions
Spanish Speaking Countries, Capitals, and Locations

Quiz
•
9th - 12th Grade