G10 CS Functions and Procedures

Quiz
•
Computers
•
12th Grade
•
Hard

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
Similar Resources on Wayground
12 questions
Computer Science

Quiz
•
3rd - 12th Grade
10 questions
Code.org Unit 5 Vocab Quiz 1

Quiz
•
9th - 12th Grade
20 questions
Intro to JavaScript

Quiz
•
9th - 12th Grade
15 questions
Unity Interface Basics 101

Quiz
•
9th - 12th Grade
10 questions
JavaScript Canvas Introduction Quiz

Quiz
•
9th - 12th Grade
10 questions
Functions and Parameters Summative preview

Quiz
•
9th - 12th Grade
15 questions
Unit 3: Interactive Animations and Games - Lessons 3-6

Quiz
•
6th Grade - University
20 questions
Website Links and Page Layouts

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade