Repetition Structure Quiz

Repetition Structure Quiz

11th Grade

39 Qs

quiz-placeholder

Similar activities

AP CSP Code.org Unit 5 Assessment 1 Review

AP CSP Code.org Unit 5 Assessment 1 Review

9th - 12th Grade

40 Qs

Python Revision Years 8&9 IGCSE

Python Revision Years 8&9 IGCSE

9th - 12th Grade

40 Qs

recursion and review

recursion and review

9th - 12th Grade

35 Qs

[AP CSP] Programming with Conditionals [If, Elif, Else]

[AP CSP] Programming with Conditionals [If, Elif, Else]

9th Grade - University

35 Qs

 XII DBMS and MY SQL

XII DBMS and MY SQL

9th - 12th Grade

40 Qs

Code HS Unit 4 Review

Code HS Unit 4 Review

11th - 12th Grade

37 Qs

PLTW CSE Unit 1.3 Review

PLTW CSE Unit 1.3 Review

9th - 12th Grade

35 Qs

XI Unit 6 Data Types & Operators

XI Unit 6 Data Types & Operators

11th Grade

44 Qs

Repetition Structure Quiz

Repetition Structure Quiz

Assessment

Quiz

Computers

11th Grade

Hard

Created by

Lisa Worthy

FREE Resource

39 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which character is used to separate each clause in a for statement?

comma

colon

semicolon

space

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When a counter is incremented or decremented, what process is occurring to the variable?

counting

accumulating

initializing

updating

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In a repetition structure, what is the requirement for repeating the instructions called?

infinite loop

sentinel value

exit condition

looping condition

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following would be a good sentinel value used in a loop that uses a miles per hour value as the looping condition?

100

1000

0

-1

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In a pretest loop, what initializes the loop condition by providing its first value?

sentinel value

update read

priming read

none of the above

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What statement can be used to code a pretest loop in C++?

switch

while

do

next

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How many arguments can the for clause contain?

1

2

3

4

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?