What is the largest planet in our solar system?
A. Earth
B. Mars
C. Jupiter
D. Saturn
C. Jupiter
What is the capital of France?
A. Berlin
B. Rome
C. Madrid
D. Paris
D. Paris
Who is considered the “Father of the Computer”?
A. Alan Turing
B. Charles Babbage
C. Steve Jobs
D. Bill Gates
B. Charles Babbage
Which of these file types is NOT typically executable?
A. .exe
B. .bat
C. .txt
D. .sh
C. .txt
1. What is the correct file extension for Python files?
A. .java
B. .py
C. .pt
D. .python
B. .py
What is the only letter that doesn’t appear in any U.S. state name?
A. Q
B. Z
C. X
D. J
Q
What is the capital of Canada?
A) Toronto
B) Vancouver
C) Ottawa
D) Montreal
C) Ottawa
What was the name of the first electronic general-purpose computer?
A. ENIAC
B. UNIVAC
C. Colossus
D. IBM 701
A. ENIAC
Which HTTP status code indicates “Too Many Requests”?
A. 403
B. 429
C. 500
D. 307
B. 429
2. What will the following code output?
pythonCopyEdit
A. <class 'int'>
B. <class 'float'>
C. <class 'str'>
D. <class 'bool'>
C. <class 'str'>
1. What is the largest desert in the world?
A) Sahara
B) Gobi
C) Antarctica
D) Arabian
C) Antarctica
What is the capital of Australia?
A. Sydney
B. Melbourne
C. Canberra
D. Brisbane
C. Canberra
3. What was the first high-level programming language?
A. COBOL
B. FORTRAN
C. BASIC
D. Assembly
B. FORTRAN
In networking, what does the term “ping” technically measure?
A. Download speed
B. Time for a packet to reach a host and return
C. Number of connected devices
D. Signal strength
B. Time for a packet to reach a host and return
my_list = [0, 1, 2, 3, 4, 5]
print(my_list[::2])
A. [0, 2, 4]
B. [1, 3, 5]
C. [0, 1, 2]
D. [2, 4, 6]
A. [0, 2, 4]
What is India’s only active volcano?
A. Barren Island
B. Narcondam
C. Deccan Traps
D. Lakshadweep Atoll
A. Barren Island
What is the capital of Argentina?
A) Santiago
B) Buenos Aires
C) Lima
D) Caracas
B) Buenos Aires
Which company invented the first hard disk drive (HDD)?
A. IBM
B. Seagate
C. Western Digital
D. Hitachi
A. IBM
4. What is the primary function of a DNS (Domain Name System)?
A. Encrypt internet data
B. Translate domain names to IP addresses
C. Host websites
D. Monitor network traffic
B. Translate domain names to IP addresses
4. Which of the following will create a shallow copy of a list?
A. copy.deepcopy(list)
B. list.clone()
C. list.copy()
D. copy.copy(list)
C. list.copy()
In what country was the first computer virus created?
A. Germany
B. USA
C. Pakistan
D. Russia
C. Pakistan
What is not the capital of South Africa?
A. Johannesburg
B. Cape Town
C. Bloemfontein
D. Pretoria
A. Johannesburg
What early computer bug was literally a moth?
A. Harvard Mark I
B. ENIAC
C. Manchester Baby
D. Colossus
A. Harvard Mark I
Fun Fact: In 1947, engineers found a moth causing a relay malfunction—the origin of the term “computer bug.”
In computing, what does the acronym “ACID” stand for in databases?
A. Atomicity, Consistency, Isolation, Durability
B. Accuracy, Control, Integrity, Data
C. Authentication, Compression, Isolation, Delivery
D. Access, Consistency, Identification, Distribution
A. Atomicity, Consistency, Isolation, Durability
5. What is the result of this function call?
pythonCopyEdit
A. [1] and [2]
B. [1] and [1, 2]
C. [1, 2] and [1, 2]
D. Raises an error
B. [1] and [1, 2]