Pseudocode Practice Questions

Pseudocode Practice Questions

Assessment

Quiz

Computers

9th - 12th Grade

Medium

Created by

Doris Good

Used 178+ 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

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?