SS1 second Term computer science past questions and answers
Questions for SS1 computer science:
Question: What is the purpose of the "if-else" statement in programming?
A. Iteration
B. Decision-making
C. Function definition
D. Exception handling
Answer: B. Decision-making
Question: Which type of programming language allows the programmer to write instructions that resemble human language?
A. High-level language
B. Low-level language
C. Assembly language
D. Machine language
Answer: A. High-level language
Question: What is the function of the BIOS in a computer system?
A. Manage software applications
B. Control input devices
C. Boot the operating system
D. Execute program instructions
Answer: C. Boot the operating system
Question: In networking, what does DNS stand for?
A. Data Network System
B. Domain Name System
C. Digital Network Security
D. Dynamic Naming Service
Answer: B. Domain Name System
Question: What is the purpose of a switch in a computer network?
A. Connect multiple networks
B. Connect devices within a local network
C. Modulate and demodulate signals
D. Provide electrical power to devices
Answer: B. Connect devices within a local network
Question: Which data structure uses a First In, First Out (FIFO) approach?
A. Stack
B. Queue
C. Linked list
D. Tree
Answer: B. Queue
Question: What is the role of an IP address in networking?
A. Identify a device on a network
B. Encrypt data transmission
C. Manage network traffic
D. Execute program instructions
Answer: A. Identify a device on a network
Question: Which of the following is an example of a non-volatile memory type?
A. RAM
B. ROM
C. Cache memory
D. Flash drive
Answer: B. ROM
Question: What is the purpose of the "for" loop in programming?
A. Decision-making
B. Exception handling
C. Repetitive execution
D. Function definition
Answer: C. Repetitive execution
Question: Which programming paradigm focuses on defining the relationships between objects?
A. Procedural programming
B. Object-oriented programming (OOP)
C. Functional programming
D. Logical programming
Answer: B. Object-oriented programming (OOP)
Question: What is the function of a compiler in programming languages?
A. Execute code
B. Translate source code to machine code
C. Debug code
D. Write code
Answer: B. Translate source code to machine code
Question: In the context of databases, what is normalization?
A. Sorting data alphabetically
B. Reducing redundancy and dependency in data
C. Encrypting data
D. Creating backups
Answer: B. Reducing redundancy and dependency in data
Question: Which of the following is a characteristic of a good algorithm?
A. Complexity
B. Redundancy
C. Subjectivity
D. Inefficiency
Answer: A. Complexity
Question: What does GUI stand for in computing?
A. Graphical User Interface
B. General User Interaction
C. Global Unit Integration
D. General Use of Internet
Answer: A. Graphical User Interface
Question: What is the purpose of a cache memory in a computer system?
A. Long-term storage
B. Temporary storage for frequently accessed data
C. Managing network traffic
D. Executing program instructions
Answer: B. Temporary storage for frequently accessed data
Question: Which of the following is an example of a high-level programming language?
A. Assembly language
B. Python
C. Machine language
D. Binary code
Answer: B. Python
Question: What is the function of the operating system's kernel?
A. Manage hardware resources
B. Create documents
C. Play games
D. Browse the internet
Answer: A. Manage hardware resources
Question: What is the purpose of the "else" statement in programming?
A. Looping
B. Decision-making
C. Exception handling
D. Function definition
Answer: C. Exception handling
Question: Which of the following is a disadvantage of using a distributed database system?
A. Improved reliability
B. Increased complexity
C. Centralized control
D. Reduced data security
Answer: B. Increased complexity
Question: What is the primary function of an array in programming?
A. Sorting data alphabetically
B. Storing a collection of elements of the same data type
C. Encrypting data
D. Creating backups
Answer: B. Storing a collection of elements of the same data type
Post a Comment