Search Header Logo

Functional Programming Part 1

Authored by P Bates

Computers

12th Grade

Used 2+ times

Functional Programming Part 1
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

8 questions

Show all answers

1.

FILL IN THE BLANK QUESTION

1 min • 1 pt

The set of inputs accepted by a function is called the ______.

2.

FILL IN THE BLANK QUESTION

1 min • 1 pt

The set from which the outputs are chosen is called the _________

3.

MATCH QUESTION

1 min • 1 pt

Match the following to complete the definition of a first class object.

Appear in...

expressions

Be assigned to...

variables

Be returned by...

function calls

Be used as...

arguments

4.

DROPDOWN QUESTION

1 min • 1 pt

​ ​ (a)   is when the inputs are given as arguments to a function.

Function application
Procedure application
Function call
Procedure call

5.

DROPDOWN QUESTION

1 min • 1 pt

​ (a)   function application is when some of arguments are given to a function, where a function can take more than one argument.

Partial
Intermediate
Limited
Fragmented

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Identify the correct answer representing the composition of functions A and B.

A * B

A + B

A ○ B

A υ B

7.

DRAG AND DROP QUESTION

1 min • 1 pt

To be able to apply function composition to two functions (P and Q) The ​ (a)   of function P must match the ​ (b)   of function Q. Therefore if the result type of function P is an integer then the input type of function Q can't be ​ (c)  

co-domain
domain
float
integer
input
output

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?