BC0052-Fall_Drive-Assignment-2011

BC0052-Fall_Drive-Assignment-2011 - (Book ID: B0972)...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Fall 2011 Bachelor of Computer Application (BCA) – Semester 5 BC0052 – Theory of computer science – 4 Credits (Book ID: B0972) Assignment Set – 1 (60 Marks) Answer the following questions 10 6 = 60 1. Show that the relation ) (mod m b a is an equivalence relation. 2. Using the definition of order show that 1 2 2 x is ) ( 2 O . 3. Prove by the method of contradiction that 2 is not a rational number. 4. Prove by mathematical induction 6 ) 1 2 )( 1 ( ....... 3 2 1 2 2 2 2 n 5. Prove that “The sum of the degrees of the vertices of a graph G is twice the number of edges” 6. Prove that “T is a tree there is one and only one path between every pair of vertices”
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Fall 2011 Bachelor of Computer Application (BCA) – Semester 5 BC0052 – Theory of computer science – 4 Credits
Background image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: (Book ID: B0972) Assignment Set – 1 (60 Marks) Answer the following questions 10  6 = 60 1. Prove that “A tree G with n vertices has (n–1) edges” 2. If ) }, , 1 { }, 1 , { }, ({ S G     then find L(G), the language generated by G. 3. Obtain a DFA to accept strings of a’s and b’s starting with the string ab. 4. Briefly describe Moore and Mealy machines. 5. Draw the state diagram for the finite automation M = (Q,  , q ,  , F) where  = {a, b}, Q = {q , q 1 , q 2 }, F = {q , q 1 },  : Q    Q defined by 6. Obtain a regular expression such that    } 1 , { / { ) ( w R L } with atleast three consecutive 0’s.  a b q q q 1 q 1 q q 2 q 2 q 2 q 2...
View Full Document

This note was uploaded on 03/01/2012 for the course I.T ICc 231 taught by Professor Ramon during the Fall '10 term at Institute of Management Technology.

Page1 / 2

BC0052-Fall_Drive-Assignment-2011 - (Book ID: B0972)...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online