Programming Basics
Computer History
Binary & Logic
Data Structures
Tech Trivia
100

What symbol is used to mark a single-line comment in Python?

#

100

Who is considered the father of modern computing?

Alan Turing

100

What base system is binary?

Base 2

100

Which data structure works like “first in, first out”?

Queue

100

What does “URL” stand for?

Uniform Resource Locator

200

In Java, what keyword is used to define a class?

class

200

Which company created the first widely used personal computer operating system, MS-DOS?

Microsoft

200

Convert the binary number 1010 to decimal.

10

200

Which data structure uses LIFO (last in, first out)?

Stack

200

What does “HTTP” stand for?

HyperText Transfer Protocol

300

What is the output of print(3 * "Hi") in Python?

HiHiHi

300

What year was the World Wide Web invented?

1989

300

What does the Boolean expression True AND False evaluate to?

False

300

In Python, what data type uses {} to store unique values?

Set

300

What is the name of the version control system widely used in software development?

Git

400

What’s the difference between = and == in most programming languages?

= assigns, == compares

400

Who is known as the first computer programmer?

Ada Lovelace

400

How many bits are in a byte?

8

400

What is the time complexity of searching in a balanced binary search tree (BST)?

O(log n)

400

What company created the programming language “Go”

Google

500

Name one advantage of using functions in your code

Code reuse / organization / readability

500

What was the name of the first computer virus, created in 1986

Brain

500

What is the binary representation of the decimal number 25?

11001

500

What is the main advantage of a hash table?

Fast lookups, O(1) average time)

500

What does “open source” mean?

Software whose source code is publicly available for use and modification