Question
Which of the following best explains segmentation in
memory management?Solution
Segmentation is a memory management technique where memory is divided into variable-sized units called segments. Each segment corresponds to a logical division of a program, such as functions, arrays, or global variables. Key characteristics of segmentation include:
- Logical Grouping : Each segment represents a logical unit, allowing for better organization and modularity.
- Variable Size : Unlike paging, segments are not of fixed size, enabling efficient use of memory for programs with diverse requirements.
- Segmentation Faults : Accessing memory outside a segment's defined boundaries results in a fault, ensuring memory safety.
Which of the following types of testing is typically conducted by end-users to verify that the developed software meets their requirements?
Which testing type evaluates internal code logic and control flow?
Which of the following statements is true about deadlocks in an operating system?
In the context of asymmetric encryption, which of the following is a key feature of public-private key pairs?
Which SOLID principle ensures that a class has only one reason to change?
Which type of database join returns only the matching rows from two tables based on a condition?
Which protocol provides secure authentication by encrypting credentials before transmission and uses a challenge-response mechanism?
In CI/CD pipelines, which of the following is NOT a key benefit of Continuous Integration (CI)?
- Which of the following is the primary characteristic of Infrastructure as a Service (IaaS) in cloud computing?
Which of the following techniques is most efficient for finding the kth smallest element in a Binary Search Tree (BST)?