Connect with us

Hi, what are you looking for?

Past Questions and Answers

SS1 Third Term Computer Science Past Questions And Answers

Sponsored Links

SS1 Third Term Computer Science Past Questions And Answers

 

SS1 third term Computer Science questions with options and answers:

 

Question: What is the purpose of a foreign key in a database?

 

A) Identify unique records

B) Establish relationships between tables

C) Perform calculations

D) Create backups

Answer: B) Establish relationships between tables

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

 

A) Bubble Sort

B) Insertion Sort

C) Quick Sort

D) Selection Sort

Answer: C) Quick Sort

Question: What is the function of an array in programming?

 

A) Store a single value

B) Perform calculations

C) Store multiple values of the same type

D) Display graphics

Answer: C) Store multiple values of the same type

Question: In the context of databases, what is normalization?

 

A) Increasing redundancy

B) Simplifying complex queries

C) Organizing data to reduce redundancy and dependency

D) Encrypting sensitive information

Answer: C) Organizing data to reduce redundancy and dependency

Question: What is the purpose of a function prototype in programming?

 

A) Define variable types

B) Document code

C) Specify function parameters and return type

D) Execute a specific task

Answer: C) Specify function parameters and return type

Question: Which of the following is an example of a network top-level domain (TLD)?

 

A) .com

B) www

C) https

D) .exe

Answer: A) .com

Question: What is the role of a cache memory in a computer system?

 

A) Store long-term data

B) Provide additional storage

C) Speed up data access by storing frequently used information

D) Manage network connections

Answer: C) Speed up data access by storing frequently used information

Question: Which of the following is an example of a dynamic programming language?

 

A) Java

B) C

C) Python

D) Assembly language

Answer: C) Python

Question: What is the primary purpose of the ‘continue’ statement in a loop?

 

A) End the loop

B) Skip the remaining code and move to the next iteration

C) Restart the loop

D) Output a value

Answer: B) Skip the remaining code and move to the next iteration

Question: In the context of cybersecurity, what is a phishing attack?

 

A) Exploiting software vulnerabilities

B) Gaining unauthorized access to a system

C) Deceptive attempt to obtain sensitive information by pretending to be trustworthy

D) Creating a secure connection

Answer: C) Deceptive attempt to obtain sensitive information by pretending to be trustworthy

Question: Which type of testing focuses on the performance and responsiveness of a software application?

 

A) Unit testing

B) Integration testing

C) System testing

D) Performance testing

Answer: D) Performance testing

Question: What is the purpose of a VPN (Virtual Private Network)?

 

A) Accelerate internet speed

B) Block malicious websites

C) Provide secure and private communication over a public network

D) Organize files in a network

Answer: C) Provide secure and private communication over a public network

Question: Which data structure is used to represent a hierarchical structure in programming?

 

A) Queue

B) Stack

C) Linked List

D) Tree

Answer: D) Tree

Question: What is the role of a compiler in the software development process?

 

A) Execute code line by line

B) Debug code

C) Translate high-level code into machine code

D) Manage database connections

Answer: C) Translate high-level code into machine code

Question: Which programming paradigm promotes writing code as a series of functions with minimal reliance on shared state?

 

A) Imperative programming

B) Procedural programming

C) Object-oriented programming

D) Functional programming

Answer: D) Functional programming

Question: What is the significance of the HTTP status code ‘200’?

 

A) Page not found

B) Server error

C) Successful request

D) Access denied

Answer: C) Successful request

Question: Which of the following is an example of a version control system?

 

A) Git

B) Python

C) HTML

D) SQL

Answer: A) Git

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

 

A) Define a specific task

B) Provide internet connectivity

C) Group related attributes and behaviors

D) Store data in a database

Answer: C) Group related attributes and behaviors

Question: Which type of error occurs during the compilation of a program?

 

A) Syntax error

B) Runtime error

C) Logical error

D) Input error

Answer: A) Syntax error

Question: What is the function of an interrupt in a computer system?

 

A) End the program

B) Halt the CPU to perform a specific task

C) Manage file storage

D) Provide internet access

Answer: B) Halt the CPU to perform a specific task.

Share This:
Click to comment

Leave a Reply

You May Also Like

Sponsored Links

You cannot copy content of this page