Search Header Logo

Pseudocode Quiz

Authored by Luis Torres

Information Technology (IT)

11th Grade

Used 1+ times

Pseudocode Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

7 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which pseudocode correctly asks the user to input their name and outputs a greeting?

OUTPUT "Hello"

INPUT name

OUTPUT "Enter your name:"

INPUT name; OUTPUT "Hello, " + name

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What does the following pseudocode do?

Outputs 5

Outputs 3

Outputs 8

Outputs 15

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What is the output of this pseudocode if age = 20?

Adult

Minor

18

No output

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

How many times does the following loop run?

4

5

6

Infinite

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What is the condition to stop the following loop?

When x < 10

When x = 10

When x > 10

When x = 0

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What is the output of this pseudocode?

Success

Fail

Error

No output

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What does the following pseudocode calculate?

A) The sum of numbers from 1 to 5

B) The product of numbers from 1 to 5

C) The sum of even numbers from 1 to 5

D) The sum of odd numbers from 1 to 5

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Information Technology (IT)