SS2 third Term computer science past questions and answers
Multiple-choice questions for SS2 Computer Science:
Question: What is the purpose of a CDN (Content Delivery Network) in web development?
A) Creating databases
B) Accelerating content delivery to users
C) Encrypting data transmission
D) Managing user authentication
Answer: B
Question: Which of the following is a key characteristic of an object in object-oriented programming?
A) Algorithm
B) Variable
C) Loop
D) Pointer
Answer: B
Question: What is the primary function of the BIOS (Basic Input/Output System) in a computer?
A) Managing software applications
B) Providing a user interface
C) Controlling hardware initialization
D) Storing user data
Answer: C
Question: Which of the following is an example of a non-relational database?
A) MySQL
B) PostgreSQL
C) MongoDB
D) Oracle
Answer: C
Question: What is the purpose of the "grep" command in Unix/Linux?
A) Copying files
B) Searching for patterns in text
C) Deleting files
D) Renaming files
Answer: B
Question: In networking, what is the purpose of the MAC address?
A) Identifying devices on a local network
B) Assigning IP addresses
C) Filtering web content
D) Encrypting data transmission
Answer: A
Question: Which of the following is a type of artificial intelligence that mimics human learning?
A) Robotics
B) Expert systems
C) Machine learning
D) Neural networks
Answer: C
Question: What is the function of a version control system like Git?
A) Managing databases
B) Tracking changes in source code
C) Encrypting data transmission
D) Creating web pages
Answer: B
Question: Which programming language is commonly used for developing web applications on the client side?
A) PHP
B) JavaScript
C) Ruby
D) Java
Answer: B
Question: What is the purpose of the "finally" block in a try-catch-finally statement in programming?
A) Loop termination
B) Decision-making
C) Error handling, always executed
D) File management
Answer: C
Question: Which of the following is a characteristic of a good algorithm?
A) Complexity
B) Length
C) Speed
D) Color
Answer: C
Question: What does RAID stand for in data storage?
A) Random Access Integrated Disk
B) Redundant Array of Independent Disks
C) Rapid Application and Information Database
D) Read and Interpret Data
Answer: B
Question: Which programming paradigm promotes the use of mathematical functions and avoids changing state and mutable data?
A) Procedural
B) Object-Oriented
C) Functional
D) Logical
Answer: C
Question: What is the purpose of a VPN (Virtual Private Network) in networking?
A) Accelerating content delivery
B) Securing communication over the internet
C) Assigning IP addresses
D) Managing databases
Answer: B
Question: In relational databases, what is a primary key?
A) A key used for opening doors
B) A unique identifier for a record in a table
C) A key used for encryption
D) A key used for sorting data
Answer: B
Question: Which of the following is a markup language used for structuring content on the web?
A) CSS
B) XML
C) JavaScript
D) PHP
Answer: B
Question: What is the purpose of the "for" loop in programming?
A) Making decisions
B) Looping a specific number of times
C) Error handling
D) File management
Answer: B
Question: What is the role of a cache in computer architecture?
A) Temporary storage for data and instructions
B) Long-term storage
C) Managing network connections
D) Executing code
Answer: A
Question: Which of the following is an advantage of using a relational database?
A) No need for a structured schema
B) Efficient storage and retrieval of data
C) Limited support for transactions
D) Inability to handle complex relationships
Answer: B
Question: What is the purpose of the "chmod" command in Unix/Linux?
A) Changing file ownership
B) Modifying file permissions
C) Compressing files
D) Copying files
Answer: B
Post a Comment