C# Review with Loops

C# Review with Loops

9th - 12th Grade

51 Qs

quiz-placeholder

Similar activities

Year 10 Term 4 roundup

Year 10 Term 4 roundup

9th - 12th Grade

50 Qs

1.1 Systems Architecture - pass

1.1 Systems Architecture - pass

10th Grade

53 Qs

AQA GCSE CompSci Revision Quiz

AQA GCSE CompSci Revision Quiz

10th - 11th Grade

50 Qs

Manejo de Sistema Operativos

Manejo de Sistema Operativos

12th Grade

50 Qs

MySQL Final Test

MySQL Final Test

12th Grade

50 Qs

Empowerment Technology Long Summative Assessment (PT1)

Empowerment Technology Long Summative Assessment (PT1)

11th Grade

50 Qs

Testout 5.3 - Part 2 - Refresher

Testout 5.3 - Part 2 - Refresher

9th Grade

46 Qs

Unity VR User

Unity VR User

9th Grade

50 Qs

C# Review with Loops

C# Review with Loops

Assessment

Quiz

Computers

9th - 12th Grade

Medium

Created by

Tim Helland

Used 34+ times

FREE Resource

51 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

Media Image
The first value printed will be
0
1
99
100

2.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

Media Image
The last value printed will be?
0
1
99
100

3.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

Media Image
If the loop body was changed from count ++; to counter+=5
How many times would the loop body execute?
19
20
99
100

4.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

Which of the following is an advantage of a sentinel-controlled loop?
The number of iterations doesn't have to be known.
An extreme or dummy value can be entered.
The loop is always performed at least one time.
It could be used with the while form of the loop.

5.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

What is output by the code?

2

3

4

5

6

6.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

What is the last line output by the code?

0

2

4

6

8

7.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

What is output by the code?

123

12

1234

21

321

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?