computer science exam with quality
answers
function - correct answers ✔✔takes in one or more inputs and produces an output
domain - correct answers ✔✔set containing all input values
co-domain - correct answers ✔✔set containing output values
first class object - correct answers ✔✔can appear in: expressions, assigned to variable,
argument, returned from a function. is an object that can be assigned as an argument or
returned from a function.
higher-order function - correct answers ✔✔function that takes another function as an
argument or returns a function, or both.
function application - correct answers ✔✔applying function to its arguments
partial function application - correct answers ✔✔provides function's arguments and produces a
function that takes the reminder of the arguments.
functional composition - correct answers ✔✔combining two or more functions.
composition of two functions can be written as fx o fy.
map - correct answers ✔✔higher-order function that applies a function to each item in a list.