80 MCQ OF COMPUTER

Top 80 Best Computer Science MCQs: Master Fundamentals, Hardware, Software, Programming, and Networks for 2025 Exams!

Cracking competitive exams like SSC, IBPS, GATE, or tech interviews? In a world where AI and cloud computing dominate, acing computer science basics is your edge. We’ve curated the top 80 MCQs from reliable sources like Sanfoundry, GeeksforGeeks, and Examveda – covering fundamentals, hardware/software, programming (C, Python, Java), and networks. These are handpicked for relevance in 2025, with detailed explanations to build your confidence. Test yourself, track your score, and level up! (Answers at the end for self-check.)

Section 1: Computer Fundamentals (20 MCQs)

These test core concepts – perfect for quick revisions.

  1. Who is considered the father of the computer?
    a) Charles Babbage
    b) Alan Turing
    c) Bill Gates
    d) Dennis Ritchie
  2. What does RAM stand for?
    a) Read Access Memory
    b) Random Access Memory
    c) Readily Available Memory
    d) Random Available Memory
  3. Which generation of computers used vacuum tubes?
    a) First
    b) Second
    c) Third
    d) Fourth
  4. The binary system uses base:
    a) 2
    b) 8
    c) 10
    d) 16
  5. What is the full form of CPU?
    a) Central Processing Unit
    b) Computer Personal Unit
    c) Central Program Unit
    d) Computer Processing Unit
  6. Which is not an input device?
    a) Keyboard
    b) Mouse
    c) Monitor
    d) Scanner
  7. The smallest unit of data in a computer is:
    a) Byte
    b) Bit
    c) Kilobyte
    d) Megabyte
  8. What does URL stand for?
    a) Uniform Resource Locator
    b) Universal Resource Link
    c) Uniform Resource Link
    d) Universal Resource Locator
  9. Which is a volatile memory?
    a) ROM
    b) RAM
    c) Hard Disk
    d) Flash Drive
  10. The first electronic computer was:
    a) ENIAC
    b) UNIVAC
    c) EDSAC
    d) ABC
  11. What is an operating system?
    a) Application software
    b) System software
    c) Hardware
    d) Utility
  12. Which is not a programming language?
    a) C++
    b) Java
    c) Photoshop
    d) Python
  13. Binary code for decimal 10 is:
    a) 1010
    b) 1100
    c) 1001
    d) 1110
  14. What is the brain of the computer?
    a) RAM
    b) CPU
    c) ROM
    d) Hard Disk
  15. Which device connects computers in a network?
    a) Modem
    b) Router
    c) Printer
    d) Scanner
  16. What does WWW stand for?
    a) World Wide Web
    b) World Web Wide
    c) Wide World Web
    d) Web Wide World
  17. The number of bits in a byte is:
    a) 4
    b) 8
    c) 16
    d) 32
  18. Which is system software?
    a) MS Word
    b) Windows OS
    c) Photoshop
    d) Excel
  19. What is a firewall?
    a) Hardware only
    b) Software for security
    c) Input device
    d) Storage
  20. The fourth generation computers used:
    a) Vacuum tubes
    b) Transistors
    c) Integrated circuits
    d) Microprocessors

Section 2: Computer Hardware and Software (20 MCQs)

Focus on components and types – key for tech roles.

  1. Which is not hardware?
    a) Monitor
    b) Keyboard
    c) MS Excel
    d) Hard Disk
  2. BIOS stands for:
    a) Basic Input Output System
    b) Binary Input Output System
    c) Basic Internet OS
    d) Binary Internet OS
  3. What powers the CMOS?
    a) Main battery
    b) CMOS battery
    c) Power supply
    d) CPU
  4. SSD stands for:
    a) Solid State Drive
    b) Super Speed Drive
    c) Solid Storage Device
    d) Super Storage Drive
  5. Which is faster, HDD or SSD?
    a) HDD
    b) SSD
    c) Both same
    d) Depends on size
  6. Firmware is stored in:
    a) RAM
    b) ROM
    c) Hard Disk
    d) Cache
  7. What is a device driver?
    a) Hardware
    b) Software for hardware interface
    c) OS
    d) Application
  8. Cache memory is:
    a) Volatile
    b) Non-volatile
    c) Both
    d) None
  9. Which connects monitor to PC?
    a) USB
    b) HDMI
    c) Ethernet
    d) Serial
  10. System software includes:
    a) MS Word
    b) Compilers
    c) Games
    d) Browsers
  11. Application software example:
    a) Windows
    b) Linux
    c) Photoshop
    d) BIOS
  12. What is defragmentation?
    a) Speed up hard disk
    b) Organize files
    c) Both a and b
    d) None
  13. NIC stands for:
    a) Network Interface Card
    b) New Internet Card
    c) Network Input Card
    d) None
  14. ROM is:
    a) Read Only Memory
    b) Random Only Memory
    c) Read Output Memory
    d) Random Output Memory
  15. Utility software example:
    a) Antivirus
    b) OS
    c) Compiler
    d) Editor
  16. Motherboard connects:
    a) All components
    b) Only CPU
    c) Only RAM
    d) None
  17. What is POST?
    a) Power-On Self Test
    b) Program Output System Test
    c) Power Off Self Test
    d) None
  18. GPU stands for:
    a) Graphics Processing Unit
    b) General Processing Unit
    c) Graphics Personal Unit
    d) None
  19. Middleware is:
    a) System software
    b) Application software
    c) Both
    d) None
  20. Which is peripheral?
    a) CPU
    b) Printer
    c) RAM
    d) Motherboard

Section 3: Programming Languages (C, Python, Java) (20 MCQs)

Test your coding basics across popular languages.

  1. Father of C language?
    a) Dennis Ritchie
    b) James Gosling
    c) Guido van Rossum
    d) Bjarne Stroustrup
  2. In C, printf is for:
    a) Input
    b) Output
    c) Both
    d) None
  3. Python is:
    a) Interpreted
    b) Compiled
    c) Both
    d) None
  4. Java’s motto:
    a) Write once, run anywhere
    b) Compile once, run everywhere
    c) Both
    d) None
  5. In C, loop is:
    a) for
    b) while
    c) do-while
    d) All
  6. Python list is:
    a) Mutable
    b) Immutable
    c) Both
    d) None
  7. Java is:
    a) Object-oriented
    b) Procedural
    c) Both
    d) None
  8. C pointer stores:
    a) Address
    b) Value
    c) Both
    d) None
  9. Python for AI?
    a) Yes
    b) No
    c) Partial
    d) None
  10. Java for Android?
    a) Primary
    b) Secondary
    c) Not used
    d) None
  11. In C, array index starts at:
    a) 0
    b) 1
    c) -1
    d) None
  12. Python tuple is:
    a) Mutable
    b) Immutable
    c) Both
    d) None
  13. Java exception handling:
    a) try-catch
    b) if-else
    c) Both
    d) None
  14. C function return type:
    a) int
    b) void
    c) Both
    d) None
  15. Python indentation for:
    a) Blocks
    b) Comments
    c) Variables
    d) None
  16. Java interface has:
    a) Methods
    b) Variables
    c) Both
    d) None
  17. C header for input:
    a) stdio.h
    b) stdlib.h
    c) string.h
    d) math.h
  18. Python dict key:
    a) Mutable
    b) Immutable
    c) Both
    d) None
  19. Java garbage collection:
    a) Automatic
    b) Manual
    c) Both
    d) None
  20. C preprocessor directive:
    a) #include
    b) for
    c) if
    d) None

Section 4: Computer Networks and Internet (20 MCQs)

Essential for cybersecurity and IT jobs.

  1. OSI model layers:
    a) 7
    b) 5
    c) 4
    d) 6
  2. TCP/IP model layers:
    a) 4
    b) 5
    c) 7
    d) 3
  3. HTTP port:
    a) 80
    b) 443
    c) 21
    d) 25
  4. IP address version 4 bits:
    a) 32
    b) 128
    c) 64
    d) 16
  5. Router operates at:
    a) Layer 3
    b) Layer 2
    c) Layer 1
    d) Layer 4
  6. Firewall is for:
    a) Security
    b) Speed
    c) Storage
    d) None
  7. DNS resolves:
    a) Domain to IP
    b) IP to Domain
    c) Both
    d) None
  8. LAN stands for:
    a) Local Area Network
    b) Large Area Network
    c) Long Area Network
    d) None
  9. SMTP for:
    a) Email sending
    b) Web browsing
    c) File transfer
    d) None
  10. VPN provides:
    a) Secure tunnel
    b) Speed boost
    c) Both
    d) None
  11. MAC address layer:
    a) Data Link
    b) Network
    c) Transport
    d) Application
  12. WWW inventor:
    a) Tim Berners-Lee
    b) Vint Cerf
    c) Alan Turing
    d) None
  13. IPv6 bits:
    a) 128
    b) 32
    c) 64
    d) 16
  14. Switch operates at:
    a) Layer 2
    b) Layer 3
    c) Layer 1
    d) Layer 4
  15. URL protocol for secure:
    a) HTTPS
    b) HTTP
    c) FTP
    d) SMTP
  16. Bandwidth measures:
    a) Data transfer rate
    b) Delay
    c) Both
    d) None
  17. ICMP for:
    a) Ping
    b) Email
    c) Web
    d) None
  18. WiFi standard:
    a) 802.11
    b) 802.3
    c) 802.15
    d) None
  19. Hub is:
    a) Layer 1 device
    b) Layer 2
    c) Layer 3
    d) Layer 4
  20. Internet backbone:
    a) Fiber optics
    b) Copper
    c) Wireless
    d) None

Answers with Explanations

Score yourself: 80-70 = Expert | 69-50 = Solid | Below 50 = Review Basics!

  1. a) Charles Babbage – Designed the Analytical Engine.
  2. b) Random Access Memory – Temporary storage.
  3. a) First – 1940s era.
  4. a) 2 – Powers of 2.
  5. a) Central Processing Unit – Executes instructions.
  6. c) Monitor – Output device.
  7. b) Bit – 0 or 1.
  8. a) Uniform Resource Locator – Web address.
  9. b) RAM – Loses data on power off.
  10. a) ENIAC – 1945.
  11. b) System software – Manages hardware.
  12. c) Photoshop – Image editor, not language.
  13. a) 1010 – Binary equivalent.
  14. b) CPU – Processes data.
  15. b) Router – Connects networks.
  16. a) World Wide Web – Berners-Lee’s creation.
  17. b) 8 – Standard byte.
  18. b) Windows OS – Controls system.
  19. b) Software for security – Blocks threats.
  20. d) Microprocessors – 1970s onward.
  21. c) MS Excel – Software.
  22. a) Basic Input Output System – Firmware.
  23. b) CMOS battery – Keeps settings.
  24. a) Solid State Drive – No moving parts.
  25. b) SSD – Faster access.
  26. b) ROM – Permanent firmware.
  27. b) Software for hardware interface – Controls devices.
  28. a) Volatile – Temporary.
  29. b) HDMI – Video/audio.
  30. b) Compilers – Translates code.
  31. c) Photoshop – User apps.
  32. c) Both – Optimizes disk.
  33. a) Network Interface Card – Connectivity.
  34. a) Read Only Memory – Non-volatile.
  35. a) Antivirus – Maintenance.
  36. a) All components – Central board.
  37. a) Power-On Self Test – Hardware check.
  38. a) Graphics Processing Unit – Renders images.
  39. a) System software – Bridges apps/hardware.
  40. b) Printer – External device.
  41. a) Dennis Ritchie – 1972 at Bell Labs.
  42. b) Output – Prints to console.
  43. a) Interpreted – Line by line.
  44. a) Write once, run anywhere – JVM magic.
  45. d) All – Control flow.
  46. a) Mutable – Can change elements.
  47. a) Object-oriented – Classes/objects.
  48. a) Address – Points to memory.
  49. a) Yes – Libraries like TensorFlow.
  50. a) Primary – Though Kotlin rising.
  51. a) 0 – Zero-based indexing.
  52. b) Immutable – Fixed after creation.
  53. a) try-catch – Handles errors.
  54. c) Both – Depends on function.
  55. a) Blocks – Defines scope.
  56. a) Methods – Abstract.
  57. a) stdio.h – Standard input/output.
  58. b) Immutable – Keys can’t change.
  59. a) Automatic – JVM handles.
  60. a) #include – Imports libraries.
  61. a) 7 – Physical to application.
  62. a) 4 – Link, Internet, Transport, Application.
  63. a) 80 – Web.
  64. a) 32 – Dotted decimal.
  65. a) Layer 3 – Routing.
  66. a) Security – Filters traffic.
  67. a) Domain to IP – Name resolution.
  68. a) Local Area Network – Small area.
  69. a) Email sending – Mail transfer.
  70. a) Secure tunnel – Encrypted connection.
  71. a) Data Link – Physical addressing.
  72. a) Tim Berners-Lee – 1989.
  73. a) 128 – Hexadecimal.
  74. a) Layer 2 – Switching.
  75. a) HTTPS – Encrypted HTTP.
  76. a) Data transfer rate – Capacity.
  77. a) Ping – Error reporting.
  78. a) 802.11 – Wireless LAN.
  79. a) Layer 1 – Broadcasts.
  80. a) Fiber optics – High-speed core.

Sources & Prep Tips: Drawn from Sanfoundry , GeeksforGeeks , Examveda , Scientech Easy , and more. 0 3 4 6 For full practice, check Sanfoundry’s 1000+ MCQs or GeeksforGeeks Quiz Corner. Share your score below – let’s geek out! πŸš€