Pages

Wednesday, 11 April 2012

cs605 Assignment no 1 Spring 2012

Problem Statement:
Suppose we want to develop a mobile application for helping the people to query the information about available hospitals/clinics/emergency treatment centers in their cities. The mobile users will be able to subscribe the application and will query the required information through it. The following sections describe the application in more detail:
1. Vision
The application will help patients finding initial information about their disease including audio lectures and live chat with experts. Application will enable the patients getting the full details of available treatment facilities in the city along with the details of available physicians, their daily schedule, available treatments and campus addresses. Application will also help people in finding the emergency centers and blood banks (with the latest status of facilities available) in case of any emergency.
2. Background:
Large numbers of people lack the initial information about their diseases and face the problem of finding the best hospital for their medical treatment, as people normally don’t know about the available treatment centers, along with treatment facilities provided in these hospitals. Similarly people find it difficult to look for the specialized doctors/physicians of the diseases they suffer, particularly finding the specialist doctor/physician based on his/her experience and expertise. Things get worst in case of emergency e.g. in case when the blood banks need to be contacted for a particular blood group.
Many patients emphasized a general application accessible through their mobile devices that could guide them by providing the initial information about the disease they are suffering. Application should be able to provide the details of the available hospitals/clinics/blood banks/emergency centers for the treatment of diseases along with facilities available in these hospitals and their campus addresses. Application should also provide the details of the doctors/physicians in those facilities along with their daily schedule, experience and skills so that patients could select the one of their own choice. Application should be especially helpful in case of emergency so that people could get immediate information on time.
3. Major Features
FE-1: Interactive/Live chat with experts for patient disease related queries.
FE-2: Specialized hospitals/clinics for the treatment of disease along with their all possible contacts/addresses
FE-3: Details of specialized physicians/Doctors in each hospital/clinic and experience/background/specializations of each one.
FE-4: See the daily schedule of each doctor/physician.
FE-5: Information about available blood banks along with the available blood status and emergency centers in the city.
FE-6: Initial information about the disease including audio lectures.
Challenges:
The project is given to a small organization of 6-8 people (say CMM Level 2) and has been restricted to be delivered in 6 months. The main issue is that such application use is very limited in Pakistan and people don’t have much experience of using these types of applications, so, requirements elicitation may be challenging.
Question:
You need to perform the following tasks:
1) Suggest the life cycle model for developing this application
2) Reasons for selecting this model.
3) Expected tasks performed in each phase of this model

CS615 Assignment no 1 spring 2012

Shopping Mall Stores, has been doing the business of fast food, detergents, cold drinks, uniform, sweets and much more for the last four years. They have their own status in business firms and well known for their quality.
The main objective of this website is to sell the products worldwide and provide information about Shopping Mall. It offers a range of products biscuits, medicine, burgers, paints, sweaters, shoes, soaps and milk etc. They have a complete team of experts for managing products, imports and exports. The reason of this website is to attract more customers who are interested in buying these quality products and to give an overview of the organization and its efficiency.
This website will provide a complete catalog of the products. It will include online credit card transaction, feedback of the customers and an interface for the administrator to manage products, customers etc.
Considering the above scenario,
Question 1)
a) How Triple Constraints (Scope, time, and cost) will affect each others, in the context of the above scenario?
Question 2)
a) Write baseline for the scope. How changes required by the customer affect the triple constraint of the Project, keeping in view the discussed scenario.
b) What would be your approach for handling request changes (by considering three sizes of changes: low, medium, high) vis-à-vis at the beginning, half way and at final stages of the project, in the context of the above scenario. justify?

MTH302 Assignment no 1 Spring 2012

MTH302 1st Assignment Complete Solution spring 2012
Question No. 1
Solution :
Basic Salary = 16,000
House Rent Allowance = 16,000 x .45 = 7200
Conveyance Allowance = 16,000 x .10 = 1600
Utilities Allowance = 16,000 x .10 = 1600
Total Allowances = 7200+1600+1600= 10,400
Provident Fund = 16,000 x 1/11 = 1455
Gratuity Fund = 16,000 x 1/11 = 1455
Earned Leave = (26,400 x 12)x{(24/(22x12)} = 28,800
Casual Leave = (26,400 x 12)x{(24/(22x12)} = 14,400
Misc. Social Charges = 16,000 x .065 = 1040
Gross Salary = 16,000+10,400+1455+1455+28,800+14,400+1040=73,550
Question No. 2
Solution :
Discount Factor = (1-1/(1+i)^n)/i
Discount Factor = (1-1/(1+.05)^20)/.05
Discount Factor = 12.4622

CS301 ASSIGNMENT NO 1 sPRING 2012

We need to store a number of Cricket Players and their Scores in a list using Linked List Data Structure. The data of the players will comprise of their Names and Scores, which means each Node of the Linked List will contain Player Name, Player Score and Next Pointer as follows,
You need to write a C++ Program which contains the following two classes and main function.

  1. Player Class (means Node Class): This class should define three private variables for Player Name, Player Score and Next pointer, this class should also define Constructor, Getter and Setter functions for these variable as inline functions (means define these functions within class body).
  2. PlayerList Class (means Linked List Class): This Class should define private variables for Header, CurrentPlayer ( means Head pointer, CurrentNode Node) and an int variable which count the number of Players in the Linked List.
The Class should also declare the following methods/Functions,
Constructor(): Default Constructor of the Class.
Add_NewPlayer(): This method should add new player only at the end of list.
Display(): This method should Print the Players information (Names and Score) in the list.
ListLength(): This method should return the total number of Players added in the list.
getTotalScore(): This method should return (print) Total score (e.g score of player1+player2.. etc).

Main Function(): In the main function define an object of the PlayerList class and call the Add_NewPlayer method with this object multiple times (At least two times), then call the Display(), getTotalScore and ListLength functions with this object, your output should look like this.


Lectures Covered: This assignment covers Lecture # 1-5
Deadline: Your assignment must be uploaded/submitted at or before April 12, 2012.