How To Exam?

a knowledge trading engine...


Anna University Chennai 2007-1st Sem B.E Civil Engineering Anna university-FOC- - Question Paper

Sunday, 24 February 2013 09:05Web

COMPUTER PROGRAMMING
(Common to all branches)

Time: three hours
Marks:100

PART-A(10x2=20)
ans all ques.

1.What are various components of computer?
2.Draw flow chart to obtain the least of 2 numbers.
3.Write C assignment statements to evaluate the subsequent formula T=(2ab)*g/(a+b).
4.Write a C program to obtain the greatest of provided 10 numbers.
5.What is the advantage of using register variable?
6.Give an example for enumerated data kind.
7.What is the difference ranging from structure and union?
8.What do you mean by dynamic memory allocation?
9.Define Stack and Queue.
10.What is the main advantage of linked list?

PART-B(5x16=100)

11 (a) (i) explain about various services given by the internet.
(ii) List the various categories of softwares.
OR
(b) (i) Draw a flow chart to solve a quadratic formula
Ax2+Bx+c=0 where A!=0
(ii)Draw a flow chart for finding the sum of 1st ten natural numbers.

12 (a) (i) Write a C program to obtain the simple interest? Inputs are principal amount, period in year and rate of interest.
(ii)Write a program to compute the sum of remainders found by dividing with modular division operation by two on one to nine numbers.
OR
(b) (i) Write a C program to evaluate the subsequent series.
x-x3/3!+x5/5!-x7/7!+...xn/n!

13 (a) Write a C program to organize the names in alphabetical order.
OR
(b) (i)Illustrate the principles of various storage classes in C.
(ii)Write a C program to obtain the factorial of a provided number using recursion.

14 (a) (i)Write a program to display array elements and their address using pointers.
(ii)Write a program to assign pointer value to a different variable and write program to add 2 numbers through their pointers.
OR
(b) (i) Write a program to write data to a text file and to learn it.
(ii)Write note on self referential structures.

15 (a) Implement a queue so that every element of the queue hold a list of integers. Write the funcions add_Q and remove_Q for such a queue.
OR
(b) Write a C program to insert to note in the beginning, middle and end of the linked list.


( 0 Votes )

Add comment


Security code
Refresh

Earning:   Approval pending.
You are here: PAPER Anna University Chennai 2007-1st Sem B.E Civil Engineering Anna university-FOC- - Question Paper