Ads

Pages

Wednesday, January 12, 2011

Mth302 Assignment No. 2 Announced

Assignment # 2


MTH302 (Fall 2010)
Total marks: 10
Lecture # 22 to 33
Due date: January 17, 2011


DON’T MISS THESE Important instructions:
• Upload assignments properly through LMS, (No Assignment will be accepted through email).
• All students are directed to use the font and style of text as is used in this document.
• This is an individual assignment, not ***** assignment, so keep in mind that you are supposed to submit your own, self made & different assignment even if you discuss the questions with your class fellows. All similar assignments (even with some meaningless modifications) will be awarded zero marks and no excuse will be accepted. This is your responsibility to keep your assignment safe from others. Many solution files sent by students in assignment 1 are found to be copied and so awarded zero. You are therefore reminding here again.

• There are 5 questions in the assignment but only one question will be graded.


Question 1: (Non-graded)

Find a linear regression line y = ax + b (where a is the slope and b is the y-intercept)
for values of x and y given below.


y x

7 3
10 5
11 7
15 9

Question 2: (Non-graded)

Find Quartile Deviation of the following data.

1,2,8,7,10,11,15,20,18,25

Question 3: (Graded) Marks 10

The table below shows the demand for a particular item in a shop for the last nine months.

Month Demand

1 10
2 12
3 13
4 17
5 15
6 19
7 20
8 21
9 20

Calculate a three month moving average. What would be your forecast for the demand in month ten?

Question 4: (Non-graded)

Calculate the coefficient of variation for data given below.
10, 12, 14, 16, 18, 20

Question 5: (Non-graded)
Calculate the mean, median, mode and range of the data given below.
0, 1, 2, 5, 9, 8, 3, 2, 6

Mth202 Assignment No. 4 Solution

Assignment 4 Of MTH202 (Fall 2010)

Maximum Marks: 15

Due Date: January 11, 2011

Q-1:

How many bit strings of length 10 have

a) Exactly three 0’s?

b) The same number of 0’s as 1’s?

Q:2

Prove by mathematical induction that for all positive integral values of n, x2n-1 is divisible by x +1 ;( x¹1)

Q:3

Use the Euclidean algorithm to find gcd (1331, 1001)



Question#2 solution

Using Mathematical Induction

Step 1: First we will prove that for n =1 it is true

thus x^2n-1 = x^2-1 = (x-1)*(x+1)

clearly since it has factor of x+1 we can say that x^2n-1 is divisible by x-1

Step 2: let assume that for n = k it is true thus

x^2k-1 is divisible by x+1

thus we can write as x^2k-1 = P (x+1) P is quotient

now we have to prove that it is true for n=k+1

Step 3: now let n = k+1 thus

x^2(k+1) - 1 = x^(2k+2) - 1 = x^2k*x^2 -1 = (x^2k-1+1)x^2 - 1

(x^2k-1)*x^2 + (x^2-1)

for step 2 we can write above equation as

P (x+1)*x^2 + (x+1)*(x-1) = (x+1)* (Px^2+x-1)

which contain factor of x+1 thus divisible by x+1

thus even it is proved for n=k+1

according to mathematical induction given is true for all integral values of n


Question 3; Marks: 03
Use the Euclidean algorithm to find gcd (1331, 1001)
Solution
gcd(1331, 1001) = gcd(1001, 330)
= gcd(330, 11)
= gcd(11, 0)
= 11



How many bit strings of length 10 have

a) Exactly three 0’s?

is ka answer hai 10C3 =120

b) The same number of 0’s as 1’s?
is ka answer hai 10 C 5 = 152

Friday, January 7, 2011

Mgt602 Assignment No. 2 Solution

Assignment

You are planning to start a fast food restaurant. Being an entrepreneur you are required to develop below mentioned portions of business plan.

• Define specific and realistic business objectives (10)

• Define marketing strategy and action programs (10)
......................
Question#2 Idea...

Marketing Strategy and Action Programs

1. Product or Service
This includes a description of the product and may include more than the physical
characteristics. It involves packaging, brand name, price, warranty, image, service,
features, and style.

2. Customer Service
• Meeting customer needs and creating loyalty involves a number of low-cost steps:
• In writing develop a statement of customer service principles. Train those employees who
have direct contact with customers.
• Establish a process for evaluating customer service.
• Reward employees who are most effective in providing quality customer service.
• Make regular contact with customers.
• Invest in quality telephone equipment.
• Meet customer expectations.
• Customer service is especially important for e-businesses.

3. Pricing.
One of the difficult decisions is determining the appropriate price for the product.
Factors such as costs, discounts, freight, and markups must be considered. Marketing
research can help determine a reasonable price that consumers are willing to pay.

4.Distribution.
This factor provides utility or makes the product convenient to purchase when it is
needed. This variable must be consistent with other marketing mix variables. Type of
channel, number of intermediaries and location of members should be described.
Regardless of the type of business, it is usually necessary for the new venture to have a
website. The Internet will become an increasingly important medium for information
and distribution. Direct mail or telemarketing may be considered. Direct mail marketing
is one of the simplest and lowest in entry costs. But the direct-marketing or Internet
strategies are not a guarantee for success. The entrepreneur should evaluate all possible
options for distribution.

5.Promotion.
The entrepreneur needs to inform customers as to the product’s availability using
advertising media such as print, radio, or television. Usually television is too expensive
unless cable television is a viable option. Larger markets can be reached using direct
mail, trade magazines, or newspapers. A website may also create awareness and
promote the product and services of the venture. It is possible to make use of publicity
as a means of introduction. It is important that the marketing strategy and action
programs be specific and detailed enough to guide the entrepreneur through the first
year.
............
Question # 1 Part 1

How to Create Monthly Realistic Business Goals

Step 1) Monthly Small Business Financial Goals are pivotal if you are to remain afloat. Revenue is the lifeblood of all businesses, whether they are large or small. At the beginning of the business venture, set your FINANCIAL GOALS for that year. These financial goals should be broken down into 12 monthly segments for each month of that year. How much money will you bring in this year? How much money will you bring in this month? How much money will you bring in this week? How much money will you bring in today? Make these financial goals realistic especially if it's a new small business. That brings us to step 2.

Step 2) Make a STRATEGY for achieving those goals. If your small business is to gross $20,000 this month, how will that goal be achieved? You have to know the means of achieving your financial objectives at all times or your goals will just be an illusion. A carefully conceived and thoughtfully implemented marketing plan is essential if you're going to hit your goals. Please don't fly by the seat of your pants; it's better to be a steady Betty. That brings us to step 3.

Steps 3) TRACK YOUR STRATEGY. Is your strategy working in achieving your financial objective? If not, you need to modify it. Be patient for a month or two, then change it. There's no use being stubborn in the business world--we're entrepreneurs to make money, not to stroke our own egos. If you're implementing your marketing plan, but it's not bringing in the numbers, change it. That brings us to step 4.

Step 4) BE ACCOUNTABLE to your financial objectives. If you were planning on bringing in $20,000 in revenue this month, then you need to achieve that objective and try to surpass it. Do not get into the habit of coming up short. You can modify your strategy, but do not modify your financial goals because that's why we become entrepreneurs in the first place. Work hard!
I'm a professional business book how to writer which means that I meet with entrepreneurs from a lot of different industries to write the books. All the professionals I meet with stress the importance of financial goal setting with their businesses. That's why these entrepreneurs become a success--they have a goal, they have a plan, they modify their plan if need be, and the achieve their objectives.
................

Helping Material

Introduction

When a sole trader sets up they may have some unstated aims or objectives - for example to survive for the first year. Other businesses may wish to state exactly what they are aiming to do, such as Amazon, the Internet CD and bookseller, who wants to “make history and have fun”.

An aim is where the business wants to go in the future, its goals. It is a statement of purpose, e.g. we want to grow the business into Europe.

Business objectives are the stated, measurable targets of how to achieve business aims. For instance, we want to achieve sales of €10 million in European markets in 2004.

A mission statement sets out the business vision and values that enables employees, managers, customers and even suppliers to understand the underlying basis for the actions of the business.

Business Objectives

Objectives give the business a clearly defined target. Plans can then be made to achieve these targets. This can motivate the employees. It also enables the business to measure the progress towards to its stated aims.

The most effective business objectives meet the following criteria:

S – Specific – objectives are aimed at what the business does, e.g. a hotel might have an objective of filling 60% of its beds a night during October, an objective specific to that business.

M - Measurable – the business can put a value to the objective, e.g. €10,000 in sales in the next half year of trading.

A - Agreed by all those concerned in trying to achieve the objective.

R - Realistic – the objective should be challenging, but it should also be able to be achieved by the resources available.

T- Time specific – they have a time limit of when the objective should be achieved, e.g. by the end of the year.

The main objectives that a business might have are:

Survival – a short term objective, probably for small business just starting out, or when a new firm enters the market or at a time of crisis.

Profit maximization – try to make the most profit possible – most like to be the aim of the owners and shareholders.

Profit satisfying – try to make enough profit to keep the owners comfortable – probably the aim of smaller businesses whose owners do not want to work longer hours.

Sales growth – where the business tries to make as many sales as possible. This may be because the managers believe that the survival of the business depends on being large. Large businesses can also benefit from economies of scale.

A business may find that some of their objectives conflict with one and other:

Growth versus profit: for example, achieving higher sales in the short term (e.g. by cutting prices) will reduce short-term profit.

Short-term versus long-term: for example, a business may decide to accept lower cash flows in the short-term whilst it invests heavily in new products or plant and equipment.

Large investors in the Stock Exchange are often accused of looking too much at short-term objectives and company performance rather than investing in a business for the long-term.

Alternative Aims and Objectives

Not all businesses seek profit or growth. Some organizations have alternative objectives.

Examples of other objectives:

Ethical and socially responsible objectives – organizations like the Co-op or the Body Shop have objectives which are based on their beliefs on how one should treat the environment and people who are less fortunate.

Public sector corporations are run to not only generate a profit but provide a service to the public. This service will need to meet the needs of the less well off in society or help improve the ability of the economy to function: e.g. cheap and accessible transport service.

Public sector organizations that monitor or control private sector activities have objectives that are to ensure that the business they are monitoring comply with the laws laid down.

Health care and education establishments – their objectives are to provide a service – most private schools for instance have charitable status. Their aim is the enhancement of their pupils through education.

Charities and voluntary organizations – their aims and objectives are led by the beliefs they stand for.

Changing Objectives

A business may change its objectives over time due to the following reasons:

A business may achieve an objective and will need to move onto another one (e.g. survival in the first year may lead to an objective of increasing profit in the second year).

The competitive environment might change, with the launch of new products from competitors.

Technology might change product designs, so sales and production targets might need to change.

Thursday, January 6, 2011

CS402 Assignment 03 Idea Solution

Question1-sol


FA1 u FA2



FA1 FA2


FA2*



Question2-sol

Input

a

a

a

b

a

a

b

a

States

Z0

Z1

Z3

Z3

Z3

Z3

Z3

Z3

Z3

Moore

0

1

1

1

1

1

1

1

1

Mealy

1

1

1

1

1

1

1

1

CS201 Assignment No. 3 solution

#include

#include
#include

class calsalary
{
private:
int empID,empGrade;
char empName[20];
int salary;
public:
calsalary()
{
empID=0;
empGrade=0;
strcpy(empName," ");
salary=0;
}
void getData()
{
cout<<"please enter employee ID:";
cin>>empID;
cout<<"Please enter employee Name:";
cin>>empName;
cout<<"Please enter employee Grade:";
cin>>empGrade;
}
int calculate(int grade)
{
switch(grade)
{
case 17:
salary=15000+(15000*45/100);
break;
case 18:
salary=20000+(20000*45/100);
break;
case 19:
salary=25000+(25000*45/100);
break;
default:
cout<< "Your typed Grade in not listed";
break;
}
return salary;
}
void setData()
{
cout<<"The net salary of" <
}

~calSalary()
{
}
};
int main(void)
{
calSalary obj1;
obj1.getData();
obj1.setData();

system("pause");
return 0;
}

.....................
#include
#include
#include
using namespace std;
class CalSalary
{private:
int EID, EGrade;
string Name;
public:
CalSalary()
{EID=0;
EGrade=0;
Name='/0';}
void GetInput()
{cout<<"please enter employee name : ";
cin>>Name;
cout<<"please enter employee ID : ";
cin>>EID;
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)

{case 17:
{cout<
break;}
case 18:
{cout<
break;}
case 19:
{cout<
break;}
default :
cout<<"Grade of Employee is incorrect"<

}
}

};
main()
{ int G=0;
CalSalary cal;
cal.GetInput();
G=cal.GetGrade();
cal.Calculate(G);
getch();
}

.............
#include
#include
#include
using namespace std;
class CalSalary
{private:
int EID, EGrade;
string Name;
public:
CalSalary()
{EID=0;
EGrade=0;
Name='/0';}
void GetInput()
{cout<<"please enter employee name : ";
cin>>Name;
cout<<"please enter employee ID : ";
cin>>EID;
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)

{case 17:
{cout<
break;}
case 18:
{cout<
break;}
case 19:
{cout<
break;}
default :
cout<<"Grade of Employee is incorrect"<

}
}

};
main()
{ int G=0;
CalSalary cal;
cal.GetInput();
G=cal.GetGrade();
cal.Calculate(G);
getch();
}