SlideShare a Scribd company logo
1 of 4
Download to read offline
www.studentyogi.com                                                                    www.studentyogi.com

         Code No: 07A1EC04
                                                                               Set No. 1
                       I B.Tech Regular Examinations, May/Jun 2008
                                 COMPUTER PROGRAMMING
               ( Common to Mechanical Engineering, Mechatronics, Production
                            Engineering and Automobile Engineering)
         Time: 3 hours                                                                Max Marks: 80
                                    Answer any FIVE Questions
                                 All Questions carry equal marks



           1. (a) De ne Psuedoco de.
               (b) De ne owchartc.
               (c) What are the di erent stages in the program development? [3+3+10]

           2. (a) What are the commonly used Input / Output functions used in ‘C’. How they
                   are accessed?
               (b) What is the standard Input / Output header les in ‘C’? How it is used?
                                                                                                    [10+6]

           3. (a) Write short notes on register variable.
               (b) Write a program to show the working of register variable in di erent blo cks.
                                                                                                    [6+10]

           4. Explain an array , array declaration and features of array.                             [16]

           5. (a) How bits are manipulated using bit elds in ‘C’ explain?
               (b) What is the use of typedef in structure declaration?                              [8+8]

           6. What is the purpose of library function feof()? How might feof() be utilized within
              a program that updates an unformatted data le?                                          [16]

           7. Write a program to evaluate the following expression X = A / B + C in x to post x
              using stack.                                                                            [16]

           8. (a) Write a program to swap nodes in a binary tree.
               (b) Write a program to delete node in a binary tree.                                  [8+8]
www.studentyogi.com                                                                       www.studentyogi.com

         Code No: 07A1EC04
                                                                                 Set No. 2
                       I B.Tech Regular Examinations, May/Jun 2008
                                 COMPUTER PROGRAMMING
               ( Common to Mechanical Engineering, Mechatronics, Production
                            Engineering and Automobile Engineering)
         Time: 3 hours                                                                    Max Marks: 80
                                    Answer any FIVE Questions
                                 All Questions carry equal marks



           1. (a) De ne Psuedoco de.
               (b) De ne owchartc.
               (c) What are the di erent stages in the program development? [3+3+10]

           2. (a) How can short integer, long integer and double precision arguments be indi-
                    cated within the control string of the scanf function.
               (b) What are the rules for writing printf and scanf statements? [8+8]

           3. Explain call by value and call by reference and nesting of function. [16]

           4. Explain an array , array declaration and features of array.                             [16]

           5. (a) Write a program to print name, address using structure.
               (b) Write a program to print name, marks using structure. [8+8]

           6. What is the purpose of ferror() and perror() explain with an example. [16]

           7. Write a program to evaluate the following expression A * B + ( C - D) / A to
              pre x using stack.                                                                      [16]

           8. (a) What is a network?
               (b) What is a spanning tree?
               (c) De ne minimal spanning tree.
               (d) What are the various traversals in a tree?                                   [4+4+4+4]
www.studentyogi.com                                                                    www.studentyogi.com

         Code No: 07A1EC04
                                                                               Set No. 3
                       I B.Tech Regular Examinations, May/Jun 2008
                                 COMPUTER PROGRAMMING
               ( Common to Mechanical Engineering, Mechatronics, Production
                            Engineering and Automobile Engineering)
         Time: 3 hours                                                                Max Marks: 80
                                    Answer any FIVE Questions
                                 All Questions carry equal marks



           1. (a) De ne Psuedoco de.
               (b) De ne owchartc.
               (c) What are the di erent stages in the program development? [3+3+10]

           2. (a) Explain about gets and puts function explain with example.
               (b) What is the di erence between gets and getc function? [10+6]

           3. Write a program to swap the contents of given variable.                               [16]

           4. (a) Write short notes on pointer to void.
               (b) Write short notes on Address Arithmetic.                                        [8+8]

           5. De ne Structure and write the general format for declaring and accessing structure
              members with an example.                                                              [16]

           6. (a) Describe data le hierarchy.
               (b) Write the syntax for opening and closing a le.                                  [8+8]

           7. Explain the applications of stack and queue in detail.                                [16]

           8. (a) What is a network?
               (b) What is a spanning tree?
               (c) De ne minimal spanning tree.
               (d) What are the various traversals in a tree?                                 [4+4+4+4]
www.studentyogi.com                                                                   www.studentyogi.com

         Code No: 07A1EC04
                                                                               Set No. 4
                       I B.Tech Regular Examinations, May/Jun 2008
                                 COMPUTER PROGRAMMING
               ( Common to Mechanical Engineering, Mechatronics, Production
                            Engineering and Automobile Engineering)
         Time: 3 hours                                                               Max Marks: 80
                                    Answer any FIVE Questions
                                 All Questions carry equal marks



           1. (a) De ne Psuedoco de.
               (b) De ne owchartc.
               (c) What are the di erent stages in the program development? [3+3+10]

           2. (a) What are the commonly used Input / Output functions used in ‘C’. How they
                   are accessed?
               (b) What is the standard Input / Output header les in ‘C’? How it is used?
                                                                                                 [10+6]

           3. What is the working of following functions :

               (a) ceil(x)
               (b) exp(x)

               (c) cos(x)
               (d) tolower(x).                                                                       [16]

           4. De ne Multi dimensional array with an example.                                       [16]

           5. How structure members are accessed using pointer variable, explain with example?
                                                                                                   [16]

           6. (a) What is meant by opening a le? How is this accomplished.
               (b) Summarize the rules governing the use of fopen function. [8+8]

           7. (a) How the linear search gets di ered from binary search?
               (b) Write a program to perform bubble sort for given elements {10,7,15,28,13}.
                                                                                                 [6+10]

           8. Explain Dijkstra’s shortest path algorithm.                                          [16]

More Related Content

What's hot

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
 
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
 
Software project management
Software project managementSoftware project management
Software project managementvamsi krishna
 
FP 301 OOP FINAL PAPER JUNE 2013
FP 301 OOP FINAL PAPER JUNE 2013FP 301 OOP FINAL PAPER JUNE 2013
FP 301 OOP FINAL PAPER JUNE 2013Syahriha Ruslan
 
FINAL PAPER FP301 OBJECT ORIENTED PROGRAMMING
FINAL PAPER FP301 OBJECT ORIENTED PROGRAMMINGFINAL PAPER FP301 OBJECT ORIENTED PROGRAMMING
FINAL PAPER FP301 OBJECT ORIENTED PROGRAMMINGAmira Dolce Farhana
 

What's hot (15)

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
 
5th semester Computer Science and Information Science Engg (2013 December) Qu...
5th semester Computer Science and Information Science Engg (2013 December) Qu...5th semester Computer Science and Information Science Engg (2013 December) Qu...
5th semester Computer Science and Information Science Engg (2013 December) Qu...
 
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 cs june 2013
7th cs   june 20137th cs   june 2013
7th cs june 2013
 
Oops Quiz
Oops QuizOops Quiz
Oops Quiz
 
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...
 
Software project management
Software project managementSoftware project management
Software project management
 
5th Semester (June; July-2015) Computer Science and Information Science Engin...
5th Semester (June; July-2015) Computer Science and Information Science Engin...5th Semester (June; July-2015) Computer Science and Information Science Engin...
5th Semester (June; July-2015) Computer Science and Information Science Engin...
 
FP 301 OOP FINAL PAPER
FP 301 OOP FINAL PAPER FP 301 OOP FINAL PAPER
FP 301 OOP FINAL PAPER
 
FP 301 OOP FINAL PAPER JUNE 2013
FP 301 OOP FINAL PAPER JUNE 2013FP 301 OOP FINAL PAPER JUNE 2013
FP 301 OOP FINAL PAPER JUNE 2013
 
Ooad q.papers
Ooad q.papersOoad q.papers
Ooad q.papers
 
7th Semester (June-2016) Computer Science and Information Science Engineering...
7th Semester (June-2016) Computer Science and Information Science Engineering...7th Semester (June-2016) Computer Science and Information Science Engineering...
7th Semester (June-2016) Computer Science and Information Science Engineering...
 
FINAL PAPER FP301 OBJECT ORIENTED PROGRAMMING
FINAL PAPER FP301 OBJECT ORIENTED PROGRAMMINGFINAL PAPER FP301 OBJECT ORIENTED PROGRAMMING
FINAL PAPER FP301 OBJECT ORIENTED PROGRAMMING
 
Sample paper i.p
Sample paper i.pSample paper i.p
Sample paper i.p
 
6th Semester CS / IS (2013-June) Question Papers
6th Semester CS / IS (2013-June) Question Papers6th Semester CS / IS (2013-June) Question Papers
6th Semester CS / IS (2013-June) Question Papers
 

Viewers also liked

Best Photos: Excursions Blog 21
Best Photos: Excursions Blog 21Best Photos: Excursions Blog 21
Best Photos: Excursions Blog 21Travels With Lobo
 
Apresentação2
Apresentação2Apresentação2
Apresentação2quipibid
 
Sanjaya inclusive service-delivery-sa-mobile
Sanjaya inclusive service-delivery-sa-mobileSanjaya inclusive service-delivery-sa-mobile
Sanjaya inclusive service-delivery-sa-mobilesachinis
 
Proyecto,pedagógico
Proyecto,pedagógicoProyecto,pedagógico
Proyecto,pedagógiconayra65
 
Gandhi And Churchill
Gandhi And ChurchillGandhi And Churchill
Gandhi And Churchillglenede
 

Viewers also liked (8)

Best Photos: Excursions Blog 21
Best Photos: Excursions Blog 21Best Photos: Excursions Blog 21
Best Photos: Excursions Blog 21
 
-CALL-
-CALL--CALL-
-CALL-
 
Apresentação2
Apresentação2Apresentação2
Apresentação2
 
Sanjaya inclusive service-delivery-sa-mobile
Sanjaya inclusive service-delivery-sa-mobileSanjaya inclusive service-delivery-sa-mobile
Sanjaya inclusive service-delivery-sa-mobile
 
Proyecto,pedagógico
Proyecto,pedagógicoProyecto,pedagógico
Proyecto,pedagógico
 
Life Trace - Ambroz Humar
Life Trace - Ambroz HumarLife Trace - Ambroz Humar
Life Trace - Ambroz Humar
 
Obfuscated Reality - Matej Ušaj
Obfuscated Reality - Matej UšajObfuscated Reality - Matej Ušaj
Obfuscated Reality - Matej Ušaj
 
Gandhi And Churchill
Gandhi And ChurchillGandhi And Churchill
Gandhi And Churchill
 

Similar to 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 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
 
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
 
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
 
Decision Support Systems Jntu Model Paper{Www.Studentyogi.Com}
Decision Support Systems Jntu Model Paper{Www.Studentyogi.Com}Decision Support Systems Jntu Model Paper{Www.Studentyogi.Com}
Decision Support Systems Jntu Model Paper{Www.Studentyogi.Com}guest3f9c6b
 
D E C I S I O N S U P P O R T S Y S T E M S J N T U M O D E L P A P E R{Www
D E C I S I O N  S U P P O R T  S Y S T E M S  J N T U  M O D E L  P A P E R{WwwD E C I S I O N  S U P P O R T  S Y S T E M S  J N T U  M O D E L  P A P E R{Www
D E C I S I O N S U P P O R T S Y S T E M S J N T U M O D E L P A P E R{Wwwguest3f9c6b
 
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
 
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
 
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
 
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
 
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
 
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 ...guestd436758
 
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
 
6084639 rr322401industrialmanagement
6084639 rr322401industrialmanagement6084639 rr322401industrialmanagement
6084639 rr322401industrialmanagementAnand Prakash
 

Similar to Computer Programming Jntu Model Paper{Www.Studentyogi.Com} (20)

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
 
Ads
AdsAds
Ads
 
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}
 
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}
 
Decision Support Systems Jntu Model Paper{Www.Studentyogi.Com}
Decision Support Systems Jntu Model Paper{Www.Studentyogi.Com}Decision Support Systems Jntu Model Paper{Www.Studentyogi.Com}
Decision Support Systems Jntu Model Paper{Www.Studentyogi.Com}
 
D E C I S I O N S U P P O R T S Y S T E M S J N T U M O D E L P A P E R{Www
D E C I S I O N  S U P P O R T  S Y S T E M S  J N T U  M O D E L  P A P E R{WwwD E C I S I O N  S U P P O R T  S Y S T E M S  J N T U  M O D E L  P A P E R{Www
D E C I S I O N S U P P O R T S Y S T E M S J N T U M O D E L P A P E R{Www
 
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
 
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
 
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
 
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}
 
Paper
PaperPaper
Paper
 
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
 
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 ...
 
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
 
6084639 rr322401industrialmanagement
6084639 rr322401industrialmanagement6084639 rr322401industrialmanagement
6084639 rr322401industrialmanagement
 

More from guest3f9c6b

Mass Transfer Operations I Jntu Model Paper{Www.Studentyogi.Com}
Mass Transfer Operations I Jntu Model Paper{Www.Studentyogi.Com}Mass Transfer Operations I Jntu Model Paper{Www.Studentyogi.Com}
Mass Transfer Operations I Jntu Model Paper{Www.Studentyogi.Com}guest3f9c6b
 
Linear Ic Applications Jntu Model Paper{Www.Studentyogi.Com}
Linear Ic Applications Jntu Model Paper{Www.Studentyogi.Com}Linear Ic Applications Jntu Model Paper{Www.Studentyogi.Com}
Linear Ic Applications Jntu Model Paper{Www.Studentyogi.Com}guest3f9c6b
 
English Jntu Model Paper{Www.Studentyogi.Com}
English Jntu Model Paper{Www.Studentyogi.Com}English Jntu Model Paper{Www.Studentyogi.Com}
English Jntu Model Paper{Www.Studentyogi.Com}guest3f9c6b
 
Engineering Chemistry Jntu Model Paper{Www.Studentyogi.Com}
Engineering Chemistry Jntu Model Paper{Www.Studentyogi.Com}Engineering Chemistry Jntu Model Paper{Www.Studentyogi.Com}
Engineering Chemistry Jntu Model Paper{Www.Studentyogi.Com}guest3f9c6b
 
Engineering Chemistry 1 Jntu Model Paper{Www.Studentyogi.Com}
Engineering Chemistry 1 Jntu Model Paper{Www.Studentyogi.Com}Engineering Chemistry 1 Jntu Model Paper{Www.Studentyogi.Com}
Engineering Chemistry 1 Jntu Model Paper{Www.Studentyogi.Com}guest3f9c6b
 
Emwavesandtransmission Lines Jntu Model Paper{Www.Studentyogi.Com}
Emwavesandtransmission Lines Jntu Model Paper{Www.Studentyogi.Com}Emwavesandtransmission Lines Jntu Model Paper{Www.Studentyogi.Com}
Emwavesandtransmission Lines Jntu Model Paper{Www.Studentyogi.Com}guest3f9c6b
 
Electronic Devices And Circuits Jntu Model Paper{Www.Studentyogi.Com}
Electronic Devices And Circuits Jntu Model Paper{Www.Studentyogi.Com}Electronic Devices And Circuits Jntu Model Paper{Www.Studentyogi.Com}
Electronic Devices And Circuits Jntu Model Paper{Www.Studentyogi.Com}guest3f9c6b
 
Electromagneticwavesandtransmissionlines Jntu Model Paper{Www.Studentyogi.Com}
Electromagneticwavesandtransmissionlines Jntu Model Paper{Www.Studentyogi.Com}Electromagneticwavesandtransmissionlines Jntu Model Paper{Www.Studentyogi.Com}
Electromagneticwavesandtransmissionlines Jntu Model Paper{Www.Studentyogi.Com}guest3f9c6b
 
Electrical Technology Jntu Model Paper{Www.Studentyogi.Com}
Electrical Technology Jntu Model Paper{Www.Studentyogi.Com}Electrical Technology Jntu Model Paper{Www.Studentyogi.Com}
Electrical Technology Jntu Model Paper{Www.Studentyogi.Com}guest3f9c6b
 
Electrical Measurements Jntu Model Paper{Www.Studentyogi.Com}
Electrical Measurements Jntu Model Paper{Www.Studentyogi.Com}Electrical Measurements Jntu Model Paper{Www.Studentyogi.Com}
Electrical Measurements Jntu Model Paper{Www.Studentyogi.Com}guest3f9c6b
 
Electrical Machines Iii Jntu Model Paper{Www.Studentyogi.Com}
Electrical Machines Iii Jntu Model Paper{Www.Studentyogi.Com}Electrical Machines Iii Jntu Model Paper{Www.Studentyogi.Com}
Electrical Machines Iii Jntu Model Paper{Www.Studentyogi.Com}guest3f9c6b
 
Electrical Machines Ii Jntu Model Paper{Www.Studentyogi.Com}
Electrical Machines Ii Jntu Model Paper{Www.Studentyogi.Com}Electrical Machines Ii Jntu Model Paper{Www.Studentyogi.Com}
Electrical Machines Ii Jntu Model Paper{Www.Studentyogi.Com}guest3f9c6b
 
Electrical Circuits Analysis Jntu Model Paper{Www.Studentyogi.Com}
Electrical Circuits Analysis Jntu Model Paper{Www.Studentyogi.Com}Electrical Circuits Analysis Jntu Model Paper{Www.Studentyogi.Com}
Electrical Circuits Analysis Jntu Model Paper{Www.Studentyogi.Com}guest3f9c6b
 
Digital Control Systems Jntu Model Paper{Www.Studentyogi.Com}
Digital Control Systems Jntu Model Paper{Www.Studentyogi.Com}Digital Control Systems Jntu Model Paper{Www.Studentyogi.Com}
Digital Control Systems Jntu Model Paper{Www.Studentyogi.Com}guest3f9c6b
 
Designofmachinemembers I Jntu Model Paper{Www.Studentyogi.Com}
Designofmachinemembers I Jntu Model Paper{Www.Studentyogi.Com}Designofmachinemembers I Jntu Model Paper{Www.Studentyogi.Com}
Designofmachinemembers I Jntu Model Paper{Www.Studentyogi.Com}guest3f9c6b
 
Digital Communications Jntu Model Paper{Www.Studentyogi.Com}
Digital Communications Jntu Model Paper{Www.Studentyogi.Com}Digital Communications Jntu Model Paper{Www.Studentyogi.Com}
Digital Communications Jntu Model Paper{Www.Studentyogi.Com}guest3f9c6b
 
Databasemanagementsystems Jntu Model Paper{Www.Studentyogi.Com}
Databasemanagementsystems Jntu Model Paper{Www.Studentyogi.Com}Databasemanagementsystems Jntu Model Paper{Www.Studentyogi.Com}
Databasemanagementsystems Jntu Model Paper{Www.Studentyogi.Com}guest3f9c6b
 
Control Systems Jntu Model Paper{Www.Studentyogi.Com}
Control Systems Jntu Model Paper{Www.Studentyogi.Com}Control Systems Jntu Model Paper{Www.Studentyogi.Com}
Control Systems Jntu Model Paper{Www.Studentyogi.Com}guest3f9c6b
 
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
 
Computerapplicationinchemicalengineering Jntu Model Paper{Www.Studentyogi.Com}
Computerapplicationinchemicalengineering Jntu Model Paper{Www.Studentyogi.Com}Computerapplicationinchemicalengineering Jntu Model Paper{Www.Studentyogi.Com}
Computerapplicationinchemicalengineering Jntu Model Paper{Www.Studentyogi.Com}guest3f9c6b
 

More from guest3f9c6b (20)

Mass Transfer Operations I Jntu Model Paper{Www.Studentyogi.Com}
Mass Transfer Operations I Jntu Model Paper{Www.Studentyogi.Com}Mass Transfer Operations I Jntu Model Paper{Www.Studentyogi.Com}
Mass Transfer Operations I Jntu Model Paper{Www.Studentyogi.Com}
 
Linear Ic Applications Jntu Model Paper{Www.Studentyogi.Com}
Linear Ic Applications Jntu Model Paper{Www.Studentyogi.Com}Linear Ic Applications Jntu Model Paper{Www.Studentyogi.Com}
Linear Ic Applications Jntu Model Paper{Www.Studentyogi.Com}
 
English Jntu Model Paper{Www.Studentyogi.Com}
English Jntu Model Paper{Www.Studentyogi.Com}English Jntu Model Paper{Www.Studentyogi.Com}
English Jntu Model Paper{Www.Studentyogi.Com}
 
Engineering Chemistry Jntu Model Paper{Www.Studentyogi.Com}
Engineering Chemistry Jntu Model Paper{Www.Studentyogi.Com}Engineering Chemistry Jntu Model Paper{Www.Studentyogi.Com}
Engineering Chemistry Jntu Model Paper{Www.Studentyogi.Com}
 
Engineering Chemistry 1 Jntu Model Paper{Www.Studentyogi.Com}
Engineering Chemistry 1 Jntu Model Paper{Www.Studentyogi.Com}Engineering Chemistry 1 Jntu Model Paper{Www.Studentyogi.Com}
Engineering Chemistry 1 Jntu Model Paper{Www.Studentyogi.Com}
 
Emwavesandtransmission Lines Jntu Model Paper{Www.Studentyogi.Com}
Emwavesandtransmission Lines Jntu Model Paper{Www.Studentyogi.Com}Emwavesandtransmission Lines Jntu Model Paper{Www.Studentyogi.Com}
Emwavesandtransmission Lines Jntu Model Paper{Www.Studentyogi.Com}
 
Electronic Devices And Circuits Jntu Model Paper{Www.Studentyogi.Com}
Electronic Devices And Circuits Jntu Model Paper{Www.Studentyogi.Com}Electronic Devices And Circuits Jntu Model Paper{Www.Studentyogi.Com}
Electronic Devices And Circuits Jntu Model Paper{Www.Studentyogi.Com}
 
Electromagneticwavesandtransmissionlines Jntu Model Paper{Www.Studentyogi.Com}
Electromagneticwavesandtransmissionlines Jntu Model Paper{Www.Studentyogi.Com}Electromagneticwavesandtransmissionlines Jntu Model Paper{Www.Studentyogi.Com}
Electromagneticwavesandtransmissionlines Jntu Model Paper{Www.Studentyogi.Com}
 
Electrical Technology Jntu Model Paper{Www.Studentyogi.Com}
Electrical Technology Jntu Model Paper{Www.Studentyogi.Com}Electrical Technology Jntu Model Paper{Www.Studentyogi.Com}
Electrical Technology Jntu Model Paper{Www.Studentyogi.Com}
 
Electrical Measurements Jntu Model Paper{Www.Studentyogi.Com}
Electrical Measurements Jntu Model Paper{Www.Studentyogi.Com}Electrical Measurements Jntu Model Paper{Www.Studentyogi.Com}
Electrical Measurements Jntu Model Paper{Www.Studentyogi.Com}
 
Electrical Machines Iii Jntu Model Paper{Www.Studentyogi.Com}
Electrical Machines Iii Jntu Model Paper{Www.Studentyogi.Com}Electrical Machines Iii Jntu Model Paper{Www.Studentyogi.Com}
Electrical Machines Iii Jntu Model Paper{Www.Studentyogi.Com}
 
Electrical Machines Ii Jntu Model Paper{Www.Studentyogi.Com}
Electrical Machines Ii Jntu Model Paper{Www.Studentyogi.Com}Electrical Machines Ii Jntu Model Paper{Www.Studentyogi.Com}
Electrical Machines Ii Jntu Model Paper{Www.Studentyogi.Com}
 
Electrical Circuits Analysis Jntu Model Paper{Www.Studentyogi.Com}
Electrical Circuits Analysis Jntu Model Paper{Www.Studentyogi.Com}Electrical Circuits Analysis Jntu Model Paper{Www.Studentyogi.Com}
Electrical Circuits Analysis Jntu Model Paper{Www.Studentyogi.Com}
 
Digital Control Systems Jntu Model Paper{Www.Studentyogi.Com}
Digital Control Systems Jntu Model Paper{Www.Studentyogi.Com}Digital Control Systems Jntu Model Paper{Www.Studentyogi.Com}
Digital Control Systems Jntu Model Paper{Www.Studentyogi.Com}
 
Designofmachinemembers I Jntu Model Paper{Www.Studentyogi.Com}
Designofmachinemembers I Jntu Model Paper{Www.Studentyogi.Com}Designofmachinemembers I Jntu Model Paper{Www.Studentyogi.Com}
Designofmachinemembers I Jntu Model Paper{Www.Studentyogi.Com}
 
Digital Communications Jntu Model Paper{Www.Studentyogi.Com}
Digital Communications Jntu Model Paper{Www.Studentyogi.Com}Digital Communications Jntu Model Paper{Www.Studentyogi.Com}
Digital Communications Jntu Model Paper{Www.Studentyogi.Com}
 
Databasemanagementsystems Jntu Model Paper{Www.Studentyogi.Com}
Databasemanagementsystems Jntu Model Paper{Www.Studentyogi.Com}Databasemanagementsystems Jntu Model Paper{Www.Studentyogi.Com}
Databasemanagementsystems Jntu Model Paper{Www.Studentyogi.Com}
 
Control Systems Jntu Model Paper{Www.Studentyogi.Com}
Control Systems Jntu Model Paper{Www.Studentyogi.Com}Control Systems Jntu Model Paper{Www.Studentyogi.Com}
Control Systems 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 Graphics Jntu Model Paper{Www.Studentyogi.Com}
 
Computerapplicationinchemicalengineering Jntu Model Paper{Www.Studentyogi.Com}
Computerapplicationinchemicalengineering Jntu Model Paper{Www.Studentyogi.Com}Computerapplicationinchemicalengineering Jntu Model Paper{Www.Studentyogi.Com}
Computerapplicationinchemicalengineering Jntu Model Paper{Www.Studentyogi.Com}
 

Computer Programming Jntu Model Paper{Www.Studentyogi.Com}

  • 1. www.studentyogi.com www.studentyogi.com Code No: 07A1EC04 Set No. 1 I B.Tech Regular Examinations, May/Jun 2008 COMPUTER PROGRAMMING ( Common to Mechanical Engineering, Mechatronics, Production Engineering and Automobile Engineering) Time: 3 hours Max Marks: 80 Answer any FIVE Questions All Questions carry equal marks 1. (a) De ne Psuedoco de. (b) De ne owchartc. (c) What are the di erent stages in the program development? [3+3+10] 2. (a) What are the commonly used Input / Output functions used in ‘C’. How they are accessed? (b) What is the standard Input / Output header les in ‘C’? How it is used? [10+6] 3. (a) Write short notes on register variable. (b) Write a program to show the working of register variable in di erent blo cks. [6+10] 4. Explain an array , array declaration and features of array. [16] 5. (a) How bits are manipulated using bit elds in ‘C’ explain? (b) What is the use of typedef in structure declaration? [8+8] 6. What is the purpose of library function feof()? How might feof() be utilized within a program that updates an unformatted data le? [16] 7. Write a program to evaluate the following expression X = A / B + C in x to post x using stack. [16] 8. (a) Write a program to swap nodes in a binary tree. (b) Write a program to delete node in a binary tree. [8+8]
  • 2. www.studentyogi.com www.studentyogi.com Code No: 07A1EC04 Set No. 2 I B.Tech Regular Examinations, May/Jun 2008 COMPUTER PROGRAMMING ( Common to Mechanical Engineering, Mechatronics, Production Engineering and Automobile Engineering) Time: 3 hours Max Marks: 80 Answer any FIVE Questions All Questions carry equal marks 1. (a) De ne Psuedoco de. (b) De ne owchartc. (c) What are the di erent stages in the program development? [3+3+10] 2. (a) How can short integer, long integer and double precision arguments be indi- cated within the control string of the scanf function. (b) What are the rules for writing printf and scanf statements? [8+8] 3. Explain call by value and call by reference and nesting of function. [16] 4. Explain an array , array declaration and features of array. [16] 5. (a) Write a program to print name, address using structure. (b) Write a program to print name, marks using structure. [8+8] 6. What is the purpose of ferror() and perror() explain with an example. [16] 7. Write a program to evaluate the following expression A * B + ( C - D) / A to pre x using stack. [16] 8. (a) What is a network? (b) What is a spanning tree? (c) De ne minimal spanning tree. (d) What are the various traversals in a tree? [4+4+4+4]
  • 3. www.studentyogi.com www.studentyogi.com Code No: 07A1EC04 Set No. 3 I B.Tech Regular Examinations, May/Jun 2008 COMPUTER PROGRAMMING ( Common to Mechanical Engineering, Mechatronics, Production Engineering and Automobile Engineering) Time: 3 hours Max Marks: 80 Answer any FIVE Questions All Questions carry equal marks 1. (a) De ne Psuedoco de. (b) De ne owchartc. (c) What are the di erent stages in the program development? [3+3+10] 2. (a) Explain about gets and puts function explain with example. (b) What is the di erence between gets and getc function? [10+6] 3. Write a program to swap the contents of given variable. [16] 4. (a) Write short notes on pointer to void. (b) Write short notes on Address Arithmetic. [8+8] 5. De ne Structure and write the general format for declaring and accessing structure members with an example. [16] 6. (a) Describe data le hierarchy. (b) Write the syntax for opening and closing a le. [8+8] 7. Explain the applications of stack and queue in detail. [16] 8. (a) What is a network? (b) What is a spanning tree? (c) De ne minimal spanning tree. (d) What are the various traversals in a tree? [4+4+4+4]
  • 4. www.studentyogi.com www.studentyogi.com Code No: 07A1EC04 Set No. 4 I B.Tech Regular Examinations, May/Jun 2008 COMPUTER PROGRAMMING ( Common to Mechanical Engineering, Mechatronics, Production Engineering and Automobile Engineering) Time: 3 hours Max Marks: 80 Answer any FIVE Questions All Questions carry equal marks 1. (a) De ne Psuedoco de. (b) De ne owchartc. (c) What are the di erent stages in the program development? [3+3+10] 2. (a) What are the commonly used Input / Output functions used in ‘C’. How they are accessed? (b) What is the standard Input / Output header les in ‘C’? How it is used? [10+6] 3. What is the working of following functions : (a) ceil(x) (b) exp(x) (c) cos(x) (d) tolower(x). [16] 4. De ne Multi dimensional array with an example. [16] 5. How structure members are accessed using pointer variable, explain with example? [16] 6. (a) What is meant by opening a le? How is this accomplished. (b) Summarize the rules governing the use of fopen function. [8+8] 7. (a) How the linear search gets di ered from binary search? (b) Write a program to perform bubble sort for given elements {10,7,15,28,13}. [6+10] 8. Explain Dijkstra’s shortest path algorithm. [16]