SS2 second term Computer Science questions with options and answers:
Question: What is the purpose of a database management system (DBMS)?
a) Display graphics
b) Manage and organize data
c) Create web pages
d) Compile code
Answer: b) Manage and organize data
Question: Which sorting algorithm has a worst-case time complexity of O(n log n)?
a) Bubble sort
b) Quick sort
c) Insertion sort
d) Selection sort
Answer: b) Quick sort
Question: What does DNS stand for in the context of computer networks?
a) Domain Name System
b) Data Network Server
c) Dynamic Network Security
d) Digital Naming Service
Answer: a) Domain Name System
Question: Which of the following is a key feature of object-oriented programming (OOP)?
a) Code redundancy
b) Code modularity
c) Code obfuscation
d) Code duplication
Answer: b) Code modularity
Question: What is the purpose of the “try” and “except” blocks in Python?
a) Define functions
b) Handle exceptions
c) Create loops
d) Perform mathematical operations
Answer: b) Handle exceptions
Question: Which data structure is suitable for implementing a priority queue?
a) Array
b) Linked list
c) Queue
d) Heap
Answer: d) Heap
Question: What is the role of a firewall in computer security?
a) Manage files
b) Control network access
c) Execute code
d) Design user interfaces
Answer: b) Control network access
Question: Which type of testing focuses on evaluating individual units or components of a software system?
a) Integration testing
b) System testing
c) Unit testing
d) Regression testing
Answer: c) Unit testing
Question: In object-oriented programming, what is encapsulation?
a) Hiding implementation details
b) Grouping code statements
c) Replicating code
d) Creating interfaces
Answer: a) Hiding implementation details
Question: What is the purpose of a foreign key in a relational database?
a) Identify a record uniquely
b) Establish a link between tables
c) Sort data alphabetically
d) Calculate aggregate functions
Answer: b) Establish a link between tables
Question: Which programming language is often used for mobile app development?
a) C
b) Java
c) PHP
d) Ruby
Answer: b) Java
Question: What does AJAX stand for in web development?
a) Asynchronous JavaScript and XML
b) Advanced Java and XML
c) Automated JavaScript and XML
d) Application Java and XML
Answer: a) Asynchronous JavaScript and XML
Question: Which type of error is detected during compilation?
a) Syntax error
b) Runtime error
c) Logical error
d) Linker error
Answer: a) Syntax error
Question: What is the purpose of the “else” statement in programming?
a) Loop execution
b) Exception handling
c) Conditional branching
d) File management
Answer: c) Conditional branching
Question: Which network topology is known for its fault tolerance, as data can take multiple paths?
a) Bus
b) Ring
c) Star
d) Mesh
Answer: d) Mesh
Question: What is a VPN used for in computer networks?
a) Virus protection
b) Virtual Private Network
c) Video processing
d) Visual presentation
Answer: b) Virtual Private Network
Question: Which SQL clause is used to filter the results of a query?
a) SELECT
b) WHERE
c) JOIN
d) ORDER BY
Answer: b) WHERE
Question: What is the purpose of the DRY principle in programming?
a) Don’t Repeat Yourself
b) Data Retrieval Yield
c) Dynamic Replication
d) Design Rules for Yield
Answer: a) Don’t Repeat Yourself
Question: Which data structure is often used to represent hierarchical relationships?
a) Stack
b) Queue
c) Tree
d) Graph
Answer: c) Tree
Question: What is the primary function of an application server in a client-server architecture?
a) Store data
b) Process business logic
c) Manage network connections
d) Display web pages
Answer: b) Process business logic.
FAQs
What topics are covered in SS2 Second Term Computer Science past questions and answers?
SS2 Second Term Computer Science past questions typically cover areas such as data types, control structures, algorithms, computer hardware and software, programming in languages like Python or BASIC, database fundamentals, networking basics, and problem-solving techniques. Reviewing these questions helps students understand the structure and style of exam questions for the term.
How can I effectively use these past questions for exam preparation?
To make the most of SS2 past questions, students should first attempt each question under exam conditions without referring to the answers. Afterward, they should check their responses against the provided answers to identify areas of strength and weakness. Regular practice enhances familiarity with common question formats, reduces exam anxiety, and improves speed and accuracy.
Are the answers to these past questions fully explained?
Many past question compilations provide concise answers, but some also include step-by-step explanations, especially for programming and algorithm problems. Fully explained answers are particularly useful because they help students understand the reasoning behind each solution, rather than just memorizing answers.
Where can I find reliable SS2 Second Term Computer Science past questions and answers?
Reliable sources include official school archives, reputable exam preparation books, educational websites, and teachers’ collections. It’s important to use up-to-date resources that reflect the current curriculum to ensure that practice aligns with the actual exam content.
Also Read: SS3 Third Term Food and Nutrition Past Questions and Answers



