How To Exam?

a knowledge trading engine...


Guru Nanak Dev University 2009-1st Year B.C.A Computer Application Introduction to programming in ‘C’, , - Question Paper

Tuesday, 22 January 2013 02:05Web

Time Allowed: three Hours
Maximum Marks: 100


Note: Attempt any five ques.. All ques. carry equal marks.

1. What are various operators in C? discuss all kinds with example.[Marks 20]

2. (a) What is function? How do we declare and describe it? provide example. elaborate function prototypes? [Marks 10]

(b) What do you mean by passing arguments to a function? What is call by value and call by reference? provide example. [Marks 10]

3. (a) Write a program to display a Fibonacci series: [Marks 10]
e.g.
1 one two three five eight 13……n.

(b) Write a program to obtain out sum of digits in a number: [Marks 10]
e.g.
475=5+7+4=16.

4. elaborate data kinds in C? discuss primary data kinds and user described data kinds in C with the help of example. [Marks 20]

5. elaborate arrays? discuss kinds of arrays with example. Write a program to obtain the sum of 2 matrices. [Marks 20]

6. What is concept of file handling in C? elaborate command line arguments in C? Write a program to learn a file and to count the total number of lines in file. [Marks 20]

7. (a) elaborate various storages classes in C? discuss all with the help of example. [Marks 10]

(b) Write a program to display a table of two up to 10: [Marks 10]

e.g.
2*1=2
2*2=4
………..
………..
2*10=20

8. describe following: [Marks 4*5=20]

(a) Pointers

(b) Structure

(c) Union

(d) Library function


( 7 Votes )

Add comment


Security code
Refresh

Earning:   Approval pending.
You are here: PAPER Guru Nanak Dev University 2009-1st Year B.C.A Computer Application Introduction to programming in ‘C’, , - Question Paper