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 2 of 4
c. integers with user described names
d. floating points with user described names
17) EOF is a
a. Macro
b. Function
c. Variable
d. Constant
18) scanf() can able to accept
a. Only character kinds of values
b. Any kinds of values
c. Only numeric kinds of values
d. Only string kinds of values
19) If statement is a
a. Conditional Statement
b. Assignment Statement
c. Looping Statement
d. Arithmetic Statement
20) goto statement is only essential because
a. to exit from current loop
b. to exit from program
c. to exit from more than 1 loops
d. to exit from file
21) In switch statement break is used :
a. to break from loop
b. to break from case
c. to break from default case only
d. all of the above
22) do -while is the loop where
a. condition checks at end of the loop
b. condition checks at beginning of the loop
c. condition checks within the loop body
d. condition never checks
23) while is the loop where
a. condition checks at end of the loop
b. condition checks at beginning of the loop
c. condition checks within the loop body
d. condition never checks
24) for(;;)
a. it is a finite loop
b. it is a infinite loop
c. the control never enter into the loop body
d. None of the above
25) Function prototype declaration is
a. optional for good program
b. compulsory for good program
c. frequently needed for good program
d. never needed for good program
26) In function call by value
a. transfers value only
b. transfers both value and address
c. transfers either value or address
d. transfers none of the above
27) By default function returns is
a. float
b. integer
c. double
d. void
28) Built –in function can be used in a program
a. only 1 time
b. only 2 times
c. number of times
d. only through user described function
29) In the recursive function
a. We are telling “what to do?”
Earning: Approval pending. |