JNTU Exam Papers – I B.Tech Regular Examinations– Computer Programming – May/Jun 2008

I B.Tech Regular Examinations, May/Jun 2008



1. (a) Define Psuedocode.

(b) Define flowchartc.

(c) What are the different stages in the program development?

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 files in ‘C’? How it is used?

3. What is the working of following functions :

(a) ceil(x)

(b) exp(x)

(c) cos(x)

(d) tolower(x).

4. Define Multi dimensional array with an example.

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

6. (a) What is meant by opening a file? How is this accomplished.

(b) Summarize the rules governing the use of fopen function.

7. (a) How the linear search gets differed from binary search?

(b) Write a program to perform bubble sort for given elements {10,7,15,28,13}.

8. Explain Dijkstra’s shortest path algorithm.

Leave a Comment