Computer Science Basics MCQs - Part 2 | TechSpark AI

Computer Science Basics MCQs | TechSpark AI

(Part 2)


 1. Which of these is a cloud storage service?

    A) Dropbox  
    B) GitHub  
    C) Apache  
    D) MySQL  


2. Which of the following is a type of software testing?

    A) Black-box Testing  
    B) White-box Testing  
    C) Unit Testing  
    D) All of the above  


3. Which layer of the OSI model is responsible for data encryption?

    A) Application Layer  
    B) Session Layer  
    C) Presentation Layer  
    D) Network Layer  


4. What is the main purpose of cookies in web browsing?

    A) To track user activity  
    B) To store user preferences  
    C) To save passwords  
    D) All of the above  


5. Which of these protocols is used to send email?

    A) HTTP
    B) SMTP
    C) FTP
    D) SNMP


6. Which programming language is primarily used for developing Android apps?

    A) Python
    B) Swift
    C) Java
    D) C++


7. What is the purpose of a compiler?

    A) To execute programs
    B) To translate code from high-level language to machine code
    C) To optimize program performance
    D) To debug errors in the code


8. Which of these is a client-side scripting language?

    A) PHP
    B) JavaScript
    C) Python
    D) SQL


9. Which of the following data structures is used to implement recursion?

    A) Queue
    B) Stack
    C) Linked List
    D) Heap


10. What does HTTP stand for?

    A) Hyper Text Transfer Protocol
    B) High Transfer Text Protocol
    C) Hyper Text Transmission Protocol
    D) Hyperlinks Text Transfer Protocol


11. Which layer of the OSI model is responsible for routing?

    A) Transport Layer
    B) Network Layer
    C) Data Link Layer
    D) Physical Layer


12. What is the main function of an operating system?

    A) To manage system hardware and software resources
    B) To compile code
    C) To execute user applications
    D) To protect the computer from viruses


13. Which of these data structures is used for breadth-first search (BFS) in graphs?

    A) Stack
    B) Queue
    C) Heap
    D) Array


14. Which programming language is known for its simplicity and readability?

    A) C++
    B) Java
    C) Python
    D) Assembly


15. What does SQL stand for?

    A) Structured Query Language
    B) Standard Query Language
    C) Secure Query Language
    D) Simple Query Language

Post a Comment

0 Comments