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.
Q81. Which command is used to copy files in Linux?
mv
cpy
cp
copy
Show answer and explanation
Correct answer: C. cp
cp copies files.
Q82. Which statement skips the current iteration of a loop?
continue
skip
pass
break
Show answer and explanation
Correct answer: A. continue
continue goes to the next iteration.
Q83. What is inheritance in OOP?
Hiding data
Overloading operators
A class acquiring properties of another class
Creating objects
Show answer and explanation
Correct answer: C. A class acquiring properties of another class
Inheritance enables code reuse.
Q84. What is a view in SQL?
An index
A backup
A physical table
A virtual table based on a query
Show answer and explanation
Correct answer: D. A virtual table based on a query
A view stores a query, not data.
Q85. What is malware?
A browser extension
Hardware repair tool
An email service
Malicious software
Show answer and explanation
Correct answer: D. Malicious software
Malware harms systems.
Q86. What is two-factor authentication?
Logging in twice
Using two passwords
Using two computers
Using two different verification methods
Show answer and explanation
Correct answer: D. Using two different verification methods
2FA adds a second proof of identity.
Q87. What is a GUI?
Graphic Unit Interface
General User Interface
Global User Interface
Graphical User Interface
Show answer and explanation
Correct answer: D. Graphical User Interface
A GUI uses windows and icons.
Q88. Which SQL command removes a table completely?
TRUNCATE ROW
DROP TABLE
REMOVE TABLE
DELETE
Show answer and explanation
Correct answer: B. DROP TABLE
DROP TABLE deletes the table structure.
Q89. What is the function of a printer driver?
Allows the OS to communicate with the printer
Stores print jobs only
Prints pages
Cleans the printer
Show answer and explanation
Correct answer: A. Allows the OS to communicate with the printer