Programming Constructs, Procedures and Functions

Programming Constructs, Procedures and Functions

11th Grade

36 Qs

quiz-placeholder

Similar activities

Ujian informatika

Ujian informatika

9th Grade - University

35 Qs

uts informatika XI

uts informatika XI

11th Grade

33 Qs

AS_Testing

AS_Testing

11th Grade

40 Qs

Verifica Gen2025

Verifica Gen2025

1st Grade - University

41 Qs

Python Question bank

Python Question bank

11th Grade

31 Qs

PREPAIR ASAS 2024

PREPAIR ASAS 2024

9th Grade - University

35 Qs

Arduino

Arduino

10th Grade - University

35 Qs

ASTS TIK 6 GENAP

ASTS TIK 6 GENAP

6th Grade - University

35 Qs

Programming Constructs, Procedures and Functions

Programming Constructs, Procedures and Functions

Assessment

Quiz

Information Technology (IT)

11th Grade

Medium

Created by

Krishna Sekhar

Used 2+ times

FREE Resource

36 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a parameter?
A constant in a program
A variable applied to a procedure or function
A mathematical expression
A data type

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When a parameter is passed by value what happens?
The variable can be changed by the procedure
The value of the variable remains unchanged
The variable is deleted
The variable is copied multiple times

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is an argument?
A parameter definition
A mathematical operator
A value passed to a procedure or function from the main program
A constant

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of a procedure?
To always return a value
To execute a group of repeated statements
To perform complex mathematical calculations
To define a new data type

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In pseudocode how do you indicate the end of a procedure?
Close procedure
End procedure
Stop procedure
Terminate procedure

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How are parameters passed in Python?
By reference
By value
By pointer
By memory address

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What distinguishes a function from a procedure?
Functions always return a value
Procedures are more complex
Functions are only used in math
Functions cannot have parameters

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?