Programming Constructs Quiz

Programming Constructs Quiz

12th Grade

10 Qs

quiz-placeholder

Similar activities

AP CS A Quiz 4 Practice

AP CS A Quiz 4 Practice

9th - 12th Grade

9 Qs

CSP-A114 Quiz

CSP-A114 Quiz

9th - 12th Grade

12 Qs

Programming Concepts Quiz

Programming Concepts Quiz

6th Grade - University

13 Qs

CodeHS While Loops

CodeHS While Loops

9th - 12th Grade

12 Qs

Python Loops

Python Loops

9th - 12th Grade

10 Qs

icpcNU_ Loops and Arrays

icpcNU_ Loops and Arrays

12th Grade

15 Qs

Introduction to Programming Review with Karel

Introduction to Programming Review with Karel

9th - 12th Grade

15 Qs

CodeHS While Loops

CodeHS While Loops

9th - 12th Grade

11 Qs

Programming Constructs Quiz

Programming Constructs Quiz

Assessment

Quiz

Computers

12th Grade

Hard

Created by

Mark Halfyard

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the most simple and straightforward programming construct?

Branching

Sequence

Selection

Iteration

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which construct allows the program to go in different directions based on the outcome of a condition?

Selection

Branching

Sequence

Iteration

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the first typical selection construct you learn about in programming?

Switch Select Case Statement

While Loop

For Loop

If Statement

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which programming language supports the switch select case statements?

Python

C++

JavaScript

Java

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the popular form of counter controlled looping?

Do Until Loop

While Loop

If Statement

For Loop

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When is a while loop used in programming?

When the number of iterations needed is known ahead of time

When the number of iterations is not known

When the code needs to execute at least once

When the code needs to execute at least twice

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which construct guarantees that the code inside the loop will execute at least once?

If Statement

Do Until Loop

While Loop

For Loop

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?