🥁 Trivia Gong
1 player online

Programming Basics Trivia

Programming Basics trivia explores the core ideas behind coding, including logic, syntax, data types, and common beginner concepts across major languages and computing history. Designed to be accessible yet varied in difficulty, it mixes easy and funny prompts with harder questions that reward a stronger grasp of how programming works.

Emoji collage hero image for Programming Basics Trivia

Easy Programming Basics Trivia

13 questions

These easy Programming Basics trivia questions are great for beginners and kids around age 12 and under.

  1. Question 1

    What does API stand for?

    1. A.Application Programming Interface
    2. B.Advanced Program Integration
    3. C.Applied Programming Internet
    4. D.Application Process Interface

    Answer: Application Programming Interface

    API is short for Application Programming Interface.

  2. Question 2

    A Boolean value can be which two states?

    Answer: true or false

    A Boolean has exactly two possible states: true or false.

  3. Question 3

    What is a loop used for in programming?

    Answer: repeat a block of instructions

    A loop repeats a block of instructions.

  4. Question 4

    Which data type is commonly used to represent text?

    1. A.An array
    2. B.A Boolean
    3. C.string
    4. D.A loop

    Answer: A string

    A string is commonly used to represent text.

  5. Question 5

    What kind of collection is an array used for?

    Answer: An ordered collection of multiple values

    An array stores multiple values in an ordered collection.

  6. Question 6

    What is debugging?

    Answer: Finding and fixing errors in code

    Debugging means finding and fixing errors in code.

  7. Question 7

    HTML stands for what?

    1. A.Markup Language
    2. B.HighText Markdown Language
    3. C.HyperTool Making Language
    4. D.HomeText Markup Link

    Answer: HyperText Markup Language

    HTML is short for HyperText Markup Language.

  8. Question 8

    What does CSS stand for?

    1. A.Creative Sheet Syntax
    2. B.Coded Structure Sheets
    3. C.Cascading Style Sheets
    4. D.Computer Style System

    Answer: Cascading Style Sheets

    CSS stands for Cascading Style Sheets.

  9. Question 9

    What does SQL stand for?

    1. A.System Query Layer
    2. B.Structured Queue Logic
    3. C.Structured Query Language
    4. D.Simple Question Logic

    Answer: Structured Query Language

    SQL stands for Structured Query Language.

  10. Question 10

    JSON is short for what?

    1. A.Java System Object Notation
    2. B.Object Notation
    3. C.Java Source Output Network
    4. D.Joined Script Object Naming

    Answer: JavaScript Object Notation

    JSON stands for JavaScript Object Notation.

  11. Question 11

    What does IDE stand for?

    1. A.Internal Design Engine
    2. B.Integrated Debugging Example
    3. C.Internet Development Environment
    4. D.Integrated Development Environment

    Answer: Integrated Development Environment

    IDE is short for Integrated Development Environment.

  12. Question 12

    Who created Java?

    Answer: James Gosling

    Java was created by James Gosling.

  13. Question 13

    Who created Linux?

    Answer: Linus Torvalds

    Linux was created by Linus Torvalds.

Programming Basics Family Trivia

12 questions

These family Programming Basics trivia questions are built for mixed-age game nights, classrooms, and groups.

  1. Question 1

    Who is often credited as the first computer programmer?

    1. A.Ada Lovelace
    2. B.Grace Hopper
    3. C.Alan Turing
    4. D.Niklaus Wirth

    Answer: Ada Lovelace is often credited as the first computer programmer.

    Ada Lovelace is often credited is the first computer programmer.

  2. Question 2

    What machine did Charles Babbage design?

    Answer: Charles Babbage designed the Analytical Engine.

    Charles Babbage designed the Analytical Engine.

  3. Question 3

    Which test was proposed by Alan Turing?

    1. A.Turing Test
    2. B.Analytical Engine
    3. C.TCP/IP
    4. D.FORTRAN

    Answer: Alan Turing proposed the Turing Test.

    Alan Turing proposed the Turing Test.

  4. Question 4

    Who led the team that developed FORTRAN?

    1. A.Charles Babbage
    2. B.John Backus led the team that developed FORTRAN.
    3. C.Ken Thompson
    4. D.Alan Kay

    Answer: John Backus led the team that developed FORTRAN.

    John Backus led the team that developed FORTRAN.

  5. Question 5

    In what year did FORTRAN first appear?

    1. A.1985
    2. B.1950
    3. C.1957
    4. D.1972

    Answer: FORTRAN first appeared in 1957.

    The provided facts list 1957 is the year FORTRAN first appeared.

  6. Question 6

    Dennis Ritchie and Ken Thompson worked at which famous lab?

    1. A.Bell Labs
    2. B.Sun Microsystems
    3. C.New Jersey Institute
    4. D.Analytical Engine

    Answer: Dennis Ritchie and Ken Thompson worked at Bell Labs.

    Dennis Ritchie and Ken Thompson worked at Bell Labs.

  7. Question 7

    Who created Pascal?

    1. A.Niklaus Wirth
    2. B.John Backus
    3. C.Alan Kay
    4. D.Vint Cerf

    Answer: Pascal was created by Niklaus Wirth.

    Pascal was created by Niklaus Wirth.

  8. Question 8

    What year was C created?

    1. A.1972
    2. B.1957
    3. C.1985
    4. D.1991

    Answer: C was created in 1972.

    1972 is the year C was created.

  9. Question 9

    C++ was first released in what year?

    1. A.1995
    2. B.1985
    3. C.1972
    4. D.1957

    Answer: C++ was first released in 1985.

    C++ was first released in 1985.

  10. Question 10

    Who invented the World Wide Web?

    1. A.Alan Turing
    2. B.Grace Hopper
    3. C.Tim Berners
    4. D.Vint Cerf

    Answer: The World Wide Web was invented by Tim Berners-Lee.

    Tim Berners-Lee invented the World Wide Web.

  11. Question 11

    Which person is known as a co-designer of TCP/IP?

    1. A.John Backus
    2. B.Niklaus Wirth
    3. C.Charles Babbage
    4. D.Vint Cerf

    Answer: Vint Cerf is known as a co-designer of TCP/IP.

    The provided facts identify Vint Cerf is a co-designer of TCP/IP.

  12. Question 12

    Java's early history is closely associated with which company?

    Answer: Java's early history is closely associated with Sun Microsystems.

    Sun Microsystems is closely associated with Java's early history.

Fun Programming Basics Trivia

13 questions

These fun Programming Basics trivia questions highlight surprising moments and playful facts for game-night groups.

  1. Question 1

    Who wrote the Python book with the wonderfully honest title "Automate the Boring Stuff with Python"?

    Answer: Al Sweigart

    "Automate the Boring Stuff with Python" was written by Al Sweigart.

  2. Question 2

    In the title "Automate the Boring Stuff with Python," what two-word phrase cheerfully admits what computers are good at?

    Answer: boring stuff

    The phrase "boring stuff" appears in the book title.

  3. Question 3

    Which author is behind the famous software book "Clean Code"?

    1. A.Fred Brooks
    2. B.Donald Knuth
    3. C.Martin Fowler
    4. D.Robert C. Martin

    Answer: Robert C. Martin

    "Clean Code" was written by Robert C. Martin.

  4. Question 4

    Who wrote "Code Complete," a title that sounds like every programmer's dream status update?

    1. A.Andrew Hunt
    2. B.Steve Wozniak
    3. C.David Thomas
    4. D.Steve McConnell

    Answer: Steve McConnell

    "Code Complete" was written by Steve McConnell.

  5. Question 5

    Which well-known author wrote the book "Refactoring"?

    1. A.Fred Brooks
    2. B.Al Sweigart
    3. C.Martin Fowler

    Answer: Martin Fowler

    "Refactoring" was written by Martin Fowler.

  6. Question 6

    Who wrote "The Mythical Man-Month," a classic title that warns schedules are not magic spells?

    1. A.Donald Knuth
    2. B.Tony Hoare
    3. C.Fred Brooks

    Answer: Fred Brooks

    "The Mythical Man-Month" was written by Fred Brooks.

  7. Question 7

    Name one of the two authors of "The Pragmatic Programmer."?

    1. A.Fred Brooks
    2. B.Brendan Eich
    3. C.Steve McConnell
    4. D.Andrew Hunt

    Answer: Andrew Hunt

    "The Pragmatic Programmer" was written by Andrew Hunt and David Thomas. Andrew Hunt is one correct answer.

  8. Question 8

    "Design Patterns" is often linked to what famous nickname for its authors?

    1. A.Gang of Four
    2. B.Rule of Three
    3. C.Fantastic Four
    4. D.Core Quartet

    Answer: Gang of Four

    "Design Patterns" is often associated with the Gang of Four.

  9. Question 9

    Who wrote the multivolume work "The Art of Computer Programming"?

    1. A.Martin Fowler
    2. B.Donald Knuth
    3. C.Tony Hoare

    Answer: Donald Knuth

    Donald Knuth wrote "The Art of Computer Programming.".

  10. Question 10

    What year did Tony Hoare introduce the quicksort algorithm?

    1. A.1970
    2. B.1952
    3. C.1959
    4. D.1965

    Answer: 1959

    Tony Hoare introduced quicksort in 1959.

  11. Question 11

    True or false: Quicksort showed up in 1959. True or false?

    Answer: True

    The fact states that Tony Hoare introduced quicksort in 1959.

  12. Question 12

    About how long did Brendan Eich take to create JavaScript in 1995?

    1. A.10 days
    2. B.10 weeks
    3. C.30 days
    4. D.1 year

    Answer: 10 days

    Brendan Eich created JavaScript in about 10 days in 1995.

  13. Question 13

    Which language has the famous origin story of being created in about 10 days in 1995 by Brendan Eich?

    1. A.Rust
    2. B.JavaScript
    3. C.Python
    4. D.Swift

    Answer: JavaScript

    The fact says Brendan Eich created JavaScript in about 10 days in 1995.

Funny Programming Basics Trivia

13 questions

These funny Programming Basics trivia questions highlight playful moments, odd facts, and inside jokes.

  1. Question 1

    In the famous 1947 computing tale, Grace Hopper's team found what tiny uninvited debugger in the hardware?

    1. A.A beetle
    2. B.A fly
    3. C.A spider
    4. D.moth

    Answer: A moth

    The story famously links the term "bug" in computing to Hopper's team finding a moth in hardware in 1947.

  2. Question 2

    What placeholder name has been cheerfully haunting programming examples for ages: foozle, foobar, or flapjack?

    1. A.flapjack
    2. B.barbaz
    3. C.foobar
    4. D.foozle

    Answer: foobar

    "Foobar" is a long-used joke placeholder in programming examples.

  3. Question 3

    What classic first program politely greets the universe instead of immediately crashing your confidence?

    Answer: hello, world

    "Hello, world" is the classic example used is a first program.

  4. Question 4

    Who created Perl, the language whose vibe sometimes feels like a toolbox collided with a poem?

    Answer: Larry Wall

    Perl was created by Larry Wall.

  5. Question 5

    If a programming language mascot showed up at your desk chewing thoughtfully, which animal would represent Perl?

    1. A.A duck
    2. B.A penguin
    3. C.camel
    4. D.A snake

    Answer: A camel

    Perl's mascot is a camel.

  6. Question 6

    Who created Ruby, proving that elegant syntax can arrive with an excellent name?

    Answer: Yukihiro Matsumoto

    Ruby was created by Yukihiro Matsumoto.

  7. Question 7

    Which person created PHP, a language that started life with a very personal title?

    Answer: Rasmus Lerdorf

    PHP was created by Rasmus Lerdorf.

  8. Question 8

    Before PHP became a backronym party, what did it originally stand for?

    Answer: Personal Home Page

    PHP originally stood for Personal Home Page.

  9. Question 9

    Who created the esoteric language Brainfuck in 1993, which is one way to make your keyboard question your motives?

    Answer: Urban Müller

    Brainfuck was created by Urban Müller in 1993.

  10. Question 10

    LOLCODE syntax includes which gloriously internet-flavored opening and closing phrases?

    Answer: HAI and KTHXBYE

    LOLCODE uses phrases like "HAI" and "KTHXBYE" in its syntax.

  11. Question 11

    Chicken takes an unexpected route to become runnable code. It compiles through what language?

    1. A.C
    2. B.Java
    3. C.Ruby
    4. D.Perl

    Answer: C

    The Chicken language compiles through C.

  12. Question 12

    Scratch was created at which MIT place, giving kids blocks instead of semicolon nightmares?

    Answer: MIT Media Lab

    Scratch was created at the MIT Media Lab.

  13. Question 13

    In what year was Scratch first released, launching many a drag-and-drop masterpiece?

    Answer: 2007

    Scratch was first released in 2007.

Hard Programming Basics Trivia

14 questions

These hard Programming Basics trivia questions are for expert fans who want a real challenge.

  1. Question 1

    At Bell Labs, Bjarne Stroustrup began work on C++ in what year?

    Answer: 1979

    The provided fact gives 1979 is the year Stroustrup began work on C++ at Bell Labs.

  2. Question 2

    Name the research lab where Bjarne Stroustrup began work on C++ in 1979.?

    Answer: Bell Labs

    The fact explicitly places the beginning of C++ work at Bell Labs.

  3. Question 3

    The first ISO standard for C++ arrived in which year?

    Answer: 1998

    The first ISO C++ standard was published in 1998.

  4. Question 4

    Which year marks the publication of the first ISO C++ standard?

    Answer: 1998

    According to the listed fact, the first ISO C++ standard was published in 1998.

  5. Question 5

    If you were pinning the debut of Java 1.0 to a single year on a timeline, which year would you choose?

    Answer: 1996

    Java 1.0 was released in 1996.

  6. Question 6

    ECMAScript 1 was standardized in which specific year?

    Answer: 1997

    The provided fact states that ECMAScript 1 was standardized in 1997.

  7. Question 7

    Standards trivia: what year belongs next to ECMAScript 1 on the official timeline?

    Answer: 1997

    1997 is the standardization year for ECMAScript 1.

  8. Question 8

    Google first announced the Go programming language in what year?

    Answer: 2009

    The fact list says Go was first announced by Google in 2009.

  9. Question 9

    Kotlin’s first release belongs to which year?

    Answer: 2011

    Kotlin was first released in 2011.

  10. Question 10

    Slide Kotlin onto a chronology wall: what year marks its first release?

    Answer: 2011

    According to the listed fact, Kotlin was first released in 2011.

  11. Question 11

    Which noted computer scientist is named as co-developer of the CLU programming language?

    Answer: Barbara Liskov

    Barbara Liskov is a co-developer of CLU.

  12. Question 12

    Tony Hoare introduced Hoare logic in what year?

    Answer: 1969

    The listed fact gives 1969 is the year Hoare logic was introduced by Tony Hoare.

  13. Question 13

    Donald Knuth introduced what famous term describing code written with strong explanatory prose?

    Answer: literate programming

    Donald Knuth introduced the term "literate programming.".

  14. Question 14

    Which computing honor is often nicknamed the Nobel Prize of computing?

    Answer: Turing Award

    The fact list says the ACM A.M. Turing Award is often called the Nobel Prize of computing.

Download PDF

Get the generated PDF file for printing, classroom rounds, or offline use.

Download printable trivia PDF