Functional Programming Trivia Questions

  • ❓ 126+ questions
  • 🗂️ Programming
  • ✨ 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.

Download on the App StoreGet it on Google Play

Already playing?

Sample Functional Programming Questions

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.

    • Void function
    • Pure function
    • Static function
    • Virtual function
  2. This term describes data that cannot be changed after it is created, a core concept in functional programming.

    • Volatile
    • Static
    • Immutable
    • Constant
  3. This higher-order function applies a given function to each element of a list, returning a new list with the results.

    • map
    • filter
    • reduce
    • sort
  4. This higher-order function combines all elements of a list into a single value using an accumulator function.

    • map
    • filter
    • reduce
    • concat
  5. A function that takes another function as an argument or returns a function as its result is called this.

    • Recursive function
    • Anonymous function
    • Callback function
    • Higher-order function
  6. This language, created in 1958, is considered one of the oldest and most influential functional programming languages.

    • Fortran
    • COBOL
    • Lisp
    • BASIC
  7. This modern functional language runs on the Java Virtual Machine and emphasizes immutability and concurrency.

    • Clojure
    • Kotlin
    • Groovy
    • Scala
  8. In functional programming, observable changes outside a function's scope, such as modifying a global variable, are called this.

    • Return values
    • Local effects
    • State changes
    • Side effects

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