Showing posts with label Gujarat University DMS 1988. Show all posts
Showing posts with label Gujarat University DMS 1988. Show all posts

Tuesday, November 16, 2010

DMS 1989


Gujarat University

MCA Semester I
DMS

Date: 9th March, 1989                                                                                                                       Marks:50

Instructions:
1.      Attempt any three questions from section I and any three questions from section II.
2.      Each question carries equal marks
3.      Attempt each section on separate book.

Section I


Q-1 a) Find the left coset of {p1, p3, p6} in the group <S3,ÿ > given as:
            ÿ          p1        p2        p3        p4        p5        p6
            p1        p1        p2        p3        p4        p5        p6
            p2        p2        p1        p5        p6        p3        p4
            p3        p3        p6        p1        p5        p4        p2
            p4        p4        p3        p6        p1        p2        p3
            p5        p5        p4        p2        p3        p4        p1
            p6        p6        p5        p4        p2        p1        p5
        b) Show that the set N of natural numbers is a semigroup under the operation x * y = max (x, y). Is it a a
monoid?

Q-2 a) Define cyclic group. Write the composition table for <x4, +4>. Show that <S6, +6> is a cyclic group,
where S6 is the set of integers module 6.
        b) Show that in a group <G, *> , if for any a, b ÎG, (a * b) 2 = a2 * b2 then <G, *> must be an abelian group.

Q-3 a) Write the following Boolean expressions in an equivalent sum-of-products canonical form in three
            variables x1, x2, x3.
            (i) x1 * x2         ii) (x1 Å x2)’ * x3
           b) Show that a lattice if a £ b£ c, than a Å b = b *c and  (a * b) Å (b * c) = b = (a Å b) * (a Å c)

Q-4 a) Define group Homomorphism.
            Let L = {0, 1} and the lattice <L,£ > be given as
                        0
                        ½
                     v 0
            Draw the diagrams for the lattices <L2, £ > and <L3, £ >.
       b) Simplify the following Boolean expressions:
i)                    (a * b)’ Å  (a Å b)’
ii)                  (a’ * b’ * c’) Å  (a * b’ * c) Å  ( a* b’ * c’)

Q-5 a) Define Boolean functions:
            Use the Karnaugh Map representation to find a minimal sum of products expression of the following
functions:
f ( a, b, c, d) = å (0, 6, 7, 8, 12, 14)
        b) Obtain the sum of products canonical forms of the following Boolean expressions:
i)                    x1  Å ( x2 * x3’)
ii)                  (x1  Å x2)’ Å (x1’ * x3)

Section II


Q-6 a) Define :
i)                    Directed graph
ii)                  Simple graph
iii)                Chain or walk
iv)                Fundamental circuit
        b) Prove that there are at most 2n-1 vertices at the nth level of a binary tree.

Q-7 a) Prove that every n vertex strongly connected digraph contains at least n edges, where n ³ 2.
        b) Show that the sum of indegrees of all the nodes of a simple digraph is equal to the sum of the outdegrees
of all its nodes in any directed graph.

Q-8 a) The complement G of a graph G = <V, E> is a graph having the same vertices as G, but the property that
two distinct vertices G are adjacent iff the same two vertices of G are not adjacent. We will designate G as the pair (V, E). Draw the complement of the graph as shown in fig-1.
b) Find out the reachable sets of (I) v6   (ii) v2   (iii) {v5, v1, v2}          (iv) {v1, v6, v9, v10} for the graph as
shown in fig-2. And also find out a node base for it also.

Q-9 a) Sketch out the list structure representation as shown in fig-3.
       b) A tree has 2 vertices of degree 2 one vertix of degree 3 and 3 vertices of degree 4. How many vertices of
degree 1 does it have?

Q-10 a) Define finite field. Prove that any field is an integral domain.
         b) Define a ring. Show that <S14, +7, X7> is commutative with identity.

OR

Q-10 a) Let x = {1,2,…., 7} and R = {<x, y> | x –y is divisible by 3}, show that R is an equivalence relation.
         b) If F: xà y and g: y à z and both f and g are onto functions. Show that gof is also onto. Is gof one-to-one
if both g and f are one-to-one?

DMS - 1988


Gujarat University

MCA Semester I
DMS

Date: 23rd  March, 1988                                                                                                                    Marks:50

Instructions:
Attempt any three questions from each section, they carry equal marks.

Section I


Q-1 a) Describe the partition of Z induced by the congruence relation a * b (mod 10).
       b) Compute n * r and n.r for
            n = ((

Q-2 a) Explain the terms:
1.      weighted graph
2.      hamiltonion path
3.      adjacency matrix
        b) Explain the broadcasting algorithm for finding the shortest path between any two vertices.

Q-3 a) Let A = (1,2,3,4,5) and define relation R on A by’ xRy iff x + 1 =y.
            Give matrix or graphical representation of R, RR, RRR.
       b) Let A = (0,1,2,3) and Let R = ((0,0), (1,1), (2,2), (3,3), (1,2), (2,1), (3,2), (2,3), (3,1),(1,3)). Show that R is an
equivalence relation.
Find equivalence class of each of the elements of A. Show the partition induced by R.

Q-4 a) How many different reflexive and symmetric relations are there on a set with three elements?
       b) What is Pigeon-hole principle? Illustrate one of its applications.
       c) Let A = B = {1,2,3,4,5}. Define function f: Aà B (if possible) such that
                        f is one-to-one and onto;
                        f is neither one-to-one nor onto;
                        f is one-to-one but not onto;
                        f is onto but one-to-one.

Q-5 a) Prove DeMorgan’s Law in Boolean algebra.
       b) Consider the connected graph G
                              A                                       B                                 C
                                                                       



                                     D                                                        E                                             F             

i)                     Find all simple paths from node A to node F.

ii)                   Find distance between A and F

iii)                  Find the diameter of G (the diameter of G is the maximum distance between two of  its nodes.)

 

Section II


Q-6 a) Let M be matrix of diagraph D. Prove that ij the entry of the matrix M x M x M……x M ( n times) gives the

number of walks of length n from vertex V(i) and V(j).
       b) Draw the transition diagrams for the machines corresponding to the following monoid:
            [Z4, +4]           [z2, +2], where symbols have usual meanings.

Q-7      A ”rook-matrix” is one having only 0s and 1s elements and there is exactly one 1 in each of the rows and
columns.
Let R(n) be a set of n x n rook-matrices. Write down the six matrices of R(3), includeing:
            I =       1          0          0
                        0          1          0
                        0          0          1
a)      Write down the matrix multiplication table for R(3), R(3) is a group under matrix multiplication. Is it Abelian?
b)      Write down the set R(2) and prepare the multiplication table as above. Is R(2) abelian?
c)      How many elements are there in R(n)?

Q-8 a) What is a complete graph? Draw complete graphs with n = 1,2,3,…n vertices.
       b) Let G be a graph with n vertices. Prove that the following are equivalent:
i)                    G is a tree
ii)                  G is cycle-free and has (n-1) edges;
iii)                G is connected and has (n-1) edges.

Q-9 a) Show that (1,2,3,4,5) is a group under operation *, where * is multiplication mod 5.
       b) Let j be n-1 and * be multiplication operation. Write down the table for G = [<1, -1, j, -j>, *], show that g is
isomorphic to [Z4, +4] where Z4 is set (1,2,3,4) and +4 is addition mod 4.

Q-10 a) Let L = [L,È,Ç] be a lattice and a, b, c Î L show that:
             A È b >= a; a Ç b >= b
         b) What set of strings are defined by the following grammar? Terminal symbols: 0, 0, 1  where 0 is null
symbol;
non-terminal symbols: S and E;
Starting symbol: S
Production rules: Sà 080, Sà 181, Sà E, Eàf , Eà 0, Eà 1.