
ICT3_MT_W5-6_SW2

Quiz
•
Computers
•
11th Grade
•
Hard
JB Presa
Used 3+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a practical use of a for loop in C#?
Traversing arrays
Infinite calculations
Skipping iterations
All of the above
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which scenario causes an infinite loop?
for (int i = 0; i < 10; i--)
for (int i = 0; i != 10; i++)
for (int i = 0; i < 10; i++)
None of the above
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which loop is more efficient for traversing an array?
for loop
foreach loop
Both are the same
Depends on the array size
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which part of the for loop determines how long it will run?
Initialization
Condition
Increment/Decrement
Body of the loop
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which loop is ideal for creating a multiplication table?
Single for loop
Nested for loops
Foreach loop
Recursive function
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the correct syntax for a for loop in C#?
for (initialization; condition; update) { ... }
for (initialization, condition, update) { ... }
for [initialization; condition; update] { ... }
for {initialization; condition; update}
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following can be iterated using a foreach loop?
Arrays
Lists
Strings
All of the above
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Loops & Conditional Blocks in Scratch

Quiz
•
6th - 12th Grade
14 questions
LA4.C4: Conditions and Loops

Quiz
•
9th Grade - University
10 questions
LOOPS IN C++

Quiz
•
10th Grade - University
15 questions
Kuizi 14 - Web

Quiz
•
10th Grade - University
13 questions
KS4 Python While Loops and For Loops

Quiz
•
9th - 11th Grade
12 questions
Hour of Code

Quiz
•
6th - 12th Grade
10 questions
Pseudocode - Iteration

Quiz
•
7th - 11th Grade
12 questions
Computer Science

Quiz
•
9th - 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