Functions

Functions

30 Qs

quiz-placeholder

Similar activities

RISE Up Retail Industry Fundamentals Ch. 3 Practice Test

RISE Up Retail Industry Fundamentals Ch. 3 Practice Test

12th Grade

26 Qs

Unit Test (Taxes)

Unit Test (Taxes)

KG - University

26 Qs

5.4 Practice Quiz

5.4 Practice Quiz

9th - 12th Grade

25 Qs

Duplicate of Data Structures

Duplicate of Data Structures

KG - University

30 Qs

Ch 2 Test M&E

Ch 2 Test M&E

6th - 8th Grade

25 Qs

Investing - Unit Test

Investing - Unit Test

KG - University

25 Qs

Skeletal and Muscular System Quiz  Review

Skeletal and Muscular System Quiz Review

6th - 8th Grade

27 Qs

Functions

Functions

Assessment

Quiz

others

Medium

Created by

Krishna Sekhar

Used 1+ times

FREE Resource

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is another name for functions?
Variables
Subprograms
Loops
Conditions

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the main purpose of functions?
To store data
To execute loops
To perform calculations
To make decisions

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the biggest difference between functions and procedures?
Functions can have multiple return values
Procedures can have multiple return values
Functions always return a single value
Procedures always return a single value

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you define a function without parameters?
function returns
function returns
function returns none
function

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the difference between a function with parameters and a function without parameters?
A function with parameters has a return type
A function without parameters has a return type
A function with parameters has input values
A function without parameters has input values

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the 'end function' statement?
To mark the end of the function
To return a value from the function
To execute the function
To define the function

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the input for the 'ConvertFahToCel' function?
TempInCelsius
TempInKelvin
TempInFahrenheit
TempInRankine

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?