WBUT 2013 BASIC COMPUTATION AND PRINCIPLES OF COMPUTER PROGRAMMING (CS-201/2013) QUESTION PAPER

Submitted by Anonymous (not verified) on Mon, 06/30/2014 - 17:09

CS/B.TECH(NEW)/SEM-2/CS-201/2013
2013
BASIC COMPUTATION AND PRINCIPLES OF
COMPUTER PROGRAMMING
Time Alloted:3 Hours                                                                                     Full Marks : 70
The figures in the margin indicate full marks.
Candidates are required to give their answers in their own words
as far as practicable.



GROUP – A
( Multiple Choice Type Questions )

1. Choose the correct alternatives for the following :  1x10=10
i)    The correct syntax to send an array "array" as a parameter to function "func" is
a)   func ( & array ) ;
b)   func ( array ) ;
c)   func ( * array ) ;
d)   1func ( array [ size ] ); .

ii)      What is the output of this C code ?
# include < stdio.h >
void main ( )
 {
  double k = 0;
    for ( k = 0.0; k < 3.0; k ++ );
          printf ( "% f", k );
 }  

a)   2.000000
b)   4.000000
c)   3.000000
d)   none of these
 

Attchments

Comments

Related Items

WBUT 2009: Circuit Theory & Networks (Paper Code: EE301) Question Paper

2009 CIRCUIT THEORY & NETWORKS Time Allotted:3 Hours Full Marks:70 The Figures in the margin indicate full marks. Candidates are requested to give their answer in their own words as far as practicable.