Functional Programming Trivia Questions

  • ❓ 126+ questions
  • 🗂️ Programming
  • 🎚️ Easy to expert
  • ✨ Free to play

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. Questions span every level, from easy warm-ups to expert-level stumpers, so there's a real challenge here however much you already know.

Download on the App StoreGet it on Google Play

Already playing?

Sample Functional Programming Quiz Questions

A mix of easy, medium and hard — questions run from warm-up to expert, so there's a real challenge at every level. Think you know the answers? Play to find out.

  1. In functional programming, a function that always returns the same output for the same input and has no side effects is called this.

    Difficulty: Easy
    • Void function
    • Pure function
    • Static function
    • Virtual function
  2. This pattern in category theory represents a structure that can apply wrapped functions to wrapped values, sitting between Functor and Monad.

    Difficulty: Medium
    • Applicative Functor
    • Bifunctor
    • Comonad
    • Profunctor
  3. This GHC extension allows higher-rank polymorphism, where quantifiers can appear inside function types.

    Difficulty: Hard
    • RankNTypes
    • ImpredicativeTypes
    • PolymorphicComponents
    • QuantifiedConstraints
  4. This term describes data that cannot be changed after it is created, a core concept in functional programming.

    Difficulty: Easy
    • Volatile
    • Static
    • Immutable
    • Constant
  5. This monadic operation takes a wrapped value and a function that returns a wrapped value, flattening the result.

    Difficulty: Medium
    • fmap
    • bind (>>=)
    • join
    • lift
  6. This proof assistant uses dependent types and the calculus of constructions as its foundation.

    Difficulty: Hard
    • Lean
    • Coq
    • Agda
    • Isabelle
  7. This higher-order function applies a given function to each element of a list, returning a new list with the results.

    Difficulty: Easy
    • map
    • filter
    • reduce
    • sort
  8. This functional pattern represents computations that produce multiple results, like a list of all possible outcomes.

    Difficulty: Medium
    • State Monad
    • Reader Monad
    • List Monad
    • Writer Monad

Think You Know Functional Programming?

Play a free round in your browser, learn something new with every answer, and challenge your friends to beat your score.

Or get the app

Download on the App StoreGet it on Google Play