Functional Programming Part 1

Functional Programming Part 1

12th Grade

8 Qs

quiz-placeholder

Similar activities

Simple Easy Basic Lua Quiz

Simple Easy Basic Lua Quiz

4th Grade - Professional Development

10 Qs

Python: Functions and Parameters

Python: Functions and Parameters

9th - 12th Grade

10 Qs

Random functions

Random functions

12th Grade

10 Qs

Value Methods Vocab

Value Methods Vocab

8th - 12th Grade

12 Qs

3 functions

3 functions

12th Grade

10 Qs

functions arguments reference coding

functions arguments reference coding

7th - 12th Grade

11 Qs

GD2 - 5.06 C++ Functions Quiz

GD2 - 5.06 C++ Functions Quiz

10th - 12th Grade

7 Qs

CHAPTER1-FUNCTION

CHAPTER1-FUNCTION

12th Grade

10 Qs

Functional Programming Part 1

Functional Programming Part 1

Assessment

Quiz

Computers

12th Grade

Easy

Created by

P Bates

Used 1+ times

FREE Resource

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.

Be used as...

expressions

Appear in...

arguments

Be assigned to...

function calls

Be returned by...

variables

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

8.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Shift : Integer -> Integer

Shift x = x * 10

Split : Integer -> Float

Split x = x / 2

Given Split ○ Shift 12, identify which function will be applied first.