Computer Science MCQs “(Most Important Questions)”, Exercises of Computer science

This document contains a carefully selected set of high-yield Computer Science multiple-choice questions designed specifically for exam preparation. It covers core subjects including Data Structures, Algorithms, Operating Systems, Database Systems, Object-Oriented Programming, Computer Networks, and Software Engineering. Each MCQ is structured to test conceptual understanding as well as practical knowledge commonly required in university exams, entry tests, and technical assessments. The questions are concise, relevant, and aligned with frequently tested topics, making this resource ideal for quick revision and self-assessment.

Typology: Exercises

2018/2019

Uploaded on 12/24/2025

hamid-maraj
hamid-maraj 🇵🇰

8 documents

1 / 1

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Important Computer Science MCQs (Exam Oriented)
1. Which data structure follows LIFO principle?
A) Queue B) Stack C) Array D) Tree
Answer: Stack
2. Time complexity of binary search is:
A) O(n) B) O(log n) C) O(n log n) D) O(1)
Answer: O(log n)
3. Which is not an operating system?
A) Linux B) Windows C) Oracle D) macOS
Answer: Oracle
4. Which SQL command removes all records but keeps structure?
A) DELETE B) DROP C) TRUNCATE D) REMOVE
Answer: TRUNCATE
5. Which OOP concept binds data and methods together?
A) Inheritance B) Polymorphism C) Abstraction D) Encapsulation
Answer: Encapsulation
6. Which protocol is used for sending emails?
A) FTP B) SMTP C) HTTP D) POP3
Answer: SMTP
7. Which of the following is volatile memory?
A) ROM B) SSD C) Hard Disk D) RAM
Answer: RAM
8. Which language is used for web page structure?
A) Python B) Java C) HTML D) C++
Answer: HTML
9. Which software model is linear and sequential?
A) Agile B) Spiral C) Waterfall D) RAD
Answer: Waterfall
10. Which device connects different networks?
A) Switch B) Hub C) Router D) Repeater
Answer: Router
11. Which sorting algorithm is fastest on average?
A) Bubble B) Insertion C) Quick Sort D) Selection
Answer: Quick Sort
12. What does CPU stand for?
A) Central Processing Unit B) Control Processing Unit C) Central Program Unit D) Core Processing
Unit
Answer: Central Processing Unit
13. Which topology uses a central device?
A) Ring B) Bus C) Star D) Mesh
Answer: Star
14. Which key uniquely identifies a record in DB?
A) Foreign Key B) Primary Key C) Candidate Key D) Alternate Key
Answer: Primary Key
15. Which layer of OSI handles encryption?
A) Network B) Transport C) Session D) Presentation
Answer: Presentation

Partial preview of the text

Download Computer Science MCQs “(Most Important Questions)” and more Exercises Computer science in PDF only on Docsity!

Important Computer Science MCQs (Exam Oriented)

  1. Which data structure follows LIFO principle? A) Queue B) Stack C) Array D) Tree Answer: Stack
  2. Time complexity of binary search is: A) O(n) B) O(log n) C) O(n log n) D) O(1) Answer: O(log n)
  3. Which is not an operating system? A) Linux B) Windows C) Oracle D) macOS Answer: Oracle
  4. Which SQL command removes all records but keeps structure? A) DELETE B) DROP C) TRUNCATE D) REMOVE Answer: TRUNCATE
  5. Which OOP concept binds data and methods together? A) Inheritance B) Polymorphism C) Abstraction D) Encapsulation Answer: Encapsulation
  6. Which protocol is used for sending emails? A) FTP B) SMTP C) HTTP D) POP Answer: SMTP
  7. Which of the following is volatile memory? A) ROM B) SSD C) Hard Disk D) RAM Answer: RAM
  8. Which language is used for web page structure? A) Python B) Java C) HTML D) C++ Answer: HTML
  9. Which software model is linear and sequential? A) Agile B) Spiral C) Waterfall D) RAD Answer: Waterfall
  10. Which device connects different networks? A) Switch B) Hub C) Router D) Repeater Answer: Router
  11. Which sorting algorithm is fastest on average? A) Bubble B) Insertion C) Quick Sort D) Selection Answer: Quick Sort
  12. What does CPU stand for? A) Central Processing Unit B) Control Processing Unit C) Central Program Unit D) Core Processing Unit Answer: Central Processing Unit
  13. Which topology uses a central device? A) Ring B) Bus C) Star D) Mesh Answer: Star
  14. Which key uniquely identifies a record in DB? A) Foreign Key B) Primary Key C) Candidate Key D) Alternate Key Answer: Primary Key
  15. Which layer of OSI handles encryption? A) Network B) Transport C) Session D) Presentation Answer: Presentation