SC025: Control Structures Lecture Quiz

SC025: Control Structures Lecture Quiz

12th Grade

10 Qs

quiz-placeholder

Similar activities

Word 2016 Lesson 1

Word 2016 Lesson 1

9th - 12th Grade

10 Qs

1 Herramientas Digitales

1 Herramientas Digitales

6th Grade - University

10 Qs

ICT as Platform for Change

ICT as Platform for Change

11th - 12th Grade

10 Qs

emtech

emtech

12th Grade

10 Qs

Visual Basic 2010

Visual Basic 2010

8th Grade - University

10 Qs

Numpy-1

Numpy-1

9th - 12th Grade

10 Qs

Test on Python Function

Test on Python Function

11th - 12th Grade

12 Qs

Common Protocols

Common Protocols

10th - 12th Grade

15 Qs

SC025: Control Structures Lecture Quiz

SC025: Control Structures Lecture Quiz

Assessment

Quiz

Computers

12th Grade

Practice Problem

Medium

Created by

Benaz NAZRI

Used 9+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following best describes a sequence control structure?

Executes steps based on conditions.

Executes steps one after another in a fixed order.

Repeats steps until a condition is met.

Jumps to different parts of a program.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following represents a correct sequence structure?

Input → Process → Output

Output → Process → Input

Condition → Input → Loop

Process → Condition → Output

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Identify the correct steps for a program to calculate the area of a rectangle.

Input base and height → Calculate area → Print area

Input width and length → Print result → Calculate area

Input width and length → Calculate area → Print area

Input area → Print result → Calculate area

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of a selection control structure?

To execute instructions in order.

To choose between different actions based on a condition.

To repeat a task until a condition is false.

To stop a program.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following pseudocode represents dual selection?

if (mark > 50) print "Pass"

if (mark > 50) print "Pass" else print "Fail"

if (mark > 80) print "A" else if (mark > 60) print "B"

while (mark > 0) print "Valid"

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In a traffic light analogy, which control structure does it represent?

Sequence

Single Selection

Dual Selection

Multiple Selection

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a counter-controlled loop?

A loop that stops when a sentinel value is entered.

A loop that executes a fixed number of times.

A loop that runs without conditions.

A loop that tests the condition after execution.

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?