euclaise/mathqa_programs huggingface dataset:
Problem: the average age of students of a class is 15.8 years . the average age of boys in the class is 16.4 years and that of the girls is 15.4 years , the ratio of the number of boys to the number of girls in the class is
Options: a ) 7 : 3 , b ) 2 : 3 , c ) 9 : 3 , d ) 6 : 3 , e ) 2 : 5
Rationale: "explanation : let the ratio be k : 1 . then , k * 16.4 + 1 * 15.4 = ( k + 1 ) * 15.8 < = > ( 16.4 - 15.8 ) k = ( 15.8 - 15.4 ) < = > k = 0.4 / 0.6 = 2 / 3 . required ratio = 2 / 3 : 1 = 2 : 3 . answer : b"
Answer: b
Python program:
a = 15 - 8
b = 16 - 4
c = a / b
Problem: in a certain boys camp , 20 % of the total boys are from school a and 30 % of those study science . if there are 35 boys in the camp that are from school a but do not study science then what is the total number of boys in the camp ?
Options: a ) 70 , b ) 245 , c ) 150 , d ) 35 , e ) 250
Rationale: "since 30 % of the boys from school a study science , then 70 % of the boys from school a do not study science and since 20 % of the total number of boys are from school a , then 0.2 * 0.7 = 0.14 , or 14 % of the boys in the camp are from school a and do not study science . we are told that this number equals to 35 , so 0.14 * { total } = 35 - - > { total } = 250 . answer : e ."
Answer: e
Python program:
a = 100 - 30
b = a / 100
c = 20 / 100
d = b * c
e = 35 / d
Problem: of the female students at barkely university , 5 / 6 are on the honor roll . of the male students , 2 / 3 are on the honor roll . if 2 / 5 of the students are female , what fraction of all the students are on the honor roll ?
Options: a ) 5 / 9 , b ) 3 / 15 , c ) 23 / 30 , d ) 22 / 30 , e ) 53 / 90
Rationale: let the total students be 30 given 2 / 5 of the students are females = 12 then males = 3 / 5 = 18 5 / 6 of the females are on honor roll = 10 males on the honor roll = 2 / 3 = 12 total students on honor roll = 12 + 10 = 22 fraction = 22 / 30 d
Answer: d
Python program:
a = 5 * 2
b = a * 2
c = b + 2 
d = 3 * 5
e = 2 * d
f = c / e
Problem: a train running at the speed of 60 km / hr crosses a pole in 18 seconds . find the length of the train .
Options: a ) 150 , b ) 278 , c ) 179 , d ) 300 , e ) 191
Rationale: ": speed = 60 * ( 5 / 18 ) m / sec = 50 / 3 m / sec length of train ( distance ) = speed * time ( 50 / 3 ) * 18 = 300 meter answer : d"
Answer: d
Python program:
a = 60 * 1000
b = a / 3600
c = b * 18
Problem: the length of rectangle is thrice its breadth and its perimeter is 88 m , find the area of the rectangle ?
Options: a ) 432 sq m
b ) 363 sq m
c ) 452 sq m
d ) 428 sq m
e ) 525 sq m
Rationale: 2 ( 3 x + x ) = 88 l = 33 b = 11 lb = 33 * 11 = 363 answer : b
Answer: b
Python program:
a = 3 * 2
b = 1 * 2
c = a + b 
d = 88 / c
e = d * 3
f = 3 * 2
g = 1 * 2
h = f + g 
i = 88 / h
j = e * i
Problem: the ratio of the volumes of two cubes is 729 : 2197 . what is the ratio of their total surface areas ?
Options: a ) 81 : 169 , b ) 81 : 122 , c ) 81 : 124 , d ) 81 : 126 , e ) 81 : 129
Rationale: "ratio of the sides = 3 √ 729 : 3 √ 2197 = 9 : 13 ratio of surface areas = 9 ^ 2 : 13 ^ 2 = 81 : 169 answer : option a"
Answer: a
Python program:
a = 729 / 2197
b = 1 / 3
c = a ** b
Problem: a monkey ascends a greased pole 22 meters high . he ascends 2 meters in the first minute and then slips down 1 meter in the alternate minute . if this pattern continues until he climbs the pole , in how many minutes would he reach at the top of the pole ?
Options: a ) 40 th minute , b ) 41 st minute , c ) 43 rd minute , d ) 42 nd minute , e ) 45 th minute
Rationale: "the money is climbing 1 meter in 2 min . this pattern will go on till he reaches 20 meters . i mean this will continue for first 20 * 2 = 40 mins . he would have reached 20 meters . after that he will climb 2 meters and he will reach the pole . so total time taken = 40 + 1 = 41 mins . so , asnwer will be b"
Answer: b
Python program:
a = 4 * 2
b = a * 2
c = b + 1
Problem: a can run 256 metre in 28 seconds and b in 32 seconds . by what distance a beat b ?
Options: a ) 32 metre , b ) 28 metre , c ) 23 metre , d ) 15 metre , e ) 28 metre
Rationale: "clearly , a beats b by 4 seconds now find out how much b will run in these 4 seconds speed of b = distance / time taken by b = 256 / 32 = 8 m / s distance covered by b in 4 seconds = speed ã — time = 8 ã — 4 = 32 metre i . e . , a beat b by 32 metre answer is a"
Answer: a
Python program:
a = 256 / 32
b = a * 28
c = 256 - b
Problem: if | x | = 4 x - 2 , then x = ?
Options: a ) 1 , b ) 2 , c ) 1 and 1 / 2 , d ) - 1 / 2 , e ) - 1
Rationale: "answer : approach : substituted option a i . e x = 2 . inequality satisfied . b"
Answer: b
Python program:
a = 4 - 1
b = 2 / a
Problem: two circular signs are to be painted . if the diameter of the larger sign is 7 times that of the smaller sign , how many times more paint is needed to paint the larger sign ? ( we can assume that a given amount of paint covers the same area on both signs . )
Options: a ) 7 , b ) 14 , c ) 42 , d ) 49 , e ) 98
Rationale: let r be the radius of the smaller sign . then the diameter of the smaller sign is 2 r , the diameter of the larger sign is 14 r , and the radius of the larger sign is 7 r . the area a of the smaller sign is a = pir ^ 2 . the area of the larger sign is pi ( 7 r ) ^ 2 = 49 pir ^ 2 = 49 a . since the area is 49 times larger , we need 49 times more paint for the larger sign . the answer is d .
Answer: d
Python program:
a = 7 ** 2
Problem: when a merchant imported a certain item , he paid a 9 percent import tax on the portion of the total value of the item in excess of $ 1,000 . if the amount of the import tax that the merchant paid was $ 76.50 , what was the total value of the item ?
Options: a ) $ 1,250 , b ) $ 1,450 , c ) $ 1,650 , d ) $ 1,850 , e ) $ 2,050
Rationale: "let x be the value in excess of $ 1,000 . 0.09 x = 76.5 x = $ 850 the total value was $ 850 + $ 1,000 = $ 1,850 . the answer is d ."
Answer: d
Python program:
a = 9 / 100
b = 76 / 50
c = b + 1 
d = c / 1
e = math.floor(d)
Problem: a man swims downstream 40 km and upstream 30 km taking 5 hours each time , what is the speed of the man in still water ?
Options: a ) 12 , b ) 8 , c ) 36 , d ) 5 , e ) 7
Rationale: "40 - - - 5 ds = 8 ? - - - - 1 30 - - - - 5 us = 6 ? - - - - 1 m = ? m = ( 8 + 6 ) / 2 = 7 answer : e"
Answer: e
Python program:
a = 30 / 5
b = 40 / 5
c = a + b 
d = c / 2
Problem: a train 125 m long passes a man , running at 8 km / hr in the same direction in which the train is going , in 10 seconds . the speed of the train is ?
Options: a ) 36 , b ) 53 , c ) 88 , d ) 66 , e ) 22
Rationale: "speed of the train relative to man = ( 125 / 10 ) m / sec = ( 25 / 2 ) m / sec . [ ( 25 / 2 ) * ( 18 / 5 ) ] km / hr = 45 km / hr . let the speed of the train be x km / hr . then , relative speed = ( x - 8 ) km / hr . x - 8 = 45 = = > x = 53 km / hr . answer : b"
Answer: b
Python program:
a = 8 * const_0_2778
b = a * 8
c = 125 - b
d = c / 8
e = d / const_0_2778
Problem: 85 % of a number is added to 24 , the result is the same number . find the number ?
Options: a ) 13 √ 5 , b ) 13 √ 2 , c ) 13 √ 9 , d ) 12 √ 9 , e ) 13 √ 1
Rationale: "4 a = 48 4 a = 20 a = 12 a = 5 a 2 = 144 a 2 = 25 combined area = a 2 = 169 = > a = 13 d = 13 √ 2 answer : b"
Answer: b
Python program:
a = 24 / 100
b = 24 / a
Problem: the ratio of 2 numbers is 1 : 2 and their h . c . f . and l . c . m are 10 and 20 . find the numbers .
Options: a ) 20 , 10 , b ) 10 , 20 , c ) 20 , 30 , d ) 30 , 20 , e ) 10 , 10
Rationale: "let the numbers be x and 2 x their h . c . f . = 10 l . c . m = 20 ie ) 2 x ^ 2 = 200 x ^ 2 = 100 , x = 10 t the numbers are x and 2 x , ie ) 10 , 20 respectively . answer is b"
Answer: b
Python program:
a = 2 ** 1
b = 2 ** 1
c = 1 ** 1
d = b + c 
e = a + d 
f = 10 / e
g = math.sqrt(f)
Problem: if x is 20 percent greater than 88 , then x =
Options: a ) 68 , b ) 70.4 , c ) 86 , d ) 105.6 , e ) 108
Rationale: "x is 20 % greater than 88 means x is 1.2 times 88 ( in other words 88 + 20 / 100 * 88 = 1.2 * 88 ) therefore , x = 1.2 * 88 = 105.6 answer : d"
Answer: d
Python program:
a = 20 / 100
b = a * 88
c = 88 + b
Problem: set a consists of all the prime numbers between 15 and 36 . what is the range of set a ?
Options: a ) 12 , b ) 13 , c ) 14 , d ) 17 , e ) 23
Rationale: "the range of a set of data is the difference between the highest and lowest values in the set in this set , highest number = 31 lowest number = 17 range = highest - lowest = 31 - 17 = 14 option c"
Answer: c
Python program:
a = 36 - 2
b = 15 + 4 
c = b + 1 
d = a - c
Problem: in one hour , a boat goes 21 km along the stream and 9 km against the stream . the speed of the boat in still water ( in km / hr ) is :
Options: a ) 3 , b ) 5 , c ) 10 , d ) 9 , e ) 15
Rationale: "solution speed in still water = 1 / 2 ( 21 + 9 ) kmph . = 15 kmph . answer e"
Answer: e
Python program:
a = 21 + 9 
b = a / 2
Problem: in the faculty of reverse - engineering , 226 second year students study numeric methods , 423 second year students study automatic control of airborne vehicles and 134 second year students study them both . how many students are there in the faculty if the second year students are approximately 70 % of the total ?
Options: a ) 515 . , b ) 545 . , c ) 618 . , d ) 644 . , e ) 736 .
Rationale: "answer is e : 736 solution : total number of students studying both are 423 + 226 - 134 = 515 ( subtracting the 134 since they were included in the both the other numbers already ) . so 70 % of total is 515 , so 100 % is approx . 736 ."
Answer: e
Python program:
a = 226 + 423
Problem: machines x and y produce bottles at their respective constant rates . machine x produces k bottles in 6 hours and machine y produces k bottles in 12 hours . how many hours does it take machines x and y , working simultaneously , to produce 24 k bottles ?
Options: a ) 48 , b ) 42 , c ) 45 , d ) 98 , e ) 96
Rationale: "x rate = k / 6 y rate = k / 12 k / 6 + k / 12 = 24 k / t solving t = 96 answer e"
Answer: e
Python program:
a = 6 + 12 
b = a / 12
c = 24 * b
d = c / 12
Problem: on the number line , if x is halfway between - 4 and 4 , and if y is halfway between - 2 and 6 , what number is halfway between x and y ?
Options: a ) - 1 , b ) - 1 / 2 , c ) 0 , d ) 1 / 2 , e ) 1
Rationale: "x = 0 and y = 2 . the answer is e ."
Answer: e
Python program:
a = negate + (
Problem: 5 % people of a village in sri lanka died by bombardment , 15 % of the remainder left the village on account of fear . if now the population is reduced to 3294 , how much was it in the beginning ?
Options: a ) 2988 , b ) 2776 , c ) 4079 , d ) 2871 , e ) 881
Rationale: x * ( 95 / 100 ) * ( 85 / 100 ) = 3294 x = 4079 answer : c
Answer: c
Python program:
a = 100 - 5
b = a / 100
c = 100 - 15
d = c / 100
e = b * d
f = 3294 / e
g = math.floor(f)
Problem: tanks a and b are each in the shape of a right circular cylinder . the interior of tank a has a height of 6 meters and a circumference of 8 meters , and the interior of tank b has a height of 8 meters and a circumference of 10 meters . the capacity of tank a is what percent of the capacity of tank b ?
Options: a ) 48 % , b ) 80 % , c ) 100 % , d ) 120 % , e ) 125 %
Rationale: "for a , r = 8 / 2 pi . its capacity = ( 4 pi ) ^ 2 * 6 = 96 pi for b , r = 10 / pi . its capacity = ( 5 pi ) ^ 2 * 8 = 200 pi a / b = 96 pi / 200 pi = 0.48 a"
Answer: a
Python program:
a = 8 / 10
b = a ** 2
c = 6 / 8
d = b * c
e = d * 100
Problem: the number of singles that a baseball player hit increased 12 percent from her first season to her second season , and the number of doubles that she hit in the same time period decreased by 2 percent . if the total number of singles and doubles that she hit increased 2 percent from her first season to her second season , what is the ratio of the number of singles she hit in her first season to the number of doubles she hit in her first season ?
Options: a ) 1 : 2 , b ) 2 : 5 , c ) 1 : 3 , d ) 2 : 3 , e ) 3 : 5
Rationale: "soln : - 1.12 s + 0.98 d = 1.02 [ s + d ] 0.10 s = 0.04 d s / d = 2 / 5 answer : b"
Answer: b
Python program:
a = 100 - 2
b = 100 + 12 
c = a / b
Problem: on the independence day , bananas were be equally distributed among the children in a school so that each child would get two bananas . on the particular day 350 children were absent and as a result each child got two extra bananas . find the actual number of children in the school ?
Options: a ) 237 , b ) 287 , c ) 197 , d ) 287 , e ) 700
Rationale: "explanation : let the number of children in the school be x . since each child gets 2 bananas , total number of bananas = 2 x . 2 x / ( x - 350 ) = 2 + 2 ( extra ) = > 2 x - 700 = x = > x = 700 . answer : e"
Answer: e
Python program:
a = 350 * 2
Problem: every digit of a number written in binary is either 0 or 1 . to translate a number from binary , multiply the nth digit ( reading from right to left ) by 2 ^ ( n - 1 ) what is the largest prime number ( written in binary ) that is a factor of both 10010000 and 100100000 ?
Options: a ) 10 , b ) 11 , c ) 1001 , d ) 1011 , e ) 10001
Rationale: binary divison can provide a quick answer if you are comfortable with it . as option e is the biggest binary number we try with it first : 100010000 / 1001 = 10000 1000100000 / 1001 = 100000 so answer is option is c
Answer: c
Python program:
a = 100100000 / 10010000
b = a + 1000
Problem: a cistern is normally filled in 8 hours but takes two hours longer to fill because of a leak in its bottom . if the cistern is full , the leak will empty it in ?
Options: a ) 27 , b ) 20 , c ) 40 , d ) 73 , e ) 72
Rationale: "1 / 8 - 1 / x = 1 / 10 x = 40 answer : c"
Answer: c
Python program:
a = 1 / 8
b = 8 + 2 
c = 1 / b
d = a - c
e = 1/(d)
Problem: find the distance covered by a man walking for 24 min at a speed of 10 km / hr ?
Options: a ) 1 km , b ) 3 km , c ) 4 km , d ) 5 km , e ) 6 km
Rationale: "distance = 10 * 24 / 60 = 4 km answer is c"
Answer: c
Python program:
a = 10 * 1000
b = a / const_60
c = 24 * b
d = c / 1000
Problem: at what price must an article costing rs . 50 be marked in order that after deducting 10 % from the list price . it may be sold at a profit of 25 % on the cost price ?
Options: a ) 69.44 , b ) 62.0 , c ) 62.6 , d ) 62.1 , e ) 62.2
Rationale: "cp = 50 sp = 50 * ( 125 / 100 ) = 62.50 mp * ( 90 / 100 ) = 62.50 mp = 69.44 answer : a"
Answer: a
Python program:
a = 50 * 25
b = a / 100
c = 50 + b 
d = c * 100
e = 100 - 10
f = d / e
Problem: every letter in the alphabet has a number value that is equal to its place in the alphabet . thus , the letter a has a value of 1 , the letter b has a value of 2 , the letter c has a value of 3 , etc . . . the number value of a word is obtained by adding up the value of the letters in the word and then multiplying that sum by the length of the word . what is the number value of the word ` ` cat ' ' ?
Options: a ) 45 , b ) 54 , c ) 63 , d ) 72 , e ) 81
Rationale: "` ` cat ' ' = ( 3 + 1 + 20 ) * 3 = 72 . the answer is d ."
Answer: d
Python program:
a = 2 * 10
b = a - 2
c = b + 1 
d = 2 * 10
e = c + d 
f = e * 3
Problem: a man two flats for $ 512456 each . on one he gains 20 % while on the other he loses 20 % . how much does he gain or lose in the whole transaction ?
Options: a ) 10 % , b ) 5 % , c ) 12 % , d ) 6 % , e ) 4 %
Rationale: in such a case there is always a loss loss % = ( 20 / 10 ) ^ 2 = 4 % answer is e
Answer: e
Python program:
a = 100 + 20 
b = 100 / a
c = b * 512456
d = 100 - 20
e = 100 / d
f = e * 512456
g = c + f 
h = 512456 + 512456 
i = g - h
j = 100 + 20 
k = 100 / j
l = k * 512456
m = 100 - 20
n = 100 / m
o = n * 512456
p = l + o 
q = i / p
r = q * 100
Problem: a train travels 225 km in 3.5 hours and 370 km in 5 hours . find the average speed of train .
Options: a ) 80 kmph , b ) 60 kmph , c ) 70 kmph , d ) 90 kmph , e ) none of these
Rationale: "as we know that speed = distance / time for average speed = total distance / total time taken thus , total distance = 225 + 370 = 595 km thus , total speed = 8.5 hrs or , average speed = 595 / 8.5 or , 70 kmph . answer : c"
Answer: c
Python program:
a = 225 + 370 
b = 3 + 5 
c = a / b
Problem: the cash difference between the selling prices of an article at a profit of 4 % and 8 % is rs 3 . the ratio of two selling prices is
Options: a ) 51 : 52 , b ) 52 : 54 , c ) 53 : 54 , d ) 54 : 55 , e ) none of these
Rationale: "explanation : let the cost price of article is rs . x required ratio = ( 104 % of x ) / ( 108 % of x ) = 104 / 108 = 52 / 54 = 52 : 54 . answer : b"
Answer: b
Python program:
a = 100 + 4 
b = 100 + 8 
c = a / b
Problem: if | 4 x + 6 | = 36 , then find the sum of the values of x ?
Options: a ) - 3 , b ) 4 , c ) 3 , d ) - 5 , e ) 6
Rationale: "| 4 x + 6 | = 36 4 x + 6 = 36 or 4 x + 6 = - 36 4 x = 30 or 4 x = - 42 x = 7.5 or x = - 10.5 sum = 7.5 - 10.5 = - 3 answer is a"
Answer: a
Python program:
a = 36 - 6
b = a / 4
Problem: the speed of a boat in still water in 42 km / hr and the rate of current is 8 km / hr . the distance travelled downstream in 44 minutes is :
Options: a ) 86.6 km , b ) 46.6 km , c ) 36.6 km , d ) 35.6 km , e ) 26.6 km
Rationale: "speed downstream = ( 42 + 8 ) = 50 kmph time = 44 minutes = 44 / 60 hour = 11 / 15 hour distance travelled = time × speed = 11 / 15 × 50 = 36.6 km answer : c"
Answer: c
Python program:
a = 42 + 8 
b = 44 / const_60
c = a * b
Problem: an article is sold at a certain price . by selling it at 2 / 3 of that price one loses 10 % . find the gain percent at original price .
Options: a ) 15 % , b ) 35 % , c ) 25 % , d ) 50 % , e ) 30 %
Rationale: "let the original s . p be rs . x . then new s . p = rs . 2 / 3 x , loss = 10 % so c . p = rs . [ 100 / 90 * 2 / 3 x ] = 20 x / 27 . now c . p = rs . 20 x / 27 , s . p = rs . x , gain = rs . [ x - 20 x / 27 ] = rs . 7 x / 27 . gain % = [ 7 x / 27 * 27 / 20 x * 100 ] % = 35 % answer : b"
Answer: b
Python program:
a = 100 - 10
b = 2 / 3
c = a / b
d = c - 100
Problem: 120 + 520 ÷ 5.00 = ?
Options: a ) 100 , b ) 150 , c ) 120 , d ) 520 , e ) none
Rationale: answer given expression = 120 + 520 ÷ 5.00 = 120 + 104 = 224 correct option : e
Answer: e
Python program:
a = 520 / 5
b = 120 * a
Problem: if 50 apprentices can finish a job in 4 hours , and 30 journeymen can finish the same job in 6 hours , how much of the job should be completed by 10 apprentices and 15 journeymen in one hour ?
Options: a ) 1 / 9 , b ) 29 / 180 , c ) 26 / 143 , d ) 2 / 15 , e ) 39 / 121
Rationale: 50 apprentices can finish the job in 4 hours , thus : 10 apprentices can finish the job in 4 * 5 = 20 hours ; in 1 hour 10 apprentices can finish 1 / 20 of the job . 30 journeymen can finish the same job in 4,5 hours , thus : 15 journeymen can finish the job in 6 * 2 = 12 hours ; in 1 hour 15 journeymen can finish 1 / 12 of the job . therefore , in 1 hour 10 apprentices and 15 journeymen can finish 1 / 20 + 1 / 12 = 2 / 15 of the job . answer : d .
Answer: d
Python program:
a = 50 * 4
b = a / 10
c = 1 / b
d = 30 * 6
e = d / 15
f = 1 / e
g = c + f
Problem: a shopkeeper sells 600 metres of cloth for rs . 36000 at a loss of rs . 10 per metre . find his cost price for one metre of cloth ?
Options: a ) s . 59 , b ) s . 58 , c ) s . 09 , d ) s . 70 , e ) s . 13
Rationale: "sp per metre = 36000 / 600 = rs . 60 loss per metre = rs . 10 cp per metre = 60 + 10 = rs . 70 answer : d"
Answer: d
Python program:
a = 36000 / 600
b = a + 10
Problem: how long will take a leak at the bottom of a tank to empty it if it will take 8 hours to fill it without the leak , but due to the leak it will take 9 hours to be filled ?
Options: a ) 50 hours , b ) 33 hours , c ) 72 hours , d ) 82 hours , e ) 92 hours
Rationale: part filled without leak in 1 hour = 1 / 8 part filled with leak in 1 hour = 1 / 9 work done by leak in 1 hour = 1 / 8 â ˆ ’ 1 / 9 = 72 hours answer : c
Answer: c
Python program:
a = 8 * 9
Problem: on a sum of money , the simple interest for 2 years is rs . 325 , while the compound interest is rs . 340 , the rate of interest being the same in both the cases . the rate of interest is
Options: a ) 15 % , b ) 14.25 % , c ) 9.23 % , d ) 10.5 % , e ) 11.5 %
Rationale: "explanation : the difference between compound interest and simple interest on rs . p for 2 years at r % per annum = ( r ã — si ) / ( 2 ã — 100 ) difference between the compound interest and simple interest = 340 - 325 = 15 ( r ã — si ) / ( 2 ã — 100 ) = 15 ( r ã — 325 ) / ( 2 ã — 100 ) = 15 r = 9.23 % answer : option c"
Answer: c
Python program:
a = 325 / 2
b = 340 - a
c = 325 / 2
d = b - c
e = 100 * d
f = 325 / 2
g = e / f
Problem: a reduction of 20 % in the price of salt enables a lady to obtain 10 kgs more for rs . 400 , find the original price per kg ?
Options: a ) s . 7 , b ) s . 9 , c ) s . 10 , d ) s . 11 , e ) s . 19
Rationale: 100 * ( 20 / 100 ) = 20 - - - 10 ? - - - 1 = > rs . 2 400 - - - 80 ? - - - 2 = > rs . 10 answer : c
Answer: c
Python program:
a = 20 / 100
b = a * 400
c = b / 10
d = 20 / 100
e = d * 400
f = c / e
g = f * 100
Problem: the product of a and b is equal to 1 more than twice the sum of a and b . if b = 7 , what is the value of b - a ?
Options: a ) 2 , b ) 5 , c ) 4 , d ) 24 , e ) 35
Rationale: "ab = 1 + 2 ( a + b ) 7 a = 1 + 2 a + 14 5 a = 15 a = 3 b - a = 7 - 3 = 4 c is the answer"
Answer: c
Python program:
a = 7 * 2
b = a + 1 
c = 7 - 2
d = b / c
e = 7 - d
Problem: he greatest possible length which can be used to measure exactly the lengths 7 m , 3 m 85 cm , 12 m 95 cm is :
Options: a ) 15 cm , b ) 25 cm , c ) 35 cm , d ) 42 cm , e ) 45 cm
Rationale: required length = h . c . f . of 700 cm , 385 cm and 1295 cm = 35 cm . answer : option c
Answer: c
Python program:
a = 4 + 1 
b = a * 7
Problem: 12 is 6 % of a , and 6 is 12 % of b . c equals b / a . what is the value of c ?
Options: a ) 1 / 2 , b ) 1 / 3 , c ) 1 / 4 , d ) 1 / 6 , e ) 1 / 12
Rationale: 6 a / 100 = 12 a = 200 12 b / 100 = 6 b = 50 c = b / a = 50 / 200 = 1 / 4 the answer is c .
Answer: c
Python program:
a = 6 / 12
b = a * 100
c = 12 / 6
d = c * 100
e = b / d
Problem: ( 17 ) 4.5 x ( 17 ) ? = 178
Options: a ) 3.5 , b ) 2.75 , c ) 4.25 , d ) 4.5 , e ) none of these
Rationale: "solution let ( 17 ) 4.5 * ( 17 ) x = 178 . then , ( 17 ) 4.5 + x = ( 17 ) 8 . ∴ 4.5 + x = 8 ⇔ x = ( 8 - 4.5 ) ⇔ x = 3.5 answer a"
Answer: a
Python program:
a = 17 * 17
Problem: working alone , printers x , y , and z can do a certain printing job , consisting of a large number of pages , in 15 , 10 , and 20 hours , respectively . what is the ratio of the time it takes printer x to do the job , working alone at its rate , to the time it takes printers y and z to do the job , working together at their individual rates ?
Options: a ) 5 / 2 , b ) 8 / 3 , c ) 9 / 4 , d ) 10 / 3 , e ) 12 / 5
Rationale: "the time it takes printer x is 15 hours . the combined rate of y and z is 1 / 10 + 1 / 20 = 3 / 20 the time it takes y and z is 20 / 3 the ratio of times is 15 / ( 20 / 3 ) = 3 * 15 / 20 = 9 / 4 the answer is c ."
Answer: c
Python program:
a = 1 / 10
b = 1 / 20
c = a + b 
d = 1 / c
e = 15 / d
Problem: excluding stoppages , the speed of a train is 35 kmph and including stoppages it is 22 kmph . of how many minutes does the train stop per hour ?
Options: a ) 82 , b ) 17 , c ) 22 , d ) 82 , e ) 18
Rationale: "explanation : t = 13 / 35 * 60 = 22 answer : option c"
Answer: c
Python program:
a = 22 / 35
b = const_60 * a
c = const_60 - b
Problem: jane and thomas are among the 7 people from which a committee of 3 people is to be selected . how many different possible committees of 3 people can be selected from these 7 people if at least one of either jane or thomas is to be selected ?
Options: a ) 20 , b ) 25 , c ) 30 , d ) 35 , e ) 40
Rationale: "the total number of ways to choose 3 people from 7 is 7 c 3 = 35 . the number of committees without jane or thomas is 5 c 3 = 10 . there are 35 - 10 = 25 possible committees which include jane and / or thomas . the answer is b ."
Answer: b
Python program:
a = math.comb(7, 1)
b = math.comb(7, 1)
c = a + b 
d = math.comb(4, 1)
e = c + d