SS1 Third Term Computer Science Past Questions and Answers
SS1 Third Term Computer Science Past Questions and Answers
Question: What is the purpose of the “NaN” value in programming?
a) Not a Notification
b) Not a Null
c) Not a Number
d) No Allocation Needed
Answer: c) Not a Number
Question: Which data structure uses First In, First Out (FIFO) order?
a) Stack
b) Queue
c) Linked List
d) Tree
Answer: b) Queue
Question: In web development, what does CSS stand for?
a) Counter Style Sheet
b) Cascading Style Sheet
c) Computer Style Sheet
d) Creative Style Sheet
Answer: b) Cascading Style Sheet
Question: What is the purpose of the “return” statement in a function?
a) To declare variables
b) To exit the function and return a value
c) To print output
d) To handle errors
Answer: b) To exit the function and return a value
Question: Which type of software is designed to detect and remove malicious programs?
a) Firewall
b) Antivirus
c) Operating System
d) Database Management System
Answer: b) Antivirus
Question: What does the acronym LAN stand for in computer networking?
a) Large Area Network
b) Local Area Network
c) Long-range Area Network
d) Linked Area Network
Answer: b) Local Area Network
Question: In relational databases, what is a primary key?
a) A key used for encryption
b) A unique identifier for each record in a table
c) A key used for sorting data
d) A key used in networking protocols
Answer: b) A unique identifier for each record in a table
Question: What is the purpose of a DNS cache?
a) To store website passwords
b) To improve internet speed
c) To store recent DNS lookup results
d) To encrypt data transmission
Answer: c) To store recent DNS lookup results
Question: Which of the following is an example of a non-volatile storage device?
a) RAM
b) SSD
c) USB Flash Drive
d) Cache Memory
Answer: b) SSD
Question: What is the function of an ifconfig command in networking?
a) Display information about network interfaces
b) Configure a firewall
c) Install network drivers
d) Scan for available Wi-Fi networks
Answer: a) Display information about network interfaces
Question: Which programming language is often used for data analysis and scientific computing?
a) Java
b) Python
c) C#
d) Ruby
Answer: b) Python
Question: What is the role of a modem in computer networking?
a) Modifying data
b) Modulating and demodulating signals for communication over a network
c) Managing memory allocation
d) Monitoring network traffic
Answer: b) Modulating and demodulating signals for communication over a network
Question: What does RAID stand for in the context of data storage?
a) Redundant Array of Independent Disks
b) Random Access Integrated Drive
c) Rapid Access and Input Device
d) Remote Authentication and Information Database
Answer: a) Redundant Array of Independent Disks
Question: Which type of software is designed to perform a specific task for end-users?
a) System software
b) Utility software
c) Application software
d) Firmware
Answer: c) Application software
Question: What is the purpose of a CASE statement in programming?
a) To declare variables
b) To handle exceptions
c) To control the flow of execution based on multiple conditions
d) To define functions
Answer: c) To control the flow of execution based on multiple conditions
Question: In network protocols, what does FTP stand for?
a) File Transfer Protocol
b) Fast Transmission Protocol
c) Firewall Transfer Protocol
d) File Tracking Protocol
Answer: a) File Transfer Protocol
Question: Which type of software is responsible for managing and controlling hardware devices?
a) Application software
b) System software
c) Utility software
d) Middleware
Answer: b) System software
Question: What is the purpose of the SQL SELECT statement in a database?
a) To insert data into a table
b) To delete records from a table
c) To retrieve data from a table
d) To update existing records in a table
Answer: c) To retrieve data from a table
Question: Which type of network topology connects each device in a series?
a) Bus
b) Star
c) Ring
d) Mesh
Answer: a) Bus
Question: What is the primary function of an assembler in programming?
a) Translates high-level code to machine code
b) Converts source code to an executable file
c) Manages memory allocation
d) Executes the program
Answer: b) Converts source code to an executable file