Back to marketplace

16 - Functional Programming

No description yet. This curated deck is ready for daily study.

Total cards: 7•Content version: v3•Public deck•Updated: 8/1/2026

Card preview (7)

#1
Front (Question)

What is a key feature of functional programming languages regarding data structures?

Back (Answer)

Data structures/variables are immutable, meaning the state/values cannot be changed after they are created.

#2
Front (Question)

What does it mean for functions in functional programming languages to be stateless?

Back (Answer)

Functions do not have side-effects; the output depends only on inputs and is not influenced by stored state.

#3
Front (Question)

What are higher-order functions in functional programming?

Back (Answer)

Functions that can take a function as an argument and/or return a function as a result.

#4
Front (Question)

What is an example of a higher-order function?

Back (Answer)

Map and fold.

#5
Front (Question)

How can the order of execution be determined in functional programming languages?

Back (Answer)

The order can be determined at run-time by the translator/compiler/interpreter.

#6
Front (Question)

True or False: In functional programming, the order of execution is defined by the program code.

Back (Answer)

False.

#7
Front (Question)

Fill in the blank: A higher-order function is a function that takes a _______ as an argument.

Back (Answer)

function.