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.
Q141. Which SQL clause filters rows?
GROUP BY
WHERE
ORDER BY
HAVING
Show answer and explanation
Correct answer: B. WHERE
WHERE filters rows.
Q142. What does AI stand for?
Automated Internet
Advanced Interface
Artificial Intelligence
Applied Information
Show answer and explanation
Correct answer: C. Artificial Intelligence
AI simulates human intelligence.
Q143. Which data type stores true or false values?
Boolean
Integer
String
Float
Show answer and explanation
Correct answer: A. Boolean
Boolean holds True/False.
Q144. What is a CLI?
Central Line Interface
Computer Line Interface
Command Logic Interface
Command Line Interface
Show answer and explanation
Correct answer: D. Command Line Interface
A CLI uses typed commands.
Q145. Which of the following is a mobile operating system?
Linux Mint
Android
Windows Server
Unix
Show answer and explanation
Correct answer: B. Android
Android runs on smartphones.
Q146. Which statement is used to exit a loop immediately?
break
continue
stop
exit
Show answer and explanation
Correct answer: A. break
break leaves the loop.
Q147. Which command shows your current directory in Linux?
pwd
cwd
ls
cd
Show answer and explanation
Correct answer: A. pwd
pwd prints the working directory.
Q148. Which data structure is used for BFS (breadth-first search)?
Heap
Array
Queue
Stack
Show answer and explanation
Correct answer: C. Queue
BFS uses a queue.
Q149. Binary search works only on what kind of data?
Text only
Sorted data
Numbers only
Unsorted data
Show answer and explanation
Correct answer: B. Sorted data
Binary search requires sorted input.
Q150. What is an array?
A function
A loop
A single variable
A collection of elements of the same type
Show answer and explanation
Correct answer: D. A collection of elements of the same type