Ge8151 Python Programming Question Bank
Ge8151 Python Programming Question Bank
4. Remembering BTL-1
List the four assumptions in Linear programming?
5. Describe the principal components of Decision problem. Understanding BTL-2
7. A firm manufactures two types of products A and B and sells Creating BTL-6
them at profit of Rs 2 on type A and Rs 3 on type B. Each
product is processed on two machines M1 and M2.Type A
requires 1 minute of processing time on M1 and 2 minutes on
M2 Type B requires 1 minute of processing time on M1 and 1
minute on M2. Machine M1 is available for not more than 6
hours 40 minutes while machine M2 is available for 10 hours
during any working day. Formulate the problem as a LPP so
as to maximize the profit.
8. Analyzing BTL-4
Pointout the advantages of Linear programming techniques?
Page 1
www.studentsfocus.com
10. A company manufactures two types of products P1, P2.Each Creating BTL-6
product uses lathe and Milling machine. The processing time
per unit of P1 on the lathe is 5 hours and on the milling machine
is 4 hours. The processing time per unit of P2 on the lathe is 10
hours and on the milling machine, 4 hours. The maximum
number of hours available per week on the lathe and the
milling machine are 60 hours and 40 hours, respectively. Also
the profit per unit of selling P1 and P2 are Rs.6.00 and Rs.8.00,
respectively. Formulate a linear programming model to
determine the production volume of each of the products such
that the total profit is maximized.
Page 2
www.studentsfocus.com
Unbounded solution. Give one example in each case.
2 Remembering BTL-1
(i).Examine the following LP problem using graphical method
Minimize Z = 2x1 + 3x2
Subject to
x1 + x2 ≥6,
7x1 + x2 ≥14
x1 and x2 ≥ 0.
3 Remembering BTL-1
(i). Consider the Linear programming model and Examine it
using the simplex method.
4 (i). Consider the Linear programming model and Use Two Evaluating BTL-5
Phase Method to solve
Page 3
www.studentsfocus.com
x1 + 2x2 + x3 = 3,
2x1 - x2 = 4
x1 , x2 and x3 ≥ 0.
If the objective function is changed to (2,5, 2),find the new
optimum solution.
(ii). Illustrate the concepts of Sensitivity analysis.
Maximize Z = x1 - 2x2
Subject to
Dr.M.SENTHILKUMAR & Mr.K.SHANMUGAM CS6704-RMT Page 4
www.studentsfocus.com
-x1 + x2 ≤ 1,
6x1 + 4x2 ≥24,
0 ≤ x1 ≤ 5 and 2 ≤ x2 ≤ 4.
a) Slack Variable
b) Surplus Variable
C) Artificial Variable
D) Basic Variable
11. (i).A toy Company manufactures two types of doll, a basic Understanding BTL-2
version –doll A and a delux version-doll B. Each doll of type B
takes twice as long to produce as one of type A, and the
company have time to make a maximum of 2000 per day. The
supply of plastic is sufficient to produce 1500 dolls per day
(both A and B combined). The deluxe version requires a fancy
dress of which there are only 600 per day available. If the
company makes a profit of Rs.3.00 and Rs.5.00 per doll,
respectively on doll A and B, then how many of each doll
should be produced per day in order to maximize the total
profit. Formulate this problem and discuss the components of
decision problem.
12. Solve by Simplex method and Give brief description of the Understanding BTL-2
problem.
www.studentsfocus.com
4x1 – x2 ≤ 8
x1 , x2 ≥ 0.
13. Analyze and Use Two phase method to solve Analyzing BTL-4
x1 , x2 ≥ 0.
14. (i).Explain in detail about some Resource allocation problems. Analyzing BTL-4
2 MARK QUESTIONS
1 Remembering BTL-1
Define the dual of a linear programming problem.
2 Applying BTL-3
What do you mean by primal and dual problems? Illustrate is
the number of constraints in the primal and dual the same?
3 Applying BTL-3
Illustrate the General rules for converting any Primal into its
Dual.
4 Analysing BTL-4
www.studentsfocus.com
Identify the essential Difference between regular Simplex
method and Dual simplex method?
6 Analysing BTL-4
8 Remembering BTL-1
Define Post optimality analysis?
9 Evaluating BTL-5
Conclude, What are the changes in the Linear programming
problem which are usually studied by include the sensitivity
analysis?
10 Remembering BTL-1
Define Assignment problem.
11 Understanding BTL-2
Give the Mathematical formulation of an assignment problem.
12 Remembering BTL-1
List out the steps to solve an Assignment problem.
15 Analysing BTL-4
Comparison between Transportation problem and Assignment
Problem.
16 Understanding BTL-2
With reference to a Transportation problem discuss the
following terms:
(i). feasible solution (ii). Basic feasible solution.
17 Creating BTL-6
What is unbalanced transportation problem? Generalize how
do you start in this case?
18 Illustrate the Shortest Route Problem? Applying BTL-3
19 Understanding BTL-2
Discuss the shortest route algorithms for solving both cyclic
www.studentsfocus.com
and Acyclic networks.
20 Understanding BTL-2
Describe the concepts of Floyd’s algorithm?
16 MARK QUESTIONS
1 (i).Form the dual of the following primal problem and Remembering BTL1
Examine this problem.
Maximize Z = 4x1 + 10x2 + 25x3
Subject to
2x1 + 4x2 + 8x3 ≤ 25,
4x1 + 9x2 + 8x3 ≤ 30
6x1 + 8x2 + 2x3 ≤ 40
x1, x2, and x3 ≥ 0.
2 Applying BTL3
(i). Show that the dual of the dual of a given primal is again
primal.
(ii). Form the dual of the following primal problem and solve
it.
3 Remembering BTL1
(i).Use Dual simplex method to solve
x1 , x2 ≥ 0.
www.studentsfocus.com
4 (i). Describe and Solve the following LP problem using dual Understanding BTL2
simplex method.
Minimize Z = x1 + 2x2 + 3x3
Subject to
2x1 - x2 + x3 ≥ 4
x1 + x2 + 2x3 ≤ 8
x2 – x3 ≥ 2
x1 , x2 and x3 ≥ 0.
(ii). Describe the outlines of dual simplex method.
Minimize Z = 2x1 + x2
Subject to
3x1 + x2 ≥ 3
4x1 + 3x2 ≥ 6
x1 + 2x2 ≥ 3
x1 , x2 ≥ 0.
6 Applying BTL3
Given the Linear programming problem.
Maximize Z = 3x1 +5 x2
Subject to
3x1 + 2x2 ≤ 18
x1 ≤ 4, x2 ≤ 6 and x1 , x2 ≥ 0.
(i). Show that the optimum solution to the LP problem.
7 Understanding BTL2
What do you meant by sensitivity analysis? Discuss sensitivity
analysis with respect to a) Change in the objective functions
coefficients b) Adding a new constraint C) Adding a New
Variable.
8 Evaluating BTL5
Consider the following transportation problem involving three
sources and four destinations. The cell entries represent the cost
www.studentsfocus.com
of transportation per unit.
A 8 26 17 11
B 13` 28 4 26
C 38 19 18 15
D 19 26 24 10
10 Analysing BTL4
What are the jobs assignments which will minimize the cost?
analyze it.
1 2 3 4
A 18 24 28 32
B 8 13 17 19
Jobs
C 10 15 19 22
11 Explain the Initial basic feasible solution for the following Analysing BTL-4
transportation problem by Vogel’s Approximation method and
find the initial basic feasible solution.
Availability
11 13 17 14 250
16 18 14 10 300
www.studentsfocus.com
21 24 13 10 400
Require 200 225 275 250 950
ments
12 Remembering BTL-1
Describe the Transportation problem. Find the optimal
transportation cost of the following matrix using least cost
method for finding the critical solution.
A B C D E Avail
able
P 4 1 2 6 9 100
Q 6 4 3 5 7 120
R 5 2 6 4 8 120
Dem 40 50 70 90 90 340
and
13 Analyzing BTL-4
Calculate the all-pair shortest path problem for the diagraph
with the weighted matrix given below and explain the concepts
of Floyd’s algorithm.
a b c d
a 0 α 3 α
b 2 0 α α
c α 7 0 1
d 6 α α 0
14 Understanding BTL-2
Estimate the shortest path from node 1 to node 9 of the
distance network using Dijkstra’s algorithm.
www.studentsfocus.com
UNIT -3- INTEGER PROGRAMMING
2 MARK QUESTIONS
1 Creating BTL6
Why integer programming is needed? Generalize it.
2 Identify the major difference between pure and mixed integer Remembering BTL1
programming problem.
3 Describe the general form of an integer programming problem. Remembering BTL1
4 Remembering BTL1
List out the approach to solve an integer programming
problem.
5 Understanding BTL2
Summarize the main disadvantage of the branch and bound
method?
6 Remembering BTL1
Define lower bound and upper bound.
7 Remembering BTL1
List out the applications of Integer programming.
8 State the ‘Principle of optimality’ in dynamic programming and Analysing BTL4
Explain a mathematical formulation of a dynamic
programming problem.
9 Applying BTL3
Show that the Bellman’s principle of optimality in dynamic
programming.
10 Remembering BTL1
Describe a dynamic programming problem.
11 Analysing BTL4
Analyze the concepts of additive algorithm
12 Evaluating BTL5
Summarize the concepts of cut and mixed cut.
13 Applying BTL3
www.studentsfocus.com
Illustrate the types of integer programming.
14 Evaluating BTL5
Summarize the applications of integer programming?
15 Point out the rules of Network Construction. Analysing BTL4
16 Generalize the two stages for the solution of the problems by Creating BTL6
dynamic programming?
17 Describe the function equation approach? Understanding BTL2
18 Understanding BTL2
Discuss the concepts of decision tree in dynamic programming.
19 Understanding BTL2
Describe the basic features which characterize a dynamic
programming problem.
20 What are the methods to solve integer programming problem? Applying BTL3
16 MARK QUESTIONS
1 Create the optimum integer solution to the following creating BTL6
linear programming problem.
Maximize Z = 5x1 +8 x2
Subject to
x1 + 2x2 ≤ 8
4x1 + x2 ≤ 10
x1 , x2 ≥ 0 and integers.
2 Solve the following integer linear programming problem using Applying BTL3
Gomary’s cutting plane method
Maximize Z = x1 + x2
Subject to
3x1 + 2x2 ≤ 5
x2 ≤ 8
x1 , x2 ≥ 0 and integers
3 Applying BTL3
Solve the following integer linear programming problem using
branch and bound technique.
www.studentsfocus.com
4 Evaluating BTL5
(i).Generalize the step by step procedure to solve Branch and
Bound algorithm applied to maximization problem.
Maximize Z = 2x1 +3 x2
Subject to
6x1 + 5x2 ≤ 25
x1 + 3x2 ≤ 10
x1 , x2 ≥ 0 and integers
5 Discuss Gomary’s Cutting plane method and solve it. Understanding BTL2
Maximize Z = 2x1 +2 x2
Subject to
5x1 + 3x2 ≤ 8
2x1 + 4x2 ≤ 8
x1 , x2 ≥ 0 and all integers
7 Understanding BTL2
Estimate the shortest path from vertex A to vertx B along
arcs joining various vertices lying between A and B. Length
path is given.
www.studentsfocus.com
8 (i). Examine the value of max(y1,y2,y3) subject to Remembering BTL1
y1 + y2 + y3 = 5 ; y1,y2,y3 ≥ 0.
(ii).A truck can carry a total of 10 tons of product. Three types
of product are available for shipment. Their weights and values
are tabulated. Assuming that at least one of each type must be
shipped identify the loading which will maximize the total
value.
x1 , x2 ≥ 0 and integers.
11. Summarize and Find the optimum integer solution to the Understanding BTL-2
following all I.P.P:
Maximize Z = x1 +2 x2
www.studentsfocus.com
Subject to
2x2 ≤ 7
x1 + x2 ≤ 7
2x1 ≤ 11
x1 , x2 ≥ 0 and integers.
12 Use Branch and Bound technique to solve the following Analysing BTL-4
problem and analyze it
13 (i).Describe gomory’s method for solving an all integer linear Remembering BTL-1
programming problem. Formulate the travelling salesman
problem as an integer programming problem.
www.studentsfocus.com
(i). Positive definite when x0 is a minimum point.
(ii). Negative definite when x0 is a minimum Point.
4 Describe the Kuhn-Tucker sufficient conditions in nonlinear Remembering BTL1
programming.
5 Remembering BTL1
Describe the concepts of the Newton-Raphson method.
6 Remembering BTL1
Define the conditions for maxima and minima.
7 Understanding BTL2
Summarize the Kuhn-Tucker conditions for maximization problem.
8 Analysing BTL4
Analyze the functions for extreme points.
f(x)= x1 + 2x3 + x2 x3 - x12 - x22 - x32.
10 Understanding BTL2
Predict the set of necessary conditions for the non-linear programming
problem:
11 Understanding BTL6
Describe the concepts of Lagrangian multiplier?
15 Applying BTL3
Illustrate the Kuhn-Tucker conditions for the problem.
www.studentsfocus.com
Maximize f(x)
Subject to
g(x) ≥ 0.
16 Evaluating BTL5
Consider the problem
Maximize f(x)
Subject to g(x) = 0. Given f(x) is concave and gi (x) (i =1,2,…..m) is a
linear function, show that Kuhn-Tucker necessary conditions are also
sufficient.
Subject to
G1(x) ≥ 0,g2(x)=0, g3(x)=0
Develop the Kuhn-Tucker conditions.
18 Analysing BTL4
Analyze the concepts of Concave and convex set.
19 Applying BTL3
Illustrate the concepts of sensitivity analysis in the Jacobian method.
20 Understanding BTL2
Differentiate between equality and inequality constraints.
16 MARK QUESTIONS
1 Understanding BTL2
Discuss the Non Linear programming problem and solve by using
Legrange multipliers with equality constraints.
Subject to
x1 + x2 = 2
x1 , x2 ≥ 0
2 Evaluating BTL5
Determine the optimal solution for Nonlinear programming problem
and Evaluate whether maximizes or minimizes the objective function.
Subject to
x1 + x2 + x3 = 7 ,
Dr.M.SENTHILKUMAR & Mr.K.SHANMUGAM CS6704-RMT Page 18
www.studentsfocus.com
x1 , x2 , x3 ≥ 0.
3 (i). A positive quantity b is to be divided into n parts in such a way that Analysing BTL4
the product of n parts is to be maximum. Use lagrange’s multiplier
technique to obtain the optimal subdivision. Explain it.
Subject to
x1 + x2 +3x3 = 2 ,
5x1 + 2x2 +x3 = 5
x1 , x2 , x3 ≥ 0.
4 Applying BTL3
Solve the following Non LPP by using lagrange’s multiplier
Subject to
x1 + x2 +x3 = 15 ,
2x1 - x2 +2x3 = 20
x1 , x2 , x3 ≥ 0.
5 Give the solution to Non LPP by using Kuhn-Tucker conditions Understanding BTL2
Subject to
x1 + x2 ≤ 1
x1 , x2 ≥ 0.
6 Formulate the Non LPP by using Kuhn-Tucker conditions Creating BTL6
Subject to
2x1 + 5x2 ≤ 98
x1 , x2 ≥ 0.
7
Solve the following NLPP BTL3
www.studentsfocus.com
Max Z= 7x12 + 6x1 + 5x22 Applying
Subject to
x1 + 2x2 ≤ 10
x1 -3x2 ≤ 9
x1 , x2 ≥ 0.
(ii). Describe the necessary and sufficient conditions for the optimum
solution of the following non –linear programming problem.
Min Z = f (x1, x2 ) = 3 +2
Subject to
x1 + x2 = 7
and
x1 , x2 ≥ 0.
9 Remembering BTL1
(i).Describe in detail about the Newton-Raphson method.
10 Remembering BTL1
Consider the following problem solved by jacobian method.
Subject to
x1 + x2 +x3 = 20,
www.studentsfocus.com
x1 , x2 , x3 ≥ 0.
12 Examine the following Non LPP by using lagrange’s multiplier Remembering BTL1
Subject to
4x1 + 3x2 = 15 ,
3x1 + 5x2 = 14
x1 , x2 ≥ 0.
Subject to
x1 + 2x2 ≤ 10
x1 -3x2 ≤ 9
x1 , x2 ≥ 0.
14 Give the solutions for NLPP by Using Kuhn-Tucker conditions Understanding BTL2
Subject to
2x1 + 3x2 ≤ 6
2x1 +x2 ≤ 4
x1 , x2 ≥ 0.
www.studentsfocus.com
Describe the two passes of critical path calculations?
10 Analyze forward pass in critical path calculations. Analysing BTL4
11 Remembering BTL1
Define Backward pass? And write the general step of backward pass.
12 Understanding BTL2
Summarize the total and free floats of a critical activity?
13 Describe the Red-flagging rule. Understanding BTL2
14 Generalize the activity in Network diagram representation? And List Creating BTL6
out the four categories of activity.
15 Summarize the applications of PERT and CPM techniques. Evaluating BTL5
16 Applying BTL3
Illustrate the Basic steps in PERT and CPM techniques?
17 Evaluating BTL5
Summarize the concepts of Event in Network diagram representation?
And List out the three categories of Event.
18 Creating BTL6
Generalize the Fulkerson’s Rules and Main steps of this rule.
19 Point out the main features of Critical path? Analysing BTL4
www.studentsfocus.com
L Making doors and windows and A
fitting them
M Whitewashing K
N Clearing the site before handing over M
2 Applying BTL3
The details of a project are as shown in table. Examine the critical path
and the corresponding project completion time.
www.studentsfocus.com
J G 6
K H 8`
(a). Draw the project network and find the critical path and the
corresponding project completion time.
(b). Also, draw a Gantt-chart/Time chart for this project and also
explain this concepts.
www.studentsfocus.com
(c). Find the critical path and the expected project completion time.
(d).What is the probability of completing the project on or before 25
weeks?
(e). If the probability of completing the project is 0.84, find the
expected project completion time.
5 Analysing BTL4
A project has the following characteristics.
Construct a PERT network. Find critical path and variance for each
event and also analyze it.Find the project duration at 95% probability.
6 Analyzing BTL4
A project is represented by the network shown below and has the
following data.
Task A B C D E F G H I
www.studentsfocus.com
Least 5 18 26 16 15 6 7 7 3
Time
Greatest 10 22 40 20 25 12 12 9 5
time
Most 8 20 33 18 20 9 10 8 4
Likely
Time
Duration (Days)
Job(i-j) Optimistic(t0 ) Most Pessimistic
Likely(tm) (tp)
1-2 3 6 15
1-6 2 5 14
2-3 6 12 30
2-4 2 5 8
3-5 5 11 17
4-5 3 6 15
6-7 3 9 27
5-8 1 4 7
7-8 4 19 28
Discuss the following
(i). Draw the project network
(ii).Calculate the length and variance of the critical path.
(iii). What is the approximate probability that the jobs on the critical
path will be completed in 41 days.
8 Remembering BTL1
(i).Describe in detail about the Resource allocation and Resource
levelling.
(ii). Examine the following information,suggest some appropriate
allocation schedule
www.studentsfocus.com
And the Resource table is as given below.
11. (i).List out the Rules for Drawing Network Diagram. Remembering BTL1
(ii).What are the basic steps in PERT/CPM techniques.
www.studentsfocus.com
(ii).Explain in detail about the Network Diagram Representation.
12. Consider the problem of project scheduling as shown in table. Describe understanding BTL2
a schedule which will minimize the peak manpower requirement and
also smooth out period-to-period variation of manpower requirement.
Activity Duration(weeks) Manpower
requirement
1-2 8 7
1-3 6 13
1-4 8 9
2-4 12 11
2-5 4 6
3-5 4 3
4-6 10 15
5-6 10 5
13. Consider the network scheduling problem as shown in table. Analyzing BTL4
Page 28
www.studentsfocus.com
Page 29
www.studentsfocus.com