Search Header Logo

G10 CS Functions and Procedures

Authored by Fritz Bansag

Computers

12th Grade

Used 10+ times

G10 CS Functions and Procedures
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Complete this sentence:

___________ are subprograms that can be called whenever required from the main program.

Functions

Procedures

Functions & Procedures

Algorithms & Pseudocodes

None of the above

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Complete this sentence:

Function is an example of ______

computational thinking

abstraction

generalization

algorithmic design

None of the above

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not required to be known by a user?

Function name

How function work?

Inputs and Outputs of function

function code

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the difference between function and procedure?

Function are sub-programs defined outside the main program. Whereas, procedures are defined inside the main program.

Functions return values but procedures do not return a value.

Functions are programs within the procedure of the main program.

None of the above

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What parameters are passed to a function, when the control is transferred from main program to function?

Input

Output

Function code

None of the above

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What parameters are returned to main program, when the control is transferred from function to main program?

Input

Output

Function code

None of the above

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The ………………………….. statement transfers the control from main program to function and vice versa.

function call

Output

Input

None of the above

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?