Anda di halaman 1dari 3


Hi Chetanaites
My name is Rajesh Kumar. Currently I m pursuing MCA from IIMT Engineering
College, Meerut. As I have given the written exam of Daffodil Software Ltd.

The question consists of two parts:

1) Technical - Basically From C (20 marks)

2) Aptitude (10 marks)

The technical questions were as follows:

A) Write a function to convert from infix to postfix (5 marks)
B) Write a function to generate a fibonacci number using recursive function. (5
C) Write a program to generate the following pyramid: (5 marks)

Section (A) was compulsory and from section (B) & (C) we have to attempt any one.
Beside these there were 5 objective questions from which we have to either find the
output or we have to find the error in the program.

The Aptitude Questions were as follows:

A) There are 2 buckets of 3 litre and 5 litre of capacity. we have to measure 4 litre of
water using these two buckets only.

B) There are 10 person in a meeting and each person make handshake with each
other. how many total handshake will be there.

C) What will be the next number in the given series

394 391 19 16 4 1 ?

D) Last year john was three times the age of his sister. Next year he will be just two
times the age of his sister. what will be the age of john after 5 years.
E) Rajesh purchases 100 candy form 1 Dollar. he purchases three types of candy
having the cost $.05, $.02, $.01. if he purchases 10 candy of $.01 then find the
candy of each type.

Sample Technical Questions:

q1: Write a program to print following


q2: Write a program to print following output from given input

input: aaa bbb ccc ddd eee fff ggg hhh iii jjj
output: bbb aaa ddd ccc fff eee hhh ggg jjj iii

q3: Write a program for preorder traversal of a tree?

Objective selection:
q4: Which is not used for sorting?
a) selection b) deletion c) exchange d) insertion

q5: Which is not memory management scheme?

a) buddy system b) paging

q6: Which is the collection of program and used to create and maiontain database??
a) dbms b) db c) dba d) all
There were option for these output questions i have not mentioned them
q7: write output of following
static int var=5;


q8: write output of following


q9: write output of following

float u=1.1;
double me=1.1;
printf("i love you");
("i hate u");


q1: The present average age in an adult school is 44. Now 120 more students get
admitted if average of 32, due to which average age of school gets down by 4. So
what is the number of students ion school???
q2: The current ratio of the age of husband and wife is 4:3. after 4 years it becomes
9:7 and at the time of their marriage it was 5:? (i don't remember the exact figure)
then from, how many years they are married???

q3: if A=2+1/a and B=a+1/2, if A=B then what should be the value of a?
q4: complete the series: 98,94,____,70,32