What symbol is used to mark a single-line comment in Python?
#
Who is considered the father of modern computing?
Alan Turing
What base system is binary?
Base 2
Which data structure works like “first in, first out”?
Queue
What does “URL” stand for?
Uniform Resource Locator
In Java, what keyword is used to define a class?
class
Which company created the first widely used personal computer operating system, MS-DOS?
Microsoft
Convert the binary number 1010 to decimal.
10
Which data structure uses LIFO (last in, first out)?
Stack
What does “HTTP” stand for?
HyperText Transfer Protocol
What is the output of print(3 * "Hi") in Python?
HiHiHi
What year was the World Wide Web invented?
1989
What does the Boolean expression True AND False evaluate to?
False
In Python, what data type uses {} to store unique values?
Set
What is the name of the version control system widely used in software development?
Git
What’s the difference between = and == in most programming languages?
= assigns, == compares
Who is known as the first computer programmer?
Ada Lovelace
How many bits are in a byte?
8
What is the time complexity of searching in a balanced binary search tree (BST)?
O(log n)
What company created the programming language “Go”
Name one advantage of using functions in your code
Code reuse / organization / readability
What was the name of the first computer virus, created in 1986
Brain
What is the binary representation of the decimal number 25?
11001
What is the main advantage of a hash table?
Fast lookups, O(1) average time)
What does “open source” mean?
Software whose source code is publicly available for use and modification