www.andhracolleges.com
Seminar Topics - Scholarships - Admission/Entrance Exam Notifications
USA-UK-Australia-Germany-France-NewZealand Universities List
Engineering-MBA-MCA-Medical-Pharmacy-B.Ed-Law Colleges Information
www.andhracolleges.com The Complete Information About Colleges in Andhra Pradesh
www.andhracolleges.com
www.andhracolleges.com
Code No: Z0322/R07
Set No. 1
I B.Tech Supplementary Examinations, November 2009
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) Discuss the History of ‘C’ language.
(b) Write the structure of ‘C’ program and explain.
[6+10]
2.
(a) What is the difference between selection and iteration statement?
(b) Write short notes on if statements.
[6+10]
3.
(a) Write short notes on register variable.
(b) Write a program to show the working of register variable in different blocks.
[6+10]
4.
(a) Write a program to demonstrate realloc function.
(b) Describe operations on pointers with example.
[10+6]
5.
(a) How can a size of a structure be determined? In what units is the size reported.
(b) What is the purpose of typedef feature? How is the feature used in conjunction
with structures?
[8+8]
6.
(a) Write the syntax for opening a file with various modes and closing a file.
(b) Explain about file handling functions.
[8+8]
7. What is the advantage of binary search compared to linear search. Write a program
to perform binary search?
[16]
8. Write an algorithm that accepts the binary tree representing an expression and
return the infix version of the expression.
[16]
? ? ? ? ?
1 of 1
www.andhracolleges.com
Seminar Topics - Scholarships - Admission/Entrance Exam Notifications
USA-UK-Australia-Germany-France-NewZealand Universities List
Engineering-MBA-MCA-Medical-Pharmacy-B.Ed-Law Colleges Information
www.andhracolleges.com The Complete Information About Colleges in Andhra Pradesh
www.andhracolleges.com
www.andhraco