Thursday, November 26, 2015
Total No. of Questions: 09
Paper ID [B0102]
PROGRAMMING IN C (MCA-102)
Time: 3 Hrs. Max. Marks: 60
Instruction to Candidates:
1. Attempt any one question from each sections A, B, C & D.
2. Section-E is Compulsory.
1. What do you mean by the terms algorithm and flowchart? Illustrate their use with the help of suitable examples?
2. List and explain different types of data types in C? Also differentiate between signed and unsigned data types with reference to range of memory they occupy?
3. What are functions? Differentiate between call by value and call by reference with the help of suitable examples?
4. Write a C program to read the element of two 3 x 3 matrices and multiply two matrices.
5. Write a function (using pointer parameters) that compares two integer arrays to see whether they are identical. The function returns 1 if they are identical 0 otherwise?
6. Differentiate and compare the working of an array, structure and a union with the help of suitable examples?
7. Write a program that compares two files and returns 0 if they are equal and 1 if they are not.
8. What do you mean by dynamic memory allocation? Explain the working of following functions with the help of suitable examples:
· Malloc( )
· Calloc( )
· Free( )
· Realloc( )
9. (a) Differentiate between reserve words and identifiers?
(b) What are enumerated data types?
(c) What is sorting?
(d) What is the role of header files?
(e) Explain global variable and local variable.
(f) What do you mean by conditional statements.
(g) What do you mean by prototype?
(h) List the various string operations?
(i) What is the role of return statement?
(j) What do you mean by recursion?
punjabtechnicaluniversity.blogspot.in Roll No......................... ... Total No. of Questions : 07] ...
Roll No……….. Total No. of Questions: 07 B.Com. (Sem.-1 st ) FINANCIAL ACCOUNTING Subject Code: BCOP-101 Paper ID: [B1101] ...
punjabtechnicaluniversity.blogspot.in Click Here for Syllabus of B-Tech 1st Year . http://ptu.ac.in/userfiles/file/engg_syllab/1st_and_...
Business Organisation and Management, Question Paper of B.Com 1st Semester,Download Previous Years Question Paper 2Roll No…….. Total No. of Questions: 07 B.Com (Sem.-1 st ) BUSINESS ORGANIATION AND MANAGEMENT Subject Code: BCOP-102 (2011 &a...
Roll No……. Total No. of Questions:07 B.COM (Sem.-1 st ) BUSINESS MATHEMATICS SUBJECT CODE: BCOP-104 (2011 Batch) PAPER ID: ...
punjabtechnicaluniversity.blogspot.in Roll No. ...................... Total No. of Questions : 13] ...
punjabtechnicaluniversity.blogspot.in Master Of Technology (M-Tech) Syllabus SYLLABUS FOR MASTER OF TECHNOLOGY (M-Tech) Br...
punjabtechnicaluniversity.blogspot.in Click Downlink for Dowload of Scheme and Syllabus of B.Com. Professional Batch 2011onwards ht...
B.Sc. IT (402) (S05) / 102 (New) (Sem. - 4th) BASIC MATHEMATICS – I, Punjab Technical University, PTU, Question paperpunjabtechnicaluniversity.blogspot.in Roll No. ................. Total No. of Questions : 13] ...
punjabtechnicaluniversity.blogspot.in Roll No . ............ Total No. of Questions : 07) ...