Discussly

Computer Trivia Questions for Students — page 2

54 trivia questions with answers, students. Multiple-choice trivia with answers, sorted by topic and level. Reveal the answers below, pick one at random, or present them full-screen.

StudentsTriviaPage 2 of 2
  1. 51.

    What is the output of "abc"[-1] in Python 3?

    • AError
    • Bb
    • Ca
    • Dc
    Answer: c
  2. 52.

    In Python 3, what is ['a', 'Chemistry', 0, 1][1]?

    • AChemistry
    • B0
    • Ca
    • D1
    Answer: Chemistry
  3. 53.

    A programmer is writing a program that is intended to be able to process large amounts of data. Which of the following considerations is LEAST likely to affect the ability of the program to process larger data sets?

    • AHow many programming statements the program contains
    • BHow much storage space the program requires as it runs
    • CHow much memory the program requires as it runs
    • DHow long the program takes to run
    Answer: How many programming statements the program contains
  4. 54.

    Are Python variable names case-sensitive?

    • ANone of the above
    • BIt's machine-dependent
    • CNo
    • DYes
    Answer: Yes

How to use these trivia questions

  • Warm-up. Open a lesson or meeting with 3–5 questions — enough to wake the room, short enough to keep the agenda.
  • Review game. Pick 10 questions on the topic you just taught and play them in teams; discuss every wrong answer.
  • Quiz night. Mix two or three topics, read each question twice, and give 20 seconds before revealing the answer.

Run them live

Want every person to answer on their own phone, with a timer and a live leaderboard? Use these questions in an EngageSlide Quiz with a live leaderboard — free to start.

Tick questions on any page — your set is kept while you browse (or take the first 10 here) — and they become ready-to-play slides. What is EngageSlide?

More question collections

Questions adapted from MMLU (Hendrycks et al.) (MIT), edited for clarity. This collection may be reused under the same terms — see sources & licenses.