Programming Concepts Quiz

Programming Concepts Quiz

1st Grade

10 Qs

quiz-placeholder

Similar activities

Spreadsheets

Spreadsheets

1st - 12th Grade

15 Qs

Deep Learning quiz 2

Deep Learning quiz 2

1st - 12th Grade

12 Qs

Advanced SQL

Advanced SQL

KG - University

10 Qs

Keyboard Operational Keys

Keyboard Operational Keys

1st - 2nd Grade

14 Qs

Computer Test 2 Q2

Computer Test 2 Q2

1st - 3rd Grade

10 Qs

Variables and Functions

Variables and Functions

KG - University

10 Qs

CODING

CODING

1st - 5th Grade

10 Qs

coding

coding

KG - Professional Development

15 Qs

Programming Concepts Quiz

Programming Concepts Quiz

Assessment

Quiz

Computers

1st Grade

Medium

Created by

Adham Elmuntser

Used 1+ times

FREE Resource

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

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?