How To Exam?

a knowledge trading engine...


K L University 2007 B.Tech Industrial and Production Engineering Advanced C language - Question Paper

Sunday, 03 February 2013 05:00Web

ans all units
All units carry marks
Unit 1
1) A. what is recursion. Write a recursive program an element in a list using binary search
B. Expalin various bitwise operators with examples
(or)

2) A. discuss storage classes with examples
b. write a function to obtain GCD of 2 numbers. Use nested calls of the above function to obtain GCD of 4 numbers.
Unit 2
3) A. what is a pointer? How are pointers used in call by reference? Write a function swap ( ) with pointer arguments, which are passed by reference to interchange the values.
b. write a program to insert an element in to an array using pointers.

(or)
4) A. expalin various operations on pointers with examples
b. write a program using pointers to organize a list of names in alphabetical order.

Unit 3
5) A. distinguish ranging from structures and arrays. Expalin structure data kind with examples.
b. describe structure complex whose members are real and imaginary parts of a complex number. Write a program to obtain product of 2 complex numbers.

(or)

6) Distinguish ranging from array of structures and arrays as structure members with examples
b) write a program to compute the subject wise and totals and store them as a part of structure for 100 students and three subjects
unit 4
7) A) what is dynamic memory allocation? Expalin the memory management functions
1) Malloc ( ) 2) calloc ( ) 3) and free ( )
b. write a program to obtain the product of 2 matrices using dynamic memory allocation
8) a. what is a self- referential structure? For what types of applictions are self referential structures are useful.
b. Write a program to create a linked interactively and printout the list
unit 5
9) a) what is a file? Expalin various input and output functions in sequential file processing?
b) write a program to create a sequential file of learner records. every learner record consists of roll number, name ans marks in three subjects
(or)

10) a) What is a macro? Summarize the similarities and differences ranging from macros and functions
b) 2 files DATA1 and DATA2 contain sorted lists of integers. Write a program to produce a 3rd data which holds a single sorted, merged list of these 2 lists. Use command ine arguments to specify the file name



( 0 Votes )

Add comment


Security code
Refresh

Earning:   Approval pending.
You are here: PAPER K L University 2007 B.Tech Industrial and Production Engineering Advanced C language - Question Paper