Search Header Logo

Functions

Authored by Krishna Sekhar

others

Used 1+ times

Functions
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?