Rajasthan Technical University 2011 M.C.A I - Sem(Main & Back)- , Subject: Programminng in 'C' (-104) - Question Paper
Rnll Nf>. : |
Total Printed Pages : | 2 | | ||
- y y - . i: . |
1C7104 |
- | |
T* \ |
M. C. A. (Sem. 1) Examination, January - 2011 | ||
W |
Programming in 'Cf ' |
- i . | |
"J ui |
i J - ' 1 r. , |
Time : 3 Hours] [Total Marks : 80 [Min. Passing Marks : 32
Attempt all questions. Marks of questions are indicated against each question.
Use of following supporting material is permitted during examination. (Mentioned in form No. 205)
1.___Nil________2.___Nil_
1 Answer the following questions in one line :
* (i) Define flowchart.
(ii) List the basic datatypes in C language.
(iii) Write the following statement in its equivalent forms : total=total+l;
(iv) What is the one principal difference between the 'while' loop and the 'do....while' loop?
(v) What is an array?
(vi) Define enumeration.
(vii) List the modes in which a data file may be opened in C language.
(viii)What does the 'void' return type of a function signify?
(ix) What is the arrow () operator used for?
(x) For an integer array, arr[3], where arr[0]=l. arr[l]~5 and arr[2]-3, what will be the values of arr[l]f*arr+l and *(arr+l)?
10x1
2 Answer each part in maximum 50 words :
(i) What are preprocessors? Also write their use with example.
(ii) What are system calls?
(iii) Write a program that reads a character in upper case and prints whether it is a vowel (a,e,i,o,u) or not.
(iv) Differentiate between the break' and 'continue' statements with examples.
(v) Distinguish between getc() and getcharQ functions.
5x3
1C7104] 111 ill ill i! II 111 III! !||| 1 fContd...
Attachment: |
Earning: Approval pending. |