Programming with pure functions. Play Functional Programming trivia solo to sharpen your knowledge, or challenge a friend head-to-head in Trivia Tango — every question comes with an explanation so you learn as you play.
Think you know the answers? Play to find out.
In functional programming, a function that always returns the same output for the same input and has no side effects is called this.
This term describes data that cannot be changed after it is created, a core concept in functional programming.
This higher-order function applies a given function to each element of a list, returning a new list with the results.
This higher-order function combines all elements of a list into a single value using an accumulator function.
A function that takes another function as an argument or returns a function as its result is called this.
This language, created in 1958, is considered one of the oldest and most influential functional programming languages.
This modern functional language runs on the Java Virtual Machine and emphasizes immutability and concurrency.
In functional programming, observable changes outside a function's scope, such as modifying a global variable, are called this.