G10 CS Functions and Procedures

G10 CS Functions and Procedures

12th Grade

15 Qs

quiz-placeholder

Similar activities

C-Programming Basics

C-Programming Basics

12th Grade

16 Qs

AP CSP Big Idea 1

AP CSP Big Idea 1

9th - 12th Grade

10 Qs

Computer Science Principles Unit 5 Part 1

Computer Science Principles Unit 5 Part 1

9th - 12th Grade

15 Qs

PLTW CSE L1 Vocab P2/2

PLTW CSE L1 Vocab P2/2

9th - 12th Grade

10 Qs

Final/Midterm Review

Final/Midterm Review

9th - 12th Grade

15 Qs

Functions and Parameters Summative preview

Functions and Parameters Summative preview

9th - 12th Grade

10 Qs

Shapes in Java Processing

Shapes in Java Processing

9th - 12th Grade

18 Qs

p5 3d mode

p5 3d mode

9th - 12th Grade

10 Qs

G10 CS Functions and Procedures

G10 CS Functions and Procedures

Assessment

Quiz

Computers

12th Grade

Hard

Created by

Fritz Bansag

Used 10+ times

FREE Resource

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

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?