How To Exam?

a knowledge trading engine...


Netaji Subhas Open University (NSOU) 2008-1st Sem M.C.A M C A (ester) - university paper

Sunday, 27 January 2013 01:40Web


M C A (1st Semester)

Term End exam - December, 2008

PROGRAMMING AND issue SOLVING THROUGH C

PAPER - 1.1


Time : 3 Hours Full Marks : 75



ans ques. no. one and any 5 from the rest

1. ans any ten ten ques. : [Marks 2.5 * 10=25]

(a) What is pointer ?

(b) Explain register variable with example.

(c) Why address of operator is used ?

(d) What is nested structure ?

(e) Explain activity of malloc ( ) function ?

(f) What are the uses of break and continue on ?

(g) Explain activity of typedef keyword in C.

(h) What is string ?

(i) What are the differences ranging from Exit and Entry condition loop ?

(j) What is Header File ? Why it is needed ?

(k) Explain the activity of fopen ( ) function.

(l) How can we specify dimension of Array ?


P. T. O.

P - 1


MCA – 1.1 (2)



2.(a) What is the difference ranging from “Call by Value” and “Call by Reference” ?

(b) Pass two number to two functions 1 by “Call by Value” and a different by “Call by Reference”.
Swap the value within the function. After function calls and print the value in main
function. discuss the outcome. [Marks 4+6=10]


3.(a) In which header file printf ( ) and getch ( ) function prototype are described.

(b) discuss the requirement of function. What is recursive function ?

(c) compute the factorial of a user taken number using recursive function. [Marks 2+4+4=10]


4.(a) What is the basic operation on a File?

(b) describe activity of fgetc ( ), fputc ( ) and fscanf ( ) function.

(c) Write a C program to copy 1 file to a different file. [Marks 2+3+5=10]


5.(a) Write a program to learn a file and count number of characters, word and line learn.

(b) Write a program to input inventory data (item name, item number and item price) from the
keyboard and write it into a file, with 1 record per line. [Marks 5+5=10]


6.(a) How can we declare a structure ?

(b) What is array of structure ?

(c) Take 5 learner info using structure array and show the learner details who get
highest marks. [Marks 2+2+6=10]


(3) MCA – 1.1

7. Write short notes (any 2) : [Marks 5+5=10]

(a) Command Line argument with example.

(b) Pointer to structure.

(c) Pointer to a pointer.






( 0 Votes )

Add comment


Security code
Refresh

Earning:   Approval pending.
You are here: PAPER Netaji Subhas Open University (NSOU) 2008-1st Sem M.C.A M C A (ester) - university paper