You are on page 1of 3

DAFFODIL SOFTWARE PAPER - 20 OCT 2008 - MEERUT

Hi Chetanaites
http://www.ChetanaS.org
My name is Rajesh Kumar. Currently I m pursuing MCA from IIMT ngineering
College! Meerut. As I ha"e gi"en the written e#am of $affo%il Software &t%.
The 'uestion (onsists of two parts:
1) Technical - Basically From C (20 marks)
2) Aptitude (10 marks)
The technical questions were as ollows:
A) *rite a fun(tion to (on"ert from infi# to postfi# +, mar-s)
.) *rite a fun(tion to generate a fi/ona((i num/er using re(ursi"e fun(tion. +,
mar-s)
C) *rite a program to generate the following pyrami%: +, mar-s)
Se(tion +A) was (ompulsory an% from se(tion +.) 0 +C) we ha"e to attempt any one.
.esi%e these there were , o/je(ti"e 'uestions from whi(h we ha"e to either fin% the
output or we ha"e to fin% the error in the program.
The Aptitude !uestions were as ollows:
A) There are 1 /u(-ets of 2 litre an% , litre of (apa(ity. we ha"e to measure 3 litre of
water using these two /u(-ets only.
.) There are 45 person in a meeting an% ea(h person ma-e han%sha-e with ea(h
other. how many total han%sha-e will /e there.
C) *hat will /e the ne#t num/er in the gi"en series
263 264 46 47 3 4 8
$) &ast year john was three times the age of his sister. 9e#t year he will /e just two
times the age of his sister. what will /e the age of john after , years.
http://www.ChetanaS.org
) Rajesh pur(hases 455 (an%y form 4 $ollar. he pur(hases three types of (an%y
ha"ing the (ost :.5,! :.51! :.54. if he pur(hases 45 (an%y of :.54 then fin% the
(an%y of ea(h type.
"ample Technical !uestions:
'4: *rite a program to print following
;;;;;;;;;;;;
;;;;;;;;;;;;
;;;;;;;;;;;;
;;;;;;;;;;;;
;;;;;;;;;;;;
;;;;;;;;;;;;
;;;;;;;;;;;;
;;;;;;;;;;;;
;;;;;;;;;;;;
;;;;;;;;;;;;
;;;;;;;;;;;;
;;;;;;;;;;;;
'1: *rite a program to print following output from gi"en input
input: aaa /// ((( %%% eee fff ggg hhh iii jjj
output: /// aaa %%% ((( fff eee hhh ggg jjj iii
'2: *rite a program for preor%er tra"ersal of a tree8
</je(ti"e sele(tion:
'3: *hi(h is not use% for sorting8
a) sele(tion /) %eletion () e#(hange %) insertion
',: *hi(h is not memory management s(heme8
a) /u%%y system /) paging
'7: *hi(h is the (olle(tion of program an% use% to (reate an% maiontain %ata/ase88
a) %/ms /) %/ () %/a %) all
There were option for these output 'uestions i ha"e not mentione% them
http://www.ChetanaS.org
'=: write output of following
main+)
>
stati( int "ar?,@
printf+AB%A!"arCC)@
if+"ar)
main+)@
D
'E: write output of following
main+)
>
(har;p@
printf+AB%B%A!siFeof+;p)!siFeof+p))@
D
'6: write output of following
main+)
>
float u?4.4@
%ou/le me?4.4@
if+u??me)
printf+Ai lo"e youA)@
else
+Ai hate uA)@
D
Aptitude
'4: The present a"erage age in an a%ult s(hool is 33. 9ow 415 more stu%ents get
a%mitte% if a"erage of 21! %ue to whi(h a"erage age of s(hool gets %own /y 3. So
what is the num/er of stu%ents ion s(hool888
'1: The (urrent ratio of the age of hus/an% an% wife is 3:2. after 3 years it /e(omes
6:= an% at the time of their marriage it was ,:8 +i %onGt remem/er the e#a(t figure)
then from! how many years they are marrie%888
'2: if A?1H4/a an% .?aH4/1! if A?. then what shoul% /e the "alue of a8
http://www.ChetanaS.org
'3: (omplete the series: 6E!63!IIII!=5!21

You might also like