| Back to Questions Page |
| | | Question |
what is abstract class?
|
Rank |
Answer Posted By | |
Question Submitted By :: Guest | |
I also faced this Question!! |
© ALL Interview .com | | Answer | not create an object of abstract class & one method is
abstract is necessary.  |
| Chaitali | | | | | | Answer | a class containg a pure virtual function is called abstract
class  |
| Sowmya | | | | | | Question |
if the polynomial x^4-6x^3+16x^2-25x+10 is divided by
another polynomial x^2-2x+k the reminder is x+a. Find k and
a. |
Rank |
Answer Posted By | |
Question Submitted By :: Ramarao | |
I also faced this Question!! |
© ALL Interview .com | | Answer | consider this form:
(divisor)x(quotient)+remainder=dividend
(x^2-2x+k)*(a0x^2+a1x+a2)+x+a=x^4-6x^3+16x^2-25x+10
compare the co-efficients to get a and k.
expect ans to be a=-10, k=4.  |
| Dk | | | | | |
| | | | Answer | k = 5
and
a = -5
because
-9+2k = 1 => k = 5
and
a=10-8k+k^2 => a = -5  |
| Praveen Kumar | | | | | | Question |
Solve it...
1,3,3,17,6,57,10,144,15,___,21........................
___,-13,3,11,-140,-409,-4639..........................
A,B,F,O,1E,2D,3N,___,....................................
0,4,18,48,___,.............................................. |
Rank |
Answer Posted By | |
Question Submitted By :: Makuyo | |
I also faced this Question!! |
© ALL Interview .com | | Answer | 0,4,18,48,200  |
| Vs | | | | | | Question |
1, 2, 6, 21, 88, __? |
Rank |
Answer Posted By | |
Question Submitted By :: Amit | | This Interview Question Asked @ TCS , TCS, Patni, Patni, Infosys, Tcs, QA | |
I also faced this Question!! |
© ALL Interview .com | | Answer | 1
2=(1+1)1
6=(2+1)2
21=(6+1)3
88=(21+1)4
So 445=(88+1)5
& 2676=(445+1)6
Simple logic :-)  |
| Kaarthik | | | | | | Answer | (x*i+i)
1*1+1=2,
2*2+2=6,
6*3+3=21,
21*4+4=88,
88*5+5=445,
445*6+6=2676.
1,2,6,21,88,445,2676.  |
| Ummid Salma | | | | | | | | |
Back to Questions Page |
|