G10 CS Functions and Procedures

G10 CS Functions and Procedures

12th Grade

15 Qs

quiz-placeholder

Similar activities

Object Oriented Programming

Object Oriented Programming

12th Grade

18 Qs

JavaScript Canvas Introduction Quiz

JavaScript Canvas Introduction Quiz

9th - 12th Grade

10 Qs

Advanced HTML5 Lesson 7

Advanced HTML5 Lesson 7

8th - 12th Grade

20 Qs

HTML Images 2

HTML Images 2

9th - 12th Grade

15 Qs

12.14.23 Asynch Quizziz Escape Room

12.14.23 Asynch Quizziz Escape Room

9th - 12th Grade

20 Qs

Unit 3: Interactive Animations and Games - Lessons 3-6

Unit 3: Interactive Animations and Games - Lessons 3-6

6th Grade - University

15 Qs

Intro to JavaScript

Intro to JavaScript

9th - 12th Grade

20 Qs

p5.js Week1 PREtest

p5.js Week1 PREtest

7th - 12th Grade

14 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?