Aux 2017
Aux 2017
Aux 2017
Note: Attempt all questions with proper justification. Assume missing data, if any.
Q.1 a) Determine whether the pair of graphs given in Figure 1 is isomorphic (5+5)
or not? If yes, exhibit an isomorphism. If not, give a suitable reason.
U U2 Vi
V
U3
(, U4
Us
Figure 1
b) Determine whether the directed graphs given in Figure 2 have an
Euler circuit or not. If yes, write the Euler circuit. If no, then determine
whether they have an Euler path. Write the Euler path if one exists.
a
Figure 2
Q.2 a) What is a ring? Mention the conditions necessary to be a ring. (6+4)
b) What do you mean by a monoid? Mention the conditions necessary to
be a monoid.
Q.3 Answer the following questions for the poset ({3, 5, 9, 15, 24, 45}, I ). (10)
Q.4 i) Let p and q be the propositions "Swimming at the New Jersey shore is (5+5)
allowed" and "Sharks have been spotted near the shore," respectively.
Express each of these compound propositions as an English sentence.
Q.5 Write the name of rule of inference used in each of the following (10)
arguments.
Also mention the rule using propositional variables clearly stating the
statements those propositional variables represent.
b) Show that if both fand g are onto functions, then f o ,g is also onto.
Q.8 Find big-0 estimate for the following functions: (10)
a) (n log n + n2)(n3 + 2)
Q.9 A parking lot has 31 visitor spaces, numbered from 0 to 30.Visitors are (5+5)
assigned parking spaces using the hashing function h(k) = k mod 31,
where k is the number formed from the first three digits on a visitor's
license plate.
a) Which spaces are assigned by the hashing function to cars that have
these first three digits on their license plates: 317, 918, 007, 100, 111,
310?
• Q.10
b)Use linear probing to resolve collisions in part a). Find new spaces
assigned to cars after resolving collisions.
Let S be the subset of the set of ordered pairs of integers defined (4+6)
recursively by
Basis step: (0, 0) E S.
Recursive step: If (a, b) E S, then (a, b + 1) e S, (a + 1, b + 1) E S, and (a + 2,
b +1) E S.
3/3