Read the given case study and answer the following questions (Question 1-Question 5) You are appointed...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Read the given case study and answer the following questions (Question 1-Question 5) You are appointed by a local consulting company for a project to design and implement an employee's records system. The work is to develop a program that calculates each employee's total salary based on the Grade level as shown in the figure below. Employee_Grade Base_Salary Bonus 5 80,000 30% 4 70000 25% 3 60000 20% 2 50000 15% 1 40000 10% The formula to evaluate total salary is: Total_salary = Base salary + (bonus *base_salary)/100. You are asked to write snippets (small pieces of reusable code) based on the questions that you might consolidate and use in the final program. There are 5 questions based on the case study. Answer all the given questions based on the given case study. Make necessary assumptions If required. Question 5 10 marks The company expects to implement concept of Object-oriented programming concepts (OOPs) a. Write the snippet to define a class 'Employee' with required attributes/states and methods/behavior to calculate the salary. b. Write the constructor to initialize the attributes such as employee name, employee id and grade. c. Create an instance/object of class 'Employee' passed with employee name, employee id and grade. d. Show how one can implement polymorphism and encapsulation in the given program. Task for Exam:- You are Required to develop a supermarket system using C++ Language including the concepts of Object- Oriented programming (OOPS) which comprises of Classes, objects, Functions,Constructor,destructor,inheritance(multiple,multi-level), Polymorpharism.Array and pointer should be used where necessary.Output should also have GUI (Graphical user interface). These point written down below,all must strictly be followed or else the code will not be accepted:-1 • The Code should be strictly in C++ language only. • The code should be working properly with clear outputs,remember i will copy whole code and then paste on the compiler so it should be working properly with all the outputs everytime i copy and paste. • Without GUI(Graphical User Interface) the code will not be accepted. • Everything should be commented properly in the code (In English language only). •~It is the semester project not Final Year Project, the difficulty of the code should not be like professional- developer nor like beginner. ALL THE CODE OUTPUTS SHOULD BE CLEARLY MENTIONED IN THE FORM OF PICTURE.PROPER SCREENSHOTS SHOULD BE ATTACHED SO THAT IT WILL BE EASIER FOR ME.MS WORD(DOC) FILE OF THE CODE SHOULD BE ATTACHED WITH THE OUTPUTS OR ELSE THE CODE AND THE QUESTION WOULD BE SIMPLY REJECTED FAILED TO FOLLOW THESE INSTRUCTIONS AND GIVING INCOMPLETED CODE OR OUTPUT WILL NOT BE ACCEPTED. Read the given case study and answer the following questions (Question 1-Question 5) You are appointed by a local consulting company for a project to design and implement an employee's records system. The work is to develop a program that calculates each employee's total salary based on the Grade level as shown in the figure below. Employee_Grade Base_Salary Bonus 5 80,000 30% 4 70000 25% 3 60000 20% 2 50000 15% 1 40000 10% The formula to evaluate total salary is: Total_salary = Base salary + (bonus *base_salary)/100. You are asked to write snippets (small pieces of reusable code) based on the questions that you might consolidate and use in the final program. There are 5 questions based on the case study. Answer all the given questions based on the given case study. Make necessary assumptions If required. Question 5 10 marks The company expects to implement concept of Object-oriented programming concepts (OOPs) a. Write the snippet to define a class 'Employee' with required attributes/states and methods/behavior to calculate the salary. b. Write the constructor to initialize the attributes such as employee name, employee id and grade. c. Create an instance/object of class 'Employee' passed with employee name, employee id and grade. d. Show how one can implement polymorphism and encapsulation in the given program. Task for Exam:- You are Required to develop a supermarket system using C++ Language including the concepts of Object- Oriented programming (OOPS) which comprises of Classes, objects, Functions,Constructor,destructor,inheritance(multiple,multi-level), Polymorpharism.Array and pointer should be used where necessary.Output should also have GUI (Graphical user interface). These point written down below,all must strictly be followed or else the code will not be accepted:-1 • The Code should be strictly in C++ language only. • The code should be working properly with clear outputs,remember i will copy whole code and then paste on the compiler so it should be working properly with all the outputs everytime i copy and paste. • Without GUI(Graphical User Interface) the code will not be accepted. • Everything should be commented properly in the code (In English language only). •~It is the semester project not Final Year Project, the difficulty of the code should not be like professional- developer nor like beginner. ALL THE CODE OUTPUTS SHOULD BE CLEARLY MENTIONED IN THE FORM OF PICTURE.PROPER SCREENSHOTS SHOULD BE ATTACHED SO THAT IT WILL BE EASIER FOR ME.MS WORD(DOC) FILE OF THE CODE SHOULD BE ATTACHED WITH THE OUTPUTS OR ELSE THE CODE AND THE QUESTION WOULD BE SIMPLY REJECTED FAILED TO FOLLOW THESE INSTRUCTIONS AND GIVING INCOMPLETED CODE OR OUTPUT WILL NOT BE ACCEPTED.
Expert Answer:
Answer rating: 100% (QA)
a Snippet to define a class Employee with required attributes and methods b Constructor to initiali... View the full answer
Related Book For
Research Methods For Business Students
ISBN: 9781292208787
8th Edition
Authors: Mark Saunders, Philip Lewis, Adrian Thornhill
Posted Date:
Students also viewed these programming questions
-
Read the case study and answer the question below with a one page response. What does a SWOT analysis reveal about the overall attractiveness of Under Armours situation? Founded in 1996 by former...
-
Final Examination-Assessment 1-(Theory) Semester-Summer, 2019-20 Name of the Student: _________________ Register Number: _____________________ Carefully read the given CASE STUDY and Answer the...
-
The Kingdom of Bhutan measures the happiness of its population, and government policy is formulated to increase Bhutans GNH (gross national happiness). Read about how the GNH is measured (try...
-
Delicious Foods Inc. reported inventory of $5,706 million at the end of its 2017 fiscal year and $5,310 million at the end of its 2016 fiscal year. It reported cost of goods sold of $35,350 million...
-
Compute the elastic moduli for the following polymers, whose stress-strain behaviors may be observed in the "Tensile Tests" module of Virtual Materials Science and Engineering (VMSE): (a)...
-
What is volumetric charging?
-
Gaucho Services starts life with all-equity financing and a cost of equity of 14%. Suppose it refinances to the following market-value capital structure: Use MMs proposition 2 to calculate the new...
-
Explain Demings quality principles? with Example
-
Find The Missing Coordinate Of P, Using The Fact That P Lies On The Unit Circle In The Given Quadrant. Coordinates 9. P(-3, 10. P(-2) 11. P(,) Coordinates 12. P(3, 13. P(, -) 14. P(-3,) Quadrant III...
-
A patient with COPD is unable to perform activities of daily living (ADLs) without becoming exhausted. Which nursing diagnosis best describes this alteration in oxygenation as the etiology? Explain
-
Need help making a UML class diagram showing the type of class relationships for my program: These are the classes I have: Circle.java Cone.java Cube.java Cylinder.java Rectangle.java Sphere.java...
-
State what is meant by a directed graph and a strongly connected component. Illustrate your description by giving an example of such a graph with 8 vertices and 12 edges that has three strongly...
-
Management desires to earn approximately the same rate of profit on sales that is being earned with the current design. a. If DF uses target costing and desires to meet the current competitive...
-
3. Alex wants to give his daughter $75,000 to tour Europe after graduation in 5 years. How much should he invest today at an annual interest rate of 10% to have $75,000 in 5 years? N= I/Y= PV= PMT=...
-
Bank HSBC Islamic Berhad entered into a Musharakah agreement with Umar, a Muslim entrepreneur providing capital of RM700,000 on 1st of Muharram 1422. Umar provided a capital of RM300,000. Since Umar...
-
Orange juice producers are dismayed and puzzled. An economist told them that the reason the demand for orange juice fell is that a new technology allow tomato producers to pick ripe tomatoes more...
-
Visit an online database or your university library and obtain a copy of a research-based refereed journal article that you think will be of use to an assignment you are currently working on. Read...
-
How would you demonstrate the influence of relevant theory in your research proposal?
-
a. Use an appropriate technique to compare the following data on share prices for two financial service companies over the past six months, using the period six months ago as the base period: b....
-
Figure 4 shows a scatterplot for the variables life expectancy and infant mortality in 16 countries. What type of correlation does it show? Does this correlation make sense? Does it imply causality?...
-
Figure 5 shows a scatterplot for the variables number of farms and mean farm size in the United States. Each dot represents data from a single year between 1950 and 2000; on this diagram, the earlier...
-
Youve conducted a study to determine how the number of calories a person consumes in a day correlates with time spent in vigorous bicycling. Your sample consisted of ten women cyclists, all of...
Study smarter with the SolutionInn App