Introduction to Programming-4
Introduction to Programming-4
Roll No. : .
Invigilator's Signature: .
CS/BCA/SEM-l/BCA-I03/2011-12
2011
INTRODUCTION TO PROGRAMMING
Time Allotted: 3 Hours Full Marks: 70
GROUP-A
( Multiple Choice Type Questions )
1. Choose the correct alternatives for any ten of the following :
10xl=10
1104 2
CS/BCA/SEM-1/BCA-103/2011-12
program ?
main ()
a) 20030 b) 30 100
c) 30200 d) 30 500.
x= 7; y = 0;
if(x=6)
y=7;
else
y = 1;
a) 7 b) 0
c) 1 d) 6.
static int i = 0;
i++;
if(i<=3)
else
exit ( 0 );
}
main ( ) {f ( ) ; }
a) 1,2 b) 2,3
c) 123 d) None of these.
GROUP-B
variable?
1104 4
CS/BCA/SEM~ I/BCA-I03/20 11-12
n terms:
GROUP-C
( Long Answer Type QuestiOlls )
Answer any three of the following. 3 x 15 = 45
over function. 5
1104 6
CS/BCA/SEM-l/BCA-I03/2011-12
a) Declaring a variable
1104 7