Search Header Logo

Computer Programming Quiz

Authored by Andrew Dawson

Computers

10th Grade

Used 17+ times

Computer Programming Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

14 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is an algorithm?

A problem in programming

A set of instructions in programming used to solve a given problem

A type of computer hardware

A programming language

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is pseudo code?

A high-level programming language

A type of error in code

A notation resembling a simplified programming language used in designing computer programs

The output of a program

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is an example of a selection statement?

for i . . . next i

if . . . else . . . end if

repeat . . . until

output "Please enter a number:"

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of indentation in pseudo code?

To declare variable names

To define a data type

To make the structure of the code clearer

To assign a value to a variable

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct syntax for a repetition construct in pseudo code?

if . . . else . . . end if

set counter = 0

for i . . . next i

myvariable is integer

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a rogue value in the context of loops?

A value that starts the loop

A value that increments within the loop

A value that falls outside the range of possible values for the data being processed

A value that is used to define a data type

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will be the output of the following pseudo code if the input age is 11?

Secondary school

Primary School

No output

An error message

Access all questions and much more by creating a free account

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

Already have an account?