SlideShare una empresa de Scribd logo
1 de 4
Descargar para leer sin conexión
www.studentyogi.com                                                                       www.studentyogi.com

          Code No: 07A1EC01
                                                                                 Set No. 1
                      I B.Tech Supplimentary Examinations, Aug/Sep 2008
                          C PROGRAMMING AND DATA STRUCTURES
              ( Common to Civil Engineering, Electrical & Electronic Engineering,
                 Electronics & Communication Engineering, Computer Science &
                Engineering, Chemical Engineering, Electronics & Instrumentation
          Engineering, Bio-Medical Engineering, Information Technology, Electronics
                & Control Engineering, Computer Science & Systems Engineering,
                 Electronics & Telematics, Electronics & Computer Engineering,
             Aeronautical Engineering, Instrumentation & Control Engineering and
                                              Bio-Technology)
          Time: 3 hours                                                             Max Marks: 80
                                       Answer any FIVE Questions
                                    All Questions carry equal marks




                                                                                  om
            1. (a) Write a ‘C’ program to nd the squares of N numbers using do - while.
                (b) Write a ‘C’ program to convert Decimal Number to Octal Number. [8+8]

            2. Write a program using function with argument and with return value to nd sum
               of odd & even series.                                                               [16]




                                                                           i.c
            3. De ne an array. What are the di erent types of arrays? Explain. [16]

            4. De ne Structure and write the general format for declaring and accessing members.


                          g
            5. Explain the following operations
                                                                                                   [16]
                     omyo
                (a) fseek()
                (b) ftell
                        t
                 (c) rewind()
                  i.cen

                (d) ferror()                                                                        [16]

            6. What are the advantages of external sorting? Write a program to perform merge
               sort with following elements
               otgud


               Set A { 11 , 16,22,25 } Set B { 15,19,2,23 }                                        [16]

            7. De ne stack. What are the di erent methods used to implement stack, and explain
               di erent operations performed on it.                                                [16]

            8. (a) What are the di erences between a tree and binary tree?
           nty.s




                (b) Give the representation of binary trees and explain.                           [8+8]
         de w
          w




                                                       1 of 1
      stuw




www.studentyogi.com                                                                       www.studentyogi.com
    w.
ww
www.studentyogi.com                                                                         www.studentyogi.com

          Code No: 07A1EC01
                                                                                  Set No. 2
                      I B.Tech Supplimentary Examinations, Aug/Sep 2008
                          C PROGRAMMING AND DATA STRUCTURES
              ( Common to Civil Engineering, Electrical & Electronic Engineering,
                 Electronics & Communication Engineering, Computer Science &
                Engineering, Chemical Engineering, Electronics & Instrumentation
          Engineering, Bio-Medical Engineering, Information Technology, Electronics
                & Control Engineering, Computer Science & Systems Engineering,
                 Electronics & Telematics, Electronics & Computer Engineering,
             Aeronautical Engineering, Instrumentation & Control Engineering and
                                              Bio-Technology)
          Time: 3 hours                                                             Max Marks: 80
                                       Answer any FIVE Questions
                                    All Questions carry equal marks




                                                                                   om
            1. (a) De ne Algorithm.
                (b) What is the use of owchart?
                 (c) What are the di erent steps followed in the program development? [3+3+10]




                                                                          i.c
            2. (a) Explain about call by value with an example.
                (b) Write a program to generate Fibonacci series using with argument and return
                    type.                                                                          [8+8]


               and print the array elements.
                                                                  og
            3. Write the syntax for declaring two - dimensional array write a program to access


            4. How to copy one structure to another structure of a same data type, give an ex-
                                                                                                   [16]


               ample?                                                                              [16]
                                                    nty
            5. (a) Write the syntax for opening a le with various modes and closing a le.
                (b) Explain about le handling functions.                                           [8+8]

            6. Write a program to sort the elements whose worst and average case are O(n log n).
                                            de


                                                                                                   [16]

            7. What is a singly linked list? Write a program to delete a node in front, rear and
               in a particular position and print the list.                                        [16]
                                  u



            8. Write a ‘C’ program to implement recursive algorithm for a Binary Search Tree.
                                                                                                   [16]
              w               .st
           ww




                                                       1 of 1


www.studentyogi.com                                                                         www.studentyogi.com
www.studentyogi.com                                                                         www.studentyogi.com

          Code No: 07A1EC01
                                                                                 Set No. 3
                      I B.Tech Supplimentary Examinations, Aug/Sep 2008
                          C PROGRAMMING AND DATA STRUCTURES
              ( Common to Civil Engineering, Electrical & Electronic Engineering,
                 Electronics & Communication Engineering, Computer Science &
                Engineering, Chemical Engineering, Electronics & Instrumentation
          Engineering, Bio-Medical Engineering, Information Technology, Electronics
                & Control Engineering, Computer Science & Systems Engineering,
                 Electronics & Telematics, Electronics & Computer Engineering,
             Aeronautical Engineering, Instrumentation & Control Engineering and
                                              Bio-Technology)
          Time: 3 hours                                                             Max Marks: 80
                                       Answer any FIVE Questions
                                    All Questions carry equal marks




                                                                                  om
            1. How algorithm is di erent from owchart? Write an algorithm and draw owchart
               for nding greatest among three given numbers.                                      [8+8]

            2. What is a function? What are the di erent types of functions? Explain function
               with no argument and no return type with an example.                                [16]




                                                                         i.c
            3. De ne an array. What are the di erent types of arrays? Explain. [16]

            4. Compare arrays, structures and unions.                                              [16]


                (b) Explain about le handling functions.
                                                                 og
            5. (a) Write the syntax for opening a le with various modes and closing a le.
                                                                                                  [8+8]

            6. What is the advantage of binary search? Write a program to search an element 30
                                                    nty
               in the given set of inputs { 12,15,18,30 }                                          [16]

            7. (a) Compare the advantages and disadvantages of doubly linked list over singly
                     linked list.
                (b) Implement a queue using linked list and write a ‘C’ routine to add elements
                                           de


                     from a queue.                                                                [8+8]

            8. Explain about connected and non-connected graph and list the di erence between
               them?                                                                               [16]
                                  u
              w               .st
           ww




                                                        1 of 1


www.studentyogi.com                                                                         www.studentyogi.com
www.studentyogi.com                                                                         www.studentyogi.com

          Code No: 07A1EC01
                                                                                 Set No. 4
                      I B.Tech Supplimentary Examinations, Aug/Sep 2008
                          C PROGRAMMING AND DATA STRUCTURES
              ( Common to Civil Engineering, Electrical & Electronic Engineering,
                 Electronics & Communication Engineering, Computer Science &
                Engineering, Chemical Engineering, Electronics & Instrumentation
          Engineering, Bio-Medical Engineering, Information Technology, Electronics
                & Control Engineering, Computer Science & Systems Engineering,
                 Electronics & Telematics, Electronics & Computer Engineering,
             Aeronautical Engineering, Instrumentation & Control Engineering and
                                              Bio-Technology)
          Time: 3 hours                                                             Max Marks: 80
                                       Answer any FIVE Questions
                                    All Questions carry equal marks




                                                                                  om
            1. (a) Write a ‘C’ program to convert Decimal to Hexa Decimal number.
                (b) Write a ‘C’ program to nd area of circle.                                      [10+6]

            2. What are the di erent standard library functions available in ‘C’? Explain with a
               sample program.                                                                       [16]




                                                                          i.c
            3. (a) Write a program to perform addition of two matrices.
                (b) Write the program to nd the sum of even numbers using arrays. [10+6]

                                                                 og
            4. (a) How is structure di erent from an array? Explain.
                (b) How an array be included as a member of a structure? [8+8]

            5. (a) Write the syntax for opening a le with various modes and closing a le.
                                                    nty
                (b) Explain about le handling functions.                                            [8+8]

            6. Explain the sorting mechanism which uses the concept of pivot element selection
               with a program.                                                                       [16]
                                           de


            7. Write an ‘C’ program to implement linked stacks.                                      [16]

            8. (a) What is a network?
                (b) What is a spanning tree?
                                  u



                 (c) De ne minimal spanning tree.
                (d) What are the various traversals in a tree?                                       [16]
              w               .st
           ww




                                                       1 of 1


www.studentyogi.com                                                                         www.studentyogi.com

Más contenido relacionado

La actualidad más candente

Ca mock exam combined
Ca mock exam combinedCa mock exam combined
Ca mock exam combinedGary Tsang
 
C O M P U T E R O R G A N I Z A T I O N J N T U M O D E L P A P E R{Www
C O M P U T E R  O R G A N I Z A T I O N  J N T U  M O D E L  P A P E R{WwwC O M P U T E R  O R G A N I Z A T I O N  J N T U  M O D E L  P A P E R{Www
C O M P U T E R O R G A N I Z A T I O N J N T U M O D E L P A P E R{Wwwguest3f9c6b
 
212101 Object Oriented Analysis Design Through Uml
212101 Object Oriented Analysis Design Through Uml212101 Object Oriented Analysis Design Through Uml
212101 Object Oriented Analysis Design Through Umlguestd436758
 
M I C R O P R O C E S S O R S A N D I N T E R F A C I N G J N T U M O D E...
M I C R O P R O C E S S O R S  A N D  I N T E R F A C I N G  J N T U  M O D E...M I C R O P R O C E S S O R S  A N D  I N T E R F A C I N G  J N T U  M O D E...
M I C R O P R O C E S S O R S A N D I N T E R F A C I N G J N T U M O D E...guest3f9c6b
 
Question Paper Code 065 informatic Practice New CBSE - 2021
Question Paper Code 065 informatic Practice New CBSE - 2021 Question Paper Code 065 informatic Practice New CBSE - 2021
Question Paper Code 065 informatic Practice New CBSE - 2021 FarhanAhmade
 
Informatics Practices (new) solution CBSE 2021, Compartment, improvement ex...
Informatics Practices (new) solution CBSE  2021, Compartment,  improvement ex...Informatics Practices (new) solution CBSE  2021, Compartment,  improvement ex...
Informatics Practices (new) solution CBSE 2021, Compartment, improvement ex...FarhanAhmade
 
Sample Question Paper IP Class xii
Sample Question Paper IP Class xii Sample Question Paper IP Class xii
Sample Question Paper IP Class xii kvs
 
Lecture14 - Advanced topics in association rules
Lecture14 - Advanced topics in association rulesLecture14 - Advanced topics in association rules
Lecture14 - Advanced topics in association rulesAlbert Orriols-Puig
 

La actualidad más candente (16)

Aca
AcaAca
Aca
 
Ca mock exam combined
Ca mock exam combinedCa mock exam combined
Ca mock exam combined
 
C O M P U T E R O R G A N I Z A T I O N J N T U M O D E L P A P E R{Www
C O M P U T E R  O R G A N I Z A T I O N  J N T U  M O D E L  P A P E R{WwwC O M P U T E R  O R G A N I Z A T I O N  J N T U  M O D E L  P A P E R{Www
C O M P U T E R O R G A N I Z A T I O N J N T U M O D E L P A P E R{Www
 
212101 Object Oriented Analysis Design Through Uml
212101 Object Oriented Analysis Design Through Uml212101 Object Oriented Analysis Design Through Uml
212101 Object Oriented Analysis Design Through Uml
 
7th Semester (December; January-2014 and 2015) Computer Science and Informati...
7th Semester (December; January-2014 and 2015) Computer Science and Informati...7th Semester (December; January-2014 and 2015) Computer Science and Informati...
7th Semester (December; January-2014 and 2015) Computer Science and Informati...
 
Sample paper i.p
Sample paper i.pSample paper i.p
Sample paper i.p
 
M I C R O P R O C E S S O R S A N D I N T E R F A C I N G J N T U M O D E...
M I C R O P R O C E S S O R S  A N D  I N T E R F A C I N G  J N T U  M O D E...M I C R O P R O C E S S O R S  A N D  I N T E R F A C I N G  J N T U  M O D E...
M I C R O P R O C E S S O R S A N D I N T E R F A C I N G J N T U M O D E...
 
7th Semester Information Science (2013-June) Question Papers
7th Semester Information Science (2013-June) Question Papers 7th Semester Information Science (2013-June) Question Papers
7th Semester Information Science (2013-June) Question Papers
 
7th cs june 2013
7th cs   june 20137th cs   june 2013
7th cs june 2013
 
7th Semester (Dec-2015; Jan-2016) Computer Science and Information Science En...
7th Semester (Dec-2015; Jan-2016) Computer Science and Information Science En...7th Semester (Dec-2015; Jan-2016) Computer Science and Information Science En...
7th Semester (Dec-2015; Jan-2016) Computer Science and Information Science En...
 
Question Paper Code 065 informatic Practice New CBSE - 2021
Question Paper Code 065 informatic Practice New CBSE - 2021 Question Paper Code 065 informatic Practice New CBSE - 2021
Question Paper Code 065 informatic Practice New CBSE - 2021
 
7th semester Computer Science and Information Science Engg (2013 December) Qu...
7th semester Computer Science and Information Science Engg (2013 December) Qu...7th semester Computer Science and Information Science Engg (2013 December) Qu...
7th semester Computer Science and Information Science Engg (2013 December) Qu...
 
7th Semester (June; July-2015) Computer Science and Information Science Engin...
7th Semester (June; July-2015) Computer Science and Information Science Engin...7th Semester (June; July-2015) Computer Science and Information Science Engin...
7th Semester (June; July-2015) Computer Science and Information Science Engin...
 
Informatics Practices (new) solution CBSE 2021, Compartment, improvement ex...
Informatics Practices (new) solution CBSE  2021, Compartment,  improvement ex...Informatics Practices (new) solution CBSE  2021, Compartment,  improvement ex...
Informatics Practices (new) solution CBSE 2021, Compartment, improvement ex...
 
Sample Question Paper IP Class xii
Sample Question Paper IP Class xii Sample Question Paper IP Class xii
Sample Question Paper IP Class xii
 
Lecture14 - Advanced topics in association rules
Lecture14 - Advanced topics in association rulesLecture14 - Advanced topics in association rules
Lecture14 - Advanced topics in association rules
 

Destacado

05212201 Calibration And Electronic Measurements
05212201 Calibration  And  Electronic Measurements05212201 Calibration  And  Electronic Measurements
05212201 Calibration And Electronic Measurementsguestac67362
 
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...guestac67362
 
07 A1 Ec03 Classical Mechanics
07 A1 Ec03 Classical Mechanics07 A1 Ec03 Classical Mechanics
07 A1 Ec03 Classical Mechanicsguestac67362
 
11903 Electromagnetic Waves And Transmission Lines
11903 Electromagnetic Waves And Transmission Lines11903 Electromagnetic Waves And Transmission Lines
11903 Electromagnetic Waves And Transmission Linesguestac67362
 
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 Presentationguestac67362
 
3g Wireless Technology Paper Presentation
3g Wireless Technology Paper Presentation3g Wireless Technology Paper Presentation
3g Wireless Technology Paper Presentationguestac67362
 
Artificial Neural Networks
Artificial Neural NetworksArtificial Neural Networks
Artificial Neural Networksguestac67362
 
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 Engineeringguestac67362
 
3d Machine Vision Systems Paper Presentation
3d  Machine Vision Systems Paper Presentation3d  Machine Vision Systems Paper Presentation
3d Machine Vision Systems Paper Presentationguestac67362
 
Bio Chip Paper Presentation
Bio Chip Paper PresentationBio Chip Paper Presentation
Bio Chip Paper Presentationguestac67362
 
Bluetooth Technology Paper Presentation
Bluetooth Technology Paper PresentationBluetooth Technology Paper Presentation
Bluetooth Technology Paper Presentationguestac67362
 
410402 Electronic Measurements And Instrumentation
410402 Electronic Measurements And Instrumentation410402 Electronic Measurements And Instrumentation
410402 Electronic Measurements And Instrumentationguestac67362
 
Bluetooth Technology In Wireless Communications
Bluetooth Technology In Wireless CommunicationsBluetooth Technology In Wireless Communications
Bluetooth Technology In Wireless Communicationsguestac67362
 
64 Bit Multi Processor Paper Presentation
64 Bit Multi Processor Paper Presentation64 Bit Multi Processor Paper Presentation
64 Bit Multi Processor Paper Presentationguestac67362
 
Basic Electronics Jntu Btech 2008
Basic Electronics Jntu Btech 2008Basic Electronics Jntu Btech 2008
Basic Electronics Jntu Btech 2008guestac67362
 
Artificial Neural Network Paper Presentation
Artificial Neural Network Paper PresentationArtificial Neural Network Paper Presentation
Artificial Neural Network Paper Presentationguestac67362
 
Adaptive Control Systems Paper Presentation
Adaptive Control Systems Paper PresentationAdaptive Control Systems Paper Presentation
Adaptive Control Systems Paper Presentationguestac67362
 

Destacado (18)

05212201 Calibration And Electronic Measurements
05212201 Calibration  And  Electronic Measurements05212201 Calibration  And  Electronic Measurements
05212201 Calibration And Electronic Measurements
 
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...
 
07 A1 Ec03 Classical Mechanics
07 A1 Ec03 Classical Mechanics07 A1 Ec03 Classical Mechanics
07 A1 Ec03 Classical Mechanics
 
11903 Electromagnetic Waves And Transmission Lines
11903 Electromagnetic Waves And Transmission Lines11903 Electromagnetic Waves And Transmission Lines
11903 Electromagnetic Waves And Transmission Lines
 
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
 
3g Wireless Technology Paper Presentation
3g Wireless Technology Paper Presentation3g Wireless Technology Paper Presentation
3g Wireless Technology Paper Presentation
 
Artificial Neural Networks
Artificial Neural NetworksArtificial Neural Networks
Artificial Neural Networks
 
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
 
3d Machine Vision Systems Paper Presentation
3d  Machine Vision Systems Paper Presentation3d  Machine Vision Systems Paper Presentation
3d Machine Vision Systems Paper Presentation
 
Ai
AiAi
Ai
 
Bio Chip Paper Presentation
Bio Chip Paper PresentationBio Chip Paper Presentation
Bio Chip Paper Presentation
 
Bluetooth Technology Paper Presentation
Bluetooth Technology Paper PresentationBluetooth Technology Paper Presentation
Bluetooth Technology Paper Presentation
 
410402 Electronic Measurements And Instrumentation
410402 Electronic Measurements And Instrumentation410402 Electronic Measurements And Instrumentation
410402 Electronic Measurements And Instrumentation
 
Bluetooth Technology In Wireless Communications
Bluetooth Technology In Wireless CommunicationsBluetooth Technology In Wireless Communications
Bluetooth Technology In Wireless Communications
 
64 Bit Multi Processor Paper Presentation
64 Bit Multi Processor Paper Presentation64 Bit Multi Processor Paper Presentation
64 Bit Multi Processor Paper Presentation
 
Basic Electronics Jntu Btech 2008
Basic Electronics Jntu Btech 2008Basic Electronics Jntu Btech 2008
Basic Electronics Jntu Btech 2008
 
Artificial Neural Network Paper Presentation
Artificial Neural Network Paper PresentationArtificial Neural Network Paper Presentation
Artificial Neural Network Paper Presentation
 
Adaptive Control Systems Paper Presentation
Adaptive Control Systems Paper PresentationAdaptive Control Systems Paper Presentation
Adaptive Control Systems Paper Presentation
 

Similar a 07 A1 Ec01 C Programming And Data Structures

R05010106 C P R O G R A M M I N G A N D D A T A S T R U C T U R E S
R05010106  C  P R O G R A M M I N G   A N D   D A T A  S T R U C T U R E SR05010106  C  P R O G R A M M I N G   A N D   D A T A  S T R U C T U R E S
R05010106 C P R O G R A M M I N G A N D D A T A S T R U C T U R E Sguestd436758
 
Computer Programming Jntu Model Paper{Www.Studentyogi.Com}
Computer Programming Jntu Model Paper{Www.Studentyogi.Com}Computer Programming Jntu Model Paper{Www.Studentyogi.Com}
Computer Programming Jntu Model Paper{Www.Studentyogi.Com}guest3f9c6b
 
0502 Object Oriented Programming Through Java Set1
0502 Object Oriented Programming Through Java Set10502 Object Oriented Programming Through Java Set1
0502 Object Oriented Programming Through Java Set1guestac67362
 
0502 Object Oriented Programming Through Java Set1
0502 Object Oriented Programming Through Java Set10502 Object Oriented Programming Through Java Set1
0502 Object Oriented Programming Through Java Set1guestd436758
 
05211201 A D V A N C E D D A T A S T R U C T U R E S A N D A L G O R I...
05211201  A D V A N C E D  D A T A  S T R U C T U R E S   A N D   A L G O R I...05211201  A D V A N C E D  D A T A  S T R U C T U R E S   A N D   A L G O R I...
05211201 A D V A N C E D D A T A S T R U C T U R E S A N D A L G O R I...guestd436758
 
05211201 Advanced Data Structures And Algorithms
05211201 Advanced Data Structures  And  Algorithms05211201 Advanced Data Structures  And  Algorithms
05211201 Advanced Data Structures And Algorithmsguestac67362
 
Data structures question paper anna university
Data structures question paper anna universityData structures question paper anna university
Data structures question paper anna universitysangeethajames07
 
212101 Object Oriented Analysis Design Through Uml
212101 Object Oriented Analysis Design Through Uml212101 Object Oriented Analysis Design Through Uml
212101 Object Oriented Analysis Design Through Umlguestac67362
 
Embedded Systems Jntu Model Paper{Www.Studentyogi.Com}
Embedded Systems Jntu Model Paper{Www.Studentyogi.Com}Embedded Systems Jntu Model Paper{Www.Studentyogi.Com}
Embedded Systems Jntu Model Paper{Www.Studentyogi.Com}guest3f9c6b
 
Embedded Systems Jntu Model Paper{Www.Studentyogi.Com}
Embedded Systems Jntu Model Paper{Www.Studentyogi.Com}Embedded Systems Jntu Model Paper{Www.Studentyogi.Com}
Embedded Systems Jntu Model Paper{Www.Studentyogi.Com}guest3f9c6b
 
Digital Ic Applications Jntu Model Paper{Www.Studentyogi.Com}
Digital Ic Applications Jntu Model Paper{Www.Studentyogi.Com}Digital Ic Applications Jntu Model Paper{Www.Studentyogi.Com}
Digital Ic Applications Jntu Model Paper{Www.Studentyogi.Com}guest3f9c6b
 
D I G I T A L I C A P P L I C A T I O N S J N T U M O D E L P A P E R{Www
D I G I T A L  I C  A P P L I C A T I O N S  J N T U  M O D E L  P A P E R{WwwD I G I T A L  I C  A P P L I C A T I O N S  J N T U  M O D E L  P A P E R{Www
D I G I T A L I C A P P L I C A T I O N S J N T U M O D E L P A P E R{Wwwguest3f9c6b
 
C O M P U T E R G R A P H I C S J N T U M O D E L P A P E R{Www
C O M P U T E R  G R A P H I C S  J N T U  M O D E L  P A P E R{WwwC O M P U T E R  G R A P H I C S  J N T U  M O D E L  P A P E R{Www
C O M P U T E R G R A P H I C S J N T U M O D E L P A P E R{Wwwguest3f9c6b
 
Computer Graphics Jntu Model Paper{Www.Studentyogi.Com}
Computer Graphics Jntu Model Paper{Www.Studentyogi.Com}Computer Graphics Jntu Model Paper{Www.Studentyogi.Com}
Computer Graphics Jntu Model Paper{Www.Studentyogi.Com}guest3f9c6b
 
Computer Organization Jntu Model Paper{Www.Studentyogi.Com}
Computer Organization Jntu Model Paper{Www.Studentyogi.Com}Computer Organization Jntu Model Paper{Www.Studentyogi.Com}
Computer Organization Jntu Model Paper{Www.Studentyogi.Com}guest3f9c6b
 
C O M P U T E R N E T W O R K S J N T U M O D E L P A P E R{Www
C O M P U T E R  N E T W O R K S  J N T U  M O D E L  P A P E R{WwwC O M P U T E R  N E T W O R K S  J N T U  M O D E L  P A P E R{Www
C O M P U T E R N E T W O R K S J N T U M O D E L P A P E R{Wwwguest3f9c6b
 
Computer Networks Jntu Model Paper{Www.Studentyogi.Com}
Computer Networks Jntu Model Paper{Www.Studentyogi.Com}Computer Networks Jntu Model Paper{Www.Studentyogi.Com}
Computer Networks Jntu Model Paper{Www.Studentyogi.Com}guest3f9c6b
 

Similar a 07 A1 Ec01 C Programming And Data Structures (20)

R05010106 C P R O G R A M M I N G A N D D A T A S T R U C T U R E S
R05010106  C  P R O G R A M M I N G   A N D   D A T A  S T R U C T U R E SR05010106  C  P R O G R A M M I N G   A N D   D A T A  S T R U C T U R E S
R05010106 C P R O G R A M M I N G A N D D A T A S T R U C T U R E S
 
Computer Programming Jntu Model Paper{Www.Studentyogi.Com}
Computer Programming Jntu Model Paper{Www.Studentyogi.Com}Computer Programming Jntu Model Paper{Www.Studentyogi.Com}
Computer Programming Jntu Model Paper{Www.Studentyogi.Com}
 
0502 Object Oriented Programming Through Java Set1
0502 Object Oriented Programming Through Java Set10502 Object Oriented Programming Through Java Set1
0502 Object Oriented Programming Through Java Set1
 
0502 Object Oriented Programming Through Java Set1
0502 Object Oriented Programming Through Java Set10502 Object Oriented Programming Through Java Set1
0502 Object Oriented Programming Through Java Set1
 
05211201 A D V A N C E D D A T A S T R U C T U R E S A N D A L G O R I...
05211201  A D V A N C E D  D A T A  S T R U C T U R E S   A N D   A L G O R I...05211201  A D V A N C E D  D A T A  S T R U C T U R E S   A N D   A L G O R I...
05211201 A D V A N C E D D A T A S T R U C T U R E S A N D A L G O R I...
 
05211201 Advanced Data Structures And Algorithms
05211201 Advanced Data Structures  And  Algorithms05211201 Advanced Data Structures  And  Algorithms
05211201 Advanced Data Structures And Algorithms
 
C g.2010 supply
C g.2010 supplyC g.2010 supply
C g.2010 supply
 
Ooad q.papers
Ooad q.papersOoad q.papers
Ooad q.papers
 
Data structures question paper anna university
Data structures question paper anna universityData structures question paper anna university
Data structures question paper anna university
 
212101 Object Oriented Analysis Design Through Uml
212101 Object Oriented Analysis Design Through Uml212101 Object Oriented Analysis Design Through Uml
212101 Object Oriented Analysis Design Through Uml
 
Embedded Systems Jntu Model Paper{Www.Studentyogi.Com}
Embedded Systems Jntu Model Paper{Www.Studentyogi.Com}Embedded Systems Jntu Model Paper{Www.Studentyogi.Com}
Embedded Systems Jntu Model Paper{Www.Studentyogi.Com}
 
Embedded Systems Jntu Model Paper{Www.Studentyogi.Com}
Embedded Systems Jntu Model Paper{Www.Studentyogi.Com}Embedded Systems Jntu Model Paper{Www.Studentyogi.Com}
Embedded Systems Jntu Model Paper{Www.Studentyogi.Com}
 
Digital Ic Applications Jntu Model Paper{Www.Studentyogi.Com}
Digital Ic Applications Jntu Model Paper{Www.Studentyogi.Com}Digital Ic Applications Jntu Model Paper{Www.Studentyogi.Com}
Digital Ic Applications Jntu Model Paper{Www.Studentyogi.Com}
 
D I G I T A L I C A P P L I C A T I O N S J N T U M O D E L P A P E R{Www
D I G I T A L  I C  A P P L I C A T I O N S  J N T U  M O D E L  P A P E R{WwwD I G I T A L  I C  A P P L I C A T I O N S  J N T U  M O D E L  P A P E R{Www
D I G I T A L I C A P P L I C A T I O N S J N T U M O D E L P A P E R{Www
 
C O M P U T E R G R A P H I C S J N T U M O D E L P A P E R{Www
C O M P U T E R  G R A P H I C S  J N T U  M O D E L  P A P E R{WwwC O M P U T E R  G R A P H I C S  J N T U  M O D E L  P A P E R{Www
C O M P U T E R G R A P H I C S J N T U M O D E L P A P E R{Www
 
Computer Graphics Jntu Model Paper{Www.Studentyogi.Com}
Computer Graphics Jntu Model Paper{Www.Studentyogi.Com}Computer Graphics Jntu Model Paper{Www.Studentyogi.Com}
Computer Graphics Jntu Model Paper{Www.Studentyogi.Com}
 
Computer Organization Jntu Model Paper{Www.Studentyogi.Com}
Computer Organization Jntu Model Paper{Www.Studentyogi.Com}Computer Organization Jntu Model Paper{Www.Studentyogi.Com}
Computer Organization Jntu Model Paper{Www.Studentyogi.Com}
 
sad.pdf
sad.pdfsad.pdf
sad.pdf
 
C O M P U T E R N E T W O R K S J N T U M O D E L P A P E R{Www
C O M P U T E R  N E T W O R K S  J N T U  M O D E L  P A P E R{WwwC O M P U T E R  N E T W O R K S  J N T U  M O D E L  P A P E R{Www
C O M P U T E R N E T W O R K S J N T U M O D E L P A P E R{Www
 
Computer Networks Jntu Model Paper{Www.Studentyogi.Com}
Computer Networks Jntu Model Paper{Www.Studentyogi.Com}Computer Networks Jntu Model Paper{Www.Studentyogi.Com}
Computer Networks Jntu Model Paper{Www.Studentyogi.Com}
 

Más 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 Presentationguestac67362
 
Ce052391 Environmental Studies Set1
Ce052391 Environmental Studies Set1Ce052391 Environmental Studies Set1
Ce052391 Environmental Studies Set1guestac67362
 
Bluetooth Paper Presentation
Bluetooth Paper PresentationBluetooth Paper Presentation
Bluetooth Paper Presentationguestac67362
 
Bio Metrics Paper Presentation
Bio Metrics Paper PresentationBio Metrics Paper Presentation
Bio Metrics Paper Presentationguestac67362
 
Bio Medical Instrumentation
Bio Medical InstrumentationBio Medical Instrumentation
Bio Medical Instrumentationguestac67362
 
Bluetooth Abstract Paper Presentation
Bluetooth Abstract Paper PresentationBluetooth Abstract Paper Presentation
Bluetooth Abstract Paper Presentationguestac67362
 
Basic electronic devices and circuits
Basic electronic devices and circuitsBasic electronic devices and circuits
Basic electronic devices and circuitsguestac67362
 
Automatic Speed Control System Paper Presentation
Automatic Speed Control System Paper PresentationAutomatic Speed Control System Paper Presentation
Automatic Speed Control System Paper Presentationguestac67362
 
Auto Configuring Artificial Neural Paper Presentation
Auto Configuring Artificial Neural Paper PresentationAuto Configuring Artificial Neural Paper Presentation
Auto Configuring Artificial Neural Paper Presentationguestac67362
 
Applied Physics Jntu Btech 2008
Applied Physics Jntu Btech 2008Applied Physics Jntu Btech 2008
Applied Physics Jntu Btech 2008guestac67362
 
Application Of Shuntactive Power Filter Paper Presentation
Application Of Shuntactive Power Filter Paper PresentationApplication Of Shuntactive Power Filter Paper Presentation
Application Of Shuntactive Power Filter Paper Presentationguestac67362
 
An Expert System For Power Plants Paper Presentation
An Expert System For Power Plants Paper PresentationAn Expert System For Power Plants Paper Presentation
An Expert System For Power Plants Paper Presentationguestac67362
 
Antennas And Wave Propagation
Antennas And Wave PropagationAntennas And Wave Propagation
Antennas And Wave Propagationguestac67362
 
Agent Technology Paper Presentation
Agent Technology Paper PresentationAgent Technology Paper Presentation
Agent Technology Paper Presentationguestac67362
 
Analog Communications
Analog CommunicationsAnalog Communications
Analog Communicationsguestac67362
 
Aerospace Engineering 2008 Syllabus
Aerospace Engineering 2008 SyllabusAerospace Engineering 2008 Syllabus
Aerospace Engineering 2008 Syllabusguestac67362
 

Más de guestac67362 (18)

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
 
Ce052391 Environmental Studies Set1
Ce052391 Environmental Studies Set1Ce052391 Environmental Studies Set1
Ce052391 Environmental Studies Set1
 
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 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
 
Auto Configuring Artificial Neural Paper Presentation
Auto Configuring Artificial Neural Paper PresentationAuto Configuring Artificial Neural Paper Presentation
Auto Configuring Artificial Neural Paper Presentation
 
Applied Physics Jntu Btech 2008
Applied Physics Jntu Btech 2008Applied Physics Jntu Btech 2008
Applied Physics Jntu Btech 2008
 
Application Of Shuntactive Power Filter Paper Presentation
Application Of Shuntactive Power Filter Paper PresentationApplication Of Shuntactive Power Filter Paper Presentation
Application Of Shuntactive Power Filter Paper Presentation
 
An Expert System For Power Plants Paper Presentation
An Expert System For Power Plants Paper PresentationAn Expert System For Power Plants Paper Presentation
An Expert System For Power Plants Paper Presentation
 
Antennas And Wave Propagation
Antennas And Wave PropagationAntennas And Wave Propagation
Antennas And Wave Propagation
 
Agent Technology Paper Presentation
Agent Technology Paper PresentationAgent Technology Paper Presentation
Agent Technology Paper Presentation
 
Analog Communications
Analog CommunicationsAnalog Communications
Analog Communications
 
Aerospace Engineering 2008 Syllabus
Aerospace Engineering 2008 SyllabusAerospace Engineering 2008 Syllabus
Aerospace Engineering 2008 Syllabus
 

07 A1 Ec01 C Programming And Data Structures

  • 1. www.studentyogi.com www.studentyogi.com Code No: 07A1EC01 Set No. 1 I B.Tech Supplimentary Examinations, Aug/Sep 2008 C PROGRAMMING AND DATA STRUCTURES ( Common to Civil Engineering, Electrical & Electronic Engineering, Electronics & Communication Engineering, Computer Science & Engineering, Chemical Engineering, Electronics & Instrumentation Engineering, Bio-Medical Engineering, Information Technology, Electronics & Control Engineering, Computer Science & Systems Engineering, Electronics & Telematics, Electronics & Computer Engineering, Aeronautical Engineering, Instrumentation & Control Engineering and Bio-Technology) Time: 3 hours Max Marks: 80 Answer any FIVE Questions All Questions carry equal marks om 1. (a) Write a ‘C’ program to nd the squares of N numbers using do - while. (b) Write a ‘C’ program to convert Decimal Number to Octal Number. [8+8] 2. Write a program using function with argument and with return value to nd sum of odd & even series. [16] i.c 3. De ne an array. What are the di erent types of arrays? Explain. [16] 4. De ne Structure and write the general format for declaring and accessing members. g 5. Explain the following operations [16] omyo (a) fseek() (b) ftell t (c) rewind() i.cen (d) ferror() [16] 6. What are the advantages of external sorting? Write a program to perform merge sort with following elements otgud Set A { 11 , 16,22,25 } Set B { 15,19,2,23 } [16] 7. De ne stack. What are the di erent methods used to implement stack, and explain di erent operations performed on it. [16] 8. (a) What are the di erences between a tree and binary tree? nty.s (b) Give the representation of binary trees and explain. [8+8] de w w 1 of 1 stuw www.studentyogi.com www.studentyogi.com w. ww
  • 2. www.studentyogi.com www.studentyogi.com Code No: 07A1EC01 Set No. 2 I B.Tech Supplimentary Examinations, Aug/Sep 2008 C PROGRAMMING AND DATA STRUCTURES ( Common to Civil Engineering, Electrical & Electronic Engineering, Electronics & Communication Engineering, Computer Science & Engineering, Chemical Engineering, Electronics & Instrumentation Engineering, Bio-Medical Engineering, Information Technology, Electronics & Control Engineering, Computer Science & Systems Engineering, Electronics & Telematics, Electronics & Computer Engineering, Aeronautical Engineering, Instrumentation & Control Engineering and Bio-Technology) Time: 3 hours Max Marks: 80 Answer any FIVE Questions All Questions carry equal marks om 1. (a) De ne Algorithm. (b) What is the use of owchart? (c) What are the di erent steps followed in the program development? [3+3+10] i.c 2. (a) Explain about call by value with an example. (b) Write a program to generate Fibonacci series using with argument and return type. [8+8] and print the array elements. og 3. Write the syntax for declaring two - dimensional array write a program to access 4. How to copy one structure to another structure of a same data type, give an ex- [16] ample? [16] nty 5. (a) Write the syntax for opening a le with various modes and closing a le. (b) Explain about le handling functions. [8+8] 6. Write a program to sort the elements whose worst and average case are O(n log n). de [16] 7. What is a singly linked list? Write a program to delete a node in front, rear and in a particular position and print the list. [16] u 8. Write a ‘C’ program to implement recursive algorithm for a Binary Search Tree. [16] w .st ww 1 of 1 www.studentyogi.com www.studentyogi.com
  • 3. www.studentyogi.com www.studentyogi.com Code No: 07A1EC01 Set No. 3 I B.Tech Supplimentary Examinations, Aug/Sep 2008 C PROGRAMMING AND DATA STRUCTURES ( Common to Civil Engineering, Electrical & Electronic Engineering, Electronics & Communication Engineering, Computer Science & Engineering, Chemical Engineering, Electronics & Instrumentation Engineering, Bio-Medical Engineering, Information Technology, Electronics & Control Engineering, Computer Science & Systems Engineering, Electronics & Telematics, Electronics & Computer Engineering, Aeronautical Engineering, Instrumentation & Control Engineering and Bio-Technology) Time: 3 hours Max Marks: 80 Answer any FIVE Questions All Questions carry equal marks om 1. How algorithm is di erent from owchart? Write an algorithm and draw owchart for nding greatest among three given numbers. [8+8] 2. What is a function? What are the di erent types of functions? Explain function with no argument and no return type with an example. [16] i.c 3. De ne an array. What are the di erent types of arrays? Explain. [16] 4. Compare arrays, structures and unions. [16] (b) Explain about le handling functions. og 5. (a) Write the syntax for opening a le with various modes and closing a le. [8+8] 6. What is the advantage of binary search? Write a program to search an element 30 nty in the given set of inputs { 12,15,18,30 } [16] 7. (a) Compare the advantages and disadvantages of doubly linked list over singly linked list. (b) Implement a queue using linked list and write a ‘C’ routine to add elements de from a queue. [8+8] 8. Explain about connected and non-connected graph and list the di erence between them? [16] u w .st ww 1 of 1 www.studentyogi.com www.studentyogi.com
  • 4. www.studentyogi.com www.studentyogi.com Code No: 07A1EC01 Set No. 4 I B.Tech Supplimentary Examinations, Aug/Sep 2008 C PROGRAMMING AND DATA STRUCTURES ( Common to Civil Engineering, Electrical & Electronic Engineering, Electronics & Communication Engineering, Computer Science & Engineering, Chemical Engineering, Electronics & Instrumentation Engineering, Bio-Medical Engineering, Information Technology, Electronics & Control Engineering, Computer Science & Systems Engineering, Electronics & Telematics, Electronics & Computer Engineering, Aeronautical Engineering, Instrumentation & Control Engineering and Bio-Technology) Time: 3 hours Max Marks: 80 Answer any FIVE Questions All Questions carry equal marks om 1. (a) Write a ‘C’ program to convert Decimal to Hexa Decimal number. (b) Write a ‘C’ program to nd area of circle. [10+6] 2. What are the di erent standard library functions available in ‘C’? Explain with a sample program. [16] i.c 3. (a) Write a program to perform addition of two matrices. (b) Write the program to nd the sum of even numbers using arrays. [10+6] og 4. (a) How is structure di erent from an array? Explain. (b) How an array be included as a member of a structure? [8+8] 5. (a) Write the syntax for opening a le with various modes and closing a le. nty (b) Explain about le handling functions. [8+8] 6. Explain the sorting mechanism which uses the concept of pivot element selection with a program. [16] de 7. Write an ‘C’ program to implement linked stacks. [16] 8. (a) What is a network? (b) What is a spanning tree? u (c) De ne minimal spanning tree. (d) What are the various traversals in a tree? [16] w .st ww 1 of 1 www.studentyogi.com www.studentyogi.com