A = 20k x 2y, B = 15k x 2y, C = 20k x 1.5y => 100Ky
B contribution = (15k x 2y) /100ky
B will get 0.3 from 25k which is 7.5k = 7500
u c 5 numbers…..
we add the combination of digits…..
a.17->1+7=8(even)
b.23->2+3=5(odd)!!!!!
c.37->3+7=10(even)
d.13->1+3=4(even)
e.73->7+3=10(even)
all combinations are even xept 23
ans:23
sister
Prob(choosing two people who are a couple from 6 couples) = 1/6
We have 5 couple left (10 people)
Prob(choosing a person A from 10 people) = 1/10
Prob(choosing 1 person who is not a couple of A) = 1/8
Prob(choosing 4 people that has exactly one couple) = 1/6*1/8*1/10 = 0.0021
Monday
7days for a week so 62÷7 remainder is 6 so
After Tuesday + 6days = monday
Hockey
Servlets are faster as compared to JSP, as they have a short response time.
JSP is slower than Servlets – JSP is a HTML-based codes.
Servlets are harder to code, as here, the HTML codes are written in Java – JSPs are easier to code, as here Java is coded in HTML.
In an MVC architecture, Servlets act as the controllers. – In MVC architectures, the JSPs act as a view to present the output to the users.
The service() function can be overridden in Servlets. – The service() function cannot be overridden in JSPs.
grand daughter
C
Answer: 3121 gold coins
Let total no of coins be M
Let the disbursement D to each son:
D1 = 1 + (M – 1)/5 = (M + 4)/5
D2 = 1 + ( M – D1 -1)/5 = (D1) * 4/5
D3= (D2) * 4/5
D4= (D3) * 4/5
D5= (D4) * 4/5
Total disbursements to sons=
= ∑D= (M+4)*1/5[ 1+4/5+(4/5)(4/5)+ (4/5)(4/5)(4/5)+(4/5)(4/5)(4/5)(4/5) ]
= (2101/3125)*(M+4)
Thus balance left for daughters =M-{(2101/3125)*(M+4)}
=(1024M-8404)/3125
This balance should be a positive integer ( assuming M and all disbursements are full coins )
Thus 1024M-8404 should be a multiple of 3125….so….
1024M – 8404 = N*3125 where N is an integer
Using Python code:
n=int(input(“Enter num n: “))
X=int()
a=int()
a=0
X=’ ‘
for a in range(0,n+1):
a=a+1
X= (3125*a + 8404)/1024
if (3125*a + 8404)% 1024== 0:
print(X,a)
Enter num n: 10000
3121.0 1020
6246.0 2044
9371.0 3068
12496.0 4092
15621.0 5116
18746.0 6140
21871.0 7164
24996.0 8188
28121.0 9212
We get minimum value of N = 1021 and M = 3121 gold coins
first 10 odd num are 1,3,5,7,9,11,13,15,17,19
sum=100
avg=100/10
avg of 10 odd num =10
Let the number of one rupee coins in the bag be x.
Number of 50 paise coins in the bag is 93 – x.
Total value of coins
[100x + 50(93 – x)]paise = 5600 paise
=> x = 74
ANS = 74
30/100*142.85 = approx. 100
so ans is 42.85
Spade 13/52 = 1/4
King 4/52 = 1/13
Spade OR King 13/52 + 4/52 – 1/52 (because the King of Spades is in both groups) = 16/52 = 4/13
The answer is W. Since, the direction left to him, would be west.
30