euclaise/mathqa_programs huggingface dataset:
Problem: angelo and isabella are both salespersons . in any given week , angelo makes $ 550 in base salary plus 8 percent of the portion of his sales above $ 2,000 for that week . isabella makes 10 percent of her total sales for any given week . for what amount of weekly sales would angelo and isabella earn the same amount of money ?
Options: a ) 19,500 , b ) 24,500 , c ) 25,500 , d ) 26,500 , e ) 27,500
Rationale: "official solution : the problem asks for the amount of weekly sales it takes for angelo and isabella to earn the same amount of money . you can write an equation that sets angelo ’ s and isabella ’ s weekly earnings equal to each other , with x representing weekly sales . weekly earnings for each salesperson equal base salary plus commission . so angelo ’ s earnings are 550 + ( 0.08 ) ( x – 2,000 ) , and isabella ’ s are 0.10 x . set up the equation and solve : 550 + ( 0.08 ) ( x – 2,000 ) = 0.10 x distribute the 0.08 : 550 + 0.08 x – 160 = 0.10 x combine terms and subtract 0.08 x from both sides : 390 = 0.02 x divide both sides by 0.02 : 19,500 = x your answer is a ."
Answer: a
Python program:
a = 8 / 100
b = 2 * 0
c = 550 - b
d = 10 / 100
e = 8 / 100
f = d - e
g = c / f
h = g / 2
i = math.floor(h)
Problem: if 45 % of z is 120 % of y and y is 75 % of x , what percent of x is z ?
Options: a ) 200 , b ) 160 , c ) 100 , d ) 65 , e ) 50
Rationale: "( 45 / 100 ) z = ( 120 / 100 ) y and y = ( 75 / 100 ) x i . e . y = ( 3 / 4 ) x i . e . ( 45 / 100 ) z = ( 120 / 100 ) * ( 3 / 4 ) x i . e . z = ( 120 * 3 ) x / ( 45 * 4 ) i . e . z = ( 2 ) x = ( 200 / 100 ) x i . e . z is 200 % of x answer : option a"
Answer: a
Python program:
a = 75 / 100
b = 45 / 100
c = 120 / 100
d = b / c
e = a / d
f = e * 100
Problem: if money is invested at r percent interest , compounded annually , the amount of the investment will double in approximately 50 / r years . if luke ' s parents invested $ 13,500 in a long term bond that pays 12 percent interest compounded annually , what will be the approximate total amount of the investment 12 years later , when luke is ready for college ?
Options: a ) 62,000 , b ) 85,500 , c ) 95,500 , d ) 100,500 , e ) 100,000
Rationale: answer equals d in 48 years . i thought by 50 th year it would reach 100,500 . options should have been separated more widely for clarity .
Answer: d
Python program:
a = 2 + 3 
b = a * 1000
c = b * 12
d = c / 2
Problem: how is 4 % expressed as a decimal fraction ?
Options: a ) 0.4 , b ) 0.04 , c ) 0.004 , d ) 0.0004 , e ) 4
Rationale: "4 / 100 = 0.04 answer : b"
Answer: b
Python program:
a = 4 / 100
Problem: in a certain school , the ratio of boys to girls is 5 to 13 . if there are 128 more girls than boys , how many boys are there ?
Options: a ) 27 , b ) 36 , c ) 45 , d ) 72 , e ) 80
Rationale: "the ratio of b to g is 5 : 13 and the other data point is g are more than boys by 128 . . . looking at the ratio we can say that the 8 ( 13 - 5 ) extra parts caused this diff of 128 . so 1 part corresponds to 128 / 8 = 16 and so 5 parts correspond to 5 * 16 = 80 . e"
Answer: e
Python program:
a = 5 / 13
b = 1 - a
c = 128 / b
d = c - 128
Problem: i remember during the school days , the teacher asked the class ` ` can you tell me the sum of the first 50 odd numbers ? ` ` . i ran quickly to the teacher and told her ` ` the answer is 2500 ' ' . the teacher replied ` ` lucky guess ' ' . she then asked me ` ` can you tell me the sum of first 75 odd numbers ? ` ` . i wait for approx 10 seconds and replied with the correct answer . how can i answer so quickly and whats the correct answer ?
Options: a ) 5624 , b ) 5625 , c ) 5626 , d ) 5627 , e ) none
Rationale: solution : 5625 n ^ 1 75 * 75 = 5625 ( sum of first 75 odd numbers ) . 50 * 50 = 2500 ( sum of first 50 odd numbers ) . answer b
Answer: b
Python program:
a = 75 ** 2
Problem: in one hour , a boat goes 11 km along the stream and 7 km against the stream . the sped of the boat in still water ( in km / hr ) is :
Options: a ) 3 , b ) 5 , c ) 8 , d ) 9 , e ) 10
Rationale: "solution speed in still water = 1 / 2 ( 11 + 7 ) km / hr = 9 kmph . answer d"
Answer: d
Python program:
a = 11 + 7 
b = a / 2
Problem: the average of first five prime numbers greater than 10 is ?
Options: a ) 16.6 , b ) 12.9 , c ) 31.3 , d ) 19.2 , e ) 15.7
Rationale: "11 + 13 + 17 + 19 + 23 = 83 / 5 = 16.6 answer : a"
Answer: a
Python program:
a = 10 + 1
Problem: following an increase in prices , the price of a candy box was 15 pounds and the price of a can of soda was 6 pounds . if the price of a candy box was raised by 25 % , and the price of a can of soda was raised by 50 % . what was the price of a box of candy plus a can of soda before prices were raised ?
Options: a ) 11 . , b ) 12 . , c ) 13 . , d ) 14 . , e ) 16
Rationale: "price of candy before price increase = 15 / 1.25 = 12 price of soda before price increase = 6 / 1.5 = 4 total price = 12 + 4 = 16 e is the answer"
Answer: e
Python program:
a = 15 * 100
b = 100 + 25 
c = a / b
d = 6 * 100
e = 100 + 50 
f = d / e
g = c + f
Problem: city a and city b are 140 miles apart . train c departs city a , heading towards city b , at 4 : 00 and travels at 40 miles per hour . train d departs city b , heading towards city a , at 4 : 20 and travels at 20 miles per hour . the trains travel on parallel tracks . at what time do the two trains meet ?
Options: a ) 5 : 00 , b ) 5 : 30 , c ) 6 : 00 , d ) 6 : 20 , e ) 7 : 00
Rationale: "train c has traveled 20 mi in the half hour before train d has started its journey . 140 - 20 = 120 40 + 20 = 60 mph 120 mi / 60 mph = 2 hrs 4 : 20 pm + 2 hrs = 6 : 20 pm answer : d . 6 : 20"
Answer: d
Python program:
a = 4 + 2 
b = a / 20
Problem: a mathematics teacher tabulated the marks secured by 35 students of 8 th class . the average of their marks was 72 . if the marks secured by reema was written as 46 instead of 56 then find the correct average marks up to two decimal places .
Options: a ) 73.41 , b ) 72.28 , c ) 72.43 , d ) 73.43 , e ) can not be determined
Rationale: "total marks = 35 x 72 = 2520 corrected total marks = 2520 - 46 + 56 = 2530 correct average = 2530 / 35 = 72.28 answer : b"
Answer: b
Python program:
a = 35 * 72
b = 56 - 46
c = a - b
d = c / 35
Problem: a number when divided by a divisor leaves a remainder of 21 . when twice the original number is divided by the same divisor , the remainder is 11 . what is the value of the divisor ?
Options: a ) 12 , b ) 13 , c ) 34 , d ) 37 , e ) 59
Rationale: "let the number is n , the divisor = d , i will make the two equations - n = xd + 21 2 n = yd + 11 where x and y are integers solving them : d ( y - 2 x ) = 34 as d is also integer and 34 is a prime number , the d should be 34 to satisfy the above equation . hence answer is ' d '"
Answer: d
Python program:
a = 21 + 11
Problem: last year a certain bond price with a face value of 5000 yielded 7 % of its face value in interest . if that interest was approx 6.5 of the bond ' s selling price approx what was the bond ' s selling price ?
Options: a ) 4063 , b ) 5325 , c ) 5385 , d ) 6000 , e ) 6154
Rationale: "interest = 0.07 * 5000 = 0.065 * selling price - - > selling price = 0.07 * 5000 / 0.065 - - > selling price = ~ 5,385 answer : c ."
Answer: c
Python program:
a = 7 / 100
b = 5000 * a
c = 6 / 5
d = b / c
Problem: 32 meters of wire is available to fence off a flower bed in the form of a circular sector . what must the radius of the circle in meters be , if we wish to have a flower bed with the greatest possible surface area ?
Options: a ) 2 √ 2
b ) 2 √ 5
c ) 5
d ) 4 √ 2
e ) 8
Rationale: area of sector , a = x / 360 * pi * r ^ 2 circumference of the sector = 32 = > x / 360 * 2 * pi * r + 2 r = 32 = > 2 a / r + 2 r = 32 = > a = r 16 - r ^ 2 = r 16 - r ^ 2 we will now max using derivations max value of a will found at a = 0 i . e 16 - 2 r = 0 r = 8 e
Answer: e
Python program:
a = 32 / 4
Problem: a 300 m long train crosses a platform in 54 sec while it crosses a signal pole in 18 sec . what is the length of the platform ?
Options: a ) 287 , b ) 350 , c ) 600 , d ) 277 , e ) 122
Rationale: "speed = 300 / 18 = 50 / 3 m / sec . let the length of the platform be x meters . then , ( x + 300 ) / 54 = 50 / 3 3 x + 900 = 2700 = > x = 600 m . answer : c"
Answer: c
Python program:
a = speed * (
b = a - 54
Problem: compute the perimeter of a square with area 36 .
Options: a ) 24
b ) 27
c ) 25
d ) 26
e ) 29
Rationale: if the length of the square is s , then s 2 = 36 so s = 6 . the perimeter is therefore 4 s = 24 . correct answer a
Answer: a
Python program:
a = math.sqrt(36)
b = a * 4
Problem: a can run 4 times as fast as b and gives b a start of 72 m . how long should the race course be so that a and b might reach in the same time ?
Options: a ) 70 m , b ) 60 m , c ) 80 m , d ) 65 m , e ) 96 m
Rationale: "speed of a : speed of b = 4 : 1 means in a race of 4 m a gains 3 m . then in a race of 72 m he gains 72 * ( 4 / 3 ) i . e 96 m answer : e"
Answer: e
Python program:
a = 72 / 4
b = 4 - 1
c = a / b
d = 4 * c
e = d + 72
Problem: evaluate : 30 - 12 ÷ 3 × 2 = ?
Options: a ) 20 , b ) 22 , c ) 24 , d ) 26 , e ) 28
Rationale: "according to order of operations , 12 ÷ 3 × 2 ( division and multiplication ) is done first from left to right 12 ÷ 3 × 2 = 4 × 2 = 8 hence 30 - 12 ÷ 3 × 2 = 30 - 8 = 22 correct answer b ) 22"
Answer: b
Python program:
a = 12 * 3
b = a * 2
c = 30 - b
Problem: a certain telephone company offers two plans , a and b . under plan a , the company charges a total of $ 0.60 for the first 5 minutes of each call and $ 0.06 per minute thereafter . under plan b , the company charges $ 0.08 per minute of each call . what is the duration of a call , in minutes , for which the company charges the same amount under plan a and under plan b ?
Options: a ) 2 , b ) 9 , c ) 15 , d ) 21 , e ) 30
Rationale: "let the duration , in minutes , for which the company charges the same under plan a and plan b be t minutes . then under plan a the cost would be $ 0.6 + 0.06 ( t - 5 ) and under plan b the cost would be $ 0.08 t . we want these amount to be equal : 0.6 + 0.06 ( t - 5 ) = 0.08 t - - > 60 + 6 ( t - 5 ) = 8 t - - > t = 15 . answer : c ."
Answer: c
Python program:
a = 0 * 6
b = 0 - 60
c = 0 - 8
d = b / c
Problem: an employer pays rs . 30 for each day a worker works , and forfeits rs . 5 for each day he is idle . at the end of 60 days , a worker gets rs . 500 . for how many days did the worker remain idle ?
Options: a ) 52 , b ) 27 , c ) 99 , d ) 61 , e ) 11
Rationale: explanation : suppose the worker remained idle for m days . then , he worked for ( 60 - m ) days . 30 ( 60 - m ) – 5 m = 500 1800 – 25 m = 500 25 m = 1300 m = 52 so , the worker remained idle for 52 days . answer : a
Answer: a
Python program:
a = 60 * 30
b = 500 - a
c = 30 - 5
d = b / negate
Problem: a can finish a piece of work in 5 days . b can do it in 15 days . they work together for two days and then a goes away . in how many days will b finish the work ?
Options: a ) 3 days , b ) 5 days , c ) 4 days , d ) 6 days , e ) 7 days
Rationale: "2 / 5 + ( 2 + x ) / 15 = 1 = > x = 7 days answer : e"
Answer: e
Python program:
a = 1 / 5
b = a * 2
c = 1 / 15
d = c * 2
e = b + d 
f = 1 - e
g = 1 / 15
h = f / g
Problem: a policeman noticed a criminal from a distance of 180 km . the criminal starts running and the policeman chases him . the criminal and the policeman run at the rate of 8 km and 9 km per hour respectively . what is the distance between them after 5 minutes ?
Options: a ) 96.7 m , b ) 120 m , c ) 130 m , d ) 150 m , e ) none of these
Rationale: "explanation : solution : relative speed = ( 9 - 8 ) = 1 km / hr . distance covered in 3 minutes = ( 1 * 5 / 60 ) km = 1 / 12 km = 83.3 m . . ' . distance between the criminal and policeman = ( 180 - 83.3 ) m = 96.7 m . answer : a"
Answer: a
Python program:
a = 5 / const_60
b = a * 1000
c = 180 - b
Problem: 8269 ã — 9998 = ?
Options: a ) 85432864 , b ) 82673462 , c ) 86985434 , d ) 68954365 , e ) 65486954
Rationale: "8269 ã — ( 10000 - 2 ) 82690000 - 16538 = 82673462 answer b"
Answer: b
Python program:
a = 8269 / 9998
b = a * 100
Problem: two numbers are in the ratio of 5 : 7 . if 12 is subtracted from each number , they are in the ratio of 11 : 17 . what are the two numbers ?
Options: a ) 45 , 63 , b ) 50 , 70 , c ) 55 , 77 , d ) 60 , 84 , e ) 65 , 91
Rationale: "( 5 x - 12 ) : ( 7 x - 12 ) = 11 y : 17 y 5 x - 12 = 11 y 7 x - 12 = 17 y 84 - 60 = 85 y - 77 y 24 = 8 y y = 3 5 x - 12 = 33 x = 9 the two numbers are 5 x and 7 x which are 45 and 63 . the answer is a ."
Answer: a
Python program:
a = 17 * 12
b = 11 * 12
c = a - b
d = c * 5
e = 7 / 5
f = d * e
g = 17 * 12
h = 11 * 12
i = g - h
j = i * 5
k = f - j
Problem: the sale price sarees listed for rs . 600 after successive discount is 10 % and 5 % is ?
Options: a ) 227 , b ) 513 , c ) 342 , d ) 787 , e ) 191
Rationale: "600 * ( 90 / 100 ) * ( 95 / 100 ) = 513 answer : b"
Answer: b
Python program:
a = 600 * 10
b = a / 100
c = 600 - b
d = 600 * 10
e = d / 100
f = 600 - e
g = f * 5
h = g / 100
i = c - h
Problem: in an election between two candidates a and b , the number of valid votes received by a exceeds those received by b by 15 % of the total number of votes polled . if 20 % of the votes polled were invalid and a total of 6720 votes were polled , then how many valid votes did b get ?
Options: a ) 1888 , b ) 2999 , c ) 2834 , d ) 2777 , e ) 2184
Rationale: "let the total number of votes polled in the election be 100 k . number of valid votes = 100 k - 20 % ( 100 k ) = 80 k let the number of votes polled in favour of a and b be a and b respectively . a - b = 15 % ( 100 k ) = > a = b + 15 k = > a + b = b + 15 k + b now , 2 b + 15 k = 80 k and hence b = 32.5 k it is given that 100 k = 6720 32.5 k = 32.5 k / 100 k * 6720 = 2184 the number of valid votes polled in favour of b is 2184 . answer : e"
Answer: e
Python program:
a = 20 / 100
b = 1 - a
c = b * 6720
d = 15 * 6720
e = d / 100
f = c - e
g = f / 2
Problem: harold works at a resort from the beginning of march to the end of september . during the month of august this past year , he made 5 times the average ( arithmetic mean ) of his monthly totals in tips for the other months . his total tips for august were what fraction of his total tips for all of the months he worked ?
Options: a ) 1 / 3 , b ) 2 / 5 , c ) 3 / 7 , d ) 4 / 7 , e ) 5 / 11
Rationale: "the time from beginning of march to the end of september is 7 months . if x is the average monthly tip for all months other than august then his august month tip will be 5 * x his total tip for the 7 months = 6 * ( average tip for the months other than august ) + 5 x = 11 x august tips as a fraction of total tips = 5 x / 11 x = 5 / 11 . so e"
Answer: e
Python program:
a = 5 * 1
b = 5 * 1
c = 5 * 1
d = b + c 
e = a / d
Problem: a clock store sold a certain clock to a collector for 45 percent more than the store had originally paid for the clock . when the collector tried to resell the clock to the store , the store bought it back at 25 percent of what the collector had paid . the shop then sold the clock again at a profit of 55 percent on its buy - back price . if the difference between the clock ' s original cost to the shop and the clock ' s buy - back price was $ 180 , for how much did the shop sell the clock the second time ?
Options: a ) $ 149.55 , b ) $ 134.56 , c ) $ 175.43 , d ) $ 158.65 , e ) $ 255.45
Rationale: "now , in the question above , lets say the original cost of the clock to store was c $ and then it sold the same to the collector at 45 % profit . this means the clocks ' selling price was c ( 1.45 ) and this becomes cost price for the collector . now , when the collector tries to sell the same clock to the store , the store buys it for 25 % the price at which the collector bought it . thus , you get = 1.45 * 0.25 * c = 0.3625 c furthermore , the store sells the clock for the second time for 55 % profit and thus the selling price of the clock becomes = cost price of the clock for the store at buy - back * 1.55 = 1.55 * 0.3625 c finally given that c - 0.3625 c = 180 - - - - > c = 282.35 $ thus , the cost of the clock the second time around = 1.55 * 0.3625 c = 1.55 * 0.3625 * 282.35 = 158.65 $ . hence d is the correct answer ."
Answer: d
Python program:
a = 180 + 55 
b = 180 + 45 
c = b / 2
d = a * c
e = d / 180
f = 180 * e
g = 180 + 45 
h = g / 2
i = h - 45
j = f / i
Problem: in a hostel there were 100 students . to accommodate some more students the average budget is decreased by rupees 10 . but total expenditure increased by rs . 400 . if the total expenditure of the hostel now 5400 , find the number of student joined ?
Options: a ) 30 , b ) 20 , c ) 35 , d ) 32 , e ) 40
Rationale: let average is x 100 x + 400 = 5400 x = 50 let the number of student joined is y ( 100 + y ) * ( 50 - 10 ) = 5400 y = 35 answer : d
Answer: d
Python program:
a = 5400 - 400
b = a / 100
c = b - 10
d = 5400 / c
e = d - 100
f = e - 3
Problem: 54 men working 8 hours per day dig 30 m deep . how many extra men should be put to dig to a depth of 50 m working 6 hours per day ?
Options: a ) 33 , b ) 66 , c ) 18 , d ) 100 , e ) 281
Rationale: "( 54 * 8 ) / 30 = ( x * 6 ) / 50 = > x = 120 120 – 54 = 66 answer : b"
Answer: b
Python program:
a = 54 * 8
b = a / 30
c = b * 50
d = c / 6
e = d - 54
Problem: what is the probability of getting sum 10 with the help of three dice ?
Options: a ) 1 / 4 , b ) 1 / 8 , c ) 1 / 16 , d ) 1 / 24 , e ) 1 / 32
Rationale: "( 1 , 3,6 ) 3 ! = 6 ( 2 , 2,6 ) = 3 ! / 2 = 3 ( 1 , 4,5 ) 3 ! = 6 ( 2 , 4,4 ) = 3 ( 2 , 3,5 ) 3 ! = 6 ( 3 , 3,4 ) = 3 prob . of getting sum 10 = ( 6 + 6 + 6 + 3 + 3 + 3 ) / 216 = 1 / 8 ans answer : b"
Answer: b
Python program:
a = 3 + 3 
b = math.comb(a, 3)
c = 2 / b
Problem: a certain fraction has the same ratio to 1 / 18 , as 2 / 5 does to 7 / 9 . what is this certain fraction ?
Options: a ) 1 / 20 , b ) 1 / 25 , c ) 1 / 30 , d ) 1 / 35 , e ) 1 / 40
Rationale: "x / ( 1 / 18 ) = ( 2 / 5 ) / ( 7 / 9 ) x = 2 * 9 * 1 / 18 * 5 * 7 = 1 / 35 the answer is d ."
Answer: d
Python program:
a = 1 / 18
Problem: a batsman makes a score of 87 runs in the 17 th inning and thus increases his average by 4 . find his average after 17 th inning .
Options: a ) 36 , b ) 39 , c ) 23 , d ) 45 , e ) none of the above
Rationale: "let the average after 17 th inning = x . then , average after 16 th inning = ( x – 4 ) . ∴ 16 ( x – 4 ) + 87 = 17 x or x = ( 87 – 64 ) = 23 . answer c"
Answer: c
Python program:
a = 17 * 4
b = 87 - a
c = b + 4
Problem: . if the sides of two cubes are in the ratio 3 : 1 the ratio of their total surface area is ?
Options: a ) 3 : 1
b ) 8 : 1
c ) 9 : 1
d ) 12 : 1
e ) 9 : 1
Rationale: a 1 : a 2 = 3 : 1 6 a 12 : 6 a 22 = 9 : 1 answer : c
Answer: c
Python program:
a = surface_cube / (
Problem: the sum of the first n positive perfect squares , where n is a positive integer , is given by the formula n ^ 3 / 3 + c * n ^ 2 + n / 6 , where c is a constant . what is the sum of the first 16 positive perfect squares ?
Options: a ) 1,010 , b ) 1,164 , c ) 1,240 , d ) 1,316 , e ) 1,496
Rationale: "first we need to find the constant ' c ' . the easiest way to find this is for the sum of the first two perfect squares for 1 and 2 = 1 and 4 respectively . hence lhs = 1 + 4 and plug n = 2 for rhs and simplify to get c = 1 / 2 . plug values of n = 16 and c = 1 / 2 into the equation and simplify to get the answer 1496 option e ."
Answer: e
Python program:
a = 16 + 1 
b = 16 * a
c = 16 * 2
d = c + 1 
e = b * d
f = e / 6
g = 16 + 1 
h = 16 * g
i = 16 * 2
j = i + 1 
k = h * j
l = k / 6
m = f / l
Problem: set a : 3 , r , 8 , 10 set b : 4 , g , 9 , 11 the terms of each set above are given in ascending order . if the median of set a is equal to the median of set b , what is the value of g – r ?
Options: a ) - 2 , b ) - 1 , c ) 0 , d ) 1 , e ) 2
Rationale: so we have even no . of elements in the set so median is the average of middle two numbers ( r + 8 ) / 2 = ( g + 9 ) / 2 g - r = - 1 answer b
Answer: b
Python program:
a = 3 + 8 
b = a + 10 
c = b / 3
d = 4 + 9 
e = d + 11 
f = e / 3
g = c - f
Problem: how many integers from 40 to 200 , inclusive , are divisible by 3 but not divisible by 7 ?
Options: a ) 20 , b ) 31 , c ) 35 , d ) 40 , e ) 45
Rationale: "we should find # of integers divisible by 3 but not by 3 * 7 = 21 . # of multiples of 21 in the range from 40 to 200 , inclusive is ( 189 - 42 ) / 21 + 1 = 8 ; 53 - 8 = 45 . answer : e ."
Answer: e
Python program:
a = 200 / 10
Problem: water boils at 212 ° f or 100 ° c and ice melts at 32 ° f or 0 ° c . if the temperature of a pot of water is 45 ° c , what is the temperature of the pot of water in ° f ?
Options: a ) 92 ° f , b ) 97 ° f , c ) 104 ° f , d ) 113 ° f , e ) 118 ° f
Rationale: "let f and c denote the temperature in fahrenheit and celsius respectively . ( f - 32 ) / ( 212 - 32 ) = ( c - 0 ) / ( 100 - 0 ) f = 9 c / 5 + 32 f = 9 ( 45 ) / 5 + 32 = 113 ° f the answer is d ."
Answer: d
Python program:
a = 212 - 32
b = a / 100
c = b * 45
d = c + 32
Problem: a sum of money at simple interest amounts to rs . 415 in 2 years and to rs . 514 in 4 years . the sum is ?
Options: a ) rs . 316 , b ) rs . 251 , c ) rs . 154 , d ) rs . 294 , e ) rs . 200
Rationale: "explanation : s . i . for 2 years = ( 514 - 415 ) = rs . 99 s . i . for 1 year = 99 / 2 principal = ( 415 - 99 ) = rs . 316 . answer is a"
Answer: a
Python program:
a = 514 - 415
b = a * 2
c = b / 4
d = 415 - c
Problem: a man can row his boat with the stream at 26 km / h and against the stream in 4 km / h . the man ' s rate is ?
Options: a ) 1 kmph , b ) 7 kmph , c ) 98 kmph , d ) 11 kmph , e ) 4 kmph
Rationale: "ds = 26 us = 4 s = ? s = ( 26 - 4 ) / 2 = 11 kmph answer : d"
Answer: d
Python program:
a = 26 - 4
b = a / 2
Problem: a and b can complete a work in 30 days and 15 day . they started doing the work together but after 5 days b had to leave and a alone completed the remaining work . the whole work was completed in ?
Options: a ) 10 days , b ) 12 days , c ) 20 days , d ) 18 days , e ) 25 days
Rationale: a + b 1 day work = 1 / 30 + 1 / 15 = 1 / 10 work done by a and b in 10 days = 1 / 10 * 5 = 1 / 2 remaining work = 1 - 1 / 2 = 1 / 2 now 1 / 30 work is done by a in 1 day 1 / 2 work will be done by a in 30 * 1 / 2 = 15 days total time taken = 15 + 5 = 20 days answer is c
Answer: c
Python program:
a = 1 / 30
b = 1 / 15
c = a + b 
d = c * 5
e = 1 - d
f = e * 30
g = f + 5
Problem: karen places a bet with tom that she will beat tom in a car race by 4 miles even if karen starts 4 minutes late . assuming that karen drives at an average speed of 60 mph and tom drives at an average speed of 45 mph , how many e miles will tom drive before karen wins the bet ?
Options: a ) 15 , b ) 18 , c ) 21 , d ) 24 , e ) 27
Rationale: let k and t be the speeds of karen and tom respectively . t be the time that karen will travel - - - - > t + 4 / 60 will be the total time tom will travel by the time the distance between karen and tom is 4 miles . thus , per the question , k ( t ) - t ( t + 4 / 60 ) = 4 - - - > t = 7 / 15 hours thus the distance traveled by tom when karen is 4 miles ahead of him e : t * ( t + 4 / 60 ) = 45 ( 7 / 15 + 4 / 60 ) = 24 miles . d is the correct answer .
Answer: d
Python program:
a = 45 / const_60
b = a * 4
c = b + 4 
d = 60 / const_60
e = 45 / const_60
f = d - e
g = c / f
h = g - 4
Problem: the sum of two numbers is 73 and their difference is 28 . find the difference between their squares .
Options: a ) 101 , b ) 45 , c ) 2044 , d ) 2048 , e ) 2064
Rationale: "explanation : let x and y be the two given numbers ( x + y ) = 73 ; ( x – y ) = 28 ( x 2 – y 2 ) = ( x + y ) ( x – y ) = 73 * 28 = 2044 answer : c"
Answer: c
Python program:
a = 73 ** 2
b = 28 - a
c = b / 2
Problem: a large tank can filled by a and b in 60 minutes and 40 minutes respectively . how many minutes will it take to fill the tanker from empty state if b is used for half the time and a and b fill it together for the other half ?
Options: a ) 10 min , b ) 15 min , c ) 30 min , d ) 25 min , e ) 42 min
Rationale: part filled by a + b in 1 minute = 1 / 60 + 1 / 40 = 1 / 24 suppose the tank is filled in x minutes then , x / 2 ( 1 / 24 + 1 / 40 ) = 1 x / 2 * 1 / 15 = 1 x = 30 min answer is c
Answer: c
Python program:
a = 1 / 60
b = 1 / 40
c = a + b 
d = 1 / 40
e = c + d 
f = 1 / e
g = f * 2