Skip to main content
Sign in Register
Question no. 92533

Which option characterizes an “Is-a-Relationship” ?

Select your answer for: Which option characterizes an “Is-a-Relationship” ?
Show answer

Answer: B. Inheritance

Explanation

Inheritance is the mechanism that defines an is-a relationship between a subclass and its superclass. Object-oriented modeling uses inheritance to state that a specialized class is a type of general class. Is-a relationships establish clear taxonomic hierarchies across object-oriented class definitions. Object-oriented analysis distinguishes between is-a inheritance and has-a aggregation relationships. Subclasses inherit properties, confirming that every subclass instance is an instance of the superclass. Class diagrams use directed arrows to denote is-a inheritance relationships between entities.

A sports car is a vehicle represents a classic is-a relationship modeled using class inheritance. Software libraries implement animal hierarchies where a dog is an animal via inheritance. Object-oriented domain modeling relies on accurate is-a relationships to structure business entities. Aggregation represents a has-a relationship rather than an is-a taxonomic classification. Dependency indicates a uses relationship where one class relies on another temporarily. Stating all of the mentioned is incorrect because aggregation and dependency are not is-a relationships.

Topic
—
Difficulty
medium

Related questions

Q1. Which among these options is wrong ?

Select your answer for: Which among these options is wrong ?
Show answer

Answer: C. Computer science belongs to Software engineering

Software engineering is widely recognized as a specialized sub-discipline contained within broader computer science. Computer science encompasses theoretical foundations, algorithms, and hardware architecture far beyond...

Q2. What is a set of software elements treated as a single unit for SCM purposes?

Select your answer for: What is a set of software elements treated as a single unit for SCM purposes?
Show answer

Answer: A. Software Configuration Item

A Software Configuration Item represents a managed unit within configuration management processes. SCIs are uniquely identified and formally controlled throughout the software development lifecycle. Treating related soft...

Q3. Which option is excluded from standard change management processes?

Select your answer for: Which option is excluded from standard change management processes?
Show answer

Answer: D. None of the mentioned

All listed steps are fundamental components of standard change management procedures. Logging changes ensures traceability and accountability throughout the software lifecycle. Estimating impact and reviewing with stakeh...

Q4. What is the cause of software bugs and failures_____________________?

Select your answer for: What is the cause of software bugs and failures_____________________?
Show answer

Answer: C. Both Software companies and Developers

Software defects originate from multiple sources including organizational flaws and developer mistakes. Software companies establish faulty processes while individual developers introduce specific coding errors. Comprehe...

Q5. Which of these is not among the eight principles of the Software Engineering Code of Ethics and Professional Practice?

Select your answer for: Which of these is not among the eight principles of the Software Engineering Code of Ethics and Professional Practice?
Show answer

Answer: D. ENVIRONMENT

The environment is not listed as one of the fundamental ethical principles. Professional software engineering ethics focus primarily on human stakeholders and products. Environmental concerns are broad but omitted from t...

Q6. Which of the following terms characterizes testing?

Select your answer for: Which of the following terms characterizes testing?
Show answer

Answer: B. Evaluating deliverable to find errors

Testing involves evaluating software deliverables systematically to uncover hidden defects and errors. Executing programs under controlled conditions helps discover discrepancies between expected and actual results. Qual...