GATE 2004
199 questions
MCQ 1991-mark 199
Questions 191–195 of 199
A software configuration management tool helps in
Answer: (B)
A software configuration management tool, also called a software change management tool, is used to maintain the different versions.
So the correct choice is the one about maintaining versions.
So the correct choice is the one about maintaining versions.
A software organization has been assessed at SEI CMM Level 4. Which of the following does the organization need to practice beside Process Change Management and Technology Change Management in order to achieve Level 5?
Answer: (B)
The SEI CMM levels are Initial, Repeatable, Defined, Managed and Optimizing (Level 5).
The key process areas of Level 5 are Defect Prevention, Technology Change Management and Process Change Management. Defect Prevention means finding the causes of defects and changing the process so they do not occur again.
Defect detection, isolation and propagation are not Level 5 key process areas.
Answer: (B)
The key process areas of Level 5 are Defect Prevention, Technology Change Management and Process Change Management. Defect Prevention means finding the causes of defects and changing the process so they do not occur again.
Defect detection, isolation and propagation are not Level 5 key process areas.
Answer: (B)
The diagram that helps in understanding and representing user requirements for a software project using UML (Unified Modeling Language) is
Answer: (D)
A use case diagram shows the actors (users or other systems) and the use cases (functions) they use. It captures the functional requirements and shows the system as seen from outside.
The other options do not fit: an Entity Relationship diagram models stored data, a Data Flow Diagram models how data moves through processes, and neither is a UML diagram. A deployment diagram shows the hardware nodes and where the software runs on them.
Answer: (D)
The other options do not fit: an Entity Relationship diagram models stored data, a Data Flow Diagram models how data moves through processes, and neither is a UML diagram. A deployment diagram shows the hardware nodes and where the software runs on them.
Answer: (D)
In a software project, COCOMO (Constructive Cost Model) is used to estimat
Answer: (A)
Basic COCOMO takes the size of the software in KLOC (thousands of lines of code) and gives effort and development time:
Effort: person-months
Development time: months
Here are constants that depend on the project type. So COCOMO estimates effort and duration from size. Options (B), (C) and (D) take effort, duration or cost as the input, which is not how it works.
Answer: (A)
Effort: person-months
Development time: months
Here are constants that depend on the project type. So COCOMO estimates effort and duration from size. Options (B), (C) and (D) take effort, duration or cost as the input, which is not how it works.
Answer: (A)
It is desired to design an object-oriented employee record system for a company. Each employee has a name, unique id and salary. Employees belong to different categories and their salary is etermined by their category. The functions get Name, getld and compute salary are required. Given the class hierarchy below,possible locations for these functions are:
(i) getld is implemented in the superclass
(ii) getld is implemented in the subclass
(iii) getName is an abstract function in the superclass
(iv) getName is implemented in the superclass
(v) getName is implemented in the subclass
(vi) getSalary is an abstract function in the superclass
(vii) getSalary is implemented in the superclass
(viii) getSalary is implemented in the subclass
Choose the best design
(i) getld is implemented in the superclass
(ii) getld is implemented in the subclass
(iii) getName is an abstract function in the superclass
(iv) getName is implemented in the superclass
(v) getName is implemented in the subclass
(vi) getSalary is an abstract function in the superclass
(vii) getSalary is implemented in the superclass
(viii) getSalary is implemented in the subclass
Choose the best design
Answer: (A)
Every employee has a name and an id, and these do not depend on the category. So getId (i) and getName (iv) are implemented once in the superclass, and the subclasses inherit them.
Salary depends on the category (Manager, Engineer, Secretary). So getSalary is an abstract function in the superclass (vi), and each subclass implements it (viii).
This gives (i), (iv), (vi), (viii). The other options are worse. (B) implements getSalary in the superclass, which cannot know each category's rule. (C) makes getName abstract and repeats it in every subclass. (D) puts getId and getName in the subclasses, repeating the same code.
Answer: (A)
Salary depends on the category (Manager, Engineer, Secretary). So getSalary is an abstract function in the superclass (vi), and each subclass implements it (viii).
This gives (i), (iv), (vi), (viii). The other options are worse. (B) implements getSalary in the superclass, which cannot know each category's rule. (C) makes getName abstract and repeats it in every subclass. (D) puts getId and getName in the subclasses, repeating the same code.
Answer: (A)