All posts from

PCA102 Programming in C Language PGDCA Question Paper : tmu.ac.in

University : Teerthanker Mahaveer University
College : Teerthanker Mahaveer College of Management And Computer Applications
Degree : PGDCA (Post Graduate Diploma in Computer Application)
Subject : PCA102 Programming in ‘C’ Language
Semester : I
Document Type : Question Paper
Website : tmu.ac.in

Download Previous/ Old Question Papers : https://www.pdfquestion.in/uploads/tmu.ac.in/5777-oldquestionpgdca201011.pdf

TMU Programming in C Language

Course Code : PCA102
Paper ID : 0121101

Related / Similar Post :
TMU PGDCA Foundation English Question Paper

Time : 3 Hours
Max. Marks: 75
Note
: Attempt six questions in all. Q. No. 1 is compulsory.

Paper – I

1. Answer any five of the following (limit your answer in 50 words). (3×5=15)
a) What is basic importance of C language-
b) What is the largest permissible value of floating point constant- Compare with integer constant.

c) How a for loop can be different with do-while loop-
d) What is difference between array and string-
e) What do you mean by function prototyping- Write down the advantages of function.

f) What are input and output functions written in C for files-
g) What is basic difference between call by value and call by reference-
h) What is the difference between Standard Library function and user defined function-

2. What do you mean by operators- Explain different types of operators available in C with suitable examples. (12)
3.a) Write a program to generate Fibonacci series. The user enters the limit of series. (6)
b) How a switch case statement can be differentiated from multi way if-else statement- (6)

4.a) What is purpose of keyword void in function declaration- What is the purpose of void in function definition- (6)
b) Prepare a function program to sort an array of integers into ascending order. (6)

5.a) How are arrays usually processed in C- Can entire arrays be processed with single instructions, without using repetition- (6)
b) Write an interactive C program to create a matrix of size M*N and find sum of each row. (6)

6.a) Differentiate between array of pointers and pointer to pointer with suitable examples. (6)
b) What is difference between a union and structure- Write a structure definition having elements : name, rollno, class, sex and height for 50 students. (6)

7.a) What is meant by the storage class of a variable- Explain four storage class specifications included in C- (6)
b) Explain user defined function and built in function with suitable examples. (6)

8. Write short notes on the following : (4×3=12)
a) File handling b) Preprocessor Directives c) Control statements.

Paper – II

(First) Semester Examination 2014-15 :
Course Code : PCA102
Paper ID : X801102
Time : 3 Hours
Max. Marks : 70
Max Marks : 75
Note : Attempt six questions in all. Q. No. 1 is compulsory.
1. Answer any five of the following (limit your answer in 50 words). (4×5=20)
a) What is basic importance of C language?
b) What is expression? What kind of information is represented the expression?

c) What is the role of control variable in for statement?
d) What are differences between array and string?
e) What do you mean by recursion? How it is different than iteration?

f) What are input and output functions written in C for files?
g) Create a string constant with the # define statement. How does this constant differ from character constant?
h) Differentiate between Standard Library function and user defined function?

2. What do you mean by operators? Explain different types of operators available in C with suitable examples. (10)

3. a) What is the purpose of while and do-while statements? Explain with example. (5)
b) Write a program to calculate the area of triangle and circle depending upon the choice entered by the user. (5)

4. a) What is purpose of keyword void in function declaration? What is the purpose of void in function definition? (5)
b) Prepare a function program to sort an array of integers into ascending order. (5)

5. a) Differentiate Call by Value from that of Call by Reference with the help of an example. (5)
b) What is static and dynamic memory allocation? Also explain merits and demerits of static and dynamic memory allocation.
(5)
6.a) Can a structure be within a structure? Give appropriate examples to support your answer. Also explain uses of structure. (5)
b) Write a program to declare structure as a member of a union and display its contents. (5)

7. What is the purpose of the following functions : (2×5=10)
i) fopen() ii) fclose() iii) fread()
iv) ftell() v) fseek

8. Write short notes on any two of the following : (5+5)
a) File handling
b) Preprocessor Directives
c) Control statements.

1 Comment
Add a Comment
  1. Solution of this question paper.

Leave a Reply

How to add comment : 1) Type your comment below. 2) Type your name. 3) Post comment.

www.pdfquestion.in © 2021

Contact Us   Privacy Policy   SiteMap