G10 CS Functions and Procedures

G10 CS Functions and Procedures

12th Grade

15 Qs

quiz-placeholder

Similar activities

CMU Academy 1.2

CMU Academy 1.2

9th - 12th Grade

14 Qs

Quiz

Quiz

11th - 12th Grade

12 Qs

Code  quiz

Code quiz

5th - 12th Grade

16 Qs

Javascript Drawing

Javascript Drawing

8th - 12th Grade

15 Qs

Carnegie CS1 Exit Ticket 1.1.1-2 Rect

Carnegie CS1 Exit Ticket 1.1.1-2 Rect

9th - 12th Grade

13 Qs

CS1CMU - U1_Basics

CS1CMU - U1_Basics

9th - 12th Grade

10 Qs

JavaScript Graphics

JavaScript Graphics

9th - 12th Grade

10 Qs

2024-2025 Fundamentals of Computing Final Exam Study Guide

2024-2025 Fundamentals of Computing Final Exam Study Guide

9th - 12th Grade

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