# Daffodil Written Test Questions 30th September 2010

Posted on :23-03-2016

Aptitude:

Q1. If A=2+1/a and B=a+1/2, if A=B then what should be the value of a?

Q2. Complete the series: 98, 94, ____, 70, 32.

Q3. 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 in school?

Q4. 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:x then from, how many years they are married?

Technical:

Q5. Which is not used for sorting?

a) selection
b) deletion
c) exchange
d) insertion

Q6. Which is the collection of program and used to create and maintain database?

a) dbms
b) db
c) dba
d) all

Q7. Write a program to print the 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

Q8. Write output of following program:

main()
{
float u=1.1;
double me=1.1;
if(u==me)
printf(i love you);
else
(i hate u);
}

Q9. Which is not memory management scheme?

a) buddy system
b) paging

Q10. Write a program to print following

************
************
************
************
************
************
************
************
************
************
************
************

Q11. Write a program for preorder traversal of a tree?

Q12. What is the output of following program?

main()
{
char*p;
printf(%d%d,sizeof(*p),sizeof(p));
}

Q13. Write the output of following program:

main()
{
static int var=5;
printf(%d,var--);
if(var)
main();
}

Register