CS615 Assignment No 4 SOLUTION

Software Project Management
Assignment # 04
Fall 2010
                                                               Marks: 30
Due Date
Your assignment must be uploaded before or on 13th October 2010.

Uploading instructions:
Please view the Assignment Submission Process document provided to you by the Virtual University for uploading assignments.
·         Assignment should be in .doc format.
·         Save your assignment with your ID (e.g. bx020200786.doc).
·         Assignment submission through email is highly discouraged.

Rules for Marking:
It should be clear that your assignment will not get any credit if:
·         The assignment is submitted after due date.
·         The submitted assignment file is corrupted.
·         The assignment is copied.
Note:
Your answer must follow the below given specifications. You will be assigned zero marks if you do not follow these instructions.
·          Font style: “Times New Roman”
·          Font color: “Black”
·          Font size: “12”
·          Bold for heading only.
·          Font in Italic is not allowed at all.
·          No formatting or bullets are allowed to use.

Assignment:
Q. 01   Discuss the problem addressed in research paper “A review of studies on expert estimation of software development effort”?

Q. 02   Elaborate purposed solution in 7-10 lines in your own words given in research paper “A review of studies on expert estimation of software development effort”?

Q. 03   Discuss the limitations of the paper or further research issues in the paper “A review of studies on expert estimation of software development effort”?




----------------------------------------------------------------------------------------------------------------------------

SOLUTION







Q. 01   Discuss the problem addressed in research paper “A review of studies on expert estimation of software development effort”?

Answer
Every manager needs to be intelligent to analyze problems scientifically and with the aid of the modern of analytical tools provided by management science and operations research. In this research paper we know that the use estimation is the leading strategy when estimating software development effort. Every manager wants to be able to respond circumstances quickly.
The main problems are following
The main problem of is that the presentation of the software development estimation is worse than the others efforts. The problem with these is may be the judgment is not correct. The main problem of that reason we did not see the old performance. We not see the earlier development tasks. The easy failure model predicted maintenance problems better than software maintainers with long experience



Q. 02   Elaborate purposed solution in 7-10 lines in your own words given in research paper “A review of studies on expert estimation of software development effort”?

Answer
In this study the results from many individual decision studies show that people get in excess of positive when forecast own performance. A general fact seems to be that the level of over optimism increase with the level of control e.g., a software developer responsible for the whole task to be estimated is supposed to be more over-optimistic than a project leader that plans and supervises the work of other project members.









Q. 03   Discuss the limitations of the paper or further research issues in the paper “A review of studies on expert estimation of software development effort”?

Answer
The only restriction is that just attaches with your matter and talk only about it. As once you have started the topic then you can not make bring changes in it. Present limitations based on your conclusions. Avoid the appeal to present advice based on your own beliefs or bias that is not specifically supported by your data. Recommendations fall into two categories. The first is recommendations to the study sponsor. What actions do you recommend they take based upon the data? The second is recommendations to other researchers. There are almost always ways that a study could be improved or refined. What would you change if you were to do your study over again? These are the recommendations to other researchers.

CS201 Assignment 3 SOLUTION


Assignment No. 3
Semester: Fall 2010
CS201: Introduction to Programming
Total Marks: 20

Due Date: 06 Jan, 2011

Instructions:
Please read the following instructions carefully before submitting your assignment:
It should be clear that your assignment will not get any credit if:

§         The assignment is submitted after due date.
§         The submitted assignment does not open or file is corrupt.

All types of plagiarism are strictly prohibited.

Note: You have to upload only .cpp file. Assignment in any other format (extension) will not be accepted. If you will submit code any other file format like .doc or .txt etc. you will get zero marks.

Objective
The objective of this assignment is to provide hands on experience of using

§         Functions of C/C++
§         Classes in C/C++
§         Creating and manipulating objects.

Guidelines
§         Code should be properly aligned and well commented.
§         Follow C/C++ rules while writing variables names, function names etc.
§         Use only Dev-C++ IDE for this assignment.

Assignment


Problem Statement: Calculate salary

You are required to write a program which will calculate the salary of an employee according to his/her grade assigned by the employer. You must declare a class named CalSalary whose private data members will be employee ID, employee name and employee grade. Also write a constructor, setter and getter functions for all private data members and a function that will calculate the salary.



Detailed Description:
  • Employee ID and grade should be of type integer. Employee name should be of type string.
  • Constructor should initialize employee ID and grade with value zero and employee name with value NULL.
  • For assigning or extracting values from private data members, you must use getter and setter functions.
  • Declare a public member function named calculate which will calculate the net salary of the employee according to his/her grade.
  • Formula for calculating actual salary is (Basic Salary) + 45% of basic salary.
  • If the grade of employee is 17, then the basic salary is 15,000.
  • If the grade is 18, then the basic salary is 20,000 and if grade is 19 then the basic salary is 25,000.

Sample Output 1

Please enter employee ID : 001
Please enter employee name : Mohammad Ali
Please enter employee grade : 17

The net salary of Mohammad Ali is Rs.21750



Sample Output 2

Please enter employee ID : 2
Please enter employee name : Aslam Khan
Please enter employee grade : 19

The net salary of Aslam Khan is Rs.36250



Note: you have to use same Class and Function name as mentioned in the assignment details. If we find any deviation, marks will be deducted.

Deadline:
Your Assignment solution must be submitted on or before January 06, 2011.

--------------------------------------------------




Solution


// Name: YASIR JAVAED
// VU ID: MC090200982

// In this programe input take from user and calculate salary predefined Rules and it designed with class name calsalary.

#include<iostream.h>
#include<conio.h>
#include<string.h>
using namespace std;
class CalSalary
{private:
int EID, EGrade;
string Name;        
public:
CalSalary()
{EID=0;
EGrade=0;
Name='/0';}
void GetInput()

// here takes input of emplyee name.

{cout<<"please enter employee name : ";
cin>>Name;

// here takes input of employee ID which is numeric only.

cout<<"please enter employee ID : ";
cin>>EID;

// here takes input of employee grade which is also numeric only.

cout<<"please enter employee Grade : ";
cin>>EGrade;}
       
int GetID()
{return EID;}
void SetID(int ID)
{EID=ID;}
int GetGrade()
{return EGrade;}
void SetGrade(int Grade)
{EID=Grade;}
string GetName()
{return Name;}
void SetName(string N)
{Name=N;}   
void Calculate(int G)
{switch(G)

// In this section define the salary amount on grade wise system. here are only 17, 18, 19 grades salary case. you should add more or less.
        
{case 17:
{cout<<endl<<"The Net salary of "<<Name<<" Is Rs."<<21750<<endl;
break;}
case 18:
{cout<<endl<<"The Net salary of "<<Name<<" Is Rs."<<29000<<endl;
break;}
case 19:
{cout<<endl<<"The Net salary of "<<Name<<" Is Rs."<<36250<<endl;
break;}
default  :         
cout<<"Grade of Employee is incorrect"<<endl;
        
}
}
          
 // here are class name Calsalary.                  
                    
};    
main()
{     int G=0;
CalSalary cal;
cal.GetInput();
G=cal.GetGrade();
cal.Calculate(G);
getch();
}