0% found this document useful (0 votes)
41 views1 page

BCA-Model Question Paper1 - BCA 202

Yyy

Uploaded by

shekhar777229
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
41 views1 page

BCA-Model Question Paper1 - BCA 202

Yyy

Uploaded by

shekhar777229
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Meerut Institute of Technology (Professional Courses), Meerut

(University Exam Model Paper - 1)

Name of the course: BCA Subject code: BCA 202

Name of the subject: C Programming

Time Allowed: Three hours Maximum Marks: 75

Section – A (5x3 = 15)

(This section contains 5 questions, each carrying 3 marks. Answer should be brief)

1. What are multi-dimensional array? How can you initialize three dimensional
array?
2. Differentiate between strings and character array.
3. What is generic pointer ? How can it be converted to a specific type of
pointer?
4. How union is different from structures?
5. Define fopen() and feof() functions.

Section – B (2x7.5 = 15)


(This section contains 3 questions, you are required to attempt any 2 questions each
carrying 7.5 marks)
6. Write a program that will count the occurrence of a specific character in a
given text.
7. Design a structure named student that stores the record- Roll Number,Student
name, Course_name, Percentage of Marks. Write a program to strore the data
of 20 students and display the same roll number wise.
8. Write a program to sort an array in descending order.
Section – C (3x15 = 45)

(This section contains 5 questions, you are required to attempt any 3 questions each
carrying 15 marks)

9. Explain how pointers can be used to allocate memory dynamically to 2D array.


10. What is dynamic memory allocation? What library functions are used to
allocate memory dynamically? What kind of information is returne by the
functions?
11. What is string? Explain any five library functions of string handling.
12. Explain macros and its type. Write a program to create a macro to calculate
simple interest and amount.
13. Write short notes :
i) fseek()
ii) fopen()
iii) fscanf()
iv) Bit-wise operators

You might also like