euclaise/mathqa_programs huggingface dataset:
Problem: the area of a square is 4489 sq cm . find the ratio of the breadth and the length of a rectangle whose length is twice the side of the square and breadth is 24 cm less than the side of the square .
Options: a ) 5 : 28 , b ) 5 : 19 , c ) 5 : 12 , d ) 5 : 13 , e ) 43 : 134
Rationale: "let the length and the breadth of the rectangle be l cm and b cm respectively . let the side of the square be a cm . a 2 = 4489 a = 67 l = 2 a and b = a - 24 b : l = a - 24 : 2 a = 43 : 134 answer : e"
Answer: e
Python program:
a = math.sqrt(4489)
b = a - 24
c = math.sqrt(4489)
d = c * 2
e = b / d
Problem: a certain lab experiments with white and brown mice only . in one experiment , 2 / 3 of the mice are white . if there are 12 brown mice in the experiment , how many mice in total are in the experiment ?
Options: a ) 39 , b ) 33 , c ) 26 , d ) 21 , e ) 36
Rationale: "let total number of mice = m number of white mice = 2 / 3 m number of brown mice = 1 / 3 m = 12 = > m = 36 answer e"
Answer: e
Python program:
a = 2 / 3
b = 12 / a
c = b - 12
Problem: a rectangular cube has sides measuring 3 inches long by 2 inches wide by 0.5 inches high . if the surface area of the rectangle is the same as a cube , what do the sides / walls of the cube measure ? round to the nearest whole number .
Options: a ) 4
b ) 5
c ) 6
d ) 7
e ) 2
Rationale: first calculate the surface area of the rectangle by multiplying the length and width of the rectangle together , then multiply by 2 to get both sides of the rectangle . this calculates to 12 inches . find the surface area of the sides of the rectangular cube . multiply the height by the length of the rectangle . multiply the answer by 2 ( for the 2 sides on the rectangular cube ) . this calculates to 3 inches . then multiply the width of the rectangle by the height . multiply the answer by 2 ( for the 2 sides on the rectangular cube ) . this calculates to 2 inches . add the totals together to get the rectangular cube surface area of 17 inches . since a square cube has 6 sides , divide the surface area by 6 . this calculates to 2.833 inches as the surface area of each side of the cube . the square root of 2.833 is 1.683 . rounding to the nearest whole number that makes each side of the cube measuring 2 inches . the correct answer is ( e ) .
Answer: e
Python program:
a = surface_rectangular_prism / (
b = 2 * 3
c = math.floor(a, b)
Problem: company c produces toy trucks at a cost of $ 5.00 each for the first 100 trucks and $ 3.50 for each additional truck . if 500 toy trucks were produced by company c and sold for $ 7.00 each , what was company c ’ s gross profit ?
Options: a ) $ 2,250 , b ) $ 2,500 , c ) $ 1,600 , d ) $ 1,250 , e ) $ 1,500
Rationale: "cost of 500 trucks : ( 100 * 5 ) + ( 400 * 3.5 ) = 500 + 1400 = $ 1900 revenue : 500 * 7 = $ 3500 profit : 3500 - 1900 = $ 1600 option c is correct"
Answer: c
Python program:
a = 500 * 7
b = 5 * 0
c = a - b
d = 500 - 100
e = d * 3
f = c - e
g = f / 1000
h = math.floor(g)
Problem: a business executive and his client are charging their dinner tab on the executive ' s expense account . the company will only allow them to spend a total of 100 $ for the meal . assuming that they will pay 7 % in sales tax for the meal and leave a 15 % tip , what is the most their food can cost ?
Options: a ) 79.55 $ , b ) 80.63 $ , c ) 81.63 $ , d ) 80.27 $ , e ) 83.15 $
Rationale: "let x is the cost of the food 1.07 x is the gross bill after including sales tax 1.15 * 1.07 x = 100 x = 81.27 hence , the correct option is d"
Answer: d
Python program:
a = 7 + 15 
b = a / 100
c = b + 1 
d = 100 / c
Problem: a garrison of 2000 men has provisions for 54 days . at the end of 21 days , a reinforcement arrives , and it is now found that the provisions will last only for 20 days more . what is the reinforcement ?
Options: a ) 1977 , b ) 1893 , c ) 1979 , d ) 1900 , e ) 1300
Rationale: "2000 - - - - 54 2000 - - - - 33 x - - - - - 20 x * 20 = 2000 * 33 x = 3300 2000 - - - - - - - 1300 answer : e"
Answer: e
Python program:
a = 2000 * 54
b = 2000 * 21
c = a - b
d = c / 20
e = d - 2000
Problem: a person buys an article at $ 200 . at what price should he sell the article so as to make a profit of 10 % ?
Options: a ) 240 , b ) 260 , c ) 220 , d ) 300 , e ) 360
Rationale: "c 220 cost price = $ 200 profit = 10 % of 200 = $ 20 selling price = cost price + profit = 200 + 20 = 220"
Answer: c
Python program:
a = 10 / 100
b = 200 * a
c = 200 + b
Problem: 200 liters of a mixture contains milk and water in the ratio 4 : 1 . if 20 liters of this mixture be replaced by 20 liters of milk , the ratio of milk to water in the new mixture would be ?
Options: a ) 6 : 1 , b ) 1 : 6 , c ) 2 : 3 , d ) 3 : 2 , e ) 4 : 1
Rationale: "quantity of milk in 200 liters if mix = 200 * 4 / 5 = 160 liters quantity of milk in 210 liters of new mix = 160 + 20 = 180 liters quantity of water in it = 210 - 180 = 30 liters ratio of milk and water in new mix = 180 : 30 = 6 : 1 answer is a"
Answer: a
Python program:
a = 20 - 1
b = a * 1
c = 4 * 1
d = b / c
Problem: if the speed of a man is 66 km per hour , then what is the distance traveled by him in 30 seconds ?
Options: a ) 550 m , b ) 500 m , c ) 375 m , d ) 420 m , e ) 440 m
Rationale: "the distance traveled in 30 sec = 66 * ( 5 / 18 ) * 30 = 550 m answer : a"
Answer: a
Python program:
a = 66 * const_0_2778
b = a * 30
Problem: when positive integer x is divided by positive integer y , the remainder is 6 . if x / y = 6.12 , what is the value of y ?
Options: a ) 96 , b ) 75 , c ) 50 , d ) 25 , e ) 12
Rationale: "guys , one more simple funda . 5 / 2 = 2.5 now . 5 x 2 = 1 is the remainder 25 / 4 = 6.25 now . 25 x 4 = 1 is the remainder 32 / 5 = 6.4 now . 4 x 5 = 2 is the remainder given x / y = 6.12 and remainder is 6 so . 12 x y = 6 hence y = 50 ans c"
Answer: c
Python program:
a = math.floor(6, 12)
b = 6 - 12
c = 6 / b
Problem: two identical trains aa and bb running in opposite direction at same speed tale 2 min to cross each other completely . the number of bogies of aa are increased from 12 to 16 . how much more time would they now require to cross each other ?
Options: a ) 40 sec , b ) 50 sec , c ) 60 sec , d ) 20 sec , e ) 25 sec
Rationale: total initial bogies is 12 + 12 = 2412 + 12 = 24 additional bogies = 16 â ˆ ’ 12 = 4 24 bogies is 12 + 12 = 24 additional bogies = 16 - 12 = 4 24 bogies take 2 min 2 * 60 / 24 * 4 = 20 sec answer d
Answer: d
Python program:
a = 2 * const_60
b = 12 + 12 
c = a / b
d = 16 - 12
e = c * d
Problem: express 5 mps in kmph ?
Options: a ) 22 , b ) 88 , c ) 90 , d ) 18 , e ) 24
Rationale: "5 * 18 / 5 = 18 kmph answer : d"
Answer: d
Python program:
a = 5 / 1000
b = a * 3600
Problem: a person starting with rs . 64 and making 6 bets , wins 3 times and loses 3 times , the wins and loses occurring in random order . the chance for a win is equal to the chance for a loss . if each wager is for 1 / 2 the money remaining at the time of the bet , then the final result is ?
Options: a ) rs . 23 , b ) rs . 37 , c ) rs . 45 , d ) rs . 67 , e ) rs . 77
Rationale: as the win leads to multiplying the amount by 1.5 and loss leads to multiplying the amount by 0.5 , we will multiply initial amount by 1.5 thrice and by 0.5 thrice ( in any order ) . the overall resultant will remain same . so final amount with the person will be ( in all cases ) : = 64 ( 1.5 ) ( 1.5 ) ( 1.5 ) ( 0.5 ) ( 0.5 ) ( 0.5 ) = = 64 ( 1.5 ) ( 1.5 ) ( 1.5 ) ( 0.5 ) ( 0.5 ) ( 0.5 ) = rs 2727 hence the final result is : 64 − 27 = 3764 − 27 = 37 : a loss of rs . 37 b
Answer: b
Python program:
a = 1 / 2
b = 1 + a 
c = b ** 3
d = 64 * c
e = 1 / 2
f = e ** 3
g = d * f
h = 64 - g
Problem: a boat can travel with a speed of 25 km / hr in still water . if the speed of the stream is 5 km / hr , find the time taken by the boat to go 90 km downstream .
Options: a ) 1 hr , b ) 2 hrs , c ) 3 hrs , d ) 4 hrs , e ) 5 hrs
Rationale: "speed downstream = ( 25 + 5 ) km / hr = 30 km / hr . time taken to travel 90 km downstream = 90 / 30 hrs = 3 hrs . answer : c"
Answer: c
Python program:
a = 25 + 5 
b = 90 / a
Problem: how many ounces of a 60 % salt solution must be added to 60 ounces of a 20 percent salt solution so that the resulting mixture is 40 % salt ?
Options: a ) 16.67 , b ) 30 , c ) 50 , d ) 60 , e ) 70
Rationale: "let x = ounces of 60 % salt solution to be added . 2 * 60 + . 6 x = . 4 ( 60 + x ) x = 60 answer d"
Answer: d
Python program:
a = 40 / 100
b = a * 60
c = 20 / 100
d = c * 60
e = b - d
f = 40 / 100
g = 20 / 100
h = f - g
i = e / h
Problem: in a college , 50 % of total 400 arts students are locals . 25 % of students from 100 science students are locals and 85 % of total 120 commerce students are locals . what is the total percentage of locals from arts , science and commerce .
Options: a ) 322 , b ) 340 , c ) 333 , d ) 327 , e ) 500
Rationale: locals from arts = 50 % of 400 = 200 locals from science = 25 % of 100 = 25 locals from commerce = 85 % of 120 = 102 total locals = 200 + 25 + 102 = 327 d
Answer: d
Python program:
a = 50 / 100
b = 400 * a
c = 25 / 100
d = c * 100
e = b + d 
f = 85 / 100
g = f * 120
h = e + g
Problem: 12 : 6 seconds : : ? : 8 minutes
Options: a ) 10 , b ) 15 , c ) 16 , d ) 25 , e ) 30
Rationale: "12 * 8 = 6 * x x = 16 answer : c"
Answer: c
Python program:
a = 12 / 6
b = 8 * a
Problem: a canoe has two oars , left and right . each oar either works or breaks . the failure or non - failure of each oar is independent of the failure or non - failure of the other . you can still row the canoe with one oar . the probability that the left oar works is 3 / 5 . the probability that the right oar works is also 3 / 5 . what is the probability y that you can still row the canoe ?
Options: a ) 9 / 25 , b ) 10 / 25 , c ) 6 / 10 , d ) 2 / 3 , e ) 21 / 25
Rationale: "simply look at the question from the other side . what is the probability that you can ’ t row the canoe ? this would be 2 / 5 x 2 / 5 = 4 / 25 . using the idea that the probability of something happening is 1 – the probability that it doesn ’ t happen , you can use the following equation to reach the right answer y : 1 – 4 / 25 = 21 / 25 . answer choice e ."
Answer: e
Python program:
a = 3 / 5
b = 3 / 5
c = a * b
d = 3 / 5
e = 2 / 5
f = d * e
g = 3 / 5
h = 2 / 5
i = g * h
j = f + i 
k = c + j
Problem: if jake loses 15 pounds , he will weigh twice as much as his sister . together they now weigh 132 pounds . what is jake ’ s present weight , in pounds ?
Options: a ) 63 , b ) 93 , c ) 139 , d ) 147 , e ) 188
Rationale: "lets say j is the weight of jack and s is the wt of his sister . if he loses 15 pounds , he s twice as heavy as his sister . j - 15 = 2 * s also , together they weight 132 pounds j + s = 132 solvong the 2 equation , we get j = 93 pounds ! b"
Answer: b
Python program:
a = 132 - 15
b = a / 3
c = b * 2
d = c + 15
Problem: a and b complete a work in 7 days . a alone can do it in 14 days . if both together can do the work in how many days ?
Options: a ) 4.6 days , b ) 4.78 days , c ) 5.65 days , d ) 3.77 days , e ) 5.75 days
Rationale: "1 / 7 + 1 / 14 = 3 / 14 14 / 3 = 4.6 days answer : a"
Answer: a
Python program:
a = 1/(7)
b = 1/(14)
c = a + b 
d = 1/(c)
Problem: a car traveled the first quarter of a certain distance at 4 times the speed it traveled the remaining distance . what proportion of the total time traveled , was the time taken to travel the first quarter of the distance ?
Options: a ) 1 / 4 , b ) 1 / 5 , c ) 1 / 6 , d ) 1 / 7 , e ) 1 / 13
Rationale: these problems can be solved through algebra or sly number picking . being a big fan of solving problems with numbers , let ' s pick a total distance divisible by 4 ( say 40 ) so we can break it up into quarters , and a speed that can easily be one fourth , say 10 . each quarter is thus 10 kilometers ( or miles or feet or angstroms for all it matters ) , and the runner ' s speed is 10 km / h for the first quarter and 5 / 2 km / h for the remaining quarters . he ' ll take 1 hour to do the first quarter and then 4 hours for the second quarter , 4 hours for the third and 4 hours for the fourth . on total he will take 13 hours to complete this race , of which 1 hour was spent on the first quarter . so 1 / 13 . answer e .
Answer: e
Python program:
a = 4 - 1
b = 4 * a
c = b + 1 
d = 1/(c)
Problem: one fourth of one third of two fifth of a number is 17 . what will be 40 % of that number
Options: a ) 140 , b ) 204 , c ) 180 , d ) 200 , e ) 250
Rationale: "explanation : ( 1 / 4 ) * ( 1 / 3 ) * ( 2 / 5 ) * x = 17 then x = 17 * 30 = 510 40 % of 510 = 204 answer : option b"
Answer: b
Python program:
a = 1 / 4
b = 1 / 3
c = a * b
d = 2 + 3 
e = 2 / d
f = c * e
g = 17 / f
h = g * 40
i = h / 100
Problem: what is the decimal equivalent of ( 1 / 5 ) ^ 2 ?
Options: a ) 0.0016 , b ) 0.04 , c ) 0.16 , d ) 0.25 , e ) 0.5
Rationale: "( 1 / 5 ) ² = ( 1 / 5 ) ( 1 / 5 ) = 1 / 25 approach # 1 : use long division to divide 25 into 1 to get 1 / 25 = 0.04 b"
Answer: b
Python program:
a = 1 / 5
b = a ** 2
Problem: at an international conference , “ red ” world countries and “ blue ” world countries are the only participants . the ratio of “ red ” world participants to “ blue ” world participants is 10 : 5 . if one - third of “ red ” world participants are left - handed and two - thirds of “ blue ” world participants are left - handed , then what is the fraction of the participants who are left - handed ?
Options: a ) 4 / 10 , b ) 4 / 9 , c ) 6 / 5 , d ) 9 / 2 , e ) 6 / 4
Rationale: red : blue = 10 : 5 let red = 10 x and blue = 5 x 1 / 3 of red are left handed = > 1 / 3 * 10 x = 10 x / 3 red left handed 2 / 3 of blue are left handed = > 2 / 3 * 5 x = 10 x / 3 blue left handed fraction of participants who are left handed = total left handed / total participants = ( red left handed + blue left handed ) / total participants = ( 10 x / 3 + 10 x / 3 ) / ( 10 x + 5 x ) = 20 / 45 = 4 / 9 answer : b
Answer: b
Python program:
a = 10 * const_0_33
b = 2 / 3
c = 5 * b
d = a + c 
e = 10 + 5 
f = d / e
Problem: the average salary / head of allthe workers in a workshop is rs . 750 , if the average salary / head of 5 technician is rs . 900 and the average salary / head of the rest is rs . 700 , the total no . of workers in the work - shop is ?
Options: a ) 18 , b ) 20 , c ) 22 , d ) 24 , e ) 26
Rationale: let the total number of workers be y . so sum of salary for all workers = sum of salary of 5 technician + sum of salary for other y - 5 workers . 5 x 900 + 700 ( y - 5 ) = 750 y ⇒ 4500 + 700 y - 3500 = 750 y ⇒ 50 y = 1000 ∴ y = 20 so total number of workers = 20 b
Answer: b
Python program:
a = 5 * 900
b = 5 * 700
c = a - b
d = 750 - 700
e = c / d
Problem: the average age of 10 men increases by 6 years when two women are included in place of two men of ages 18 and 22 years . find the average age of the women ?
Options: a ) 37 , b ) 26 , c ) 30 , d ) 50 , e ) 11
Rationale: "explanation : 18 + 22 + 10 * 6 = 100 / 2 = 50 answer : d"
Answer: d
Python program:
a = 18 + 22 
b = 10 * 6
c = a + b 
d = c / 2
Problem: a started a business with an investment of rs . 70000 and after 3 months b joined him investing rs . 120000 . if the profit at the end of a year is rs . 43000 , then the share of b is ?
Options: a ) 33888 , b ) 36000 , c ) 27778 , d ) 27772 , e ) 81122
Rationale: ratio of investments of a and b is ( 70000 * 12 ) : ( 120000 * 9 ) = 7 : 36 total profit = rs . 43000 share of b = 36 / 43 ( 43000 ) = rs . 36000 answer : b
Answer: b
Python program:
a = const_60 * 100
b = 43000 - a
Problem: working together , printer a and printer b would finish the task in 10 minutes . printer a alone would finish the task in 30 minutes . how many pages does the task contain if printer b prints 5 pages a minute more than printer a ?
Options: a ) 125 , b ) 150 , c ) 175 , d ) 200 , e ) 225
Rationale: "10 * a + 10 * b = x pages in 10 mins printer a will print = 10 / 30 * x pages = 1 / 3 * x pages thus in 10 mins printer printer b will print x - 1 / 3 * x = 2 / 3 * x pages also it is given that printer b prints 5 more pages per min that printer a . in 10 mins printer b will print 50 more pages than printer a thus 2 / 3 * x - 1 / 3 * x = 50 = > x = 150 pages answer : b"
Answer: b
Python program:
a = 30 / 10
b = a - 1
c = 5 / b
d = c * 30
Problem: the ratio of boys to girl in a school is 5 : 4 . if there are 1500 boys in the school , how many girls are there ?
Options: a ) 300 , b ) 1200 , c ) 1500 , d ) 1800 , e ) 2000
Rationale: think of the ratio as 5 parts : 4 parts . divide 1500 by 5 to find 1 ` ` part ' ' of the ratio . 1500 / 5 = 300 multiply this by 4 to get 4 ` ` parts ' ' of the ratio . 300 * 4 = 1200 there are 1200 girls in the school . the answer is b
Answer: b
Python program:
a = 1500 / 5
b = a * 4
Problem: a tank can be filled by two pipes a and b in 60 minutes and 40 minutes respectively . how many minutes will it take to fill the tank from empty state if b is used for the first half time and then a and b fill it together for the other half
Options: a ) 15 mins , b ) 20 mins , c ) 25 mins , d ) 30 mins , e ) none of these
Rationale: "explanation : let the total time be x mins . part filled in first half means in x / 2 = 1 / 40 part filled in second half means in x / 2 = 1 / 60 + 1 / 40 = 1 / 24 total = x / 2 ∗ 1 / 40 + x / 2 ∗ 1 / 24 = 1 = > x / 2 ( 1 / 40 + 1 / 24 ) = 1 = > x / 2 ∗ 1 / 15 = 1 = > x = 30 mins option d"
Answer: d
Python program:
a = 40 * 3
b = a * 2
c = 4 + 4 
d = b / c
Problem: the diameter of a garden roller is 1.4 m and it is 2 m long . how much area will it cover in 4 revolutions ? ( use ï € = 22 â  „ 7 )
Options: a ) 35.2 m 2 , b ) 44 m 2 , c ) 48 m 2 , d ) 36 m 2 , e ) none of these
Rationale: "required area covered in 5 revolutions = 4 ã — 2 ï € rh = 4 ã — 2 ã — 22 â  „ 7 ã — 0.7 ã — 2 = 35.2 m 2 answer a"
Answer: a
Python program:
a = 22 / 7
b = 2 * a
c = 1 / 4
d = b * c
e = d * 2
f = 4 * e
Problem: in a group of ducks and cows , the total number of legs are 48 more than twice the no . of heads . find the total no . of buffaloes .
Options: a ) 28 , b ) 12 , c ) 24 , d ) 16 , e ) 19
Rationale: "let the number of buffaloes be x and the number of ducks be y = > 4 x + 2 y = 2 ( x + y ) + 48 = > 2 x = 48 = > x = 24 c"
Answer: c
Python program:
a = 48 / 2
Problem: two - third of a positive number and 64 / 216 of its reciprocal are equal . the number is :
Options: a ) 5 / 12 , b ) 12 / 5 , c ) 25 / 144 , d ) 2 / 3 , e ) 146 / 25
Rationale: "let the number be x . then , 2 / 3 x = 64 / 216 * 1 / x x 2 = 64 / 216 * 3 / 2 = 64 / 144 = 4 / 9 x = 2 / 3 answer : d"
Answer: d
Python program:
a = 64 * 3
b = 216 * 2
c = a / b
d = math.sqrt(c)
Problem: when positive integer m is divided by positive integer n , the remainder is 12 . if m / n = 24.2 , what is the value of n ?
Options: a ) 120 , b ) 60 , c ) 30 , d ) 24 , e ) 12
Rationale: n = decimal part of 24.2 * remainder i . e . ( 12 ) hence 0.2 * n = 12 n = 60 . b
Answer: b
Python program:
a = 12 / reminder
Problem: if x and y are positive integers and 12 x = 21 y what is the least possible value of xy ?
Options: a ) 9 , b ) 28 , c ) 63 , d ) 84 , e ) 252
Rationale: "12 x = 21 y = > x / y = 7 / 4 = > 4 x = 7 y 4 ( 3 ) = 7 ( 3 ) = > x * y = 9 a"
Answer: a
Python program:
a = 21 + 1
Problem: a train crosses a platform of 350 m in 15 sec , same train crosses another platform of length 500 m in 20 sec . then find the length of the train ?
Options: a ) 100 m , b ) 180 m , c ) 159 m , d ) 250 m , e ) 152 m
Rationale: "length of the train be ‘ x ’ x + 350 / 15 = x + 500 / 20 4 x + 1400 = 3 x + 1500 x = 100 m answer : a"
Answer: a
Python program:
a = 15 / 3
b = 15 / a
c = 500 * b
d = 15 / 3
e = 20 / d
f = 350 * e
g = c - f
Problem: 0.001 ã — 0.001 = ?
Options: a ) 0.1 , b ) 0.001 , c ) 0.01 , d ) 1.0 e - 06 , e ) none of these
Rationale: "0.001 ã — 0.001 = ? or , ? = 0.000001 answer d"
Answer: d
Python program:
a = 0 / 1
b = a * 100
Problem: if doubling a number and adding 20 to the result gives the same answer as multiplying the number by 8 and taking away 4 from the product , the number is
Options: a ) 2 , b ) 3 , c ) 4 , d ) 6 , e ) 7
Rationale: solution let the number be x . = then , 2 x + 20 = 8 x – 4 = 6 x = 24 ‹ = › x = 4 . answer c
Answer: c
Python program:
a = 20 + 4 
b = 8 - 2
c = a / b
Problem: x + ( 1 / x ) = 3.5 find x ^ 2 + ( 1 / x ^ 2 )
Options: a ) 2.25 , b ) 3.25 , c ) 10.25 , d ) 5.25 , e ) 6.25
Rationale: squaring on both sides ( x + 1 / x ) ^ 2 = 3.5 ^ 2 x ^ 2 + 1 / x ^ 2 = 12.25 - 2 x ^ 2 + 1 / x ^ 2 = 10.25 answer : c
Answer: c
Python program:
a = 3 ** 5
b = a - 2
Problem: what is the difference between the largest number and the least number written with the digits 9 , 2 , 1 , 5 ?
Options: a ) 6084 , b ) 3788 , c ) 2077 , d ) 8262 , e ) 1812
Rationale: "explanation : 1259 9521 - - - - - - - - - - - - 8262 answer : d"
Answer: d
Python program:
a = 9 * 100
b = a * 10
c = 5 * 100
d = b + c 
e = 2 * 10
f = d + e 
g = f + 1 
h = 2 * 100
i = 1000 + h 
j = 5 * 10
k = i + j 
l = k + 9 
m = g - l
Problem: the ratio of flour to water to sugar in a recipe is 7 : 2 : 1 . the ratio in a new recipe calls for a doubling of the ratio of flour to water from the original recipe and a halving of the ratio of flour to sugar . if the new recipe calls for 2 cups of water , how much sugar is required ?
Options: a ) 2 , b ) 3 , c ) 4 , d ) 5 , e ) 6
Rationale: "the ratio of flour to water is 14 : 2 . the ratio of flour to sugar is 3.5 : 1 = 14 : 4 . the new ratio of flour to water to sugar is 14 : 2 : 4 if we need 2 cups of water , then we need 4 cups of sugar . the answer is c ."
Answer: c
Python program:
a = 2 / 2
b = 4 * 1
c = a * b
Problem: a train , 130 meters long travels at a speed of 45 km / hr crosses a bridge in 30 seconds . the length of the bridge is
Options: a ) 270 m , b ) 245 m , c ) 235 m , d ) 220 m , e ) 240 m
Rationale: explanation : assume the length of the bridge = x meter total distance covered = 130 + x meter total time taken = 30 s speed = total distance covered / total time taken = ( 130 + x ) / 30 m / s = > 45 × ( 10 / 36 ) = ( 130 + x ) / 30 = > 45 × 10 × 30 / 36 = 130 + x = > 45 × 10 × 10 / 12 = 130 + x = > 15 × 10 × 10 / 4 = 130 + x = > 15 × 25 = 130 + x = 375 = > x = 375 - 130 = 245 answer : option b
Answer: b
Python program:
a = 45 * const_0_2778
b = a * 30
c = b - 130
Problem: the unit digit in the product 1258 * 6754 * 4512 * 9783 is ?
Options: a ) 0 , b ) 1 , c ) 2 , d ) 3 , e ) 4
Rationale: "unit digit in the given product = unit digit in 8 * 4 * 2 * 3 = 2 answer is c"
Answer: c
Python program:
a = 1258 * 6754
b = a * 4512
c = b * 9783
d = 1258 * 6754
e = d * 4512
f = e * 9783
g = 4 + 4 
h = f - g
i = c - h
Problem: a car traveling at a certain constant speed takes 2 seconds longer to travel 1 kilometer than it would take to travel 1 kilometer at 900 kilometers per hour . at what speed , in kilometers per hour , is the car traveling ?
Options: a ) 671.5 , b ) 600 , c ) 672.5 , d ) 673 , e ) 773.5
Rationale: "many approaches are possible , one of them : let the distance be 1 kilometer . time to cover this distance at 900 kilometers per hour is 1 / 900 hours = 3,600 / 900 seconds = 4 seconds ; time to cover this distance at regular speed is 900 + 2 = 902 seconds = 902 / 3,600 hours = 1 / 600 hours ; so , we get that to cover 1 kilometer 1 / 600 hours is needed - - > regular speed 600 kilometers per hour ( rate is a reciprocal of time or rate = distance / time ) . answer : b ."
Answer: b
Python program:
a = 1 / 900
b = 3600 * a
c = b + 2 
d = c / 3600
e = 1 / d
Problem: a school has 4 section of chemistry in class x having 70 , 35 , 45 and 42 students . the mean marks obtained in chemistry test are 50 , 60 , 55 and 45 respectively for the 4 sections . determine the overall average of marks per student .
Options: a ) 50.9 , b ) 52.9 , c ) 51.9 , d ) 53.25 , e ) none of the above
Rationale: "required average marks = 70 ã — 50 + 35 ã — 60 + 45 ã — 55 + 42 ã — 45 / 70 + 35 + 45 + 42 = 3500 + 2100 + 2475 + 1890 / 192 = 9965 â  „ 192 = 51.90 answer c"
Answer: c
Python program:
a = 70 * 50
b = 35 * 60
c = a + b 
d = 45 * 55
e = c + d 
f = 42 * 45
g = e + f 
h = 70 + 35 
i = h + 45 
j = i + 42 
k = g / j
Problem: how much is 40 % of 60 is greater than 4 / 5 of 25 ?
Options: a ) 2 , b ) 5 , c ) 12 , d ) 8 , e ) 4
Rationale: "( 40 / 100 ) * 60 â € “ ( 4 / 5 ) * 25 24 - 20 = 4 answer : e"
Answer: e
Python program:
a = 40 / 100
b = 60 * a
c = 4 / 5
d = c * 25
e = b - d