19, 26, 33, 46, 59, 74, 91
Answer 33
Adding 7,9.13,15,17
Correct is 35
72
1/6
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.
if it is for MIcrosoft Interview Question, I sure they will
give you the job if you answer, “Google it”.
Karnataka
72 kmph
ans: none
let it may be any number the square cant end in 8
7,9,11
Let the number of males be given the name M.
Let the number of females be given the name F.
If 15 females are absent, then M will be twice that of
present females.
This means that M = 2 * (F – 15)
M = 2 * F – 30.
or 2 * F – M = 30.
Now if in addition to the 15 females being absent, we also
have 45 males being absent,
then this gives the equation,
(F – 15) = 5 * (M – 45)
which simplifies to
F – 15 = 5 * M – 225
5 * M – F = 210
Pulling the equations together, we get
5 * M – F = 210
-M + 2 * F = 30
Multiply the first equation by 2, and keep the second
equation as is.
10 * M – 2 * F = 420
– M + 2 * F = 30
Add the equations.
9 * M = 450
M = 50
Verify answer.
Calculate F
from – M + 2 * F = 30
-50 + 2 * F = 30
2 * F = 30 + 50
F = 40.
If 15 females are absent, then number of males will be twice
that of females.
40 – 15 = 25.
50 = 2 * 25. Confirmed.
If also 45 males were absent, then female strength would be
5 times that of males.
Female strength is 25 due to the 15 females being absent.
50 – 45 = 5.
25 = 5 * 5. Confirmed.
A certain sum amounts to Rs. 1725 in 3 years
and amounts to Rs.1875 in 5 years
so interest of 2 years = 1875 -1725
= 150
so interest of 1 year = 75
so interest of 3 years = 75 × 3 =225 rs
so , Principal = Amount – SI
= 1725 – 225
= 1500 rs
now ,
S.I. = P × N × R /100
75 = 1500 × 1 × R /100
R = 75 / 15
R = 5%
let MP = 100x
25% discount = 75x -> SP
Profit% = (Profit/CP)x100
125 = (75x/CP)x100
.: CP = 60x
Now if discount = 10%
SP = 90x
.: Profit% = ((90x-60x)/60x)x100 = 50%
(1/2 + 1/2) = 1
2(1 + 1/2) = 3
2(3 + 1/2) = 7
2(7 + 1/2) = 15
2(15 + 1/2) = 31
13km
West
Bus started at 8:00
it travelled with 18mph…
distance of destination is 27 miles…
we know velocity=(distance)/time
i.e., time=27/18hours=3/2hours=90 min…
i.e., the bus reached destination at 9:30
the bus stayed for 30 min…
so the bus started return journey at 10:00
now the bus returned with velocity 18 + (18/2)=27mph
the taken to the bus to travel = 27/27=1 hour = 60 min…
so bus would be returned on 11:00…
1972