Roll No……
Total No. of
Questions: 09
Paper
ID [MC102]
MCA
(Sem.-1st)
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.
3.
Use of Non-programmable Scientific Calculator is allowed.
SECTION-A
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?
SECTION-B
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 multiply two matrices and also multiply the resultant
matrix with third matrix?
SECTION-C
5.
Write a program that reverses the elements of A given array using pointer
parameters?
6.
Differentiate and compare the working of an array, structure and a union with
the help of suitable examples?
SECTION-D
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 ( )
SECTION-E
9.
(a) What are enumerated data types?
(b)
What is sorting?
(c)
What is the role of header files?
(d)
What do you mean by operator and operand?
(e)
List various standard I/O functions used in C language?
(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?
0 comments:
Post a Comment
North India Campus