Connect with us

Hi, what are you looking for?

Past Questions and Answers

SS3 Second Term Computer Science Past Questions And Answers

Sponsored Links

SS3 Second Term Computer Science Past Questions And Answers

 

Here are 20 SS3 second term Computer Science questions with options and answers:

 

Question: Which data structure follows the Last In, First Out (LIFO) principle?

 

A) Queue

B) Stack

C) Linked List

D) Array

Answer: B) Stack

Question: What is the purpose of the “try” and “except” blocks in Python?

 

A) Define a function

B) Implement a loop

C) Handle exceptions and errors

D) Import external libraries

Answer: C) Handle exceptions and errors

Question: What does API stand for in the context of software development?

 

A) Application Programming Interface

B) Advanced Program Integration

C) Automated Programming Interface

D) Application Program Interface

Answer: A) Application Programming Interface

Question: Which sorting algorithm has a time complexity of O(n log n) on average?

 

A) Bubble Sort

B) QuickSort

C) Insertion Sort

D) Selection Sort

Answer: B) QuickSort

Question: What is the purpose of the “git” version control system?

 

A) Manage databases

B) Track changes in source code

C) Execute SQL queries

D) Design graphical user interfaces

Answer: B) Track changes in source code

Question: What does MVC stand for in the context of software architecture?

 

A) Model-View-Controller

B) Main-View-Controller

C) Modular-View-Component

D) Multiple-View-Controller

Answer: A) Model-View-Controller

Question: In object-oriented programming, what is encapsulation?

 

A) Hiding the implementation details of an object

B) Creating multiple instances of a class

C) Inheriting properties from a superclass

D) Initializing variables in a constructor

Answer: A) Hiding the implementation details of an object

Question: What is the purpose of the “virtual memory” in a computer system?

 

A) Increase RAM capacity

B) Create virtual machines

C) Extend storage capacity

D) Simulate additional RAM using storage

Answer: D) Simulate additional RAM using storage

Question: Which of the following is a key characteristic of a NoSQL database?

 

A) Structured schema

B) Relational tables

C) ACID transactions

D) Flexible schema

Answer: D) Flexible schema

Question: What is the primary purpose of the “this” keyword in object-oriented programming?

 

A) Refer to the current instance of a class

B) Create a new object

C) Access global variables

D) Invoke a static method

Answer: A) Refer to the current instance of a class

Question: Which encryption algorithm is commonly used for securing internet communication?

 

A) DES (Data Encryption Standard)

B) AES (Advanced Encryption Standard)

C) RSA (Rivest–Shamir–Adleman)

D) SHA (Secure Hash Algorithm)

Answer: B) AES (Advanced Encryption Standard)

Question: What is the purpose of the SQL JOIN operation in database queries?

 

A) Combine rows from different tables

B) Filter rows based on a condition

C) Sort data in ascending order

D) Update existing records

Answer: A) Combine rows from different tables

Question: What is the role of an IP address in computer networking?

 

A) Identify a device on the internet

B) Execute programming code

C) Determine the screen resolution

D) Manage file permissions

Answer: A) Identify a device on the internet

Question: Which of the following is an example of a one-way communication protocol?

 

A) HTTP (Hypertext Transfer Protocol)

B) FTP (File Transfer Protocol)

C) UDP (User Datagram Protocol)

D) TCP (Transmission Control Protocol)

Answer: C) UDP (User Datagram Protocol)

Question: What is the purpose of a constructor in object-oriented programming?

 

A) Modify existing objects

B) Create and initialize objects

C) Define class attributes

D) Implement conditional statements

Answer: B) Create and initialize objects

Question: Which of the following is a benefit of using cloud computing?

 

A) Limited scalability

B) High upfront costs

C) On-demand resource allocation

D) Offline data access only

Answer: C) On-demand resource allocation

Question: What is the primary function of the Domain Name System (DNS)?

 

A) Encrypt data transmission

B) Translate domain names to IP addresses

C) Manage network security

D) Control access to a website

Answer: B) Translate domain names to IP addresses

Question: Which SQL statement is used to retrieve data from a database?

 

A) INSERT

B) DELETE

C) SELECT

D) UPDATE

Answer: C) SELECT

Question: What does the term “refactoring” mean in software development?

 

A) Writing new code from scratch

B) Optimizing existing code without changing its behavior

C) Debugging and fixing errors

D) Testing software for vulnerabilities

Answer: B) Optimizing existing code without changing its behavior

Question: In networking, what does the acronym VPN stand for?

 

A) Virtual Personal Network

B) Very Private Network

C) Virtual Private Network

D) Verified Personal Network

Answer: C) Virtual Private Network.

Share This:
Click to comment

Leave a Reply

You May Also Like

Sponsored Links

You cannot copy content of this page