Computer knowledge is tested in jobs ranging from clerical posts to IT positions. Practice MCQs on computer fundamentals, hardware, software, MS Office, networking, internet, databases and programming concepts, and see your score as soon as you finish.
Q41. What is the extension of a Python file?
.cpp
.java
.py
.js
Show answer and explanation
Correct answer: C. .py
Python files end with .py.
Q42. What is the extension of a Word document?
.txt
.docx
.pptx
.xlsx
Show answer and explanation
Correct answer: B. .docx
Word documents use .docx.
Q43. Which language adds interactivity to web pages?
C
HTML
JavaScript
SQL
Show answer and explanation
Correct answer: C. JavaScript
JavaScript runs in browsers.
Q44. Who is the first programmer in the world?
Ada Lovelace
Grace Hopper
Alan Turing
Margaret Hamilton
Show answer and explanation
Correct answer: A. Ada Lovelace
Ada Lovelace wrote the first algorithm for Babbage's engine.
Q45. Which SQL statement changes a table's structure?
ALTER TABLE
MODIFY ROW
CHANGE DATA
UPDATE TABLE
Show answer and explanation
Correct answer: A. ALTER TABLE
ALTER TABLE changes structure.
Q46. Which OS is developed by Apple for iPhones?
Symbian
Windows Phone
Android
iOS
Show answer and explanation
Correct answer: D. iOS
iOS runs on iPhones.
Q47. Which of the following is an audio file extension?
.exe
.docx
.jpg
.mp3
Show answer and explanation
Correct answer: D. .mp3
.mp3 is an audio format.
Q48. Which data structure uses LIFO?
Queue
Tree
Stack
Array
Show answer and explanation
Correct answer: C. Stack
Last in, first out.
Q49. How many bytes are in a kilobyte (binary)?
512
2048
1000
1024
Show answer and explanation
Correct answer: D. 1024
1 KB = 1024 bytes.
Q50. Which key removes the character to the left of the cursor?