id stringlengths 6 20 | source stringclasses 6
values | instruction stringlengths 11 5.18k | input stringlengths 0 306 | output stringlengths 1 308 | rationale stringlengths 0 2.9k | subject stringclasses 39
values | category stringclasses 7
values |
|---|---|---|---|---|---|---|---|
mmlu_aux_train_97072 | mmlu_aux_train | An electric car will have difficulty receiving energy at
A. a power outlet
B. an electric station
C. a charging station
D. a gasoline station | D. a gasoline station | electrical_engineering | engineering | ||
math_1490 | math_mc | Let $a$ and $b$ be real numbers such that
\[a^3 - 15a^2 + 20a - 50 = 0 \quad \text{and} \quad 8b^3 - 60b^2 - 290b + 2575 = 0.\]Compute $a + b.$ | C | math_Intermediate Algebra | mathematics | ||
aquarat_24388 | deepmind/aqua_rat | Let f(x,y) be defined as the remainder when (x–y)! is divided by x. If x=50, what is the maximum value of y for which f(x,y)=0? | A. 35 B. 36 C. 40 D. 42 E. 45 | C. 40 | The question is finding y such that (50-y)! is a multiple of 50. That means we need to have 2*5^2 in (50-y)!
10! is the smallest factorial number with 2*5^2 as a factor.
50-y = 10
y = 40
The answer is C. | college_mathematics | mathematics |
math_1663 | math_mc | Compute $35^{1723} - 16^{1723}$ modulo 6. | C | math_Number Theory | mathematics | ||
allenai/sciq_3922 | allenai/sciq | What state is achieved when the forward and reverse reactions proceed at equal rates?
A. neutrality
B. constant
C. equality
D. equilibrium | D. equilibrium | At equilibrium, the forward and reverse reactions proceed at equal rates. The driving force in each direction is equal, because the free energy of the reactants and products under equilibrium conditions is equivalent (ΔG = 0). We also know that, at equilibrium, Q = K eq . For a reaction that has reached equilibrium, th... | college_chemistry | chemistry | |
math_1761 | math_mc | For how many $n=2,3,4,\ldots,99,100$ is the base-$n$ number $235236_n$ a multiple of $7$? | B | math_Number Theory | mathematics | ||
mmlu_aux_train_74001 | mmlu_aux_train | As a father, I always do my best to help my son, Peter. I like to help him with his study. I encourage him to join team sports. I send him to the summer camp if he wants to go. I also teach him to be both a good student and a useful man. He used to make me feel proud. I often thought he was the best son and I was the b... | C. Because his son always made him feel proud. | high_school_computer_science | computer_science | ||
allenai/sciq_3380 | allenai/sciq | What is the simplest unit that has the fundamental chemical properties of an element?
A. nucleus
B. cell
C. neutron
D. atom | D. atom | Covalent Molecules and Compounds Just as an atom is the simplest unit that has the fundamental chemical properties of an element, a molecule is the simplest unit that has the fundamental chemical properties of a covalent compound. Some pure elements exist as covalent molecules. Hydrogen, nitrogen, oxygen, and the halog... | high_school_chemistry | chemistry | |
mmlu_aux_train_91504 | mmlu_aux_train | What will man be like in the future --- in 5,000 or even 50,000 years from now? We can only make guesses, of course, but we can be sure that he will be different from what he is today, because man is slowly changing all the time. Let us take an example. Man, even five hundred years ago, was shorter than he is today. No... | B. future man will look different from us | high_school_biology | biology | ||
allenai/sciq_11194 | allenai/sciq | Which type of natural disturbance in temperate grasslands, can be caused by a lightning strike?
A. mass extinction
B. fire
C. drought
D. avalanche | B. fire | Fires, which are a natural disturbance in temperate grasslands, can be ignited by lightning strikes. It also appears that the lightning-caused fire regime in North American grasslands was enhanced by intentional burning by humans. When fire is suppressed in temperate grasslands, the vegetation eventually converts to sc... | high_school_biology | biology | |
mmlu_aux_train_95073 | mmlu_aux_train | If an object undergoes chemical change then that object will have new chemical properties, such as
A. a drink with water in it
B. a toilet with bleach in it
C. a soda with lime in it
D. a sink with hair in it | C. a soda with lime in it | high_school_chemistry | chemistry | ||
mmlu_aux_train_1484 | mmlu_aux_train | Which model is used by scientists to determine the properties of elements?
A. a Punnett square
B. the Periodic Table
C. a pedigree chart
D. the rock cycle | B. the Periodic Table | high_school_chemistry | chemistry | ||
NLP4Education_320 | NLP4Education | Is “type-directed programming” a language mechanism that infers types from values?
A. Yes, it automatically deduces types from values at runtime
B. No, it is not a mechanism for inferring types from values
C. Yes, type-directed programming requires no explicit type annotations
D. No, type-directed programming refers to... | B. No, it is not a mechanism for inferring types from values | college_computer_science | computer_science | ||
mmlu_aux_train_92806 | mmlu_aux_train | Which renewable resource is used with photovoltaic cells to produce electricity?
A. hydrothermal energy
B. solar energy
C. geothermal energy
D. nuclear energy | B. solar energy | high_school_physics | physics | ||
math_667 | math_mc | Ed has five identical green marbles, and a large supply of identical red marbles. He arranges the green marbles and some of the red ones in a row and finds that the number of marbles whose right hand neighbor is the same color as themselves is equal to the number of marbles whose right hand neighbor is the other color.... | A | math_Counting & Probability | mathematics | ||
mmlu_aux_train_28205 | mmlu_aux_train | The first MP4 player was born years ago. Soon many music fans were wondering how fantastic it is! If you have been into technology enough, perhaps you may have a knowledge of the MP4. If not, you do need to know something before buying one, even if you are familiar with MP3. MP3 is the CD-like disc with greater capacit... | B. have a knowledge of MP4 | high_school_computer_science | computer_science | ||
allenai/sciq_7027 | allenai/sciq | In science, what is supported by much evidence, widely accepted by credible scientists, and unlikely to be disproved?
A. hypothesis
B. concept
C. law
D. theory | D. theory | The three theories below are essential in Earth science. Each accounts for an enormous amount of data. Each is supported by many lines of evidence. All can be used to make predications. As new evidence arises, any of these theories may need to be altered. But none of these three are likely ever to be disproved. They ar... | conceptual_physics | physics | |
math_130 | math_mc | Ramanujan and Hardy played a game where they both picked a complex number. If the product of their numbers was $32-8i$, and Hardy picked $5+3i$, what number did Ramanujan pick? | A | math_Algebra | mathematics | ||
math_1440 | math_mc | Let $f(x)$ be a third-degree polynomial with real coefficients satisfying \[|f(1)|=|f(2)|=|f(3)|=|f(5)|=|f(6)|=|f(7)|=12.\]Find $|f(0)|$. | C | math_Intermediate Algebra | mathematics | ||
math_133 | math_mc | On the Cartesian plane in which each unit is one foot, a dog is tied to a post on the point $(4,3)$ by a $10$ foot rope. What is the greatest distance the dog can be from the origin? | C | math_Algebra | mathematics | ||
allenai/sciq_5016 | allenai/sciq | Stress building up at the same rate over time at a fault causes what phenomenon?
A. volcanoes
B. erosion
C. earthquakes
D. storms | C. earthquakes | When an earthquake will occur is much more difficult to predict. Stress on a fault builds up at the same rate over time. So earthquakes should occur at regular intervals. But, so far, scientists cannot predict when quakes will occur even to within a few years. Around Parkfield, California, an earthquake of magnitude 6.... | college_earth_science | earth_science | |
math_481 | math_mc | There are 3 math teams in the area, with 5, 7, and 8 students respectively. Each team has two co-captains. If I randomly select a team, and then randomly select two members of that team to give a copy of $\emph{Introduction to Geometry}$, what is the probability that both of the people who receive books are co-captains... | D | math_Counting & Probability | mathematics | ||
math_588 | math_mc | Let $n$ be the number of ordered quadruples $(x_1,x_2,x_3,x_4)$ of positive odd integers that satisfy $\sum_{i = 1}^4 x_i = 98.$ Find $\frac n{100}.$
| B | math_Counting & Probability | mathematics | ||
mmlu_aux_train_25644 | mmlu_aux_train | Alabama Students in Alabama take the Alabama High School Graduation Exam, which consists of multiple-choice questions. In the classroom, Alabama high school students must prove specific skills in English and take certain math classes. Among the 2013 U.S. News Best High Schools in Alabama, two were awarded gold medals, ... | A. The introduction to the Best High Schools in three states. | high_school_computer_science | computer_science | ||
allenai/sciq_10671 | allenai/sciq | Gfci stands for ground-fault circuit what?
A. inspiration
B. interrupter
C. isolates
D. infers | B. interrupter | GFCI stands for ground-fault circuit interrupter. GFCI outlets are typically found in bathrooms and kitchens where the use of water poses a risk of shock (because water is a good electric conductor). A GFCI outlet contains a device that monitors the amounts of current leaving and returning to the outlet. If less curren... | electrical_engineering | engineering | |
mmlu_aux_train_93983 | mmlu_aux_train | When a cold front moves over a land region that has warm, moist air, a transfer of energy occurs. Cold air sinks and pushes warmer air upward. As energy is removed from the air, which change will most likely take place?
A. Ozone in the atmosphere will decrease.
B. Less ultraviolet radiation will reach the land.
C. Mor... | D. Water in the atmosphere will undergo a phase change. | conceptual_physics | physics | ||
math_825 | math_mc | In triangle $ABC$, $AB = 5$, $BC = 8$, and the length of median $AM$ is 4. Find $AC$. | A | math_Geometry | mathematics | ||
mmlu_aux_train_93451 | mmlu_aux_train | What are the products in the chemical reaction below? NaOH + HCl -> NaCl + H_{2}O
A. sodium hydroxide and hydrogen chloride
B. sodium chloride and water
C. sodium, chlorine, hydrogen, and oxygen
D. sodium, chlorine, and water | B. sodium chloride and water | high_school_chemistry | chemistry | ||
NLP4Education_448 | NLP4Education | Given that $100000000003$ is prime, what is the cardinality of $\mathbf{Z}_{200000000006}^*$?
A. $2$
B. $100000000002$
C. $100000000003$
D. $200000000006$ | A. $2$ | abstract_algebra | mathematics | ||
pythonio_411 | pythonio-mc | Program:
def count_Char(str,x):
count = 0
for i in range(len(str)):
if (str[i] == x) :
count += 1
n = 10
repititions = n // len(str)
count = count * repititions
l = n % len(str)
for i in range(l):
if (str[i] == x):
count += 1
... | C | code | computer_science | ||
mmlu_aux_train_99191 | mmlu_aux_train | Nocturnal predators hunt when?
A. sleep time
B. midday
C. morning
D. noon | A. sleep time | high_school_biology | biology | ||
pythonio_444 | pythonio-mc | Program:
def min_Swaps(str1,str2) :
count = 0
for i in range(len(str1)) :
if str1[i] != str2[i] :
count += 1
if count % 2 == 0 :
return (count // 2)
else :
return ("Not Possible")
Input:
min_Swaps("1111","0100")
Output: | B | code | computer_science | ||
math_1896 | math_mc | The smaller square in the figure below has a perimeter of $4$ cm, and the larger square has an area of $16$ $\text{cm}^2$. What is the distance from point $A$ to point $B$? Express your answer as a decimal to the nearest tenth.
[asy]
draw((0,0)--(12,0));
draw((2,0)--(2,10));
draw((0,0)--(0,2));
draw((0,2)--(2,2));
dr... | D | math_Prealgebra | mathematics | ||
mmlu_aux_train_2651 | mmlu_aux_train | Evidence indicates that the magnetic field of Earth has reversed direction many times throughout history. After a magnetic reversal, which would most likely be affected?
A. the length and severity of seasons
B. the formation of new tectonic plates
C. the direction of rotation of Earth on the axis
D. the alignment of m... | D. the alignment of minerals in newly formed crust | college_earth_science | earth_science | ||
allenai/sciq_11557 | allenai/sciq | The number of electron pairs that hold two atoms together is called?
A. nuclear order
B. electron order
C. proton order
D. bond order | D. bond order | Summary Bond order is the number of electron pairs that hold two atoms together. Single bonds have a bond order of one, and multiple bonds with bond orders of two (a double bond) and three (a triple bond) are quite common. In closely related compounds with bonds between the same kinds of atoms, the bond with the highes... | high_school_chemistry | chemistry | |
aquarat_1580 | deepmind/aqua_rat | Each of seven different locks has a matching key. The keys are randomly reassigned to the locks. What is the probability that exactly two of the keys fit the locks to which they are reassigned? | A. 1/8 B. 1/6 C. 1/49 D. 3/8 E. 1/2 | C. 1/49 | I was just going over probability questions.
can some one explain me what's wrong in my approach here.
Probability of choosing one right key out of 7 is 1/7.
Probability of choosing another right key is 1/7.
since the question is asking for 2 right keys , probability is multiplication of both = 1/7 * 1/7 = 1/49.
Ans C | college_mathematics | mathematics |
math_524 | math_mc | Forty teams play a tournament in which every team plays every other team exactly once. No ties occur, and each team has a $50 \%$ chance of winning any game it plays. The probability that no two teams win the same number of games is $\frac mn,$ where $m$ and $n$ are relatively prime positive integers. Find $\log_2 n.$
| A | math_Counting & Probability | mathematics | ||
pythonio_433 | pythonio-mc | Program:
def extract_unique(test_dict):
res = list(sorted({ele for val in test_dict.values() for ele in val}))
return res
Input:
extract_unique({'Built' : [7, 1, 9, 4],'for' : [11, 21, 36, 14, 9],'ISP' : [4, 1, 21, 39, 47],'TV' : [1, 32, 38]} )
Output: | C | code | computer_science | ||
aquarat_12767 | deepmind/aqua_rat | Which of the following is closest to 10^150 – 10^30 ? | A. 10^210 B. 10^180 C. 10^150 D. 10^90 E. 10^6 | C. 10^150 | 10^150 – 10^30
10^30 * (10^120 – 1)
as we know 10^2 - 1 means 100-1 and we get 99, which is approximately 100. hence (10^120 – 1) would remain as 10^120.
and 10^30 * 10^120 = 10^150. Answer is C. | college_mathematics | mathematics |
NLP4Education_447 | NLP4Education | AES\dots
A. has a variable key length and a variable block length.
B. has a variable key length and a fixed block length.
C. has a fixed key length and a variable block length.
D. has a fixed key length and a fixed block length. | B. has a variable key length and a fixed block length. | computer_security | computer_science | ||
mmlu_aux_train_5442 | mmlu_aux_train | If you and your friends wish to share a secret, you can write it in code, and no one else will be able to read it. Codes are one way of writing in secret. Ciphers are another. In a code each word is written as a secret code word or a code number. In a cipher each letter is changed. Codes and ciphers have played an im... | A. Codes and ciphers | formal_logic | mathematics | ||
mmlu_aux_train_92731 | mmlu_aux_train | Two tectonic plates pushing toward each other cause intense heat and pressure in Earth's crust. Into which will crust material be changed by heat and pressure?
A. fossils
B. sediments
C. igneous rock
D. metamorphic rock | D. metamorphic rock | earth_science | earth_science | ||
allenai/sciq_2026 | allenai/sciq | The bond between the two nitrogen atoms is a what?
A. double bond
B. quadruple bond
C. triple bond
D. single bond | C. triple bond | Solution 1. The bond between the two nitrogen atoms is a triple bond. The Lewis diagram for N2 is as follows:. | high_school_chemistry | chemistry | |
NLP4Education_176 | NLP4Education | The training loss of the 1-nearest neighbor classifier is always zero.
A. TRUE only when the data has no duplicates
B. TRUE for any dataset, regardless of duplicates or noise
C. FALSE if the dataset contains noise
D. FALSE for all datasets | B. TRUE for any dataset, regardless of duplicates or noise | machine_learning | computer_science | ||
mmlu_aux_train_1444 | mmlu_aux_train | All animals need food to survive. Immediately after an animal eats food, the food is
A. stored for later use
B. converted into waste
C. transported by the bloodstream
D. digested into simpler substances | D. digested into simpler substances | high_school_biology | biology | ||
mmlu_aux_train_80587 | mmlu_aux_train | Once I thought love meant flowers, gifts and sweet kisses. So, I really doubted whether there was any love between my parents. Every day they were working hard to pay for my high school. They didn't act in the romantic ways that I read in books and saw on TV, and they certainly didn't send flowers to each other on Vale... | B. Because she was thinking of a better answer. | high_school_computer_science | computer_science | ||
mmlu_aux_train_94900 | mmlu_aux_train | In the desert, a hawk may enjoy an occasional
A. coyote
B. reptile
C. bat
D. scorpion | B. reptile | high_school_biology | biology | ||
aquarat_8557 | deepmind/aqua_rat | f(x) = 1/(1-x) find(f(f(f(x))) | A. 1 B. x C. 2x D. 3x E. 0 | B. x | f(x) = 1/(1-x)
==>f(f(x)) = f(1/(1-x))
= 1/(1-(1/(1-x)))
= 1/((1-x-1)/(1-x))
= 1/(-x/(1-x))
= x-1/x
==> (f(f(f(x)))=f(x-1/x)
= 1/(1-(x-1/x))
= 1/((x-x+1)/x)
= 1/(1/x)
= x
ANSWER:B | college_mathematics | mathematics |
pythonio_255 | pythonio-mc | Program:
def maximum_value(test_list):
res = [(key, max(lst)) for key, lst in test_list]
return (res)
Input:
maximum_value([('key1', [3, 4, 5]), ('key2', [1, 4, 2]), ('key3', [9, 3])])
Output: | B | code | computer_science | ||
math_334 | math_mc | The solutions to $4x^2 + 3 = 3x - 9$ can be written in the form $x = a \pm b i,$ where $a$ and $b$ are real numbers. What is $a + b^2$? Express your answer as a fraction. | D | math_Algebra | mathematics | ||
aquarat_68224 | deepmind/aqua_rat | The residents of the town L participated in a survey to determine the number of hours per week each resident spent watching television. The distribution of the results of the survey had a mean of 21 hours and a standard deviation of 6 hours. The number of hours that Pat, a resident of town L, watched television last we... | A. - 30 B. - 20 C. - 18 D. - 12 E. - 6 | E. - 6 | (21-6*2)<number of hours that Pat watched television last week <(21-6*1)
=9<P<15
Only option E (12) satisfies this condition. | high_school_statistics | mathematics |
aquarat_650 | deepmind/aqua_rat | If it is a 3x3 matrix, for which elements in first row are (V, 50, W), second row (196,X, Y)and in third row are (269, Z, 123).It is given that the sum of the numbers in each row, column, diagonal are same. Then find the value of (Y + Z). | A. 1118 B. 1119 C. 1121 D. 1122 E. 1144 | D. 1122 | matrix
v 50 w
196 x y
269 z 123
in 1st row and 1st column
v+196+269=v+50+w
w=415
Again, in 2nd column and 3rd row
50+x+z=269+z+123
x=342
As sum of each row column and diagonal are same.
So, 269+342+415=1026
415+y+123=1026
y=488
269+z+123=1026
z=634
y+z=488+634=1122
ANSWER:D | college_mathematics | mathematics |
math_386 | math_mc | What is the domain of the function $$j(x) = \frac{1}{x+8} + \frac{1}{x^2+8} + \frac{1}{x^3+8}~?$$Express your answer as a union of intervals. | A | math_Algebra | mathematics | ||
mmlu_aux_train_93287 | mmlu_aux_train | When hunting by humans causes a species to become extinct, this may produce damaging effects throughout the ecosystem of the extinct species. What is the cause of this damage?
A. alteration of a food web
B. degradation of a habitat
C. modification of a climate
D. reversal of a flow of energy | A. alteration of a food web | college_biology | biology | ||
pythonio_963 | pythonio-mc | Program:
def min_sum_path(A):
memo = [None] * len(A)
n = len(A) - 1
for i in range(len(A[n])):
memo[i] = A[n][i]
for i in range(len(A) - 2, -1,-1):
for j in range( len(A[i])):
memo[j] = A[i][j] + min(memo[j],
memo[j + 1])
return memo[0]
Input:
min_sum_path([[ 2 ], [3, 9 ], [1, 6, 7... | D | code | computer_science | ||
allenai/sciq_11593 | allenai/sciq | What is the name for a specific amount of solute that can dissolve in a given amount of solvent?
A. humidity
B. solubility
C. viscosity
D. concentration | B. solubility | Solubility is a specific amount of solute that can dissolve in a given amount of solvent. | high_school_chemistry | chemistry | |
aquarat_8378 | deepmind/aqua_rat | Which of the following statements is definitely false, if M is the sister of N and O. T is M's son and U is M's daughter? | A. N is T's uncle B. O is T's uncle C. N is U's brother D. N is M's brother E. O is M's uncle | C. N is U's brother | Explanation:
All the statements are true except C (N is U's brother), U is M's daughter that makes N her uncle, not brother.
Answer: C) Q is T's son | formal_logic | mathematics |
mmlu_aux_train_4764 | mmlu_aux_train | A teacher places an item in a box. The item takes the shape of the entire container. This item is most likely
A. air.
B. milk.
C. water.
D. paint. | A. air. | high_school_physics | physics | ||
mmlu_aux_train_12780 | mmlu_aux_train | Drink drivers could be prohibited from driving under the influence if new technology from Nissan is introduced. The Japanese car maker has developed a new odor detection system designed to prevent drivers from operating a car if they are over the legal limit. The system works by using a series of sensors to detect ... | A. by detecting the smell of alcohol in the vehicle cabin | electrical_engineering | engineering | ||
aquarat_13358 | deepmind/aqua_rat | a certain organization has three committees. only two persons are members of all committees, but every pair of committees have three members in common. what is the least possible no of member of members on any one committee? | A. 4 B. 5 C. 6 D. 7 E. 8 | A. 4 | Total 4 members minimum required to serve only on one committee.
ANSWER:A | abstract_algebra | mathematics |
pythonio_196 | pythonio-mc | Program:
def split_Arr(a,n,k):
b = a[:k]
return (a[k::]+b[::])
Input:
split_Arr([1,2,3,4],4,1)
Output: | C | code | computer_science | ||
mmlu_aux_train_97657 | mmlu_aux_train | A reflective surface fogging up is
A. reflection
B. refraction
C. evaporation
D. condensation | D. condensation | high_school_physics | physics | ||
math_423 | math_mc | Rationalize the denominator of $\frac{2}{3\sqrt{5} + 2\sqrt{11}}$ and write your answer in the form $\displaystyle \frac{A\sqrt{B} + C\sqrt{D}}{E}$, where $B < D$, the fraction is in lowest terms and all radicals are in simplest radical form. What is $A+B+C+D+E$? | B | math_Algebra | mathematics | ||
aquarat_8122 | deepmind/aqua_rat | If x and y are positive integers and (5^x)−(5^y)=(2^y−1)∗(5^x−1), what is the value of xy? | A. 48 B. 36 C. 24 D. 18 E. 12 | E. 12 | x and y are positive integers which means we will have clean numbers. On the right hand side, you have a 2 as a factor while it is not there on the left hand side. Can a 2 be generated on the left hand side by the subtraction? Here I am thinking that if we take 5^y common on the left hand side, I might be able to get a... | college_mathematics | mathematics |
math_1920 | math_mc | In Idaho, 472 people were asked what they call soft drinks. The results of the survey are shown in the pie chart. The central angle of the ``Pop'' sector of the graph is $251^\circ$, to the nearest whole degree. How many of the people surveyed chose ``Pop''? Express your answer as a whole number.
[asy]import graph;
si... | B | math_Prealgebra | mathematics | ||
aquarat_10324 | deepmind/aqua_rat | In a basketball contest, players must make 10 free throws. Assuming that Shmill O'Real has a 90% chance of making each of his shots, how likely is it that he will make all of his 10 shots in the contest? | A. (9/10)^10 B. (9/10)^2 C. 9/10 D. (8/9)^10 E. (9/10)^9 | A. (9/10)^10 | Probability of making to each of 10 shots = (9/10)*(9/10)*(9/10)*(9/10)*(9/10)*(9/10)*(9/10)*(9/10)*(9/10)*(9/10) = (9/10)^10
Answer: Option A | high_school_statistics | mathematics |
allenai/sciq_4293 | allenai/sciq | Alkynes are what type of compound?
A. Split Hydrocarbons
B. unsaturated hydrocarbons
C. proteins hydrocarbons
D. reversible hydrocarbons | B. unsaturated hydrocarbons | Unsaturated hydrocarbons that contain one or more triple bonds are called alkynes . The names of specific alkynes always end in –yne and have a prefix for the number of carbon atoms. The structural formula in the Figure below represents the smallest alkyne, named ethyne, which has two carbon atoms and two hydrogen atom... | high_school_chemistry | chemistry | |
pythonio_578 | pythonio-mc | Program:
import math
def is_polite(n):
n = n + 1
return (int)(n+(math.log((n + math.log(n, 2)), 2)))
Input:
is_polite(9)
Output: | B | code | computer_science | ||
math_522 | math_mc | 4 12-sided dice are rolled. What is the probability that the number of dice showing a two digit number is equal to the number of dice showing a one digit number? Express your answer as a common fraction. (Assume that the numbers on the 12 sides are the numbers from 1 to 12 expressed in decimal.) | C | math_Counting & Probability | mathematics | ||
math_702 | math_mc | A license plate in a certain state consists of 4 digits, not necessarily distinct, and 2 letters, also not necessarily distinct. These six characters may appear in any order, except that the two letters must appear next to each other. How many distinct license plates are possible? | C | math_Counting & Probability | mathematics | ||
aquarat_39522 | deepmind/aqua_rat | 72,90, 80,85,90,105,105,130,130,130
The list consists of the times in seconds that it took each of the 10 school children to run a distance of 400 mts . If the standard deviation of the 10 running times is 22.4, rounded to the nearest tenth of a second, how many of the 10 running times are more than 1 standard deviatio... | A. 1 B. 2 C. 3 D. 4 E. 5 | A. 1 | How many of the 10 running times are more than one SD below the meanmeans how many data points from given 10 are less thanmean-1SD.
We are given that SD=22.4, so we should find mean --> mean=100 --> there are only 1 data points below 100-22.4=77.6, namely 72 .
Answer: A. | high_school_statistics | mathematics |
allenai/sciq_8790 | allenai/sciq | Clouds are formed from what?
A. snow flakes
B. water droplets
C. ice crystals
D. dust particles | B. water droplets | Rising air currents carry water vapor into the atmosphere. As the water vapor rises in the atmosphere, it cools and condenses. Condensation is the process in which water vapor changes to tiny droplets of liquid water. The water droplets may form clouds. If the droplets get big enough, they fall as precipitation. | high_school_physics | physics | |
pythonio_180 | pythonio-mc | Program:
def find_dissimilar(test_tup1, test_tup2):
res = tuple(set(test_tup1) ^ set(test_tup2))
return (res)
Input:
find_dissimilar((21, 11, 25, 26), (26, 34, 21, 36))
Output: | D | code | computer_science | ||
aquarat_54475 | deepmind/aqua_rat | Sn = n^2 + 5n + 94 and K = S6 – S5 + S4 – S3 + S2 + S1. What is the value of K? | A. 67 B. 50 C. 45 D. 236 E. 36 | D. 236 | I used brute force for this question:
S6: 36+30+94=160
S5: 25+25+94=144
S4: 16+20+94=130
S3: 9+15+94=118
S2: 4+10+94=108
S1: 1+5+94=100
S6-S5+S4-S3+S2-S1= 16+12+208=236
Answer D | college_mathematics | mathematics |
mmlu_aux_train_56174 | mmlu_aux_train | Pupils work harder in lessons if they are taught by a man, a study has claimed. Male teachers are more likely to improve pupils' self-esteem and are judged by pupils to be more fair, according to a study published by the Department for Education. But there is a significant shortage of male teachers, especially in prima... | C. Most people are afraid that their children can't get access to male teachers. | high_school_statistics | mathematics | ||
mmlu_aux_train_71718 | mmlu_aux_train | Zach Linsky, 11, watches TV for 3 and a half hours a day and plays video games every other day. Zach, a sixth grader in Washington, D. C., is an American. But unlike many kids, he doesn't have a TV, VCR, or computer in his bedroom. He only has a boom box . The survey of 3,155 kids, aged 2 to 18, shows that they spend ... | B. Aged 2 to 18. | high_school_statistics | mathematics | ||
allenai/sciq_9619 | allenai/sciq | Dermal, vascular, and ground tissue make up what part of a plant, which bears the leaves, flowers and fruits?
A. flowers
B. leaves
C. stem
D. root | C. stem | 30.2 Stems The stem of a plant bears the leaves, flowers, and fruits. Stems are characterized by the presence of nodes (the points of attachment for leaves or branches) and internodes (regions between nodes). Plant organs are made up of simple and complex tissues. The stem has three tissue systems: dermal, vascular, an... | high_school_biology | biology | |
aquarat_59224 | deepmind/aqua_rat | There are d cities. What is the number of airlines that connected 2 different cities (airline from city A to city B is different with airline from city B to city A)? | A. n(n-1) B. n(n+1) C. d(d-1) D. n(n+1)/2 E. n2 | C. d(d-1) | First of all, the possible number of airlines is d. Then, the possible number of airlines departing from one city to another becomes (d-1). Hence, the answer is d(d-1), C | college_mathematics | mathematics |
allenai/sciq_9595 | allenai/sciq | Scientists measure the gases that escape from a volcano to predict what?
A. snowfall
B. storms
C. floods
D. eruptions | D. eruptions | Scientists measure the gases that escape from a volcano to predict eruptions. Gases like sulfur dioxide (SO 2 ), carbon dioxide (CO 2 ), hydrochloric acid (HCl), and water vapor can be measured at the site. Gases may also be measured from satellites. The amounts of gases and the ratios of gases are calculated to help p... | earth_science | earth_science | |
allenai/sciq_7978 | allenai/sciq | Real gases deviate from ideal form at high pressure and what other thermodynamic condition?
A. low temperatures
B. high winds
C. low pressure
D. high temperatures | A. low temperatures | Real gases deviate from ideal gases at high pressures and at low temperatures. | college_chemistry | chemistry | |
allenai/sciq_534 | allenai/sciq | How does the heart transport blood?
A. muscles
B. blood pellets
C. nerves
D. blood vessels | D. blood vessels | A screw is an inclined plane wrapped around a cylinder. When on a screw, inclined planes are called threads, which can be seen in the image above. The mechanical advantage of a screw increases with the density of the threads. The calculations to determine the IMA for a screw involve the circumference of the head of the... | high_school_biology | biology | |
aquarat_6092 | deepmind/aqua_rat | If abc = b^3 , which of the following must be true?
I. ac = b^2
II. b = 0
III. ac = 1 | A. None B. I only C. II only D. I and III E. II and III | A. None | abc = b^3 implies abc - b^3 = 0
or b*(ac-b^2)=0
which implies either b=0 or ac=b^2
so, either of them or both of them can be true, but none of them must be true.
Answer A | abstract_algebra | mathematics |
mmlu_aux_train_95869 | mmlu_aux_train | One full rotation on Earth's axis takes
A. 12 hours
B. 1 month
C. 2 days
D. 1440 minutes | D. 1440 minutes | astronomy | physics | ||
allenai/sciq_7877 | allenai/sciq | What weak base is applied as an agricultural fertilizer in its pure form and is diluted to make a household cleanser?
A. ammonia
B. vinegar
C. nitrogen
D. carbon monoxide | A. ammonia | Figure 4.7 Ammonia is a weak base used in a variety of applications. (a) Pure ammonia is commonly applied as an agricultural fertilizer. (b) Dilute solutions of ammonia are effective household cleansers. (credit a: modification of work by National Resources Conservation Service; credit b: modification of work by pat001... | college_chemistry | chemistry | |
allenai/sciq_5492 | allenai/sciq | What do we call a device used to store electric charge?
A. battery
B. charger
C. amplifier
D. capacitor | D. capacitor | 19.5 Capacitors and Dielectrics A capacitor is a device used to store electric charge. Capacitors have applications ranging from filtering static out of radio reception to energy storage in heart defibrillators. Typically, commercial capacitors have two conducting parts close to one another, but not touching, such as t... | electrical_engineering | engineering | |
aquarat_28089 | deepmind/aqua_rat | In a company, 58% of all its employees earn lesser than $50,000; 66% earn more than $40,000; 17% earn $45,000; 3% earn $48,000.
What is the median salary | A. 42,000 B. 43,000 C. 44,000 D. 45,000 E. 46,000 | D. 45,000 | as only amount mentioned in the question and in the options is $45000 ($48000 not mentioned)
Rest amounts are in the form of greater than or lesser than , Hence C $45000
answer is D | high_school_statistics | mathematics |
pythonio_127 | pythonio-mc | Program:
def digit_distance_nums(n1, n2):
return sum(map(int,str(abs(n1-n2))))
Input:
digit_distance_nums(23,56)
Output: | A | code | computer_science | ||
NLP4Education_368 | NLP4Education | If we pick independent random numbers in $\{1, 2, \dots, N\}$ with uniform distribution, $\theta \sqrt{N}$ times, we get at least one number twice with probability…
A. $e^{\theta^2}$
B. $1 - e^{\theta^2}$
C. $e^{-\theta^2/2}$
D. $1 - e^{-\theta^2/2}$ | D. $1 - e^{-\theta^2/2}$ | college_mathematics | mathematics | ||
pythonio_604 | pythonio-mc | Program:
from itertools import groupby
def pack_consecutive_duplicates(list1):
return [list(group) for key, group in groupby(list1)]
Input:
pack_consecutive_duplicates([10, 10, 15, 19, 18, 18, 17, 26, 26, 17, 18, 10])
Output: | D | code | computer_science | ||
pythonio_24 | pythonio-mc | Program:
def flatten(test_tuple):
for tup in test_tuple:
if isinstance(tup, tuple):
yield from flatten(tup)
else:
yield tup
def count_element_freq(test_tuple):
res = {}
for ele in flatten(test_tuple):
if ele not in res:
res[ele] = 0
res[ele] += 1
return (res)
Input:
cou... | B | code | computer_science | ||
allenai/sciq_4886 | allenai/sciq | Ocean water has what property because water dissolves minerals out of rocks?
A. muddy
B. sweet
C. salty
D. fizzy | C. salty | Ocean water is salty because water dissolves minerals out of rocks. The ions enter the water. This happens whenever water flows over or through rocks. Much of this water and its minerals end up in the oceans. Minerals dissolved in water form salts. When the water evaporates, it leaves the salts behind. As a result, oce... | high_school_chemistry | chemistry | |
mmlu_aux_train_29396 | mmlu_aux_train | Now, it's time for some brief news items. Teens Go Online Some 13 million European children under 18 use the Internet for schoolwork, games and music according to research done by Nielsen's "Net-rating". The study covered Britain, Germany, France, Italy and Spain. Experts advised parents to limit the time their kids sp... | C. Sweden. | high_school_computer_science | computer_science | ||
aquarat_18433 | deepmind/aqua_rat | At a meeting of 9 Chiefs of Staff, the Chief of Naval Operations does not want to sit next to the Chief of the National Guard Bureau. How many ways can the Chiefs of Staff be seated around a circular table? | A. 24,640 B. 27,820 C. 30,240 D. 33,120 E. 36,580 | C. 30,240 | 9 people can be arranged around a table in 8! ways.
Consider the two chiefs who will not sit together as a single unit.
The number of ways to arrange 8 units around a table is 7!
We need to multiply this by 2 as the two people can be switched in each arrangement.
The total number of ways to arrange the chiefs is 8! - 2... | college_mathematics | mathematics |
NLP4Education_126 | NLP4Education | In an FP tree, the leaf nodes are the ones with:
A. Lowest confidence
B. Lowest support
C. Least in the alphabetical order
D. None of the above | B. Lowest support | college_computer_science | computer_science | ||
NLP4Education_568 | NLP4Education | When designing a cryptosystem that follows the rules of modern cryptography, we \dots
A. must hide the design and our own cryptanalysis very well.
B. must assume that the adversary will learn everything about the cryptosystem.
C. can assume that the adversaries are not smarter than the designers.
D. must publish the wh... | B. must assume that the adversary will learn everything about the cryptosystem. | computer_security | computer_science | ||
math_227 | math_mc | The red parabola shown is the graph of the equation $x = ay^2 + by + c$. Find $c$. (The grid lines are spaced one unit apart.)
[asy]
size(150);
real ticklen=3;
real tickspace=2;
real ticklength=0.1cm;
real axisarrowsize=0.14cm;
pen axispen=black+1.3bp;
real vectorarrowsize=0.2cm;
real tickdown=-0.5;
real tickdownle... | D | math_Algebra | mathematics | ||
mmlu_aux_train_94988 | mmlu_aux_train | If a room is going to be humid, or dry, depends on how much water vapor is in the air, so if a room wants to be humid
A. run a bath
B. use a dehumidifier
C. open a window
D. hope it rains | A. run a bath | conceptual_physics | physics | ||
aquarat_20026 | deepmind/aqua_rat | Health insurance Plan E requires the insured to pay $1000 or 50% of total cost, whichever is lower. Plan B requires the insured to pay the initial $300, but then pays 80% of the cost over $300. Which of the following is a cost level for which both insurance plans pay out the same amount? | A. $600 B. $1000 C. $3800 D. $5300 E. $6200 | B. $1000 | 0.5 * 600 = 300 where E = B. | college_mathematics | mathematics |
math_603 | math_mc | A triangular array of squares has one square in the first row, two in the second, and in general, $k$ squares in the $k$th row for $1 \leq k \leq 11.$ With the exception of the bottom row, each square rests on two squares in the row immediately below (illustrated in the given diagram). In each square of the eleventh ro... | A | math_Counting & Probability | mathematics | ||
pythonio_505 | pythonio-mc | Program:
import math
def lateralsurface_cone(r,h):
l = math.sqrt(r * r + h * h)
LSA = math.pi * r * l
return LSA
Input:
lateralsurface_cone(5,12)
Output: | A | code | computer_science |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.