BGS, BSGS Bachelor of General Studies BSGS Computer Studies 5 — Questions and Answers
Question 1: Which of the following best describes cloud computing's 'SaaS' model?
- Users manage the underlying infrastructure and operating systems
- Software is delivered over the internet and managed by the provider (Correct answer)
- Users rent virtual hardware and configure their own OS
- A private cloud hosted within an organization's data center
Correct answer: Software is delivered over the internet and managed by the provider
Software as a Service (SaaS) delivers applications over the internet, with the provider handling all infrastructure, maintenance, and updates.
Question 2: What does 'polymorphism' mean in object-oriented programming?
- A class inheriting behavior from multiple parent classes
- The ability of different objects to respond to the same interface in different ways (Correct answer)
- Hiding the internal implementation of a class
- Creating an object from an abstract blueprint
Correct answer: The ability of different objects to respond to the same interface in different ways
Polymorphism allows objects of different types to be treated through the same interface, with each responding according to its own implementation.
Question 3: In binary, what is the decimal equivalent of 1101?
- 11
- 12
- 13 (Correct answer)
- 14
Correct answer: 13
Binary 1101 converts to decimal as (1×8) + (1×4) + (0×2) + (1×1) = 8 + 4 + 0 + 1 = 13.
Question 4: What is the primary advantage of using a hash table for data storage?
- It maintains data in sorted order automatically
- It provides O(1) average-case time complexity for insertions and lookups (Correct answer)
- It uses less memory than arrays
- It prevents duplicate values from being stored
Correct answer: It provides O(1) average-case time complexity for insertions and lookups
Hash tables use a hash function to map keys directly to storage locations, enabling average constant-time O(1) lookups and insertions.
Question 5: Which wireless networking standard offers the highest theoretical data transfer speeds as of 2024?
- Wi-Fi 5 (802.11ac)
- Wi-Fi 6 (802.11ax) (Correct answer)
- Wi-Fi 4 (802.11n)
- Bluetooth 5.0
Correct answer: Wi-Fi 6 (802.11ax)
Wi-Fi 6 (802.11ax) offers theoretical speeds up to 9.6 Gbps and improved performance in congested environments compared to Wi-Fi 5.
Question 6: In cybersecurity, what is 'two-factor authentication' (2FA)?
- Using two different passwords for the same account
- Requiring two separate forms of verification to access an account (Correct answer)
- Encrypting data with two different algorithms
- Logging in from two different devices simultaneously
Correct answer: Requiring two separate forms of verification to access an account
2FA requires users to provide two distinct types of credentials — typically something they know (password) and something they have (a code) — to verify identity.
Question 7: What is the role of an API (Application Programming Interface) in software development?
- To provide a graphical user interface for applications
- To define rules and protocols that allow different software systems to communicate (Correct answer)
- To compile source code into executable programs
- To store and retrieve data from a database
Correct answer: To define rules and protocols that allow different software systems to communicate
An API defines how software components interact, providing a set of protocols and tools that allow different applications to communicate and share data.
Which of the following best describes cloud computing's 'SaaS' model?