DAFFODIL PAPER (OCTOBER 2010) - DELHI By: Priyanka

advertisement
DAFFODIL PAPER (OCTOBER 2010) - DELHI
By: Priyanka
The paper consists of 2 sections:
1. aptitude
(10 marks)
2. technical
(10 marks)
Aptitude Questions
1. if all j’s are K’s
if all K’s are H’s n S’s….. Something likes this kind only.
2. A lady’s age is between 50 and 70. She has sons and grandsons. The number
of son’s each son has is equal to the number of brothers each one have. The
lady’s age is the total of number of sons and grandsons. Find lady’s age?
3. A person has 64 barrels of wine and another have 20 barrels. The tax paid by
the first person is 5 barrels and 40 frames. The tax paid by the other person is
2 barrels and he got back 40 frames. Find the value of each barrel and the tax
paid on each barrel.
4. Complete the series: 98, 94, ____, 70, 32
5. 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:3 then for how many
years they are married?
Technical Questions
1. Write a program to print the following pattern:
*
* *
* * *
* * * *
* * * * *
* * * *
* * *
* *
*
2. 2 strings s1 & s2 are given below. Write a program such that all the characters of s1
string which are appearing in s2 string should be deleted and the new string should be
printed.
Input:
S1: bdf
S2: abc bcd def fgh
Output:
ac c e gh
Download