Ads

Pages

Saturday, April 30, 2011

CS301 Assignment # 3 Solution

CS301
Assignment # 3
Solution
 
Question

Consider a binary search tree (BST) that is initially empty. Draw the tree that will result if the following numbers are inserted in the order given below:

13, 3,1,2,4,12,10,5,8,7,6,9,11,14,15,18

 
After making a BST perform the following operations on it.

a) Pre order Traversal

b) Inorder Traversal

c) Postorder Traversal

Solution:

a) Pre Order Traversal

13, 3,1,2,4,12,10,5,8,7,6,9,11,14,15,18

b) Inorder Traversal

1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,18

c) Postorder Traversal

2,1,6,7,9,8,5,11,10,12,4,3,18,15,14,13

MGT503 GDB IDEA SOLUTON

Question

There are certain aspects of decisions like the ‘management level’ at which the decision is taken, the ‘situation’ faced to take decision and the ‘type of decision’ etc.

Following are four different cases/ examples of decisions. You are required to identify Type of Decision (programmed or non-programmed), Management Level (upper, middle or lower), and the Situation (certainty, uncertainty or risk) for each case.

Situation

1 Apple computer Incorporation has successfully launched Macintosh computers in all over world. Now apple is going to launch Clutches Laptop in market.

Type of Decision

Programmed

Management level

Top

Situation

Uncertainty

Situation

2 Lathe (machine tool) operators have specifications and rules that tell them whether the part they made is acceptable, discarded or should be reworked.

Type of

Decision

Programmed

Management level

Lower

Situation

Uncertainty

Situation

3 Wal-Mart has different retail stores in USA, UK, China and France. They are going to open their chain of retail stores in Pakistan, too; but know a little about the country’s cultural, laws and order, economic, and political conditions.

Type of Decision

Non-programmed

Management level

Top

Situation

Risky

Situation

4 A multinational company is going to restructure its standard ERP (Enterprise Resource Planning) system in order to facilitate flow of information between all business functions and outside boundaries of organization

Type of Decision

Programmed

Management level

Middle

Situation

Certainty

CS201 Introduction to Programming Solution

#include
#include
main()
{
int ary1[3][3],ary2[3][3],ary[18],index,temp,max;
cout<<"Please enter the Elements of First Matrix: ";
for(int n=0;n<3;n++)
{
for(int m=0;m<3;m++)
{
cin>>ary1[n][m];
}
}
cout<<"Please enter the Elements of second Matrix: ";
for(int n=0;n<3;n++)
{
for(int m=0;m<3;m++)
{
cin>>ary2[n][m];
}
}
//Copying first array into single dimenional array
index=0;
for(int n=0;n<3;n++)
{
for(int m=0;m<3;m++)
{
ary[index]=ary1[n][m];
index++;
}
}
//Copying second array into single dimenional array
index=9;
for(int n=0;n<3;n++)
{
for(int m=0;m<3;m++)
{
ary[index]=ary2[n][m];
index++;
}
}
// Here sorting the third array in which ary1 and ary2 are copped....
// This sorting method is bubble sorting method in decending order.
for(int n=0;n<18;n++)
{
for(int m=n;m<18;m++)
{
if(ary[n]
{
temp=ary[n];
ary[n]=ary[m];
ary[m]=temp;
}
}

}
//Show arranged array in decending order
cout<<"Sorted Values from Both the Matrices are: "<
for(int n=0;n<18;n++)
{
cout<
}
getch();
}

Mgmt625 GDB idea Solution

Pakistan Railway, one of the largest institutions of Pakistan is providing the transportation services all over the country. But with the passage of time it has lost its credibility and is now at the verge of closure or dismemberment.

Greiner Model of organizational evolution & revolution proposed following dimensions of organizational development that is; age of organization, size of organization, stages of evolution, and stages of revolution.

In your opinion, which dimension of Greiner Model was ignored by Pakistan Railway that hindered its development? Justify your choice within two lines.

Solution:

Stage of revolution is ignored by Pakistan Railway.

unstable times leading to severe disturbance of management perform – means revolution or period of revolution.

Many organizations fail during such a crisis – unable to abandon past practices have to wind-up or compromise to lower levels of growth.

In case of Pakistan railway could not overcome solving problem. And the decisions were made to solve the problem but these decision have become major problem for it.

Friday, April 29, 2011

Mgmt625 Assignment Solution HRM625

Solution MGMT625 - Change Management



Pakistan Railway, one of the largest institutions of Pakistan is providing the transportation services all over the country. But with the passage of time it has lost its credibility and is now at the verge of closure or dismemberment.

Greiner Model of organizational evolution & revolution proposed following dimensions of organizational development that is; age of organization, size of organization, stages of evolution, and stages of revolution.



In your opinion, which dimension of Greiner Model was ignored by Pakistan Railway that hindered its development? Justify your choice within two lines.

Solution:

Stage of revolution is ignored by Pakistan Railway.

Turbulent times leading to severe upheaval of management practices – means revolution or period of revolution.

Many organizations fail during such a crisis – unable to abandon past practices have to wind-up or compromise to lower levels of growth.

The critical task for management in each revolutionary period is to find a new set of organization.

Interestingly, the new practices sow their own seeds of decay and lead to another revolution. Therefore management sees something a solution in one time period becomes a major problem later.