Saturday, September 13, 2014

Airwatch Interview Questions

  Written Test:
(10 Programming +10 Aptitude questions)
 Programming:
1.  Write a function to check if two strings are anagram of each other or not.
2. Write a function to generate all permutation of number.
3. Write a function to print union and intersection of two arrays of numbers.
4. Write a function to randomize/shuffle array of elements.
5. Write a program to implement queue using two stacks.
6. There are two threads . One prints odd and another prints even. Write a program using these two threads to print numbers in sequence i.e: 1 2 3 4 5 6 7 8 9...

Solution: http://ideone.com/dBEBBR

7. Given an array A[], and a number x, find a pair in the array whose sum equals to x.

Aptitude:
1. A book has N pages numbered from 1 to N.  The total no of digits in the page numbers are 1095. Find no of pages.
2. Relationship between legs and heads of hen and cows. Find no of cow.
3. Lake Problem. In how many days patches of lilies will get halved if it gets doubled in 48 days.

Technical Interview:

1.  Explain abstraction and polymorphism through example.
2. Difference between a, &a, &&a if a is a pointer to an integer.
3. Why constructor cannot be virtual and destructor can be virtual.
4. Say a matrix is like below:
        1   2   3
        4   5   6
        7   8   9
print elements of right diagonal.
i.e  3
     5 6
     7 8 9

Solution: http://ideone.com/k5Qq6a










No comments:

Post a Comment