Thinking Procedurally

Thinking Procedurally

12th Grade

22 Qs

quiz-placeholder

Similar activities

Programming Basics

Programming Basics

9th - 12th Grade

21 Qs

OCR GCSE Computer Science Subroutines

OCR GCSE Computer Science Subroutines

12th Grade

19 Qs

iGCSE Computer Science: Programming Languages

iGCSE Computer Science: Programming Languages

9th - 12th Grade

20 Qs

12CS (1-5)

12CS (1-5)

12th Grade

20 Qs

AP CSA Unit 1 Review

AP CSA Unit 1 Review

10th - 12th Grade

20 Qs

Java Arrays

Java Arrays

9th - 12th Grade

20 Qs

AP CSP Unit 6

AP CSP Unit 6

10th - 12th Grade

20 Qs

Programming Basics: Statements & Functions

Programming Basics: Statements & Functions

9th - 12th Grade

21 Qs

Thinking Procedurally

Thinking Procedurally

Assessment

Quiz

Computers

12th Grade

Medium

Created by

Bennies Computing

Used 4+ times

FREE Resource

22 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

What was a common practice in early, unstructured computer programming?

Using subroutines

Utilising 'goto' statements

Using function calls
Implementing recursion

2.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

What term is another way to describe "unstructured code"?

Linear code
Structured code
Spaghetti code
Hierarchical code

3.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

In structured programming, what are the three main control structures?

Sequence
Branching
Selection

Iteration

4.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

What does the "sequence" construct in structured programming involve?

Executing statements in random order

Executing statements one after another

Choosing between different code blocks
Repeating a code block until a condition is met

5.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Which of the following is NOT a keyword typically used to express a "selection" control structure?

if
then
else

do

6.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

What does the "iteration" control structure in structured programming involve?
Executing a block of code only once

Executing a block of code more than once

Executing a block of code based on the result of a test

Executing a block of code in a random order

7.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

What is one benefit of splitting code into smaller subroutines?
It makes the code harder to test and debug
It increases the amount of repeated code
It reduces the amount of repeated code
It prevents code reuse

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?