Software Engineering: GATE CS Previous Year Questions

Software Engineering · Software Engineering and Web Technology

56 questions · asked in 11 of 27 years (2000–2026)

MCQ 53 · NAT 31-mark 42 · 2-mark 14

2000Questions per year2026

Questions 56–56 of 56

Q56GATE 20041 markMCQ−0.33 if wrong
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
Employee Manager Engineer Secretary
Choose the best design

Keep practising

Topics in Software Engineering and Web Technology

All CS topics ›
Software EngineeringYou are here56 questions · asked in 11 years
Web Technology15 questions · asked in 7 years