Roll No……
Total No. of
Questions: 09
Paper
ID [B0102]
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. (a) Explain the structure of a C
program.
(b) What is the difference between Flowchart and Algorithm.
2. What are the various control statements
available in C.
SECTION-B
3. What is a Function? How can functions be
classified? Explain.
4. (a) Name the storage class specifications
included in C.
(b) What is the difference between Array definition and Array
declaration.
SECTION-C
5. Write a program min C to sort list of
strings using pointers.
6. (A) What is a structure? How can entire
structure be passed to a function.
(b) What
is a void “pointer. What is its use.
SECTION-D
7. (a)
What is the Primary advantage of using a data file.
(b)
Write a program in C To read all characters till the ‘\n’ character is entered
and put that character in a file, then print the characters on the screen.
8. Write
a program that sorts an array using bubble sort method.
SECTION-E
9. (a) What is formatted and unformatted I/O
functions.
(b) How will you print the Output “ I said, Lets do C!”
(c) What is Top Down Programming?
(d) What is difference between linker error and run time error?
(e) If recursive function calls are not executed immediately, then
where they are stored?
(f) When should we use conditional operator?
(g) Define operator, Why a++ executes faster than a+1?
(h) What conditions must be satisfied by all of the elements of any
given array?
(i) Is it essential for strings to be end with ‘\0”?
(j) Write two uses of
pointer.
0 comments:
Post a Comment
North India Campus