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

Practice Problem

Hard

Created by

Wayground 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 }

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?