G.c.d=num1 *num2/lcm
Num1=20
Gcd=5
Lcm=60
5=(20*num2)/60
Num2= 5*60/20
Num2=15
the answer is At 9:48 PM
At 1:00 pm the difference between A & B = 8 km
after 2:00 pm ………………. = 11 km (as B’s speed
is 1 and A’s 4 km, then eqv speed=(4-1)=3 km)
After 3:00………………….. = 13 km (as B’s speed 2 km)
After 4:00………………….. = 14 km
after 5:00………………….. = 14 km (A’s speed= B’s
speed)
after 6:00………………….. = 13 km
after 7:00………………….. = 11 km
after 8:00………………….. = 8 km
after 9:00………………….. = 4 km
and now the eqv speed is= (9-4) =5 km/hr;
and the renaming distance is 4 km;
then, time=(60*4)/5=48 min;
then the meeting time is=9:00+48 min=9:48 pm;
D=5, G=1
21
Assum that the lables are : mixture, apples and orange
we have to take out one fruit from the mixture basket an see:
if it’s an apple –
it means that this basket is filled with apples
and so, the third basket is mixture
and the second one is filled with oranges.
if it’s an orange –
it means that this basket is filled with oranges
and so, the second basket is mixture
and the third one is filled with apples.
In the given series 5,6,7,8,10,11,14…
There are two series
First is 5,7,10,14…
Second is 6,8,11….
First series
5+2=7
7+3=10
10+4=14
Second series
6+2=8
8+3=11
11+4=15
Hence complete series is 5,6,7,8,10,11,14,15…
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.
15
10%=394;50%=1970;250%=9850;30%=1182;
250%+30%=9850+1182=11032
Circular Track sis of 11 km
Speed of Mens are
4 , 5.5 , 8 km/hr
Time at Which they are at starting Points again
11/4 , 11/5 , 11/8
11/4 , 2.2 , 11/8
We need to find LCM of these
to find at what time they Meet again at starting point
LCM 11 * 2 = 22
After 22 Hrs they will meet at starting point
half and hour
time = distance / speed
speed = 36*(5/18) m/s=10m/s
distance = 100m
time=100/10s = 10sec