Friday, June 7, 2024

computer science mcqs

multiple-choice questions (MCQs) related to computer science along with their answers:


1. What does CPU stand for?

   a) Computer Processing Unit

   b) Central Processing Unit

   c) Computer Programming Unit

   d) Central Programming Unit

   Answer: b) Central Processing Unit


2. Which of the following is not a programming language?

   a) Java

   b) HTML

   c) CSS

   d) SQL

   Answer: c) CSS


3. What does HTML stand for?

   a) Hyper Text Markup Language

   b) High-level Text Management Language

   c) Hyperlink and Text Markup Language

   d) Hyperlinking and Text Management Language

   Answer: a) Hyper Text Markup Language


4. What is the binary equivalent of the decimal number 10?

   a) 1010

   b) 1100

   c) 1111

   d) 1000

   Answer: a) 1010


5. Which data structure uses First In, First Out (FIFO) principle?

   a) Stack

   b) Queue

   c) Linked List

   d) Tree

   Answer: b) Queue


6. What is the full form of SQL?

   a) Structured Query Language

   b) Sequential Query Language

   c) Standard Query Language

   d) System Query Language

   Answer: a) Structured Query Language


7. Which sorting algorithm has the worst time complexity?

   a) Quick Sort

   b) Merge Sort

   c) Bubble Sort

   d) Insertion Sort

   Answer: c) Bubble Sort


8. What does LAN stand for?

   a) Local Access Network

   b) Large Area Network

   c) Longitudinal Area Network

   d) Local Area Network

   Answer: d) Local Area Network


9. What is the purpose of a compiler?

   a) To convert high-level language code to machine code

   b) To execute program instructions

   c) To debug programs

   d) To manage memory allocation

   Answer: a) To convert high-level language code to machine code


10. Which programming paradigm emphasizes on breaking down a problem into smaller, reusable parts?

    a) Procedural programming

    b) Object-oriented programming

    c) Functional programming

    d) Imperative programming

    Answer: b) Object-oriented programming


11. What is TCP/IP?

    a) A programming language

    b) A network protocol suite

    c) A database management system

    d) An operating system

    Answer: b) A network protocol suite


12. What is the purpose of an operating system?

    a) To perform arithmetic calculations

    b) To manage hardware resources

    c) To design user interfaces

    d) To write code for applications

    Answer: b) To manage hardware resources


13. Which of the following is a non-volatile memory?

    a) RAM

    b) ROM

    c) Cache

    d) Virtual Memory

    Answer: b) ROM


14. What is the binary equivalent of the hexadecimal number A5?

    a) 10100101

    b) 10101101

    c) 11001010

    d) 10001011

    Answer: c) 11001010


15. Which of the following is not a type of network topology?

    a) Star

    b) Mesh

    c) Linear

    d) Ring

    Answer: c) Linear



No comments:

Post a Comment

Preposition MCQs

  Preposition MCQs: The cat is sleeping _________ the couch. a) in b) on c) at d) beside I received a gift _________ my birthday. a) on ...