Visual C# Flashcard - Chapter 5: Loops, Files, and Random Numbers

Visual C# Flashcard - Chapter 5: Loops, Files, and Random Numbers

Assessment

Flashcard

Computers

12th Grade

Hard

Created by

Quizizz Content

FREE Resource

Student preview

quiz-placeholder

15 questions

Show all answers

1.

FLASHCARD QUESTION

Front

What does a while loop do?

Back

Repeats a statement as long as a Boolean expression is true

2.

FLASHCARD QUESTION

Front

What is the structure of a while loop?

Back

while (BooleanExpression) { statements }

3.

FLASHCARD QUESTION

Front

What type of loop is a while loop considered?

Back

Pretest loop

4.

FLASHCARD QUESTION

Front

What happens if the condition of a while loop is false at the start?

Back

The loop will not iterate at all

5.

FLASHCARD QUESTION

Front

What is an infinite loop?

Back

A loop that repeats until interrupted.

6.

FLASHCARD QUESTION

Front

What do the ++ and -- operators do?

Back

Increment and decrement a variable

7.

FLASHCARD QUESTION

Front

What is the general format of a for loop?

Back

for (Initialization; Test; Update) { statements }

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?