|
1. A cube is painted with white paint on all sides and then cut into 125 smalls cubes. Find nuber of cubes which is painted on 2 sides. 2. Which condition is safest to use with any data type a) if(x!=0) b) if(x==0) c) if(!x) ans 3. RTTI stands for ______________ 4. How persistent objects are implemented in C++? 5. What is the probability to get tail, at least once when 6 coins are tossed simultaneously. Answer : 63/64 6. What concept is implemented in Cout and Cin? Answer : Opertor overloading 7. Member Function can be a) are always public b) are always private c) can be any one of them. 8. List of nos were given and they were sorted in 4 iterations 11 21 55 65 41 31 11 21 55 65 31 41 11 21 55 65 31 41 11 21 31 41 55 65 A. Merge sort B. Selection sort C. Insertion sort D. Quick sort 9. In a right angled triangle, 2 sides were given of 3 and 5 cm, find out the area of the inner circle inscribed inside the triangle. 10. A,B,C worked together, A can do the work in 12 days, B can do in 9 days. Profit earned was divided in the ratio 4:3:2. C can do the work in how many days? 11. Can we perform addition operation on two pointers?
|