75% found this document useful (4 votes)
2K views

mth202 Solved Subjectives Final Term PDF

The document contains solved subjective questions from a final term exam in discrete mathematics. It includes 10 questions with detailed solutions on topics such as one-to-one functions, greatest common divisors, graph theory concepts like spanning trees and chromatic numbers, permutations, combinations, and probability. The questions range from 2 to 5 marks each.

Uploaded by

HumayunKhalid
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
75% found this document useful (4 votes)
2K views

mth202 Solved Subjectives Final Term PDF

The document contains solved subjective questions from a final term exam in discrete mathematics. It includes 10 questions with detailed solutions on topics such as one-to-one functions, greatest common divisors, graph theory concepts like spanning trees and chromatic numbers, permutations, combinations, and probability. The questions range from 2 to 5 marks each.

Uploaded by

HumayunKhalid
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 14

MTH202- Discrete Mathematics July 12,2011

LATEST SOLVED SUBJECTIVES


FROM Final term PAPERS

MC100401285

[email protected]

[email protected]

FINALTERM EXAMINATION
Spring 2011
Q1:Let R R be defined by

f ( x) 22xx12

5marks

Is f one-to-one?
Solution:

2 x1 1 2 x2 1

2 x1 2 2 x2 2

2 x1 1 2 x2 2 2 x2 1 2 x1 2
4 x1 x2 4 x1 2 x2 2 4 x1 x2 4 x2 2 x1 2
4 x1 x2 4 x1 2 x2 2 4x1 x2 4 x2 2 x1 2 0
4 x1 2 x2 4 x2 2 x1 0
4 x1 2 x1 4 x2 2 x2
2 x1 2 x2
x1 x2
x1 = x2 Therefore this function is one to one function

Q2: Find the gcd of 1075, 45 using dividing algorithm.


Solution:

1.Divide 1075 by 45:


This gives 1075 = 45 * 23 + 40
2.Divide 45 by 40:
This gives 45 = 40 1 + 5
3.Divide 40 by 5:
This gives 40 = 5 * 8 + 0
Hence gcd (1075, 45) = 5.

5marks

Latest Subjective

Q 3. Compute x and x for x=-2.01


Solution: Page 249

3 marks

2.01 = 3 + 0.99 = 3
2.01 = 3+ 0.999 = 3 + 1 = 2
Q 4: Find the greatest common division for the following pair of integer: 30,105 2marks
Solution:

1.Divide 105 by 30:


This gives 105 = 30 * 5 +0
Hence gcd (105,30) = 30
Q 5: Find the Spanning tree for the graph K1,5 ?

2marks

Solution: Page 332

k1,5 represents a complete bipartite graph on (1,5) vertices, drawn below:

Clearly the graph itself is a tree (six vertices and five edges). Hence the graph is itself a spanning tree.
Q 6 Determine which f is a function?

f ( x) n214

Q7. What is the difference between? {a,b} and {{a,b}}?


Solution:
{a,b} is a set while {{a,b}} is a subset of some set.
Q8. How many 3-digits can be formed by using each one of the digits 2,3,5,7,9 only once?
Solution:
5* 4* 3 = 60
Q9 what is the smallest integer N such that [N/9] =6?

N 9 6 1 1
9 5 1 46

FINALTERM EXAMINATION
Spring 2010
MTH202- Discrete Mathematics (Session - 2)

Question No: 31 ( Marks: 2 )


Let A and B be the events. Rewrite the following event using set notation
A or not B occurs

Question No: 32 ( Marks: 2 )


Find a non-isomorphic tree with four vertices.
Solution: Page 323
Any tree with four vertices has (4-1=3) three edges. Thus, the total degree of a tree with 4 vertices must be 6 [by
using total degree=2(total number of edges)].
Also, every tree with more than one vertex has at least two vertices of degree 1, so the only possible combinations of
degrees for the vertices of the trees are 1, 1, 1, 3 and 1, 1, 2, 2.
The corresponding trees (clearly non-isomorphic, by definition) are

Question No: 33 ( Marks: 2 )


Write the following in the factorial form:
n(n -1)(n-2)( n-r+1)
Solution Page 217:

n n 1 n 2 n r 1

n n 1 n 2 n r 1 n r !
n r !

n!
n r !

Question No: 34 ( Marks: 3 )


Compute x and x for x = 25/4
Question No: 35 ( Marks: 3 )
Find a spanning tree for the graph k1,5 ?

k1,5 represents a complete bipartite graph on (1,5) vertices, drawn below:


Solution (Page 332):

Clearly the graph itself is a tree (six vertices and five edges). Hence the graph is itself a spanning tree.

Question No: 36 ( Marks: 3 )


The members of a club are 12 boys and 8 girls. In how many ways can a committee of 3 boys and 2 girls be formed?
Solution:

C 12,3 C 8, 2 220 28 6160

Question No: 37 ( Marks: 5 )


Is it possible to have a simple graph with four vertices of degree 1, 1, 3, and 3.If no then give reason?(Justify your
answer)
Solution:
Yes, It is possible to make a graph with four vertices of degree 1, 1, 3, 3
Because 1+1+3+3=8
And According to handshaking theorem, the sum of the degrees of all the vertices of G equals twice the number
of edges of G.
2*4=8
So it is possible.
Question No: 38 ( Marks: 5 )
Draw a binary tree to represent the following expression
a/(b-c.d)
The internal vertices are arithmetic operators, the terminal vertices are variables and the operator at each vertex acts
on its left and right sub trees in left-right order.
Solution:

a
b

.
c

Question No: 39 ( Marks: 5 )


There are 25 people who work in an office together. Four of these people are selected to attend four different
conferences. The first person selected will go to a conference in New York, the second will go to Chicago, the third
to San Francisco, and the fourth to Miami. How many such selections are possible?

FINALTERM EXAMINATION
Spring 2010
MTH202- Discrete Mathematics (Session - 1)
Question No: 31 ( Marks: 2 )
Let A and B be the events. Rewrite the following event using set notation
Only A occurs
c
AB
Question No: 32 ( Marks: 2 )
Suppose that a connected planar simple graph has 15 edges. If a plane drawing of this graph has 7 faces, how
many vertices does this graph have?
Answer:
Given,
Edges = v =15
Faces = f = 7

Vertices = v =?
According toEuler Formula, we know that,
f= e v +2
Putting values, we get
7 = 15 v + 2
7 = 17 v
Simplifying
v =1 7-7 =10

Question No: 33 ( Marks: 2 )


How many ordered selections of two elements can be made from the set {0,1,2,3}?
Answer:
The order selection of two elements from 4 is as
P (4, 2) = 4! / (4-2)!
= (4.3.2.1)/2!
= 12

Question No: 34 ( Marks: 3 )


Consider the following events for a family with children:
A={children of both sexes}, B={at most one boy}.Show that A and B are dependent events if a family has only two
children.
Question No: 35 ( Marks: 3 )
Determine the chromatic number of the given graph by inspection.

Solution:

a
b

The chromatic number of a graph is the least (minimum) number of colors for coloring of this graph.
So chromatic number in this graph is 3
Question No: 36 ( Marks: 3 )
A cafeteria offers a choice of two soups, five sandwiches, three desserts and three drinks. How many different
lunches, each consisting of a soup, a sandwich, a dessert and a drink are possible?
Solution:
13!
C 13, 4
4! 13 4 !

13 12 1110 9! 17160

715
24
4! 9!

Question No: 37 ( Marks: 5 )


A box contains 15 items, 4 of which are defective and 11 are good. Two items are selected. What is probability that
the first is good and the second defective?

Question No: 38 ( Marks: 5 )


Draw a binary tree with height 3 and having seven terminal vertices.
Solution: On Page 327
Given height=h=3
Any binary tree with height 3 has atmost 23=8 terminal vertices.
But here terminal vertices are 7
and Internal vertices=k=6 so binary tree exists and is as follows:
a (root)

b
e

Question No: 39
Find n if
P(n,2) = 72
Solution:

( Marks: 5 )

P n, 2 72
n n 1 72 by using the definition of permutation
n 2 n 72
n 2 n 72 0
n 2 8n 9n 72 0
n n 8 9 n 8 0

n 9 n 8 0
n9 0

n8 0

n9

n 8

n 9 or -8
since n must be positive so only the acceptable value for n is 9

FINALTERM EXAMINATION
Fall 2009
MTH202- Discrete Mathematics

( Marks: 2 )
Find the degree sequence of the following graph
( Marks: 2 )
Let A and B be events with
1
1
1
P( A) , P( B) and P( A B )
2
3
4
Find

P( A | B)

Solution:

P A| B

P A B
P B

1
4
1
3
1 3 3

4 1 4
( Marks: 3 )
Find the greatest common divisor of the following pair of integer:
72,63
Solution:
1.Divide 72 by 63:
This gives 72 = 63 * 1 + 9
2.Divide 63 by 9:
This gives 63 = 9 * 7 +0
Hence gcd (72, 63) = 9.

( Marks: 2 )
Find all non isomorphic simple connected graphs with three vertices.
( Marks: 3 )
How many 3-digit numbers can be formed by using each one of the digits 2,3,5,7,9 only once?
Solution:
5*4*3=60
( Marks: 3 )

How many permutations of the letter of the word PANAMA can be made, if P is to
be the first letter in each arrangement?
Solution:
Total letter =6
Like letters = A =3
First letter is P already selected , remaining =5
Therefore,
P (5,3) = 6
( Marks: 5 ) incomplete Question
A die is weighted so that the outcomes produce the following probability distribution:
Outcome
1
Probability 0.1

2
0.3

3
0.2

4
0.1

5
0.1

6
0.2

Consider the event


A= {even number} then find the following
a) P(A)
b)
P (Ac)

( Marks: 5 )
Determine whether the given graphs have an Euler circuit? If it does, find such a circuit, if it does not, give an
argument to show why no such circuit exists.

( Marks: 5 )
By using Mathematical induction prove that for all positive integers n
12 + 22 + 32 +...+ n 2 = n (n+1) (2n+1) / 6
( Marks: 10 )
Prove by mathematical induction that

3 2 n1 1

is divisible by 4 for all

Question No: 21 ( Marks: 2 )


Find integers q and r so that a=bq+r , with 0r<b.
a=45 , b=6.

n 1.

Solution:
If a =45 and b = 6 are two integers with b 0 such that the q and r are non negative integers.
a=bq+r
divides 45 by 6
this gives= 6*7 +3
divides 6 by 3
this gives = 3*2 +0
hence gcd of the (45,6 ) will be 3
Question No: 22 ( Marks: 2 )
Give the degree of each vertex in the figure (given below)

Solution:
degree of A vertex = 1
Degree of B vertex = 3
Degree of C vertex = 3
Degree of D vertex = 1
Total degree of vertices = 8
Can be prove by formula
Degree of vertices = 2. no. of edges
= 2.4
= 8
Question No: 23 ( Marks: 2 )
What is the probability of getting a number greater than 2 when a dice is tossed?
Solution:
As dice has 6 sides so possible event will be 36.
No. greater than 2 will be
3 ,4 ,5 ,6 = 4 outcomes are greater than 2
P(E) =n(E)/(n(S))
= 4/36
= 1/9 will be the possibility to get no greater than 2
Question No: 24 ( Marks: 3 )
How many distinguishable ways can the letters of the word HULLABALOO be arranged if words are to begin

with U and end with L


Solution:
If the words are to begin with U and end with L, then there are eight positions left to fill.
Where,
There are 3 L alike
2 O alike
2 A alike.
Therefore, the permutation becomes.
8!
40320
=

1680
3!*2!*2!
24

Question No: 26

( Marks: 3 )
Draw a full binary

tree with seven vertices.


exact example hai Lecture 44 ki
Solution:
EXERCISE:
Draw a full binary tree with seven vertices.
SOLUTION:
Total vertices= 2k + 1 = 7 (by using the above theorem)

k=3
Hence, total number of internal vertices (i.e. a vertex of degree greater than 1)=k=3
and total number of terminal vertices( i.e. a vertex of degree 1 in a tree) =k+1=3+1=4
Hence, a full binary tree with seven vertices is
a (root)
b

e f

Question No: 27

( Marks: 5 )

Find n if
P(n,2) = 72
Solution:
Given
P(n,2) = 72
n.(n-1)=72 by using the definition of permutation
n2-1=72
n2-n-72=0
n=9,-8 since n must be positive so only the acceptable value for n is 9

Question No: 28 ( Marks: 5 )


Five people are to be seated around a circular table. Two seating plans are considered as same if one is the
rotation of other. How many different seating plans are possible?

Question No: 29 ( Marks: 5 )


Use Kruskals Algorithm to draw the minimal spanning tree for the graph below. Indicate the order in which
edges are added to form a tree.

Order of adding the edges:

{v3,v6},{v1,v2},{v4,v5},{v2,v3},{v2,v4},.

Question No: 30 ( Marks: 10 )


Show the sample space for tossing one penny and rolling one die.
(H = heads, T = tails) using tree diagram

Question No: 31
,

( Marks: 10 )
is divisible by 7 for all n>=1

Solution:
Let

is divisible by 7

Basis step:
P(1) is true.now
P(1):
(1.1)
103n +13 n+1

is divisible by 7

Since 103.1+13 1+1 = 103 +132


This is divisible by 7
Hence P(1) is true.now
Inductive step:
Suppose p(k is true)
103k +13 k+1 = 7.q
To prove p(k+1) 103n +13 n+1
103k+1 + 13 k+1+1

is true is divisible by 7

= 234k+3
= 234k+3 +2 -2
=214k+3 +2
=7.34k+3 +2
= 7(34k+3 +2)
=7. q where q is ant positive integer equal to 34k+3 +2

So its proved that

divisible by 7 for all n>=1

You might also like