Functional Programming Part 1

Functional Programming Part 1

12th Grade

8 Qs

quiz-placeholder

Similar activities

CompTIA Chapter 15 - Developing and Implementing Software

CompTIA Chapter 15 - Developing and Implementing Software

10th - 12th Grade

10 Qs

Alghorithma

Alghorithma

12th Grade - University

10 Qs

Quiz 1

Quiz 1

9th - 12th Grade

11 Qs

Technical Terms - Hardware (A-Z) - Modifier Key

Technical Terms - Hardware (A-Z) - Modifier Key

12th Grade

10 Qs

Python- Operators

Python- Operators

12th Grade

10 Qs

 Unit 4 Advanced AP CSP

Unit 4 Advanced AP CSP

9th - 12th Grade

10 Qs

Function & Scope of variable in Python

Function & Scope of variable in Python

12th Grade

10 Qs

Quiz on Python Functions

Quiz on Python Functions

12th Grade

11 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.

Appear in...

function calls

Be returned by...

expressions

Be assigned to...

variables

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

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.