euclaise/mathqa_programs huggingface dataset:
Problem: two trains of length 200 m and 280 m are running towards each other on parallel lines at 42 kmph and 30 kmph respectively . in what time will they be clear of each other from the moment they meet ?
Options: a ) 28 , b ) 266 , c ) 990 , d ) 20 , e ) 24
Rationale: "relative speed = ( 42 + 30 ) * 5 / 18 = 4 * 5 = 20 mps . distance covered in passing each other = 200 + 280 = 480 m . the time required = d / s = 480 / 20 = 24 sec . answer : e"
Answer: e
Python program:
a = 200 + 280 
b = 42 + 30 
c = b * const_0_2778
d = a / c
Problem: a woodworker normally makes a certain number of parts in 24 days . but he was able to increase his productivity by 5 parts per day , and so he not only finished the job in only 22 days but also he made 80 extra parts . how many parts does the woodworker normally makes per day and how many pieces does he make in 24 days ?
Options: a ) 360 , b ) 350 , c ) 340 , d ) 370 , e ) 380
Rationale: let x be the number of parts the woodworker normally makes daily . in 24 days he makes 24 ⋅ x pieces . his new daily production rate is x + 5 pieces and in 22 days he made 22 ⋅ ( x + 5 ) parts . this is 80 more than 24 ⋅ x . therefore the equation is : 24 ⋅ x + 80 = 22 ( x + 5 ) 30 = 2 x x = 15 normally he makes 15 parts a day and in 24 days he makes 15 ⋅ 24 = 360 parts . so answer is a .
Answer: a
Python program:
a = 22 * 5
b = a - 80
c = 24 - 22
d = b / c
e = d * 24
Problem: julian owes his classmate jenny 20 dollars . if he borrows 8 dollars how much will he owe her ?
Options: a ) 28 , b ) 12 , c ) - 28 , d ) 12 , e ) 0
Rationale: add how he has already borrowed and how much he is going to borrow - 20 + - 8 correct answer c ) - 28
Answer: c
Python program:
a = 20 + 8
Problem: country c imposes a two - tiered tax on imported cars : the first tier imposes a tax of 20 % of the car ' s price up to a certain price level . if the car ' s price is higher than the first tier ' s level , the tax on the portion of the price that exceeds this value is 10 % . if ron imported a $ 20,000 imported car and ended up paying $ 2500 in taxes , what is the first tier ' s price level ?
Options: a ) $ 6000 , b ) $ 5500 , c ) $ 5000 , d ) $ 5700 , e ) $ 5800
Rationale: "let t be the tier price , p be total price = 20000 per the given conditions : 0.20 t + 0.10 ( p - t ) = 2500 0.20 t + 0.10 * 20000 - 0.10 t = 2500 0.10 t + 2000 = 2500 0.10 t = 2500 - 2000 = 500 t = 500 / 0.10 = 5000 answer c"
Answer: c
Python program:
a = 2 * 3
b = 3 * a
c = b * 1000
d = 10 / 100
e = c * d
f = 2500 - e
g = 20 / 100
h = 10 / 100
i = g - h
j = f / i
Problem: the sum of ages of 5 children born at the intervals of 8 years each is 90 years . what is the age of the youngest child ?
Options: a ) 2 , b ) 9 , c ) 6 , d ) 4 , e ) 0
Rationale: "let the ages of children be x , ( x + 8 ) , ( x + 16 ) , ( x + 24 ) and ( x + 32 ) years . then , x + ( x + 8 ) + ( x + 16 ) + ( x + 24 ) + ( x + 32 ) = 90 5 x = 10 x = 2 . age of the youngest child = x = 2 years . answer : a"
Answer: a
Python program:
a = 90 / 5
b = a - 8
c = b - 8
Problem: if a and b are the roots of the equation x 2 - 9 x + 20 = 0 , find the value of a 2 + b 2 + ab ?
Options: a ) 57 , b ) 59 , c ) 61 , d ) 63 , e ) 65
Rationale: "a 2 + b 2 + ab = a 2 + b 2 + 2 ab - ab i . e . , ( a + b ) 2 - ab from x 2 - 9 x + 20 = 0 , we have a + b = 9 and ab = 20 . hence the value of required expression ( 9 ) 2 - 20 = 61 . option c"
Answer: c
Python program:
a = 9 ** 2
b = 4 * 9
c = a - b
d = math.sqrt(c)
e = 9 - d
f = e / 2
g = f ** 2
h = 9 ** 2
i = 4 * 9
j = h - i
k = math.sqrt(j)
l = 9 + k 
m = l / 2
n = m ** 2
o = g + n
Problem: for all positive integers m and v , the expression m θ v represents the remainder when m is divided by v . what is the value of ( ( 96 θ 33 ) θ 17 ) - ( 94 θ ( 33 θ 17 ) ) ?
Options: a ) 8 , b ) 9 , c ) 10 , d ) 11 , e ) 12
Rationale: "( ( 96 θ 33 ) θ 17 ) the remainder of 96 divided by 33 is 30 ; the remainder of 30 divided by 17 is 13 ; ( 97 θ ( 33 θ 17 ) ) the remainder of 33 divided by 17 is 16 ; the remainder of 94 divided by 16 is 1 . 13 - 2 = 11 . answer : d ."
Answer: d
Python program:
a = reminder - (
Problem: a man bought 40 shares of rs . 60 at 6 discount , the rate of dividend being 12 1 / 2 % the rate of interest obtained is
Options: a ) 13.89 % , b ) 15.5 % , c ) 14 % , d ) 14.25 % , e ) 14.95 %
Rationale: "explanation : face value of a share = rs . 60 he bought each share at rs . 60 - rs . 6 = rs . 54 number of shares = 40 dividend = 12 1 / 2 % = 25 / 2 % dividend per share = 60 × 25 / 2 × 100 = rs . 7.5 total dividend = ( 40 × 7.5 ) ie , he got a dividend of ( 40 × 7.5 ) for an investment of rs . ( 40 × 54 ) interest obtained = 40 × 7.5 × 100 / 40 × 54 = 13.89 % answer : option a"
Answer: a
Python program:
a = 40 * 60
b = 12 / 100
c = a * b
d = 60 - 6
e = 40 * d
f = c / e
Problem: the unit digit in the product ( 224 * 607 * 214 * 863 ) is :
Options: a ) 2 , b ) 5 , c ) 6 , d ) 8 , e ) 10
Rationale: "explanation : unit digit in the given product = unit digit in ( 4 * 7 * 4 * 3 ) = 6 answer : c"
Answer: c
Python program:
a = 224 * 607
b = a * 214
c = b * 863
d = 224 * 607
e = d * 214
f = e * 863
g = 4 + 4 
h = f - g
i = c - h
Problem: a number is increased by 70 % and then decreased by 70 % . find the net increase or decrease per cent .
Options: a ) 49 % , b ) 18 % , c ) 17 % , d ) 13 % , e ) 16 %
Rationale: let the number be 100 . increase in the number = 70 % = 70 % of 100 = ( 70 / 100 ã — 100 ) = 70 therefore , increased number = 100 + 70 = 170 this number is decreased by 70 % therefore , decrease in number = 70 % of 170 = ( 70 / 100 ã — 170 ) = 11900 / 100 = 119 therefore , new number = 170 - 119 = 51 thus , net decreases = 100 - 51 = 49 hence , net percentage decrease = ( 49 / 100 ã — 100 ) % = ( 4900 / 100 ) % = 49 % answer : a
Answer: a
Python program:
a = 70 + 100 
b = 100 - 70
c = a * b
d = c / 100
Problem: a train which has 400 m long , is running 50 kmph . in what time will it cross a person moving at 14 kmph in same direction ?
Options: a ) 40 sec , b ) 35 sec , c ) 33 sec , d ) 42 sec , e ) 41 sec
Rationale: "time taken to cross a moving person = length of train / relative speed time taken = 400 / ( ( 50 - 14 ) ( 5 / 18 ) = 400 / 36 * ( 5 / 18 ) = 400 / 10 = 40 sec answer : a"
Answer: a
Python program:
a = 50 / const_3_6
b = 14 / 2
c = b / const_3_6
d = a - c
e = 400 / d
Problem: how many even 4 - digit integers greater than 8000 are there such that all their digits are different ?
Options: a ) 240 , b ) 369 , c ) 469 , d ) 520 , e ) 599
Rationale: case 1 : numbers starting with 8 followed by even number the hundreds digit can take 4 numbers ( 0,2 , 4,6 ) so 4 ways the unit digit can take remaining 3 even numbers left after using 2 , to be even so 3 ways . the tens digit can take remaining 7 numbers left after using 3 numbers so 7 ways total = 4 * 3 * 7 = 84 case 2 : numbers starting with 8 followed by odd number the hundreds digit can take 5 numbers ( 1 , 3,5 , 7,9 ) so 5 ways the unit digit can take remaining 4 even numbers ( 0,2 , 4,6 ) to be even so 4 ways . the tens digit can take remaining 7 numbers left after using 3 numbers so 7 ways total = 5 * 4 * 7 = 140 case 3 : numbers starting with 9 followed by even number the hundreds digit can take 5 numbers ( 0 , 2,4 , 6,8 ) so 5 ways the unit digit can take remaining 4 even numbers left after using 1 , to be even so 3 ways . the tens digit can take remaining 7 numbers left after using 3 numbers so 7 ways total = 5 * 3 * 7 = 105 case 4 : numbers starting with 9 followed by odd number the hundreds digit can take 4 numbers ( 1,3 , 5,7 ) so 4 ways the unit digit can take 5 numbers ( 0 , 2,4 , 6,8 ) to be even so 5 ways . the tens digit can take remaining 7 numbers left after using 3 numbers so 7 ways total = 4 * 5 * 7 = 140 hence 84 + 140 + 105 + 140 = 469 , correct answer is c
Answer: c
Python program:
a = 4 * 2
b = math.factorial(a)
c = 4 * 2
d = c - 2
e = math.factorial(d)
f = b / e
g = f * 4
h = 4 + 1 
i = 4 * 2
j = math.factorial(i)
k = 4 * 2
l = k - 2
m = math.factorial(l)
n = j / m
o = h * n
p = g + o 
q = 4 + 1 
r = 3 + 4 
s = q * r
t = p - s
Problem: a certain farmer pays $ 60 per acre per month to rent farmland . how much does the farmer pay per month to rent a rectangular plot of farmland that is 360 feet by 1210 feet ? ( 43,560 square feet = 1 acre )
Options: a ) $ 5,330 , b ) $ 3,360 , c ) $ 1,350 , d ) $ 600 , e ) $ 150
Rationale: basically the question an error . 1 acre = 43,560 square feet and if it is then the answer is 600 ( d )
Answer: d
Python program:
a = 360 * 1210
b = 360 * 1210
c = b / 10
d = a / c
e = 60 * d
Problem: today joelle opened an interest - bearing savings account and deposited $ 6,000 . if the annual interest rate is 5 percent compounded interest , and she neither deposits nor withdraws money for exactly 2 years , how much money will she have in the account ?
Options: a ) $ 6715 , b ) $ 5615 , c ) $ 6415 , d ) $ 6615 , e ) $ 6315
Rationale: interest for 1 st year = 6000 * 5 / 100 = 300 interest for 2 nd year = 6300 * 5 / 100 = 315 total = 6000 + 300 + 315 = 6615 answer : d
Answer: d
Python program:
a = 3 * 2
b = a * 100
c = b * 10
d = 3 * 2
e = d * 100
f = e * 10
g = f * 5
h = g / 100
i = c + h 
j = 3 * 2
k = j * 100
l = k * 10
m = 3 * 2
n = m * 100
o = n * 10
p = o * 5
q = p / 100
r = l + q 
s = r * 5
t = s / 100
u = i + t
Problem: what is x if x + 2 y = 100 and y = 25 ?
Options: a ) 25 , b ) 50 , c ) 75 , d ) 100 , e ) 4
Rationale: "substitute y by 25 in x + 2 y = 100 x + 2 ( 25 ) = 100 x + 50 = 100 if we substitute x by 50 in x + 50 = 100 , we have 50 + 50 = 100 . hence x = 50 correct answer b"
Answer: b
Python program:
a = 2 * 25
b = 100 - a
Problem: a can do a piece of work in 15 days . a does the work for 5 days only and leaves the job . b does the remaining work in 3 days . in how many days b alone can do the work ?
Options: a ) 5 days , b ) 7 days , c ) 12 days , d ) 4.5 days , e ) 10 days
Rationale: "explanation : a ’ s 5 day work = 5 * 1 / 15 = 1 / 3 remaining work = 1 - 1 / 3 = 2 / 3 b completes 2 / 3 work in 6 days b alone can do in x days 2 / 3 * x = 3 x = 4.5 days answer : option d"
Answer: d
Python program:
a = 1/(3)
b = 1/(15)
c = 5 * b
d = 1 - c
e = a * d
f = 1/(e)
Problem: a tiger is 50 of its own leaps behind a deer . the tiger takes 5 leaps per minutes to deer ’ s 4 . if the tiger and the deer cover 8 m and 5 m per leap respectively , what distance will the tiger have to run before it catches the deer ?
Options: a ) 600 m , b ) 700 m , c ) 800 m , d ) 1000 m , e ) 1200 m
Rationale: tiger takes 5 leaps / m and deer takes 4 leaps / m thus , tiger runs at the speed of 5 x 8 = 40 m / min and deer runs at the speed of 4 x 5 = 20 m / min tiger is 50 leaps behind , which is 50 x 8 = 400 m relative speed of tiger and deer is = 20 m / min thus , 400 / 20 = 20 m thus , the tiger will catch deer = 20 x 40 = 800 m answer : c
Answer: c
Python program:
a = 50 * 8
b = 8 * 5
c = 4 * 5
d = b - c
e = a / d
f = 8 * 5
g = e * f
Problem: a man can row upstream at 25 kmph and downstream at 39 kmph , and then find the speed of the man in still water ?
Options: a ) 22 , b ) 37 , c ) 32 , d ) 27 , e ) 18
Rationale: "us = 25 ds = 39 m = ( 39 + 25 ) / 2 = 32 answer : c"
Answer: c
Python program:
a = 25 + 39 
b = a / 2
Problem: if the sum of two numbers is 60 and the h . c . f and l . c . m of these numbers are 3 and 120 respectively , then the sum of the reciprocal of the numbers is equal to :
Options: a ) 2 / 9 , b ) 4 / 5 , c ) 1 / 6 , d ) 6 / 6 , e ) 3 / 9
Rationale: "let the numbers be a and b . then , a + b = 60 and ab = 3 * 120 = 360 . required sum = 1 / a + 1 / b = ( a + b ) / ab = 60 / 360 = 1 / 6 . answer : c"
Answer: c
Python program:
a = 3 + 120 
b = 3 * 120
c = a / b
Problem: last year department store x had a sales total for december that was 2 times the average ( arithmetic mean ) of the monthly sales totals for january through november . the sales total for december was what fraction of the sales total for the year ?
Options: a ) 1 / 4 , b ) 4 / 15 , c ) 2 / 13 , d ) 4 / 11 , e ) 4 / 5
Rationale: "let avg for 11 mos . = 10 therefore , dec = 20 year total = 11 * 10 + 20 = 130 answer = 20 / 130 = 2 / 13 = c"
Answer: c
Python program:
a = 12 - 1
b = a + 2 
c = 2 / b
Problem: a worker earns $ 24 on the first day and spends $ 18 on the second day . the worker earns $ 24 on the third day and spends $ 18 on the fourth day . if this pattern continues , on which day will the worker first reach a net total of $ 72 ?
Options: a ) 9 , b ) 12 , c ) 17 , d ) 21 , e ) 24
Rationale: "every two days , the net total is $ 6 . after 16 days , the worker will have $ 48 . on day 17 , the worker will receive $ 24 for a net total of $ 72 . the answer is c ."
Answer: c
Python program:
a = 24 - 18
b = 24 / a
c = b * 2
d = c + 1
Problem: in a class of students , 2 / 3 of the number of girls is equal to 1 / 5 of the total number of students . what is the ratio of boys to girls in the class ?
Options: a ) 1 / 3 , b ) 2 / 3 , c ) 4 / 3 , d ) 5 / 3 , e ) 7 / 3
Rationale: ( 2 / 3 ) g = ( 1 / 5 ) ( b + g ) 10 g = 3 b + 3 g 7 g = 3 b b / g = 7 / 3 . the answer is e .
Answer: e
Python program:
a = 2 / 3
b = 1 / 5
c = a - b
d = 1 / 5
e = c / d
Problem: jaya two digits age when appended with the two digits age of amitabh the 4 digits number formed is a perfect square . what is the the sum of the 4 digits no . ?
Options: a ) 6 , b ) 7 , c ) 8 , d ) 9 , e ) 10
Rationale: min no could be = 7 ( 1024 ) let jaya has two digits number = 10 and amitabh has two digits number = 24 after appending = 1024 which is perfect square of 32 and sum of four digits number 1024 = 7 answer : b
Answer: b
Python program:
a = 1 + 2 
b = a + 4
Problem: pure milk costs 3.60 per litre . a milkman adds water to 25 litres of pure milk and sells the mixture at 3 per litre . how many litres of water does he add ?
Options: a ) 2 litres , b ) 5 litres , c ) 7 litres , d ) 11 litres , e ) none of these
Rationale: in mixture , quantity of pure milk / quantity of water = 3 − 0 / 3.6 − 3 = 3 / 0.6 = 5 / 1 since in every 5 litres of milk , he adds 1 litre of water . ∴ in every 25 litres of milk , he adds 5 litres of water . answer b
Answer: b
Python program:
a = 25 * 3
b = 25 * 3
c = a - b
d = c / 3
Problem: machine a can process 6000 envelopes in 3 hours . machines b and c working together but independently can process the same number of envelopes in 2.5 hours . if machines a and c working together but independently process 3000 envelopes in 1 hour , then how many hours would it take machine b to process 12000 envelopes .
Options: a ) 2 , b ) 3 , c ) 4 , d ) 6 , e ) 60 / 7
Rationale: for 1 hour - machine a rate - 2000 envelopes machine b + c rate - 2400 envelopes since a + c = 3000 envelopes a ' s rate is 2000 envelopes as above , c has a rate of 1000 envelopes per hour . which makes machine b ' s rate as 1400 envelopes per hour . thus , it will take 8 hours to manufacture 12000 envelopes . answer : - e
Answer: e
Python program:
a = 6000 / 2
b = 3000 / 1
c = 6000 / 3
d = b - c
e = a - d
f = 12000 / e
Problem: what is 2 4 / 3 - 3 1 / 4 divided by 2 / 3 - 1 / 6 ?
Options: a ) 5 / 4 , b ) 2 / 3 , c ) 1 / 6 , d ) 5 / 2 , e ) 1 / 8
Rationale: "2 4 / 3 - 3 1 / 4 = 10 / 3 - 13 / 4 = ( 40 - 39 ) / 12 = 1 / 12 2 / 3 - 1 / 6 = ( 4 - 1 ) / 6 = 3 / 6 = 1 / 2 so 1 / 12 / 1 / 2 = 2 / 12 = 1 / 6 answer - c"
Answer: c
Python program:
a = 10 * 2
b = a + 2 
c = b / 3
d = 10 + 3 
e = d / 4
f = c - e
Problem: the avg weight of a , b & c is 84 kg . if d joins the group , the avg weight of the group becomes 80 kg . if another man e who weights is 6 kg more than d replaces a , then the avgof b , c , d & e becomes 79 kg . what is the weight of a ?
Options: a ) 45 , b ) 65 , c ) 75 , d ) 78 , e ) 90
Rationale: "a + b + c = 3 * 84 = 252 a + b + c + d = 4 * 80 = 320 - - - - ( i ) so , d = 68 & e = 68 + 6 = 74 b + c + d + e = 79 * 4 = 316 - - - ( ii ) from eq . ( i ) & ( ii ) a - e = 320 – 316 = 4 a = e + 4 = 74 + 4 = 78 d"
Answer: d
Python program:
a = 80 * 4
b = 79 * 4
c = 80 * 4
d = 84 * 6
e = c - d
f = 3 + 0 
g = b - f
h = a - g
Problem: 32 is divided into two parts in such a way that seventh part of first and ninth part of second are equal . find the smallest part ?
Options: a ) 66 , b ) 26 , c ) 42 , d ) 27 , e ) 14
Rationale: "x / 7 = y / 9 = > x : y = 7 : 9 7 / 16 * 32 = 14 answer : e"
Answer: e
Python program:
a = 4 + 3 
b = 4 + 3 
c = b + 2 
d = a / c
e = d * 32
f = e / 2
Problem: pipe a can fill a tank in 6 hours . due to a leak at the bottom , it takes 9 hours for the pipe a to fill the tank . in what time can the leak alone empty the full tank ?
Options: a ) 33 , b ) 77 , c ) 18 , d ) 99 , e ) 66
Rationale: "let the leak can empty the full tank in x hours 1 / 6 - 1 / x = 1 / 9 = > 1 / x = 1 / 6 - 1 / 9 = ( 3 - 2 ) / 18 = 1 / 18 = > x = 18 . answer : c"
Answer: c
Python program:
a = 9 * 6
b = 9 - 6
c = a / b
Problem: if x / y = 3 and ( 2 a - x ) / ( 5 b - y ) = 3 , then the value of a / b is ?
Options: a ) 15 / 2 , b ) - 2 , c ) 1 , d ) 2 , e ) 3
Rationale: "x = 3 y 2 a - 3 y = 3 ( 5 b - y ) 2 a - 3 y = 15 b - 3 y 2 a = 15 b a / b = 15 / 2 answer : a"
Answer: a
Python program:
a = 3 * 3
b = a / 2
Problem: what could be the range of a set consisting of odd multiples of 7 ?
Options: a ) 21 , b ) 24 , c ) 35 , d ) 62 , e ) 70
Rationale: "a set of odd multiples of 7 would be something like 7 , 21 , 35 , 49 . . . . the range would always be an even number multiple of 7 . answer : e"
Answer: e
Python program:
a = 7 * 4
Problem: a man invests some money partly in 4 % stock at 48 and partly in 10 % stock at 110 . to obtain equal dividends from both , he must invest the money in the ratio :
Options: a ) 3 : 4 , b ) 3 : 5 , c ) 4 : 5 , d ) 6 : 5 , e ) none
Rationale: "solution for an income of rs . 1 in 9 % stock at 96 , investment = rs . ( 48 / 4 ) = rs . 12 . for an income of rs . 1 in 12 % stock at 120 , investment = rs . ( 110 / 10 ) = rs . 10 . ∴ ratio of investments = 12 : 10 = 6 : 5 answer d"
Answer: d
Python program:
a = 48 * 2
b = 110 * 3
c = a / b
Problem: what least number must be added to 1096 , so that the sum is completely divisible by 23 ?
Options: a ) 2 , b ) 1 , c ) 3 , d ) 5 , e ) 8
Rationale: "1096 / 23 = 47.6 - - that is 23 * 47 = 1081 now , 1096 - 1081 = 15 to get completely divided by 23 add 8 to 1096 ans - e"
Answer: e
Python program:
a = 4 * 10
b = a + 2 
c = b * 23
d = c - 1096
Problem: the ratio of the amount of the oil bill for the month of february to the amount of the oil bill for the month of january was 5 : 4 . if the oil bill for february had been $ 45 more , the corresponding ratio would have been 3 : 2 . how much was the oil bill for january ?
Options: a ) $ 60 , b ) $ 90 , c ) $ 120 , d ) $ 150 , e ) $ 180
Rationale: 5 : 4 = 15 : 12 and 3 : 2 = 18 : 12 . an increase in $ 45 increases the ratio by 3 : 12 . therefore an increase in $ 15 increases the ratio by 1 : 12 . therefore , january ' s bill was 12 ( $ 15 ) = $ 180 . the answer is e .
Answer: e
Python program:
a = 3 / 2
b = 5 / 4
c = a - b
d = 45 / c
Problem: trains a and b start simultaneously from stations 450 miles apart , and travel the same route toward each other on adjacent parallel tracks . if train a and train b travel at a constant rate of 50 miles per hour and 50 miles per hour , respectively , how many miles will train a have traveled when the trains pass each other , to the nearest mile ?
Options: a ) 112 , b ) 133 , c ) 150 , d ) 167 , e ) 225
Rationale: "since we know the distance ( 450 ) and the combined rate ( 100 ) , we plug it into the formula : distance = rate * time 450 = 100 * time we can solve for the time they will meet cause we added the rate of train a and train b together . so the time will be 450 / 100 from dividing 100 on both sides to isolate time in the equation above . time will be 4.5 hours so now you can plug that in for train a ’ s distance . distance = rate * time distance = 50 * 4.5 distance = 225 according to answer choice e ."
Answer: e
Python program:
a = 50 + 50 
b = 450 / a
c = 50 * b
Problem: a theater box office sold an average ( arithmetic mean ) of 64 tickets per staff member to a particular movie . among the daytime staff , the average number sold per member was 80 , and among the evening staff , the average number sold was 60 . if there are no other employees , what was the ratio of the number of daytime staff members to the number of evening staff members ?
Options: a ) 1 : 2 , b ) 1 : 4 , c ) 3 : 7 , d ) 7 : 12 , e ) 4 : 5
Rationale: "deviation from the mean for the daytime staff = 80 - 64 = 16 . deviation from the mean for the evening staff = 64 - 60 = 4 . thus , the ratio of the number of daytime staff members to the number of evening staff members is 4 : 16 = 1 : 4 . the answer is b ."
Answer: b
Python program:
a = 64 - 60
b = 80 - 64
c = a / b
Problem: 12 welders work at a constant rate they complete an order in 3 days . if after the first day , 9 welders start to work on the other project , how many more days the remaining welders will need to complete the rest of the order ?
Options: a ) 5 , b ) 2 , c ) 8 , d ) 4 , e ) 6
Rationale: 1 . we need to find out the time taken by 3 workers after day 1 . 2 . total no . of wokers * total time taken = time taken by 1 worker 3 . time taken by 1 worker = 12 * 3 = 36 days 4 . but on day 1 twelve workers had already worked finishing 1 / 3 of the job . so 3 workers have to finish only 2 / 3 of the job . 5 . total time taken by 3 workers can be got from formula used at ( 2 ) . i . e . , 3 * total time taken = 36 . total time taken by 3 workers to finish the complete job is 36 / 3 = 12 days . 6 . time taken by 6 workers to finish 2 / 3 of the job is 2 / 3 * 12 = 8 days . the answer is choice c
Answer: c
Python program:
a = 12 * 3
b = 1 / a
c = b * 12
d = 1 - c
e = 12 - 9
f = d / e
g = 12 * 3
h = 1 / g
i = f / h
Problem: a rectangular cube has sides measuring 15 inches long by 12 inches wide by 2 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 ) 7 , b ) 5 , c ) 9 , d ) 6 , e ) 4
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 360 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 60 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 48 inches . add the totals together to get the rectangular cube surface area of 468 inches . since a square cube has 6 sides - divide the surface area by 6 . this calculates to 78 inches as the surface area of each side of the cube . the square root of 78 is 8.831 . rounding to the nearest whole number that makes each side of the cube measuring 9 inches . the correct answer is ( c ) .
Answer: c
Python program:
a = surface_rectangular_prism / (
b = 12 * 15
c = math.floor(a, b)
Problem: what is the units digit of the solution to 177 ^ 28 − 133 ^ 23 ?
Options: a ) 1 , b ) 3 , c ) 4 , d ) 6 , e ) 9
Rationale: "let ' s reduce the clutter and make it easy to solve so , 7 ^ 28 - 3 ^ 23 will have the same units digit as the big numbers above both 7 and 3 have a cyclicity of 4 , i . e . their powers repeat the units digit after every 4 th power so , 7 ^ 28 has the same units digit as 7 ^ 4 , which is 1 similarly , 3 ^ 23 has the same units digit as 3 ^ 3 , which is 7 now , we get xx . . . xx 1 - xx . . . . xx 7 = xx . . . xx 4 thus , the units digit of the solution to 177 ^ 28 - 133 ^ 23 is 4 correct option : c"
Answer: c
Python program:
a = 4 + 3 
b = a + 2
Problem: a watch was sold at a loss of 10 % . if it was sold for rs . 140 more , there would have been a gain of 3 % . what is the cost price ?
Options: a ) 1000 , b ) 2876 , c ) 1077 , d ) 2778 , e ) 2711
Rationale: "90 % 103 % - - - - - - - - 13 % - - - - 140 100 % - - - - ? = > rs . 1077 answer : c"
Answer: c
Python program:
a = 140 * 100
b = 100 + 3 
c = 100 - 10
d = b - c
e = a / d