Download Model question papers & previous years question papers

Posted Date: 08 Nov 2011      Posted By:: charika    Member Level: Bronze  Points: 5 (₹ 1)

2008 Punjabi University Programming using 'C' Question paper



Course:   University/board: Punjabi University





(SECTION-A)
1.a) what are the different data types available in C language? Explain.
b) What are the integer constants and character constants?
2.a) Explain various expressions and statements used in C language.
b) write an algorithm to print the Fibonacci series.
(SECTION-B)
3.a) what are case labels? What types of expression must be used to represent a case label?
b) Differntiate between while and do-while loop statement.
4. Write a program to find the average of the diagonal elements of a two 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) Describe the various string library functions used in C.
6.a) what is a self-referential structure? Give an example.
b) what is the purpose of return statement? Explain.
(SECTION-D)
7.a) how pointers can be passed to a function?
b) explain malloc(), free() and calloc() functions with a suitable example.
8. Discuss the various I/O operations of files.
(SECTION-E)
9. Answer short type questions:
i) discuss about enum data type with example.
ii) write a program to print the prime numbers between 1 and 100.
iii) explain the concept of command line argument and dynamic memory allocation.
iv) discuss about flowchart and various symbols used in designing a flowchart.
v) explain the various modes used for opening a file.
vi) what are the Bit-Level operations? Give an example.
vii) differentiate between logical and relational operators.
viii) what is a conditional operator? Explain with suitable example.



Attachments:





Return to question paper search

Next Question Paper: B.A. Supplementary Degree Examination, August/September 2009, Paper – VI : Optional (D) : International Economics

Previous Question Paper: B.A. Supplementary Degree Examination, August/September 2009, Paper – VI : Optional (D) : International Economics

Related Question Papers:


  • MANAGEMENT PRACTICES AND ORGANISATIONAL BEHAVIOUR Question Paper


  • MANAGEMENT PRACTICES AND ORGANISATIONAL BEHAVIOUR Question Paper


  • MBA BUSINESS ENVIRONMENT Question Paper


  • SOCIAL ASPECTS OF TOURISM


  • WAGE AND SALARY ADMINISTRATION


  • Categories


    Submit Previous Years University Question Papers and make money from adsense revenue sharing program

    Are you preparing for a university examination? Download model question papers and practise before you write the exam.


    Looking for University or College admissions in India for 2019 - 2020 academic year?

    APPLY NOW
    Top Contributors
    TodayLast 7 Daysmore...

    Awards & Gifts
     
    SpiderWorks Technologies Pvt Ltd, Kochi - India. © All Rights Reserved.