Search Header Logo

Programming Concepts Quiz

Authored by Adham Elmuntser

Computers

1st Grade

Used 1+ times

Programming Concepts Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the "RETURN" statement in a function?

To declare a variable

To output a value

To declare a procedure

To initialize a loop

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In Example 1, what is the value of "r" after the second "PRINT" statement?

0

7

70

43

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In Example 2, what does the "OUTPUT" keyword indicate in the "greeting" procedure?

Input parameter

Output parameter

Variable declaration

Loop condition

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the "DECLARE" statement in pseudocode?

To assign a value to a variable

To perform arithmetic operations

To define a function

To declare a variable

5.

FILL IN THE BLANK QUESTION

30 sec • 1 pt

What is the result of the "triple" function in Example 2 when called with the argument 2?

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which pseudocode keyword is used to define a procedure?

FUNCTION

DECLARE

OUTPUT

PROCEDURE

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the "CALL" keyword in pseudocode?

To execute a function

To print output

To declare a variable

To initialize a loop

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?