Bca 1 Sem Basic Programming in C 1002 p16 Apr 2018
Bca 1 Sem Basic Programming in C 1002 p16 Apr 2018
com
F.Y.B.C.A.
SCIENCE
BCA - 102: Basic Programming in c
(2016 Pattern) (Semester-I)
i) a * = 10 ii) a/ = 10
iii) a ! = 10 iv) a % = 10
d) The value obtained in the function is given back to main by using
keyword___
i) return ii) static
[5319]-1002 1 P.T.O.
http://www.sppuonline.com
http://www.sppuonline.com
b) Define function.
c) What is escape sequence for null character?
GROUP - I
[5319]-1002 2
http://www.sppuonline.com
http://www.sppuonline.com
a) Describe the structure of c program with the help of diagram. [4]
int main ()
{ int arr [] = {}
printf (% d, size of (arr) ) ;
return o ;
c) Give the difference between entry controlled loop and exit controlled
loop. [3]
d) Explain switch-case statement with an example. [3]
GROUP-II
Q5) Attempt the following.
[5319]-1002 3
http://www.sppuonline.com
http://www.sppuonline.com
ii) Putchar ( )
iii) getch ( )
T T T
[5319]-1002 4
http://www.sppuonline.com