Control Structures

Control Structures

University

14 Qs

quiz-placeholder

Similar activities

Control Structure

Control Structure

9th Grade - University

12 Qs

AP Computer Science Principles Control Structures

AP Computer Science Principles Control Structures

University

14 Qs

Selection and Loop structure

Selection and Loop structure

University

10 Qs

Selection Control Structure  Quiz

Selection Control Structure Quiz

6th Grade - University

10 Qs

Introduction to Programming

Introduction to Programming

9th Grade - University

10 Qs

CS201: Chapter 3

CS201: Chapter 3

University

13 Qs

Control Structures - Selection in Python

Control Structures - Selection in Python

8th Grade - University

11 Qs

Hari-2 Kuis coding dan perkenalan AI

Hari-2 Kuis coding dan perkenalan AI

University

10 Qs

Control Structures

Control Structures

Assessment

Quiz

Computers

University

Medium

Created by

Trevor Sim

Used 695+ times

FREE Resource

14 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are the three main programming structures?

Sequence, selection, iteration

Structured, object-oriented, procedural

Java, Python, Visual Basic

Machine, assembly, high-level

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which control structure will execute an instruction only after the computer evaluates conditions to determine if a certain condition exists?
Selection
Loop
Functional
Sequence

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which type of programming structure requires each instruction to be performed in order, with no possibility of skipping an action or branching off to another action?
Loop
Sequence
Selection
Iteration

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Jackson has written a section of code in his program that instructs a character to move forward unless it encounters an obstacle, such as a rock. If the character encounters an obstacle, then it should change direction before moving forward again. If it does not encounter an obstacle, it should continue moving forward. Which type of control structure has Jackson written?
Selection
Loop
Functional
Sequence

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image
What type of flowchart is shown here?
selection
iteration / loop
sequence

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image
What type of flowchart is shown here?
selection
iteration / loop
sequence

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image
What is the Output if the user enters:
Yes
Leave umbrella at home
Take an umbrella

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?