Sikkim-Manipal University of Health Medical and Technological Sciences (SMUHMTS) 2008 M.C.A Model OF Computer Programming ‘C Language’ MC 0061 - Question Paper
Monday, 10 June 2013 11:25Web
Page 1 of 4
Sikkim Manipal University
Model ques. Paper
Subject: Computer Programming ‘C Language’ Subject code: MC 0061
Total Time: two hours Total Marks: 140
Notes:
1. ques. paper is divided into 3 parts i.e. Part A, Part B, and Part C.
2. Part A consist 40 ques. of one mark every
3. Part B consist 20 ques. of two marks every.
4. Part C consist 15 ques. of four marks every.
5. All ques. are compulsory Part A (One Mark Question)
1) C Program must have –
a. begin () function
b. Begin() function
c. Main() function
d. First() function
2) int a[]={5,4,3,2,1} What is the value of a[3]?
a. 2
b. 3
c. 4
d. 1
3) float a[10]; What is the size of the array?
a. 10
b. 20
c. 30
d. 40
4) In C a variable name cannot contain
a. Blank Space
b. Underscore
c. Letter
d. Digits
5) Array is :
a. Primary data kind
b. Homogeneous data kind
c. Pointer data kind
d. Heterogeneous data kind
6) Array index can be started from 1?
a. Yes
b. No
7) To accept 100 various values into the array we require:
a. Loop
b. If condition
c. Function
d. Structure
8) Which of the subsequent is odd 1 out
a. +
b. –
c. /
d. **
9) Pointer holds
a. Value of variable
b. Address of variable
c. Value and address of variable
d. Always null
10) An integer constant in C must have
a. At lowest 1 digit
b. At lowest 1 decimal point
c. A comma along with digits
d. Digits separated by commas
11) Backslash character constant
a. Started with single cote
b. Started with backslash
c. Started with n
d. Non of the above
12) How many operators are there in C Language
a. 8
b. 9
c. 10
d. 7
13) How many bits are needed to represent double data kind in memory
a. 32
3 | P a g e
b. 16
c. 10
d. 8
14) What will be the output of the expression: Printf(“%d”, „1?);
a. 1
b. 48
c. 49
d. 0
15) The function getchar() is used to accept
a. 1 character value at a time
b. 2 character value at a time
c. Ten character value at a time
d. Many character value at a time
16) A structure brings together a group of
a. items of the identical data kind
Earning: Approval pending. |