FYBSC - Computer Science
FYBSC - Computer Science
of Printed Pages - 04
[4118] – 1
F. Y. B. Sc. (Computer Science) Examination, March – 2012
COMPUTER SCIENCE (PAPER - I)
(Introduction to Programming and ‘C’ Programming)
(June 2008 Pattern)
(c) Give the difference between ‘while loop’ and ‘do while loop’
with example.
(e) What are command line arguments? How those are declared?
What are the advantages of command line arguments.
[4118] – 1
Page 2
Total No. of Questions - 05] [Total No. of Printed Pages - 04
(c) Find and justify the output of the following program :
main()
{
int a = 10, b =15;
change (a, & b);
printf (“%d%d”, a,b);
}
change (int X , int *y)
{
x = 20;
*y = 30;
}
(d) Write a program using recursive function to find factorial of
given number.
(e) Find and justify output of the following program :
main()
{
int x [25];
x [0] = 100;
x [24] = 400;
printf (“\n%d%d”, *x, *(x+24) + *(x+ 0));
}
[4118] – 1 Page 4
Total No. of Questions - 05] [Total No. of Printed Pages - 07
[4118] – 2
F. Y. B. Sc. (Computer Science) Examination, March – 2012
COMPUTER SCIENCE (PAPER - II)
(File Organization and Fundamentals of
Databases) (June 2008 Pattern)
Time : Three Hours Maximum Marks : 80
(b) In sequential file records are added as and when they are
available. Comment.
patient - name
patient - code
ward - no
[4118] – 2
Page 2
Total No. of Questions - 05] [Total No. of Printed Pages - 07
(d) Write short note on transaction control languages (TCL).
(iv) List the names of food products, of the weight more than
2 kg.
(v) List the names of ingredients not used in any food product.
[4118] – 2
Page 3 P.T.O.
Total No. of Questions - 05] [Total No. of Printed Pages - 07
Write SQL statements for the following :
[4118] – 2 Page 4
Total No. of Questions - 05] [Total No. of Printed Pages - 07
Create a RDB for the above and solve following queries :
(i) Find the names of the owners of ‘Zen’ and ‘Indica’ cars.
(iv) List all the models of owner “Mr. Shah” having colour
‘blue’.
An area can have one or more persons living in it, but person
belongs to exactly one area.
(ii) List details of all people whose names start with the
alphabet ‘A’ and contain maximum ‘6’ alphabets in
them.
(iv) List the names of all people whose birthday falls in the
month of January.
(iv) Each movie is directed by one and only one director, but
can be produced by more than one producers.
[4118] – 2 Page 6
Total No. of Questions - 05] [Total No. of Printed Pages - 07
(vii) Draw an E-R diagram.
Or
P.T.O.
[4118] – 2 Page 7