O 8 Oppop
O 8 Oppop
O 8 Oppop
No: 11123
NR SET-1
JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD
I .B.TECH SUPPLEMENTARY EXAMINATIONS FEBRUARY - 2010
C & DATA STRUCTURES
(Common to EEE, ECE, CSE, CSIT, EIE, BME, E.CON.E, ETM, ECC, CSS)
Time: 3hours Max.Marks:80
Answer any FIVE questions
All questions carry equal marks
---
2.a) What do you mean by functions? Give the structure of the functions and explain
about the arguments and their return values.
b) Write a C program that uses a function to sort an array of integers. [8+8]
3. Consider a structure master includes the information like name, code, pay, experience.
Write a program to delete and display the information contained in master variables
for a given code. [16]
4.a) Explain the process of declaring and initializing pointers. Give an example.
b) Write a C program that uses a pointer as a function argument. [8+8]
5. Declare two queues of varying length in a single array. Write functions to insert and
delete elements from these queues. [16]
6. Write a function in ‘C’ to form a list containing the intersection of the elements of two
lists. [16]
8. Explain the algorithm for selection sort and give a suitable example. [16]
*****
Code.No: 11123
NR SET-2
JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD
I .B.TECH SUPPLEMENTARY EXAMINATIONS FEBRUARY - 2010
C & DATA STRUCTURES
(Common to EEE, ECE, CSE, CSIT, EIE, BME, E.CON.E, ETM, ECC, CSS)
Time: 3hours Max.Marks:80
Answer any FIVE questions
All questions carry equal marks
---
1. Consider a structure master includes the information like name, code, pay, experience.
Write a program to delete and display the information contained in master variables
for a given code. [16]
2.a) Explain the process of declaring and initializing pointers. Give an example.
b) Write a C program that uses a pointer as a function argument. [8+8]
3. Declare two queues of varying length in a single array. Write functions to insert and
delete elements from these queues. [16]
4. Write a function in ‘C’ to form a list containing the intersection of the elements of two
lists. [16]
6. Explain the algorithm for selection sort and give a suitable example. [16]
8.a) What do you mean by functions? Give the structure of the functions and explain
about the arguments and their return values.
b) Write a C program that uses a function to sort an array of integers. [8+8]
*****
Code.No: 11123
NR SET-3
JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD
I .B.TECH SUPPLEMENTARY EXAMINATIONS FEBRUARY - 2010
C & DATA STRUCTURES
(Common to EEE, ECE, CSE, CSIT, EIE, BME, E.CON.E, ETM, ECC, CSS)
Time: 3hours Max.Marks:80
Answer any FIVE questions
All questions carry equal marks
---
1. Declare two queues of varying length in a single array. Write functions to insert and
delete elements from these queues. [16]
2. Write a function in ‘C’ to form a list containing the intersection of the elements of two
lists. [16]
4. Explain the algorithm for selection sort and give a suitable example. [16]
6.a) What do you mean by functions? Give the structure of the functions and explain
about the arguments and their return values.
b) Write a C program that uses a function to sort an array of integers. [8+8]
7. Consider a structure master includes the information like name, code, pay, experience.
Write a program to delete and display the information contained in master variables
for a given code. [16]
8.a) Explain the process of declaring and initializing pointers. Give an example.
b) Write a C program that uses a pointer as a function argument. [8+8]
*****
Code.No: 11123
NR SET-4
JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD
I .B.TECH SUPPLEMENTARY EXAMINATIONS FEBRUARY - 2010
C & DATA STRUCTURES
(Common to EEE, ECE, CSE, CSIT, EIE, BME, E.CON.E, ETM, ECC, CSS)
Time: 3hours Max.Marks:80
Answer any FIVE questions
All questions carry equal marks
---
2. Explain the algorithm for selection sort and give a suitable example. [16]
4.a) What do you mean by functions? Give the structure of the functions and explain
about the arguments and their return values.
b) Write a C program that uses a function to sort an array of integers. [8+8]
5. Consider a structure master includes the information like name, code, pay, experience.
Write a program to delete and display the information contained in master variables
for a given code. [16]
6.a) Explain the process of declaring and initializing pointers. Give an example.
b) Write a C program that uses a pointer as a function argument. [8+8]
7. Declare two queues of varying length in a single array. Write functions to insert and
delete elements from these queues. [16]
8. Write a function in ‘C’ to form a list containing the intersection of the elements of two
lists. [16]
*****