Search Header Logo

C++ Control Structures Quiz

Authored by Samuel Onyach

Computers

1st - 12th Grade

Used 30+ times

C++ Control Structures Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are the three main programming structures?

answer choices. 

Sequence, selection, iteration

Structured, object-oriented, procedural

Java, Python, Visual Basic

Machine, assembly, high-level

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In a ____ control structure, the computer executes particular statements depending on some condition(s).

looping

repetition

selection

sequence

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The expression in an if statement is sometimes called a(n) ____.

selection statement

action statement

decision maker

action maker

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When one control statement is located within another, it is said to be ____.

blocked

compound

nested

closed

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A program that specifies that an action is to be repeated while some condition remains true is called

Repetition structure

Infinite structure

Non-terminating structure

None of the above

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

 What is a sequential execution

Running programs one after the other

Executing statements of a program one after another

Executing statements in the one they are written

Both B and C

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which control structure indicates the do/while statement?

Selective

Loop

Object

Sequence

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?