How To Exam?

a knowledge trading engine...


K L University 2008 B.E Industrial Production

Sunday, 03 February 2013 03:30Web

ans 1 ques. from every unit
ans all units
Unit 1
1) Explain arithmetic operators, assignment and modulus operators with examples
2) What is a constant? discuss various kinds of constants with examples
OR
1) Explain the 3 loop structures in C with examples
2) What is recursion? Write a recursive program to compute the factorial of an integer
Unit 2
1) What is a pointer? Write a program using pointers that displays the elements and their address with in a 1-D array.
2) Write a program that initials the usage of the standard C function ‘strepy ( )’, using pointers.
OR
1) Illustrate the usage of call by reference by writing a complete program that exchanges the values stored in 2 locations in the memory.
2) Write a program using pointers to organize a list of names in alphabetical order
Unit 3
1) Define and declare a structure. Write a program that displays the addresses of the elements of a structure
2) Distinguish ranging from a. An array a structure, and b. A structure and a union. describe a structure that contains person’s name, date of joining and salary. Using this structure, write a program to learn this info for 1 person and print the identical on the screen
OR
1) Distinguish ranging from ‘arrays of structures’ and ‘arrays within structures’ with examples
2) Write a program that passes the address of a structure variable to a function and let the function print the data
Unit 4
1) What is dynamic memory allocation? discuss the memory management functions malloc ( ) and free ( )
2) Write a program to create a linked list of integers and print out the list
OR
1) Write a function to delete a specified node from a linked list
2) Write the program part to create a node in a doubly linked list
Unit 5
1) What is a file? discuss any 5 basic operations on files
2) What is a macro? discuss the 3 various kinds of macro substitution
OR
1) Write a program that accepts inventory details item- name, number, price and quantity, stores them in a file and prints the data on the screen.
2) Write a program that copies the contents of 1 file in to a different



( 0 Votes )

Add comment


Security code
Refresh

Earning:   Approval pending.
You are here: PAPER K L University 2008 B.E Industrial Production