pseudocode

pseudocode

9th Grade

8 Qs

quiz-placeholder

Similar activities

Basic Logic & Programming pt.2

Basic Logic & Programming pt.2

6th Grade - University

10 Qs

Quiz de Lógica em Python

Quiz de Lógica em Python

6th Grade - University

8 Qs

Condition Programming Quiz

Condition Programming Quiz

1st Grade - University

9 Qs

Python_Recap_GGITSummerCamp25

Python_Recap_GGITSummerCamp25

9th Grade

11 Qs

C++ Structuri repetitive

C++ Structuri repetitive

8th Grade - University

7 Qs

Informatika Kelas 9 Materi Algotirma dan Pemrograman

Informatika Kelas 9 Materi Algotirma dan Pemrograman

9th Grade

10 Qs

Algoritma dan Pemrograman

Algoritma dan Pemrograman

9th - 12th Grade

12 Qs

Sumatif Lingkup Materi Berpikir Komputasional 9

Sumatif Lingkup Materi Berpikir Komputasional 9

9th Grade

11 Qs

pseudocode

pseudocode

Assessment

Quiz

Information Technology (IT)

9th Grade

Medium

Created by

Thomas Bui

Used 3+ times

FREE Resource

8 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

What will the following are not logical operators?

AND

<

OR

==

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will the following boolean expression evaluate to?

5 <= 5

FALSE

TRUE

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will the following pseudocode output? Assume all variables have been declared.

x ← 3

IF x < 5

THEN

OUTPUT "A"

ELSE

OUTPUT "B"

ENDIF

A

B

<No output>

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will the following pseudocode output? Assume all variables have been declared.

x ← 3

y ← 4

IF x < 5 AND y > 5

THEN

OUTPUT "A"

ELSE

OUTPUT "B"

ENDIF

A

B

<No output>

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will the following pseudocode output? Assume all variables have been declared.

x ← 3

y ← 4

IF x < 5

THEN

OUTPUT y * 5

ELSE

OUTPUT y * 2

ENDIF

15

8

20

6

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will the following pseudocode output? Assume all variables have been declared.

x ← 3

y ← 4

z ← 5

IF x == 5

THEN

OUTPUT "A"

ELSE

IF y <> z

THEN

OUTPUT "B"

ELSE

OUTPUT "C"

ENDIF

ENDIF

A

B

C

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will the following pseudocode output? Assume all variables have been declared.

x ← 3

CASE OF x

1: OUTPUT x * 1

2: OUTPUT x * 1 + 1

3: OUTPUT x * 2

4: OUTPUT x * 2 + 1

ENDCASE

3

4

6

7

8.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will the following pseudocode output? Assume all variables have been declared.

w ← 2

x ← 2 * w

CASE OF x

1: OUTPUT w * 1

2: OUTPUT w * 1 + 1

3: OUTPUT w * 2

4: OUTPUT w * 2 + 1

OTHERWISE OUTPUT x

ENDCASE

2

3

4

5