Programming & Logic
1. Choose the correct statement:
a) Use of goto enhances the logical clarity of a code
b) Use of goto makes the debugging task easier
c) Use goto when you want to jump out of a nested loop ✅
d) Never use goto statement
2. Choose the correct statements:
a) Casting refer to implicit type conversion
b) Coercion refer to implicit type conversion
c) Casting refer to explicit type conversion
d) b and c ✅
3. If integer needs two bytes of storage, then maximum value of unsigned integer is:
a) 216 – 1 ✅ b) 215 – 1 c) 216 d) 215
4. If y is an integer type then the expression 3+(y-8)/9 and (y-8)/9*3:
a) Must yield the same value
b) May or may not yield the same value
c) May yield different value ✅
d) None of the above
5. C is a:
a) High level language
b) Low level language
c) High level language with some Low level features ✅
d) Low level language with some High level features
6. Let a and b be two non-negative integers. Which of the following calls finds the positive difference of a and b?
a) Find(a,b) + find(b,a)
b) a + find(a,b)
c) find(a, find(a,b)) ✅
d) b + find(a,b)
7. Consider the function: find(int x, int y) { return ((x<y) ? 0 : (x-y)); } — The call find(a, find(a,b)) can be used to find the:
a) maximum of a,b
b) sum of a,b
c) positive difference of a,b
d) minimum of a,b ✅
Computer Fundamentals & Hardware
8. The brain of the computer is called:
a) RAM b) CPU (Central Processing Unit) ✅ c) Hard Disk d) Monitor
9. CPU stands for:
a) Computer Personal Unit b) Central Process Unit c) Central Processing Unit ✅ d) Central Processor Unifier
10. Which of the following is NOT an input device?
a) Keyboard b) Mouse c) Printer ✅ d) Scanner
11. RAM stands for:
a) Read Access Memory b) Random Access Memory ✅ c) Random Available Memory d) Read Available Memory
12. Which memory is volatile (data lost when power is off)?
a) RAM ✅ b) ROM c) Hard Disk d) CD-ROM
13. ROM stands for:
a) Random Only Memory b) Read Only Memory ✅ c) Read On Memory d) Run Only Memory
14. The smallest unit of data in a computer is:
a) Byte b) Bit ✅ c) Kilobyte d) Nibble
15. 1 Byte is equal to:
a) 4 bits b) 8 bits ✅ c) 16 bits d) 32 bits
16. 1 Kilobyte (KB) is equal to:
a) 1000 bytes b) 1024 bytes ✅ c) 512 bytes d) 2048 bytes
17. Which component connects all parts of the computer together?
a) CPU b) RAM c) Motherboard ✅ d) Power Supply
18. ALU stands for:
a) Allowed Logic Unit b) Arithmetic Logic Unit ✅ c) Arithmetic Local Unit d) Allowed Local Unit
19. Which of the following is secondary storage?
a) RAM b) Cache c) Hard Disk Drive ✅ d) Registers
20. SSD stands for:
a) System Storage Device b) Super Speed Disk c) Solid State Drive ✅ d) Solid System Drive
21. Which is faster — SSD or HDD?
a) HDD b) SSD ✅ c) Both same d) Depends on brand
22. First generation computers used:
a) Vacuum Tubes ✅ b) Transistors c) Integrated Circuits d) Microprocessors
23. Second generation computers used:
a) Vacuum Tubes b) Transistors ✅ c) ICs d) Microprocessors
24. Microprocessor was introduced in which generation?
a) 2nd b) 3rd c) 4th Generation ✅ d) 5th
Software & Operating System
25. An operating system is a type of:
a) Application software b) System software ✅ c) Utility software d) Firmware
26. Which of the following is NOT an operating system?
a) Windows b) Linux c) Microsoft Office ✅ d) macOS
27. MS Word is an example of:
a) System software b) Application software ✅ c) Operating system d) Programming language
28. Which software translates high-level language into machine code all at once?
a) Interpreter b) Compiler ✅ c) Assembler d) Linker
29. Which software translates code line by line?
a) Interpreter ✅ b) Compiler c) Assembler d) Debugger
30. BIOS stands for:
a) Binary Input Output System b) Basic Input Output System ✅ c) Basic Internet Operating System d) Binary Internal Operating System
31. Linux is an example of:
a) Closed-source OS b) Open-source OS ✅ c) Application software d) Firmware
32. Which shortcut key is used to copy text?
a) Ctrl + V b) Ctrl + X c) Ctrl + C ✅ d) Ctrl + Z
33. Ctrl + Z is used for:
a) Copy b) Paste c) Cut d) Undo ✅
34. The extension of Microsoft Word document is:
a) .xls b) .docx ✅ c) .pptx d) .pdf
35. The extension of Microsoft Excel file is:
a) .docx b) .xlsx ✅ c) .pptx d) .accdb
36. Microsoft PowerPoint is used for:
a) Word processing b) Spreadsheets c) Creating presentations ✅ d) Database management
37. Which function in Excel adds a range of cells?
a) ADD() b) SUM() ✅ c) TOTAL() d) COUNT()
Networking & Internet
38. LAN stands for:
a) Large Area Network b) Local Area Network ✅ c) Long Area Network d) Logical Area Network
39. WAN stands for:
a) Wireless Area Network b) Wired Area Network c) Wide Area Network ✅ d) Web Area Network
40. The Internet is an example of:
a) LAN b) MAN c) WAN ✅ d) PAN
41. IP stands for:
a) Internal Protocol b) Internet Protocol ✅ c) Intranet Protocol d) Internet Process
42. HTTP stands for:
a) HyperText Transfer Protocol ✅ b) High Text Transfer Protocol c) HyperText Transmission Protocol d) High Transfer Text Protocol
43. Which protocol is used to send emails?
a) FTP b) HTTP c) SMTP ✅ d) TCP
44. DNS converts:
a) IP to MAC b) Domain name to IP address ✅ c) IP to domain name d) MAC to IP
45. Which device routes data between different networks?
a) Hub b) Switch c) Router ✅ d) Repeater
46. How many layers in the OSI model?
a) 4 b) 5 c) 6 d) 7 ✅
47. WWW stands for:
a) Wide World Web b) Web World Wide c) World Wide Web ✅ d) World Web Wide
Security & General Knowledge
48. Software designed to damage a computer is called:
a) Hardware b) Firmware c) Malware ✅ d) Shareware
49. Which is NOT a type of malware?
a) Virus b) Trojan c) Worm d) Firewall ✅
50. A firewall is used to:
a) Speed up internet b) Protect network from unauthorized access ✅ c) Store backup d) Increase RAM
51. Binary equivalent of decimal 10 is:
a) 1100 b) 1010 ✅ c) 1001 d) 1110
52. 1 GB is equal to:
a) 1000 MB b) 1024 MB ✅ c) 512 MB d) 2048 MB
53. The fastest memory in a computer is:
a) RAM b) Hard Disk c) Cache Memory ✅ d) ROM
54. USB stands for:
a) United Serial Bus b) Universal Serial Bus ✅ c) Universal System Bus d) Unified Serial Bus
55. Which shortcut key is used to print a document?
a) Ctrl + S b) Ctrl + P ✅ c) Ctrl + D d) Ctrl + F
56. Which is both an input AND output device?
a) Keyboard b) Printer c) Touchscreen ✅ d) Scanner
57. Ctrl + S is used for:
a) Select all b) Save ✅ c) Search d) Shutdown
📚 Practice More Topic-Wise Computer MCQs
Dedicated MCQ posts for each topic — perfect for NTS, PPSC, FPSC, CSS exam preparation:
🖥️ Operating System MCQs — Process Management, Memory, Deadlocks
🔧 Computer Hardware MCQs — CPU, RAM, Storage, Generations
💿 Computer Software MCQs — OS, Applications, MS Office
🐍 Python MCQs — Programming Basics for Exams
🗄️ SQL MCQs — Database Queries for Interviews
🔐 CompTIA Security+ MCQs — Cybersecurity Fundamentals

Frequently Asked Questions
This collection contains 650+ fully solved computer science MCQs covering all major topics: computer fundamentals, hardware, software, networking, internet, MS Office, security, programming, and number systems. We regularly add new MCQs to keep this resource updated for 2026 exams.
These computer MCQs are perfect for NTS (National Testing Service), PPSC (Punjab Public Service Commission), FPSC (Federal Public Service Commission), CSS (Central Superior Services), OTS, UPSC, GATE, UGC NET, bank exams, SSC, and all government job tests that include a computer knowledge section.
Yes — all MCQs on mcqstop.com are completely free with correct answers highlighted in bold green. You can bookmark this page or save it as a PDF from your browser (File → Print → Save as PDF). No registration or payment required.
Yes — every MCQ includes the correct answer highlighted in bold green text with a ✅ mark. We recommend attempting each question first, then checking the bold green answer to test yourself.
The most tested topics in NTS and PPSC computer sections are: computer generations (1st-5th), input/output devices, RAM vs ROM, storage units (Bit, Byte, KB, MB, GB, TB), MS Office shortcuts (Ctrl+C, Ctrl+V, Ctrl+Z, Ctrl+P), internet basics (HTTP, WWW, DNS, email), file extensions (.docx, .xlsx, .pptx, .pdf), and basic networking (LAN, WAN, IP address). Focus on these topics first for maximum marks.

Leave a Comment