TCS
Company
How many positive integer solutions does the equation 2x+3y = 100 have?
a)50
b)33
c)16
d)35
Read Solution (Total 3)
-
- formula: (constant)/(lcm of two nos)
==100/(2*3)=15.5…(rounded of as 16..)
- 12 years agoHelpfull: Yes(24) No(6)
- c)16
x=(100-3y)/2=50-(3y/2)
So, y should be in the multiple of 2 till x is positive i.e. y=(2,4,6,...,32). - 13 years agoHelpfull: Yes(10) No(0)
- u hv given
x=(100-3y)/2;here we see that for a positive value of x, there would be a range of y from 0 to 32(2,4,6,8.....)
hence total no of +value is=17
similarly;
y=(100-2x)/3;here the range of y is 2 to 47(2,5,8,11......).
hence total no of +value is=16
hence total no of positive value would be=33 - 13 years agoHelpfull: Yes(7) No(7)
TCS Other Question
) In the class of 40 students, 30 speak Hindi and 20 speak English. What is the lowest possible number of students who speak both the languages?
(a) 5
(b) 20
(c) 15
(d) 10
(e) 30
Which of the following set of numbers has the highest Standard deviation?
a)1,0,1,0,1,0
b)-1,-1,-1,-1,-1,-1
c)1,1,1,1,1,1
d)1,1,0,-1,0,-1