SlideShare uma empresa Scribd logo
1 de 10
Baixar para ler offline
www.studentyogi.com                                                           www.studentyogi.com
       Code No: R05210502
                                                                               Set No. 1
           II B.Tech I Semester Supplimentary Examinations, November 2008
              MATHEMATICAL FOUNDATION OF COMPUTER SCIENCE
         ( Common to Computer Science & Engineering, Information Technology
                         and Computer Science & Systems Engineering)
       Time: 3 hours                                                        Max Marks: 80
                                    Answer any FIVE Questions
                                  All Questions carry equal marks



         1. (a) Let p,q and r be the propositions.
                  P: you have the ee
                  q: you miss the nal examination.
                  r: you pass the course.
                  Write the following proposition into statement form.
                      i.
                     ii. 7
                    iii. 7
                    iv. pVqVr
                     v. ( 7 ) ( )
                    vi. ( ) (7 )
             (b) De ne converse, contrapositive and inverse of an implication. [12+4]

         2. (a) Let P(x) denote the statement. “x is a professional athlete” and let Q(x)denote
                  the statement” “x plays soccer”. The domain is the let of all people. Write
                  each of the following proposition in English.
                      i. ( ( ) ( ))
                     ii. ( ( ) ( ))
                    iii. ( ( ) ( ))
             (b) Write the negation of each of the above propositions, both in symbols and in
                 words.                                                                           [6+10]

         3. (a) De ne a bijective function. Explain with reasons whether the following func-
                  tions are bijiective or not. Find also the inverse of each of the functions.
                      i. f(x) = 4x+2, A=set of real numbers
                     ii. f(x) = 3+ 1/x, A=set of non zero real numbers
                    iii. f(x) = (2x+3) mo d7, A=N7.
             (b) Let f and g be functions from the positive real numbers to positive real numbers
                  de ned by
                   ()=2
                     ()=2
                    Calculate f o g and g o f.                                                    [10+6]

         4. Show that the set G = x/x = 2a 3b and a, b Z is a group under multiplica-
            tion.                                                                                   [16]

                                                       1 of 2




www.studentyogi.com                                                           www.studentyogi.com
www.studentyogi.com                                                            www.studentyogi.com
       Code No: R05210502
                                                                                Set No. 1
         5. (a) In howmany ways can we place 4 red balls, 4 white balls and 4 blue balls in 6
                   numbered boxes.
             (b) Howmany integers between 1 and 1,00,000 have the sum of digits equal to 18.
                                                                                                   [16]

         6. (a) Solve an - 7 an - 1 + 10 an - 2 = 6 + 8n given a0 = 1 and a1 = 2.

             (b) Solve an + an - 1 = 3n 2n .                                                      [8+8]

         7. (a) What are the steps involved in Kruskal’s algorithm for nding a minimum
                 spanning tree.
             (b) Describe the procedure to obtain all possible spanning trees in a given graph.
                                                                                                  [8+8]

         8. (a) Write a brief note about the basic rules for constructing Hamiltonian cycles.
             (b) Using Grinberg theorem nd the Hamiltonian cycle in the following graph.
                  Figure 8b                                                                         [16]




                                                                 Figure 8b




                                                        2 of 2




www.studentyogi.com                                                            www.studentyogi.com
www.studentyogi.com                                                           www.studentyogi.com
       Code No: R05210502
                                                                               Set No. 2
           II B.Tech I Semester Supplimentary Examinations, November 2008
              MATHEMATICAL FOUNDATION OF COMPUTER SCIENCE
         ( Common to Computer Science & Engineering, Information Technology
                         and Computer Science & Systems Engineering)
       Time: 3 hours                                                        Max Marks: 80
                                    Answer any FIVE Questions
                                  All Questions carry equal marks



         1. (a) Let p,q and r be the propositions.
                  P: you have the ee
                  q: you miss the nal examination.
                  r: you pass the course.
                  Write the following proposition into statement form.
                     i.
                    ii. 7
                   iii. 7
                   iv. pVqVr
                    v. ( 7 ) ( )
                   vi. ( ) (7 )
             (b) De ne converse, contrapositive and inverse of an implication. [12+4]

         2. Prove using rules of inference or disprove.

             (a) Duke is a Labrador retriever
                  All Labrador retriever like to swin
                  Therefore Duke likes to swin.
             (b) All ever numbers that are also greater than
                  2 are not prime
                  2 is an even number
                  2 is prime
                  Therefore some even numbers are prime.
                  UNIVERSE = numbers.

              (c) If it is hot today or raining to day then it is no fun to snow ski to day
                   It is no fun to snow ski today
                   Therefore it is hot today
                   UNIVERSE = DAYS.                                                           [5+6+5]

         3. (a) Let A,B,C 2 where A = (x,y) / y = 2x + 1 , B = (x,y) / y = 3x and
                  C = (x,y) / x - y = 7 . Determine each of the following:
                     i.
                    ii.
                   iii. ¯ ¯
                   iv. ¯ ¯


                                                        1 of 3




www.studentyogi.com                                                           www.studentyogi.com
www.studentyogi.com                                                                          www.studentyogi.com
       Code No: R05210502
                                                                                              Set No. 2
             (b) State and explain the applications of the pigon hole principle. [12+4]

         4. (a) If f is a homomorphism from a group (G,.) into (G’,.) then prove that (f(G),.)
                    is a subgroup of G’. (OR) Prove that the homomorphic image of a group is a
                    group.
             (b) The set, S, of all ordered pairs (a, b) of real numbers for which a = 0 w.r.t.
                  the operation de ned by (a, b) (c, d) = (ac, bc+d) is a group. Find
                       i. the identity of (G, o) and
                      ii. inverse of each element of G.                                                   [10+6]

         5. A mother distributes 5 di erent apples among 8 children.

             (a) How many ways can this be done if each child receives at most one apple
             (b) How many ways can this be done if there is no restriction on the number of
                    apples a child can receive.                                                             [16]

         6. (a) Solve an + 5an - 1 + 6an - 2 = 5, n 2, given a0 = 1, a1 = 2 using generating
                    functions.

             (b) Solve the recurrence relation an = an - 1 + n(n + 1)                    2 , n 1. [8+8]
         7. (a) Derive the directed spanning tree from the graph shown Figure 7a




                                                                                 Figure 7a
             (b) Explain the steps involved in deriving a spanning tree from the given undi-
                  rected graph using breadth rst search algorithm.                                         [8+8]

         8. (a) Distinguish between Hamiltonian cycle and Euler cycle. Give examples.
             (b) Determine whether Hamiltonian cycle present in the graph shown in Figure
                  8b
                                                                                                            [16]




                                                                        2 of 3




www.studentyogi.com                                                                          www.studentyogi.com
www.studentyogi.com                              www.studentyogi.com
       Code No: R05210502
                                                  Set No. 2




                                     Figure 8b




                            3 of 3




www.studentyogi.com                              www.studentyogi.com
www.studentyogi.com                                                        www.studentyogi.com
       Code No: R05210502
                                                                            Set No. 3
           II B.Tech I Semester Supplimentary Examinations, November 2008
              MATHEMATICAL FOUNDATION OF COMPUTER SCIENCE
         ( Common to Computer Science & Engineering, Information Technology
                         and Computer Science & Systems Engineering)
       Time: 3 hours                                                        Max Marks: 80
                                    Answer any FIVE Questions
                                  All Questions carry equal marks



         1. (a) Let p,q and r be the propositions.
                  P: you have the ee
                  q: you miss the nal examination.
                  r: you pass the course.
                  Write the following proposition into statement form.
                    i.
                   ii. 7
                  iii. 7
                  iv. pVqVr
                   v. ( 7 ) ( ~ )
                  vi. ( ) (7 )
             (b) De ne converse, contrapositive and inverse of an implication. [12+4]

         2. Prove using rules of inference or disprove.

             (a) Duke is a Labrador retriever
                  All Labrador retriever like to swin
                  Therefore Duke likes to swin.
             (b) All ever numbers that are also greater than
                  2 are not prime
                  2 is an even number
                  2 is prime
                  Therefore some even numbers are prime.
                  UNIVERSE = numbers.

             (c) If it is hot today or raining to day then it is no fun to snow ski to day
                  It is no fun to snow ski today
                  Therefore it is hot today
                  UNIVERSE = DAYS.                                                                [5+6+5]

         3. (a) Determine whether the following relations are injective and/or subjective func-
                  tion. Find universe of the functions if they exist.
                    i. = { }
                          = {1 2 3 4 5}
                       R = {(v,z),(w,1),(x,3),(y,5)}



                                                       1 of 3




www.studentyogi.com                                                        www.studentyogi.com
www.studentyogi.com                                                               www.studentyogi.com
       Code No: R05210502
                                                                                   Set No. 3
                    ii. = {1 2 3 4 5}
                           = {1 2 3 4 5}
                         R = {(1,2),(2,3),(3,4),(4,5),(5,1)}
             (b) If a function is de ned as f(x,n) mod n. Determine the
                     i. Domain of f
                    ii. Range of f
                   iii. g(g(g(g(7)))) if g (n) = f(209, n).                                       [8+8]

         4. Prove that the union of two subgroups of a group is a subgroup i one is contained
             in the other.                                                                         [16]

         5. (a) In a certain programming language, an identi es is a sequence of certain num-
                   ber of characters where the rst character must be a letter of the English
                   alphabet and the remaining characters may be either a letter or a digit. How
                   many identi ers are there of length from 1 to up 8 characters.
             (b) How many 7-digit numbers are there with exactly one5? [16]

         6. (a) Solve an - 6an - 1 + 9an - 2 = 0, = 2, given a0 = 2, a1 = 3 using generating
                  functions.
             (b) Solve the di erence equation ar - 2ar - 1 = 3.2r.                                [8+8]

         7. (a) Explain about the adjacency matrix representation of graphs. Illustrate with
                  an example.
             (b) What are the advantages of adjacency matrix representation.
              (c) Explain the algorithm for breadth rst search traversal of a graph. [5+3+8]

         8. (a) Determine whether the following two graphs are isomorphic or not. Figure 8a,
                  8a




                                                                      Figure 8a




                                                             2 of 3




www.studentyogi.com                                                               www.studentyogi.com
www.studentyogi.com                                                   www.studentyogi.com
       Code No: R05210502
                                                                       Set No. 3




                                                         Figure 8a
             (b) Show that two simple graphs are isomorphic if and only if their Complements
                  are isomorphic.                                                              [16]




                                                  3 of 3




www.studentyogi.com                                                   www.studentyogi.com
www.studentyogi.com                                                            www.studentyogi.com
       Code No: R05210502
                                                                                Set No. 4
           II B.Tech I Semester Supplimentary Examinations, November 2008
              MATHEMATICAL FOUNDATION OF COMPUTER SCIENCE
         ( Common to Computer Science & Engineering, Information Technology
                         and Computer Science & Systems Engineering)
       Time: 3 hours                                                        Max Marks: 80
                                    Answer any FIVE Questions
                                  All Questions carry equal marks



         1. (a) Let p,q and r be the propositions.
                  P: you have the ee
                  q: you miss the nal examination.
                  r: you pass the course.
                  Write the following proposition into statement form.
                     i.
                    ii. 7
                   iii. 7
                   iv. pVqVr
                    v. ( 7 ) ( ~ )
                   vi. ( ) (7 )
             (b) De ne converse, contrapositive and inverse of an implication. [12+4]

         2. Prove using rules of inference or disprove.

             (a) Duke is a Labrador retriever
                  All Labrador retriever like to swin
                  Therefore Duke likes to swin.
             (b) All ever numbers that are also greater than
                  2 are not prime
                  2 is an even number
                  2 is prime
                  Therefore some even numbers are prime.
                  UNIVERSE = numbers.

              (c) If it is hot today or raining to day then it is no fun to snow ski to day
                   It is no fun to snow ski today
                   Therefore it is hot today
                   UNIVERSE = DAYS.                                                              [5+6+5]

         3. (a) Consider f; + + de ne by f (a)= a2. Check if f is one-to-one and / or
                  into using suitable explanation.
             (b) What is a partial order relation? Let S = { x,y,z} and consider the power set
                 P(S) with relation R given by set inclusion. ISR a partial order.
              (c) De ne a lattice. Explain its properties.                                       [4+8+4]


                                                        1 of 2




www.studentyogi.com                                                            www.studentyogi.com
www.studentyogi.com                                                             www.studentyogi.com
       Code No: R05210502
                                                                                 Set No. 4
         4. (a) G is a group of positive real numbers under multiplication, G‘ is a group of all
                   real numbers under addition.Let f G x G‘ such that x G, Log10 x G‘
                   and (x, log10 x ) f. Show that f is an isomorphism from G to G?.
             (b) If Z is the additive group of integers, then prove that the set of all multiplies
                  of integers by a xed integer m is a subgroup of Z.                                 [10+6]
         5. (a) In howmany ways can we place 4 red balls, 4 white balls and 4 blue balls in 6
                   numbered boxes.
             (b) Howmany integers between 1 and 1,00,000 have the sum of digits equal to 18.
                                                                                                       [16]

         6. (a) Solve the recurrence relation ar = 3ar - 1 + 2, r = 1, a0 = 1 using generating
                   function.
             (b) Find a recurrence relation for an the number of n-digit ternary sequences
                   without any occurrence of the subsequence ‘012’. [ A ternary sequences is a
                   sequence composed of 0s, 1s and 2s.]                                               [8+8]
         7. Derive the minimum spanning tree from the following graph using Kruskal’s ap-
            proach. Shown all intermediate steps. Figure 7.                                            [16]




                                                            Figure 7
         8. (a) Write a brief note about the basic rules for constructing Hamiltonian cycles.
             (b) Using Grinberg theorem nd the Hamiltonian cycle in the following graph.
                  Figure 8b                                                                            [16]




                                                                  Figure 8b




                                                         2 of 2




www.studentyogi.com                                                             www.studentyogi.com

Mais conteúdo relacionado

Mais procurados (18)

June 2006
June 2006June 2006
June 2006
 
Mid term examination -2011 class vii
Mid term examination -2011 class viiMid term examination -2011 class vii
Mid term examination -2011 class vii
 
MCQ's for class 7th
MCQ's for class 7thMCQ's for class 7th
MCQ's for class 7th
 
cxc.Mathsexam1
cxc.Mathsexam1cxc.Mathsexam1
cxc.Mathsexam1
 
7th onepagemcq 130215025622-phpapp01
7th onepagemcq 130215025622-phpapp017th onepagemcq 130215025622-phpapp01
7th onepagemcq 130215025622-phpapp01
 
Final examination 2011 class vi
Final examination 2011 class viFinal examination 2011 class vi
Final examination 2011 class vi
 
Bsit jun 2011
Bsit jun 2011Bsit jun 2011
Bsit jun 2011
 
Summer Task - MATHS - Yr 12 preparation
Summer Task - MATHS - Yr 12 preparationSummer Task - MATHS - Yr 12 preparation
Summer Task - MATHS - Yr 12 preparation
 
January 2010
January 2010January 2010
January 2010
 
Module 8 Statistics
Module 8 StatisticsModule 8 Statistics
Module 8 Statistics
 
S1 2005 jan
S1 2005 janS1 2005 jan
S1 2005 jan
 
2011 10 lyp_mathematics_sa1_15 (1)
2011 10 lyp_mathematics_sa1_15 (1)2011 10 lyp_mathematics_sa1_15 (1)
2011 10 lyp_mathematics_sa1_15 (1)
 
June 2008
June 2008June 2008
June 2008
 
January 2008
January 2008January 2008
January 2008
 
January 2009
January 2009January 2009
January 2009
 
10thmaths online(e)
10thmaths online(e)10thmaths online(e)
10thmaths online(e)
 
M A T H E M A T I C S I I I J N T U M O D E L P A P E R{Www
M A T H E M A T I C S  I I I  J N T U  M O D E L  P A P E R{WwwM A T H E M A T I C S  I I I  J N T U  M O D E L  P A P E R{Www
M A T H E M A T I C S I I I J N T U M O D E L P A P E R{Www
 
Higher booklet answers_(3)_(1)_(1)
Higher booklet answers_(3)_(1)_(1)Higher booklet answers_(3)_(1)_(1)
Higher booklet answers_(3)_(1)_(1)
 

Semelhante a 210502 Mathematical Foundation Of Computer Science

D E S I G N A N D A N A L Y S I S O F A L G O R I T H M S J N T U M O D E L...
D E S I G N A N D A N A L Y S I S O F A L G O R I T H M S  J N T U  M O D E L...D E S I G N A N D A N A L Y S I S O F A L G O R I T H M S  J N T U  M O D E L...
D E S I G N A N D A N A L Y S I S O F A L G O R I T H M S J N T U M O D E L...
guest3f9c6b
 
M A T H E M A T I C A L M E T H O D S J N T U M O D E L P A P E R{Www
M A T H E M A T I C A L  M E T H O D S  J N T U  M O D E L  P A P E R{WwwM A T H E M A T I C A L  M E T H O D S  J N T U  M O D E L  P A P E R{Www
M A T H E M A T I C A L M E T H O D S J N T U M O D E L P A P E R{Www
guest3f9c6b
 
MATHSCLINIC_SMARTPREP_GR10_ENG_V1.3.pdf
MATHSCLINIC_SMARTPREP_GR10_ENG_V1.3.pdfMATHSCLINIC_SMARTPREP_GR10_ENG_V1.3.pdf
MATHSCLINIC_SMARTPREP_GR10_ENG_V1.3.pdf
NjabuloManjanja
 

Semelhante a 210502 Mathematical Foundation Of Computer Science (20)

R05010303 C O M P U T E R P R O G R A M M I N G A N D N U M E R I C A L M E ...
R05010303  C O M P U T E R P R O G R A M M I N G A N D N U M E R I C A L M E ...R05010303  C O M P U T E R P R O G R A M M I N G A N D N U M E R I C A L M E ...
R05010303 C O M P U T E R P R O G R A M M I N G A N D N U M E R I C A L M E ...
 
D E S I G N A N D A N A L Y S I S O F A L G O R I T H M S J N T U M O D E L...
D E S I G N A N D A N A L Y S I S O F A L G O R I T H M S  J N T U  M O D E L...D E S I G N A N D A N A L Y S I S O F A L G O R I T H M S  J N T U  M O D E L...
D E S I G N A N D A N A L Y S I S O F A L G O R I T H M S J N T U M O D E L...
 
Daa q.paper
Daa q.paperDaa q.paper
Daa q.paper
 
410102 Finite Element Methods In Civil Engineering
410102 Finite Element Methods In Civil Engineering410102 Finite Element Methods In Civil Engineering
410102 Finite Element Methods In Civil Engineering
 
3rd Semester Computer Science and Engineering (ACU) Question papers
3rd Semester Computer Science and Engineering  (ACU) Question papers3rd Semester Computer Science and Engineering  (ACU) Question papers
3rd Semester Computer Science and Engineering (ACU) Question papers
 
E C M2221 P R O B A B I L I T Y A N D S T A T I S T I C S Set1
E C M2221  P R O B A B I L I T Y  A N D  S T A T I S T I C S Set1E C M2221  P R O B A B I L I T Y  A N D  S T A T I S T I C S Set1
E C M2221 P R O B A B I L I T Y A N D S T A T I S T I C S Set1
 
M A T H E M A T I C A L M E T H O D S J N T U M O D E L P A P E R{Www
M A T H E M A T I C A L  M E T H O D S  J N T U  M O D E L  P A P E R{WwwM A T H E M A T I C A L  M E T H O D S  J N T U  M O D E L  P A P E R{Www
M A T H E M A T I C A L M E T H O D S J N T U M O D E L P A P E R{Www
 
3rd Semester Computer Science and Engineering (ACU-2022) Question papers
3rd Semester Computer Science and Engineering  (ACU-2022) Question papers3rd Semester Computer Science and Engineering  (ACU-2022) Question papers
3rd Semester Computer Science and Engineering (ACU-2022) Question papers
 
Equações 2
Equações 2Equações 2
Equações 2
 
05210401 P R O B A B I L I T Y T H E O R Y A N D S T O C H A S T I C P R...
05210401  P R O B A B I L I T Y  T H E O R Y  A N D  S T O C H A S T I C  P R...05210401  P R O B A B I L I T Y  T H E O R Y  A N D  S T O C H A S T I C  P R...
05210401 P R O B A B I L I T Y T H E O R Y A N D S T O C H A S T I C P R...
 
Gate-Cs 1996
Gate-Cs 1996Gate-Cs 1996
Gate-Cs 1996
 
Mathematica model test paper
Mathematica model test paperMathematica model test paper
Mathematica model test paper
 
Ads
AdsAds
Ads
 
Maths Homework
Maths HomeworkMaths Homework
Maths Homework
 
Ai
AiAi
Ai
 
June 2009
June 2009June 2009
June 2009
 
Afa 2016
Afa 2016Afa 2016
Afa 2016
 
MATHSCLINIC_SMARTPREP_GR10_ENG_V1.3.pdf
MATHSCLINIC_SMARTPREP_GR10_ENG_V1.3.pdfMATHSCLINIC_SMARTPREP_GR10_ENG_V1.3.pdf
MATHSCLINIC_SMARTPREP_GR10_ENG_V1.3.pdf
 
Algebra practice paper
Algebra practice paperAlgebra practice paper
Algebra practice paper
 
Design and analysis of algorithms question paper 2015 tutorialsduniya.com
Design and analysis of algorithms  question paper 2015   tutorialsduniya.comDesign and analysis of algorithms  question paper 2015   tutorialsduniya.com
Design and analysis of algorithms question paper 2015 tutorialsduniya.com
 

Mais de guestac67362

5 I N T R O D U C T I O N T O A E R O S P A C E T R A N S P O R T A T I O...
5  I N T R O D U C T I O N  T O  A E R O S P A C E  T R A N S P O R T A T I O...5  I N T R O D U C T I O N  T O  A E R O S P A C E  T R A N S P O R T A T I O...
5 I N T R O D U C T I O N T O A E R O S P A C E T R A N S P O R T A T I O...
guestac67362
 
4 G Paper Presentation
4 G  Paper  Presentation4 G  Paper  Presentation
4 G Paper Presentation
guestac67362
 

Mais de guestac67362 (20)

5 I N T R O D U C T I O N T O A E R O S P A C E T R A N S P O R T A T I O...
5  I N T R O D U C T I O N  T O  A E R O S P A C E  T R A N S P O R T A T I O...5  I N T R O D U C T I O N  T O  A E R O S P A C E  T R A N S P O R T A T I O...
5 I N T R O D U C T I O N T O A E R O S P A C E T R A N S P O R T A T I O...
 
4 G Paper Presentation
4 G  Paper  Presentation4 G  Paper  Presentation
4 G Paper Presentation
 
Bluetooth Technology Paper Presentation
Bluetooth Technology Paper PresentationBluetooth Technology Paper Presentation
Bluetooth Technology Paper Presentation
 
Ce052391 Environmental Studies Set1
Ce052391 Environmental Studies Set1Ce052391 Environmental Studies Set1
Ce052391 Environmental Studies Set1
 
Bluetooth Technology In Wireless Communications
Bluetooth Technology In Wireless CommunicationsBluetooth Technology In Wireless Communications
Bluetooth Technology In Wireless Communications
 
Bio Chip Paper Presentation
Bio Chip Paper PresentationBio Chip Paper Presentation
Bio Chip Paper Presentation
 
Bluetooth Paper Presentation
Bluetooth Paper PresentationBluetooth Paper Presentation
Bluetooth Paper Presentation
 
Bio Metrics Paper Presentation
Bio Metrics Paper PresentationBio Metrics Paper Presentation
Bio Metrics Paper Presentation
 
Bio Medical Instrumentation
Bio Medical InstrumentationBio Medical Instrumentation
Bio Medical Instrumentation
 
Bluetooth Abstract Paper Presentation
Bluetooth Abstract Paper PresentationBluetooth Abstract Paper Presentation
Bluetooth Abstract Paper Presentation
 
Basic Electronics Jntu Btech 2008
Basic Electronics Jntu Btech 2008Basic Electronics Jntu Btech 2008
Basic Electronics Jntu Btech 2008
 
Basic electronic devices and circuits
Basic electronic devices and circuitsBasic electronic devices and circuits
Basic electronic devices and circuits
 
Awp
AwpAwp
Awp
 
Automatic Speed Control System Paper Presentation
Automatic Speed Control System Paper PresentationAutomatic Speed Control System Paper Presentation
Automatic Speed Control System Paper Presentation
 
Artificial Intelligence Techniques In Power Systems Paper Presentation
Artificial Intelligence Techniques In Power Systems Paper PresentationArtificial Intelligence Techniques In Power Systems Paper Presentation
Artificial Intelligence Techniques In Power Systems Paper Presentation
 
Artificial Neural Networks
Artificial Neural NetworksArtificial Neural Networks
Artificial Neural Networks
 
Automata And Compiler Design
Automata And Compiler DesignAutomata And Compiler Design
Automata And Compiler Design
 
Auto Configuring Artificial Neural Paper Presentation
Auto Configuring Artificial Neural Paper PresentationAuto Configuring Artificial Neural Paper Presentation
Auto Configuring Artificial Neural Paper Presentation
 
Artificial Neural Network Paper Presentation
Artificial Neural Network Paper PresentationArtificial Neural Network Paper Presentation
Artificial Neural Network Paper Presentation
 
A Paper Presentation On Artificial Intelligence And Global Risk Paper Present...
A Paper Presentation On Artificial Intelligence And Global Risk Paper Present...A Paper Presentation On Artificial Intelligence And Global Risk Paper Present...
A Paper Presentation On Artificial Intelligence And Global Risk Paper Present...
 

Último

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 

Último (20)

How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 

210502 Mathematical Foundation Of Computer Science

  • 1. www.studentyogi.com www.studentyogi.com Code No: R05210502 Set No. 1 II B.Tech I Semester Supplimentary Examinations, November 2008 MATHEMATICAL FOUNDATION OF COMPUTER SCIENCE ( Common to Computer Science & Engineering, Information Technology and Computer Science & Systems Engineering) Time: 3 hours Max Marks: 80 Answer any FIVE Questions All Questions carry equal marks 1. (a) Let p,q and r be the propositions. P: you have the ee q: you miss the nal examination. r: you pass the course. Write the following proposition into statement form. i. ii. 7 iii. 7 iv. pVqVr v. ( 7 ) ( ) vi. ( ) (7 ) (b) De ne converse, contrapositive and inverse of an implication. [12+4] 2. (a) Let P(x) denote the statement. “x is a professional athlete” and let Q(x)denote the statement” “x plays soccer”. The domain is the let of all people. Write each of the following proposition in English. i. ( ( ) ( )) ii. ( ( ) ( )) iii. ( ( ) ( )) (b) Write the negation of each of the above propositions, both in symbols and in words. [6+10] 3. (a) De ne a bijective function. Explain with reasons whether the following func- tions are bijiective or not. Find also the inverse of each of the functions. i. f(x) = 4x+2, A=set of real numbers ii. f(x) = 3+ 1/x, A=set of non zero real numbers iii. f(x) = (2x+3) mo d7, A=N7. (b) Let f and g be functions from the positive real numbers to positive real numbers de ned by ()=2 ()=2 Calculate f o g and g o f. [10+6] 4. Show that the set G = x/x = 2a 3b and a, b Z is a group under multiplica- tion. [16] 1 of 2 www.studentyogi.com www.studentyogi.com
  • 2. www.studentyogi.com www.studentyogi.com Code No: R05210502 Set No. 1 5. (a) In howmany ways can we place 4 red balls, 4 white balls and 4 blue balls in 6 numbered boxes. (b) Howmany integers between 1 and 1,00,000 have the sum of digits equal to 18. [16] 6. (a) Solve an - 7 an - 1 + 10 an - 2 = 6 + 8n given a0 = 1 and a1 = 2. (b) Solve an + an - 1 = 3n 2n . [8+8] 7. (a) What are the steps involved in Kruskal’s algorithm for nding a minimum spanning tree. (b) Describe the procedure to obtain all possible spanning trees in a given graph. [8+8] 8. (a) Write a brief note about the basic rules for constructing Hamiltonian cycles. (b) Using Grinberg theorem nd the Hamiltonian cycle in the following graph. Figure 8b [16] Figure 8b 2 of 2 www.studentyogi.com www.studentyogi.com
  • 3. www.studentyogi.com www.studentyogi.com Code No: R05210502 Set No. 2 II B.Tech I Semester Supplimentary Examinations, November 2008 MATHEMATICAL FOUNDATION OF COMPUTER SCIENCE ( Common to Computer Science & Engineering, Information Technology and Computer Science & Systems Engineering) Time: 3 hours Max Marks: 80 Answer any FIVE Questions All Questions carry equal marks 1. (a) Let p,q and r be the propositions. P: you have the ee q: you miss the nal examination. r: you pass the course. Write the following proposition into statement form. i. ii. 7 iii. 7 iv. pVqVr v. ( 7 ) ( ) vi. ( ) (7 ) (b) De ne converse, contrapositive and inverse of an implication. [12+4] 2. Prove using rules of inference or disprove. (a) Duke is a Labrador retriever All Labrador retriever like to swin Therefore Duke likes to swin. (b) All ever numbers that are also greater than 2 are not prime 2 is an even number 2 is prime Therefore some even numbers are prime. UNIVERSE = numbers. (c) If it is hot today or raining to day then it is no fun to snow ski to day It is no fun to snow ski today Therefore it is hot today UNIVERSE = DAYS. [5+6+5] 3. (a) Let A,B,C 2 where A = (x,y) / y = 2x + 1 , B = (x,y) / y = 3x and C = (x,y) / x - y = 7 . Determine each of the following: i. ii. iii. ¯ ¯ iv. ¯ ¯ 1 of 3 www.studentyogi.com www.studentyogi.com
  • 4. www.studentyogi.com www.studentyogi.com Code No: R05210502 Set No. 2 (b) State and explain the applications of the pigon hole principle. [12+4] 4. (a) If f is a homomorphism from a group (G,.) into (G’,.) then prove that (f(G),.) is a subgroup of G’. (OR) Prove that the homomorphic image of a group is a group. (b) The set, S, of all ordered pairs (a, b) of real numbers for which a = 0 w.r.t. the operation de ned by (a, b) (c, d) = (ac, bc+d) is a group. Find i. the identity of (G, o) and ii. inverse of each element of G. [10+6] 5. A mother distributes 5 di erent apples among 8 children. (a) How many ways can this be done if each child receives at most one apple (b) How many ways can this be done if there is no restriction on the number of apples a child can receive. [16] 6. (a) Solve an + 5an - 1 + 6an - 2 = 5, n 2, given a0 = 1, a1 = 2 using generating functions. (b) Solve the recurrence relation an = an - 1 + n(n + 1) 2 , n 1. [8+8] 7. (a) Derive the directed spanning tree from the graph shown Figure 7a Figure 7a (b) Explain the steps involved in deriving a spanning tree from the given undi- rected graph using breadth rst search algorithm. [8+8] 8. (a) Distinguish between Hamiltonian cycle and Euler cycle. Give examples. (b) Determine whether Hamiltonian cycle present in the graph shown in Figure 8b [16] 2 of 3 www.studentyogi.com www.studentyogi.com
  • 5. www.studentyogi.com www.studentyogi.com Code No: R05210502 Set No. 2 Figure 8b 3 of 3 www.studentyogi.com www.studentyogi.com
  • 6. www.studentyogi.com www.studentyogi.com Code No: R05210502 Set No. 3 II B.Tech I Semester Supplimentary Examinations, November 2008 MATHEMATICAL FOUNDATION OF COMPUTER SCIENCE ( Common to Computer Science & Engineering, Information Technology and Computer Science & Systems Engineering) Time: 3 hours Max Marks: 80 Answer any FIVE Questions All Questions carry equal marks 1. (a) Let p,q and r be the propositions. P: you have the ee q: you miss the nal examination. r: you pass the course. Write the following proposition into statement form. i. ii. 7 iii. 7 iv. pVqVr v. ( 7 ) ( ~ ) vi. ( ) (7 ) (b) De ne converse, contrapositive and inverse of an implication. [12+4] 2. Prove using rules of inference or disprove. (a) Duke is a Labrador retriever All Labrador retriever like to swin Therefore Duke likes to swin. (b) All ever numbers that are also greater than 2 are not prime 2 is an even number 2 is prime Therefore some even numbers are prime. UNIVERSE = numbers. (c) If it is hot today or raining to day then it is no fun to snow ski to day It is no fun to snow ski today Therefore it is hot today UNIVERSE = DAYS. [5+6+5] 3. (a) Determine whether the following relations are injective and/or subjective func- tion. Find universe of the functions if they exist. i. = { } = {1 2 3 4 5} R = {(v,z),(w,1),(x,3),(y,5)} 1 of 3 www.studentyogi.com www.studentyogi.com
  • 7. www.studentyogi.com www.studentyogi.com Code No: R05210502 Set No. 3 ii. = {1 2 3 4 5} = {1 2 3 4 5} R = {(1,2),(2,3),(3,4),(4,5),(5,1)} (b) If a function is de ned as f(x,n) mod n. Determine the i. Domain of f ii. Range of f iii. g(g(g(g(7)))) if g (n) = f(209, n). [8+8] 4. Prove that the union of two subgroups of a group is a subgroup i one is contained in the other. [16] 5. (a) In a certain programming language, an identi es is a sequence of certain num- ber of characters where the rst character must be a letter of the English alphabet and the remaining characters may be either a letter or a digit. How many identi ers are there of length from 1 to up 8 characters. (b) How many 7-digit numbers are there with exactly one5? [16] 6. (a) Solve an - 6an - 1 + 9an - 2 = 0, = 2, given a0 = 2, a1 = 3 using generating functions. (b) Solve the di erence equation ar - 2ar - 1 = 3.2r. [8+8] 7. (a) Explain about the adjacency matrix representation of graphs. Illustrate with an example. (b) What are the advantages of adjacency matrix representation. (c) Explain the algorithm for breadth rst search traversal of a graph. [5+3+8] 8. (a) Determine whether the following two graphs are isomorphic or not. Figure 8a, 8a Figure 8a 2 of 3 www.studentyogi.com www.studentyogi.com
  • 8. www.studentyogi.com www.studentyogi.com Code No: R05210502 Set No. 3 Figure 8a (b) Show that two simple graphs are isomorphic if and only if their Complements are isomorphic. [16] 3 of 3 www.studentyogi.com www.studentyogi.com
  • 9. www.studentyogi.com www.studentyogi.com Code No: R05210502 Set No. 4 II B.Tech I Semester Supplimentary Examinations, November 2008 MATHEMATICAL FOUNDATION OF COMPUTER SCIENCE ( Common to Computer Science & Engineering, Information Technology and Computer Science & Systems Engineering) Time: 3 hours Max Marks: 80 Answer any FIVE Questions All Questions carry equal marks 1. (a) Let p,q and r be the propositions. P: you have the ee q: you miss the nal examination. r: you pass the course. Write the following proposition into statement form. i. ii. 7 iii. 7 iv. pVqVr v. ( 7 ) ( ~ ) vi. ( ) (7 ) (b) De ne converse, contrapositive and inverse of an implication. [12+4] 2. Prove using rules of inference or disprove. (a) Duke is a Labrador retriever All Labrador retriever like to swin Therefore Duke likes to swin. (b) All ever numbers that are also greater than 2 are not prime 2 is an even number 2 is prime Therefore some even numbers are prime. UNIVERSE = numbers. (c) If it is hot today or raining to day then it is no fun to snow ski to day It is no fun to snow ski today Therefore it is hot today UNIVERSE = DAYS. [5+6+5] 3. (a) Consider f; + + de ne by f (a)= a2. Check if f is one-to-one and / or into using suitable explanation. (b) What is a partial order relation? Let S = { x,y,z} and consider the power set P(S) with relation R given by set inclusion. ISR a partial order. (c) De ne a lattice. Explain its properties. [4+8+4] 1 of 2 www.studentyogi.com www.studentyogi.com
  • 10. www.studentyogi.com www.studentyogi.com Code No: R05210502 Set No. 4 4. (a) G is a group of positive real numbers under multiplication, G‘ is a group of all real numbers under addition.Let f G x G‘ such that x G, Log10 x G‘ and (x, log10 x ) f. Show that f is an isomorphism from G to G?. (b) If Z is the additive group of integers, then prove that the set of all multiplies of integers by a xed integer m is a subgroup of Z. [10+6] 5. (a) In howmany ways can we place 4 red balls, 4 white balls and 4 blue balls in 6 numbered boxes. (b) Howmany integers between 1 and 1,00,000 have the sum of digits equal to 18. [16] 6. (a) Solve the recurrence relation ar = 3ar - 1 + 2, r = 1, a0 = 1 using generating function. (b) Find a recurrence relation for an the number of n-digit ternary sequences without any occurrence of the subsequence ‘012’. [ A ternary sequences is a sequence composed of 0s, 1s and 2s.] [8+8] 7. Derive the minimum spanning tree from the following graph using Kruskal’s ap- proach. Shown all intermediate steps. Figure 7. [16] Figure 7 8. (a) Write a brief note about the basic rules for constructing Hamiltonian cycles. (b) Using Grinberg theorem nd the Hamiltonian cycle in the following graph. Figure 8b [16] Figure 8b 2 of 2 www.studentyogi.com www.studentyogi.com