Programming Trivia

  • 📚 11 topics
  • ❓ 1,383+ questions
  • 🎚️ Easy to expert
  • ✨ Free to play
Download on the App StoreGet it on Google Play

Already playing?

Programming trivia illustration

Play Programming Trivia by Topic

Pick a topic to preview real questions and start a free game — every answer comes with an explanation, so you learn as you play. Every topic carries easy, medium and hard questions, so beginners and experts both get a real game.

Sample 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 stack operations, this term describes adding an element to the top of the stack.

    Difficulty: Easy
    • Push
    • Pop
    • Peek
    • Insert

    From Data Structures Trivia →

  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

    From Functional Programming Trivia →

  3. This technique prevents creating multiple instances of an object by caching and returning the existing instance.

    Difficulty: Hard
    • Singleton pattern
    • Factory pattern
    • Prototype pattern
    • Builder pattern

    From JavaScript Trivia →

  4. This fruit-named company created the App Store, revolutionizing how users discover and download software for their phones.

    Difficulty: Easy
    • Apple
    • Google
    • Microsoft
    • Samsung

    From Mobile App Development Trivia →

  5. In the App Router, this special file defines a shared UI wrapper that persists across child routes.

    Difficulty: Medium
    • wrapper.tsx
    • layout.tsx
    • template.tsx
    • shell.tsx

    From Next.js Trivia →

  6. This C++11 feature uses a boolean condition to enable or disable template overloads at compile time.

    Difficulty: Hard
    • SFINAE
    • Concepts
    • Type traits
    • Constexpr if

    From Object-Oriented Programming Trivia →

  7. On Windows, deleted files land in this desktop container, giving you a chance to restore them before permanent removal.

    Difficulty: Easy
    • Clipboard
    • Taskbar
    • Recycle Bin
    • Start Menu

    From Operating Systems Trivia →

  8. This compact syntax creates a new sequence by applying an expression to each item, all within square brackets.

    Difficulty: Medium
    • Lambda expression
    • Array literal
    • List comprehension
    • Generator expression

    From Python Programming Language Trivia →

Think You Know 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