Guru Nanak Dev University 2010-1st Year B.C.A Computer Application Introduction to programming in ‘C’, , - Question Paper
Tuesday, 22 January 2013 02:30Web
Time Allowed : three Hours
Maximum Marks : 100
Note: Attempt any five ques. in all. All ques. carry equal marks.
1. What are the various kinds of operators in C language? discuss all the operators with the help of suitable examples.[Marks 20]
2. (a) discuss the use of unformatted input statements with the help of suitable examples. [Marks 10]
(b) Write a program to obtain the smallest of 3 numbers. [Marks 10]
3. What do you mean by looping? discuss all the looping statements with the help of examples. [Marks 20]
4. (a) elaborate the various kinds of string handling functions? discuss with example. [Marks 10]
(b) Write a program to convert lower case string into upper case string. [Marks 10]
5. What is the purpose of function in a program? discuss various categories of functions with examples. [Marks 20]
6. (a) What is the use of union? Compare the features of union and structure. [Marks 10]
(b) Write a program to computer net pay of an employee using the concept of function returning a structure calculated value.
[Marks 10]
7. elaborate various kinds of file operations in C language? explain with suitable examples. [Marks 20]
8. discuss the subsequent with examples-
(a) Break and continue on statements[Marks 10]
(b) Call by reference and Call by value. [Marks 10]
Earning: Approval pending. |