pseudocode

pseudocode

9th Grade

8 Qs

quiz-placeholder

Similar activities

Keyboard Shortcuts

Keyboard Shortcuts

5th Grade - University

11 Qs

Tugas Daring TIK

Tugas Daring TIK

9th Grade

10 Qs

P6 phising

P6 phising

6th Grade - University

10 Qs

Online Privacy Awareness Quiz

Online Privacy Awareness Quiz

7th Grade - University

13 Qs

Informatika Kelas 9 Materi Algotirma dan Pemrograman

Informatika Kelas 9 Materi Algotirma dan Pemrograman

9th Grade

10 Qs

Untitled Quiz

Untitled Quiz

7th Grade - University

11 Qs

Computer Lab Rules & Consequences

Computer Lab Rules & Consequences

9th - 12th Grade

10 Qs

Exploring Loops in Scratch

Exploring Loops in Scratch

5th Grade - University

10 Qs

pseudocode

pseudocode

Assessment

Quiz

Information Technology (IT)

9th Grade

Practice Problem

Medium

Created by

Thomas Bui

Used 4+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

8 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Assume all variables have been declared in all questions.

What will the following pseudocode output if the inputs x and y are 3 and 9 respectively?

INPUT x

INPUT y

OUTPUT Y MOD X

0

1

3

9

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will the following pseudocode output?

OUTPUT 9 DIV 4 + 4

5

6

1

8

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will the following pseudocode output if the input radius is 5.0?

INPUT radius

OUTPUT 2.0 * radius * 3.14

0.314

6.28

31.4

314

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will the following pseudocode output?

x <- 8

y <- 2

OUTPUT y ^ x

64

128

256

512

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will the following pseudocode output?

x <- 3

y <- 4

z <- 5

OUTPUT x + y * z

12

259

23

60

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the bug in the following pseudocode?

CONSTANT HEIGHT <- 100

HEIGHT <- 10

OUTPUT HEIGHT MOD 25

MOD cannot be used with a constant

A constant cannot be assigned to a different value

Trick question - there are no bugs

MOD is not a valid operator

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will the following pseudocode output?

x <- 25

OUTPUT x

x <- 26

x <- 27

OUTPUT x

26

27

25

25

25

26

25

27

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?