179 practice MCQs on Computer Science for IT Jobs tests. Think of your answer first, then open "Show answer and explanation". These are practice questions, not official examination papers.
Q121. Which is the brain of the computer?
Keyboard
Mouse
Monitor
CPU
Show answer and explanation
Correct answer: D. CPU
The CPU processes instructions.
Q122. Which SQL command modifies existing rows?
UPDATE
SELECT
CREATE
DROP
Show answer and explanation
Correct answer: A. UPDATE
UPDATE changes data.
Q123. Which keyword is used to define a function in Python?
define
def
function
func
Show answer and explanation
Correct answer: B. def
def begins a function definition.
Q124. What is phishing?
A programming technique
A search algorithm
Fraudulent attempt to steal sensitive information
A type of fishing software
Show answer and explanation
Correct answer: C. Fraudulent attempt to steal sensitive information
Phishing tricks users into revealing credentials.
Q125. Who developed Java?
Guido van Rossum
Dennis Ritchie
Bjarne Stroustrup
James Gosling
Show answer and explanation
Correct answer: D. James Gosling
Gosling created Java at Sun Microsystems.
Q126. What is a pointer in C?
A loop
A function
A comment
A variable that stores a memory address
Show answer and explanation
Correct answer: D. A variable that stores a memory address
Pointers hold addresses.
Q127. What is a computer virus?
A search engine
A web browser
A hardware part
A program that spreads by attaching to other files
Show answer and explanation
Correct answer: D. A program that spreads by attaching to other files
Viruses replicate and spread.
Q128. Which of the following is a NoSQL database?
MongoDB
Oracle
PostgreSQL
MySQL
Show answer and explanation
Correct answer: A. MongoDB
MongoDB is a document NoSQL database.
Q129. What is the output of 5 + 3 * 2 in most programming languages?
13
10
16
11
Show answer and explanation
Correct answer: D. 11
Multiplication has higher precedence.
Q130. Which device connects multiple networks and forwards packets?