grade 12 Chapter No 4

Quiz
•
Computers
•
12th Grade
•
Medium
Sabia Shakoor
Used 1+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many loops are there in C++
2
3
4
1
2.
MULTIPLE CHOICE QUESTION
30 sec • 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
30 sec • 1 pt
Can a for loop contain another for loop?
No
Yes
Compilation Error
Runtime Error
4.
MULTIPLE CHOICE QUESTION
30 sec • 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
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The statement i++; is equivalent to
i = i + i;
i = i + 1;
i = i - 1;
i --;
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which looping process is best used when the number of iterations is known?
for
while
do-while
all looping processes require that the iterations be known
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What's wrong? for (int k = 2, k <=12, k++)
the increment should always be ++k
the variable must always be the letter i when using a for loop
there should be a semicolon at the end of the statement
the commas should be semicolons
Create a free account and access millions of resources
Similar Resources on Wayground
17 questions
AP CS ArrayLists

Quiz
•
12th Grade
20 questions
Arduino Temel Seviye

Quiz
•
9th - 12th Grade
20 questions
Python Unit 3 Comprehension Check (3,4,5,6)

Quiz
•
9th - 12th Grade
19 questions
MP3: Practice Test 1

Quiz
•
9th - 12th Grade
18 questions
FOR and WHILE loop in Python

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

Quiz
•
12th Grade
20 questions
Array

Quiz
•
10th - 12th Grade
20 questions
Python while loops

Quiz
•
12th Grade
Popular Resources on Wayground
15 questions
Hersheys' Travels Quiz (AM)

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
30 questions
Lufkin Road Middle School Student Handbook & Policies Assessment

Quiz
•
7th Grade
20 questions
Multiplication Facts

Quiz
•
3rd Grade
17 questions
MIXED Factoring Review

Quiz
•
KG - University
10 questions
Laws of Exponents

Quiz
•
9th Grade
10 questions
Characterization

Quiz
•
3rd - 7th Grade
10 questions
Multiply Fractions

Quiz
•
6th Grade