C++ Control Structures Quiz

C++ Control Structures Quiz

1st - 12th Grade

10 Qs

quiz-placeholder

Similar activities

CodeHS While Loops

CodeHS While Loops

9th - 12th Grade

11 Qs

Fundamentals of Programming

Fundamentals of Programming

8th - 10th Grade

10 Qs

CodeHS APCSP Python Control Structures

CodeHS APCSP Python Control Structures

11th - 12th Grade

13 Qs

Python Revision

Python Revision

7th - 9th Grade

14 Qs

Programming Lesson Quiz

Programming Lesson Quiz

8th - 9th Grade

14 Qs

Sequence,Variable,Selection,Iteration

Sequence,Variable,Selection,Iteration

7th Grade

10 Qs

Selection Control Structure  Quiz

Selection Control Structure Quiz

6th Grade - University

10 Qs

CodeHS 2.12 Loop-and-a-Half 😝

CodeHS 2.12 Loop-and-a-Half 😝

9th - 12th Grade

10 Qs

C++ Control Structures Quiz

C++ Control Structures Quiz

Assessment

Quiz

Computers

1st - 12th Grade

Medium

Created by

Samuel Onyach

Used 28+ times

FREE Resource

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

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?