Search Header Logo

pseudocode

Authored by chi yu

Computers

Professional Development

Used 1+ times

pseudocode
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

60 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which pseudocode correctly finds the average of two numbers?

INPUT a, b; SET avg = a + b / 2; DISPLAY avg.

INPUT a, b; SET avg = (a + b) / 2; DISPLAY avg.

INPUT a, b; SET avg = a + b; DISPLAY avg / 2.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In a flowchart, what symbol represents a decision point?

Rectangle

Parallelogram

Diamond

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Given: x = 5, y = 2, what is the result of x % y + x // y?

3

5

2

4

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a valid pseudocode assignment statement?

SET total = num1 + num2.

total = num1 + num2

SET total: num1 + num2

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be displayed? SET a = 3; b = 2; DISPLAY a * b + b * 2

8

12

10

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What type of error occurs when a program runs but gives the wrong output?

Logical error.

Syntax error.

Runtime error.

Compilation error.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which statement shows the proper order of operations in arithmetic expressions?

A. Parentheses, Exponents, Multiplication/Division, Addition/Subtraction.

B. Parentheses, Multiplication/Division, Exponents, Addition/Subtraction.

C. Exponents, Parentheses, Multiplication/Division, Addition/Subtraction.

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?