Skip to content
LearnClash logoLearnClash
Computer Programming

Computer Programming quiz

3 questions. No signup. Your move.

Question 1 of 3Easy

What is a named value that can change while code runs?

Free to play, no ads.Get the app
45
Questions
8
ELO tiers
Spaced repetition

More questions about Computer Programming

These visible examples show the question style. LearnClash turns the full topic into ranked duels and spaced repetition.

  1. 1 Easy

    Which language is built into every major web browser?

    Answer: JavaScript

    Why: Netscape renamed LiveScript to JavaScript in 1995 as a marketing move to ride Java's popularity, though the two are unrelated.

  2. 2 Medium

    How do most languages write 'not equal'?

    Answer: !=

    Why: Not every language agrees: Pascal and standard SQL write the same test as <>, while Lua and MATLAB use ~=.

  3. 3 Hard

    Where does C go when a switch case has no break?

    Answer: Into the next case

    Why: C# refuses to compile that fall-through, so every case with code there must end in a break or another jump.

  4. 4 Easy

    How many lines of Python does a Hello World program need?

    Answer: One

    Why: The same greeting in C needs a printf call inside a main function, usually with an #include line above it.

  5. 5 Medium

    What insect was taped into a 1947 computer logbook?

    Answer: Moth

    Why: Engineers were calling faults bugs long before: Thomas Edison used the word that way in a letter in 1878.

  6. 6 Hard

    Which data type is "true" in quote marks?

    Answer: String

    Why: In JavaScript or Java, true without quote marks is a Boolean, but with them it is four letters of text.

Keep going in the app

Scan to open on your phone