How To Exam?

a knowledge trading engine...


Punjabi University 2008 Programming using 'C' - Question Paper

Tuesday, 05 February 2013 03:50Web

(SECTION-A)
1.a) elaborate the various data kinds available in C language? discuss.
b) elaborate the integer constants and character constants?
2.a) discuss different expressions and statements used in C language.
b) write an algorithm to print the Fibonacci series.
(SECTION-B)
3.a) elaborate case labels? What kinds of expression must be used to represent a case label?
b) Differntiate ranging from while and do-while loop statement.
4. Write a program to obtain the avg. of the diagonal elements of a 2 dimensional array of m*n.
(SECTION-C)
5.a) What do you mean by function call? From what parts of a program can a function be called?
b) define the different string library functions used in C.
6.a) what is a self-referential structure? provide an example.
b) what is the purpose of return statement? discuss.
(SECTION-D)
7.a) how pointers can be passed to a function?
b) discuss malloc(), free() and calloc() functions with a suitable example.
8. explain the different I/O operations of files.
(SECTION-E)
9. ans short kind questions:
i) explain about enum data kind with example.
ii) write a program to print the prime numbers ranging from one and 100.
iii) discuss the concept of command line argument and dynamic memory allocation.
iv) explain about flowchart and different symbols used in designing a flowchart.
v) discuss the different modes used for opening a file.
vi) elaborate the Bit-Level operations? provide an example.
vii) differentiate ranging from logical and relational operators.
viii) what is a conditional operator? discuss with suitable example.


( 0 Votes )

Add comment


Security code
Refresh

Earning:   Approval pending.
You are here: PAPER Punjabi University 2008 Programming using 'C' - Question Paper