Computer Science Solved MCQs Basic to Advanced

Computer Science MCQs

Computer Science MCQs (Basic to Advanced)

  1. Which component performs calculations in a computer?
    • Monitor
    • ALU
    • Keyboard
    • Mouse
  2. Which memory is non-volatile?
    • RAM
    • Cache
    • ROM
    • Register
  3. Which is an example of system software?
    • MS Word
    • Excel
    • Linux
    • Chrome
  4. Binary number system is based on?
    • 8 digits
    • 10 digits
    • 2 digits
    • 16 digits
  5. Which device is used for pointing?
    • Scanner
    • Mouse
    • Printer
    • Speaker
  6. Which scheduling algorithm uses time slices?
    • FCFS
    • SJF
    • Round Robin
    • Priority
  7. Which topology uses a single backbone cable?
    • Star
    • Ring
    • Bus
    • Mesh
  8. In C language, which symbol ends a statement?
    • :
    • ,
    • ;
    • .
  9. Which HTML tag is used for inserting images?
    • <picture>
    • <img>
    • <src>
    • <image>
  10. Which data structure follows FIFO?
    • Stack
    • Queue
    • Array
    • Tree
  11. Which SQL command retrieves data?
    • INSERT
    • UPDATE
    • SELECT
    • DELETE
  12. Which protocol is secure version of HTTP?
    • FTP
    • HTTPS
    • SMTP
    • TCP
  13. Which loop executes at least once?
    • for
    • while
    • do-while
    • foreach
  14. Which CSS property changes text color?
    • font-style
    • color
    • background
    • text-align
  15. Which layer of OSI handles encryption?
    • Transport
    • Network
    • Presentation
    • Physical
  16. Which search algorithm works on sorted data?
    • Linear Search
    • Binary Search
    • Depth First
    • Breadth First
  17. Which keyword is used for inheritance in C++?
    • extends
    • :
    • inherit
    • super
  18. Which attack sends excessive traffic to crash a server?
    • Phishing
    • DDoS
    • Sniffing
    • Hacking
  19. Which Python keyword defines a function?
    • function
    • def
    • func
    • define
  20. Which data structure uses LIFO?
    • Queue
    • Stack
    • Array
    • Graph
  21. Which database model uses tables?
    • Hierarchical
    • Network
    • Relational
    • Object
  22. Which operator is used for logical AND in C?
    • &
    • &&
    • ||
    • !
  23. Which file system is used by Windows?
    • EXT4
    • NTFS
    • FATX
    • HFS
  24. Which AI technique mimics human brain?
    • Genetic Algorithm
    • Neural Network
    • Sorting
    • Searching
  25. Which normal form removes partial dependency?
    • 1NF
    • 2NF
    • 3NF
    • BCNF

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top