How To Exam?

a knowledge trading engine...


Kerala University 2009 M.Sc Mathematics Computer Programming in C - Question Paper

Thursday, 06 June 2013 07:35Web



IUITIWVIB    (Pages : 2)    4698

Reg. No.:.................................

Name :.....................................

Second Semester M.Sc. Degree Examination, August 2009 Branch : Mathematics MM 224 : COMPUTER PROGRAMMING IN C (Prior to 2005 admn.)

Time: 3 Hours    Max. Marks: 75

Instruction x Answer five questions using Part A or Part B from each questions.

I.    A) i) What is a character array ? How is it different from other type of arrays ?

ii) Write a program to find the transpose of a matrix.

B) i) How do you compare two strings ? How do you assign value to string variables ?

ii) Write a C program to find whether the given matrix is symmetric or not.

II.    A) i) What are identifiers in C ? Explain basic data types in C.

ii) Explain the control statements in C.

B) i) Suppose a, b and c are the following functions of t.

b= sin (t) + cos (2t)

Write a program which reads t and prints the value of b.

ii) Write a program to read a floating point number from the keyboard and print its integer and fractional part. separately.

III. A) i) What is meant by pointers to pointers ? What is the difference between the array of pointers and pointers to the array ?

ii) Declare a pointer to an array of real numbers and find the average of the numbers.

Differentiate between pointer variable and pointer constant.

B) i ii

IV. A) i ii

B) i ii

V.A) i ii

B) i


Differentiate between static allocation and dynamic allocation and how does linked list help in dynamic allocation.

Write a C program involving structure variables that reads name and telephone number of your friends into the computer, sort the names in alphabetical order and then writes out lexicographically ordered list.

Explain the salient features of type def.

What is the advantage of using a union in C ? How many data items can be stored in a union at one time ?

What is meant by bitfield and what is the use of it ? How can a bit field used within a structure declaration ?

Write a program to illustrate the addition and deletion of item from linked list.

Explain dynamic storage allocation using example.

Write a program to sort n numbers and print the result in descending order.

Write a program to illustrate matrix multiplication.







Attachment:

( 0 Votes )

Add comment


Security code
Refresh

Earning:   Approval pending.
You are here: PAPER Kerala University 2009 M.Sc Mathematics Computer Programming in C - Question Paper