# Madras University (UnOM) 2006 B.C.A Computer Application programming in C - exam paper

Monday, 12 August 2013 04:20Web

**PART A**- (10 x three = 30 marks)

ans any TEN ques..

All ques. carry equal marks.

every ans should not exceed 50 words.

**1.**List down the differences ranging from Break

and continue on statement.

**2.**List down the various operators available in C.

**3.**describe register variable.

**4.**What do you mean by preprocessor?

**5.**What is the meaning of '&' operator? Along with

which variable it may be used?

**6.**What is meant by multi-dimensional array?

**7.**discuss the term void function.

**8.**provide the syntax of union.

**9.**discuss any 2 standard mathematical functions.

**10.**List down the various I/O operations on files.

11 .What is stack?

**1**How can tagged data items be generated by the

**2.**print f function?

**PART B**- (5 x six = 30 marks)

ans any 5 ques..

All ques. carry equal marks.

every ans should not exceed 200 words.

**1**Develop a C program to obtain the smallest

**3.**and 2nd smallest from a set of numbers.

**1**Write the difference ranging from while and

**4.**for statement.

**1**Write a program in C to multiply 2 matrixes A

**5.**and B the resulting matrix in C.

**1**Write a function using pointers to exchange the

**6.**values stored in 2 locations in the memory.

**1**Write a program to learn a line of text containing a

**7.**series of words from the terminal.

**1**explain the uses and limitations of a function getc

**8.**and put

**c.**Distinguish the subsequent concepts:

getch and getchar

printf and f printf

feof and ferror.

**1**Write a C program to learn 100 numbers into an

**9.**array and calculate the mean of only the 7 numbers.

**PART C**- (4 x 10 = 40 marks)

ans any 4 ques..

All ques. carry equal marks.

every ans should not exceed 500 words.

**20.**Write the various kinds of IF structure available

in C.

**2**Summarize several kinds of commonly used linked

**1.**data structures. Write a C program to create and

maintain a singly linked list.

**2**Write a C program to calculate the real and

**2.**complex roots of a quadratic formula ax2 + bx + c = 0.

**2**An n -order polynomial can be evaluated as

**3.**follows:

P = (...(aoX + at)X + az)X + ...an)

Write a function to evaluate the polynomial using

an array variable n .

**2**Using pointers, write a function that receives a

**4.**character string and a character as argument and delete

all occurrences of this character in the string. This

function should return the corrected string with holes.

**2**What is meant by Nested structure and Array of

**5.**structure? discuss it with exampl

**e.**

Earning: Approval pending. |