Question
Which type of database key is a candidate key that has
not been chosen as the primary key?Solution
An Alternate Key is any candidate key that is not selected as the primary key of the table. Candidate keys are attributes (or combinations of attributes) that uniquely identify a row in a table. Among these, one is chosen as the primary key, while others are considered alternate keys. For example, in a table of students, both StudentID and Email might uniquely identify records. If StudentID is the primary key, Email becomes an alternate key. Alternate keys are useful for additional indexing or as foreign keys in related tables. Why Other Options Are Incorrect :
- Foreign Key : A foreign key establishes a relationship between two tables, linking a column to the primary key in another table.
- Composite Key : A composite key is made of two or more columns together acting as a primary key.
- Surrogate Key : This is a system-generated unique identifier for a row, not derived from application data.
- Super Key : A super key is a broader set of attributes that can uniquely identify a row, which may contain unnecessary attributes.
Which of the following best describes Abstraction in Object-Oriented Programming (OOP)?
What is a key advantage of containerization over traditional virtual machines?
- Natural Language Processing (NLP)
In the context of sentiment analysis, which of the following NLP techniques provides the most accurate classification ...
Which of the following statements best describes polymorphism in object-oriented programming?
Which of the following scenarios violates Boyce-Codd Normal Form (BCNF) in a relational schema?
Which algorithm is used for computing Max-Flow in a network?
Which of the following best describes the key benefit of blockchain technology in supply chain management?
Which of the following best differentiates between server-based virtualization and hypervisor-based virtualization?
Which of the following best illustrates Encapsulation in Object-Oriented Programming?
Which of the following is the most critical success factor for the implementation of a Decision Support System (DSS) within an organization?