Pseudocode Practice Questions

Pseudocode Practice Questions

Assessment

Quiz

Computers

9th - 12th Grade

Practice Problem

Medium

Created by

Doris Good

Used 212+ times

FREE Resource

Student preview

quiz-placeholder

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

x is equal to 15; y is equal to 15

x is equal to 5; y is equal to 10

x is equal to 15; y is equal to 10

x is equal to "x + 5"; y is equal to "x"

x is equal to 10, 15; y is equal to 5, 10

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

All done.

Inside the If.

Inside the if.

All done.

Inside the else.

All done.

Inside the if.

Inside the else.

All done.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

3

6

10

18

It will be different each time you run it

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

makes a and b equal to each other

this code doesn't do anything

rearranges the variables a, b, and tmp.

swaps the values of a and b

This program causes an error

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

y + z + " and " + x

sentence

BoysHello Girls

Hello Boys and Girls

Hello Girls and Boys

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Inside first if

Inside second if

Inside first if

Inside second if

Nothing will be printed

It will be different each time

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

5

10

55

Nothing is printed

this script would cause an error

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?