Search Header Logo

C# Loops (All)

Authored by Jill Thompson

Computers

9th - 12th Grade

Used 107+ times

C# Loops (All)
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

With while loops if the conditional expression evaluates to true, the body of the loop is not preformed; control transfers to the statements following the loop.

True
False

2.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

Using the break or continue statements with a loop violates the single entry and single exit guidelines for developing a loop.

True
False

3.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

Scope refers to the region in the program in which you can use the variable. 

True
False

4.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

With nested loops, the outermost loop is always totally completed before the innermost loop is executed.

True
False

5.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

With the while loop, the body of the loop is 

always performed at least one time
performed as long as the conditional expression evaluates to true
must produce a boolean result
must be enclosed in praenthesis

6.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

Media Image

The first value printed will be

0
1
99
100

7.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

Media Image

The last value printed will be?

0
1
99
100

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?