Sunteți pe pagina 1din 4

Code.

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
---

1.a) What is an expression? What kind of information is represented by an expression?


b) What is an operator? Describe several different types of operators that are included
with in the C language with an example each. [8+8]

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]

7.a) What is a binary tree? Explain the properties of binary tree.


b) Differentiate between terminal nodes and non-terminal nodes in a tree. [8+8]

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]

5.a) What is a binary tree? Explain the properties of binary tree.


b) Differentiate between terminal nodes and non-terminal nodes in a tree. [8+8]

6. Explain the algorithm for selection sort and give a suitable example. [16]

7.a) What is an expression? What kind of information is represented by an expression?


b) What is an operator? Describe several different types of operators that are included
with in the C language with an example each. [8+8]

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]

3.a) What is a binary tree? Explain the properties of binary tree.


b) Differentiate between terminal nodes and non-terminal nodes in a tree. [8+8]

4. Explain the algorithm for selection sort and give a suitable example. [16]

5.a) What is an expression? What kind of information is represented by an expression?


b) What is an operator? Describe several different types of operators that are included
with in the C language with an example each. [8+8]

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
---

1.a) What is a binary tree? Explain the properties of binary tree.


b) Differentiate between terminal nodes and non-terminal nodes in a tree. [8+8]

2. Explain the algorithm for selection sort and give a suitable example. [16]

3.a) What is an expression? What kind of information is represented by an expression?


b) What is an operator? Describe several different types of operators that are included
with in the C language with an example each. [8+8]

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]

*****

S-ar putea să vă placă și