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
math_1561
math_mc
Let $\tau (n)$ denote the number of positive integer divisors of $n$ (including $1$ and $n$). Find the sum of the six least positive integers $n$ that are solutions to $\tau (n) + \tau (n+1) = 7$.
A
math_Number Theory
mathematics
aquarat_58642
deepmind/aqua_rat
In an encryption code 'PLAYS' is written as '{:SUD' when encoded and 'SLEEP' is written as 'D:RR{' when encoded. How is ''SLAPPY" written in that encryption code?
A. D:S{{U B. SLAPPY C. {RUDD: D. {:SUU{ E. U{{S:D
A. D:S{{U
D = S : = L S = A P = { P = { Y = U Correct Answer: A
coding
computer_science
allenai/sciq_8971
allenai/sciq
What is emitted by nuclei in alpha, beta, and gamma decay? A. magnetic field B. radiation C. solar energy D. convection
B. radiation
There are several types of radioactive decay, including alpha, beta, and gamma decay. In all three types, nuclei emit radiation, but the nature of the radiation differs. The Table below shows the radiation emitted in each type of decay. You can watch a video about the three types at this URL: http://www. youtube. com/w...
high_school_physics
physics
aquarat_6608
deepmind/aqua_rat
Suppose a game is played between two players A and B. On each turn of the game, exactly one of A or B gets a point. Suppose A is better than B and has a probability of 2/3 of getting a point on each turn of the game. The first person to get two points ahead in the game is the winner. What is the probability that A wins...
A. 5/9 B. 4/7 C. 2/3 D. 4/5 E. 8/9
D. 4/5
Let W0 be the event that Player A wins the game. The goal is to compute P(W0). Let W1 be the event that Player A wins the game given that she is ahead by one point. Let W-1 be the event Player A wins the game given that she is behind by one point. Then, the probability that Player A wins the game is P(W0) = P(A is ahea...
college_mathematics
mathematics
allenai/sciq_1090
allenai/sciq
Molecules with a carboxyl group are called what? A. carboxylic acids B. acetic acids C. Fatty acids D. catalyzed acids
A. carboxylic acids
Molecules with a carboxyl group are called carboxylic acids. As with aldehydes, the functional group in carboxylic acids is at the end of a carbon chain. Also as with aldehydes, the C atom in the functional group is counted as one of the C atoms that defines the parent hydrocarbon name. To name carboxylic acids, the pa...
college_chemistry
chemistry
math_2065
math_mc
Compute $\sqrt{54}\cdot\sqrt{32}\cdot \sqrt{6}$.
B
math_Prealgebra
mathematics
mmlu_aux_train_27885
mmlu_aux_train
The most common use of intelligence test scores is to predict degree of academic success. Such scores are used in some communities as bases for admitting able children to schools at ages younger than normal, and they are very generally used to determine admissions to schools beyond public secondary school. Another use ...
D. selecting pupils by public secondary schools
high_school_statistics
mathematics
math_1394
math_mc
For how many real numbers $a^{}_{}$ does the quadratic equation $x^2 + ax^{}_{} + 6a=0$ have only integer roots for $x^{}_{}$?
C
math_Intermediate Algebra
mathematics
math_1025
math_mc
A hexagon is inscribed in a circle. Five of the sides have length $81$ and the sixth, denoted by $\overline{AB}$, has length $31$. Find the sum of the lengths of the three diagonals that can be drawn from $A$.
C
math_Geometry
mathematics
pythonio_287
pythonio-mc
Program: def nth_nums(nums,n): nth_nums = list(map(lambda x: x ** n, nums)) return nth_nums Input: nth_nums([12,15],5) Output:
D
code
computer_science
mmlu_aux_train_99226
mmlu_aux_train
Iron sticks to A. a ceramic throne B. a fridge C. a vitamin D. a beanie baby
B. a fridge
high_school_physics
physics
allenai/sciq_10933
allenai/sciq
If an atom gains electrons, it becomes what? A. neutral B. an ion C. a cation D. anion
B. an ion
If an atom gains electrons, it becomes an ion. Is the ion positively or negatively charged? Explain your answer.
high_school_chemistry
chemistry
math_1160
math_mc
Let $a_1,$ $a_2,$ $\dots,$ $a_{2018}$ be the roots of the polynomial \[x^{2018} + x^{2017} + \dots + x^2 + x - 1345 = 0.\]Compute \[\sum_{n = 1}^{2018} \frac{1}{1 - a_n}.\]
A
math_Intermediate Algebra
mathematics
mmlu_aux_train_94623
mmlu_aux_train
Which of these must occur for sediments to form new rock? A. precipitation B. evaporation C. partial melting D. recrystallization
D. recrystallization
college_geology
earth_science
mmlu_aux_train_95111
mmlu_aux_train
The below surface pebbles of the Snake River are of non rough edges because of? A. smoothness B. fish movement C. river movement D. rough rocks
C. river movement
college_biology
biology
aquarat_17699
deepmind/aqua_rat
Statements: The old order changed yielding place to new. Assumption: 1) Change is the law of nature. 2) Discard old ideas because they are old.
A. Only conclusion I follows B. Only conclusion II follows C. Either I or II follows D. Neither I nor II follows E. Both I and II follow
A. Only conclusion I follows
Clearly, I directly follows from the given statement. Also, it is mentioned that old ideas are replaced by new ones, as thinking changes with the progressing time. So, II does not follow. A
formal_logic
mathematics
mmlu_aux_train_93749
mmlu_aux_train
Which of these tectonic plate boundaries is most likely to form a volcano? A. a continental plate colliding with a continental plate B. an oceanic plate sliding past a continental plate C. a continental plate sliding past a continental plate D. an oceanic plate colliding into a continental plate
D. an oceanic plate colliding into a continental plate
college_earth_science
earth_science
mmlu_aux_train_73152
mmlu_aux_train
Not long ago, the only time you could see a robot was when you were reading a novel or watching a movie such asStar Wars . Today, however, a lot of things in science stories have been science facts. Robots are starting to appear in our everyday lives. These robots have different sizes, shapes, and colors. But they al...
C. are playing a more important role than other types of robots
high_school_computer_science
computer_science
mmlu_aux_train_59279
mmlu_aux_train
Anyone driving the twists of Highway 1 between San Francisco and Los Angeles recently may have glimpsed a Toyota Prius car with a curious-looking thing on the roof. Harder to notice was that the person at the wheel was not actually driving. The car is a project of Google, which has been working in secret but in plain v...
C. It will take a long time before the autonomous car is put into the market.
machine_learning
computer_science
allenai/sciq_10820
allenai/sciq
What is it that surrounds cells and serve to keep the insides separated from the outsides? A. similar membranes B. biological membranes C. abundant membranes D. inner membranes
B. biological membranes
Membranes Biological membranes surround cells and serve to keep the insides separated from the outsides. They are formed of phospholipid bilayer1 s, which by definition are a double layer of fatty acid2 molecules (mostly phospholipid3 s, lipids containing lots of phosphorus). Proteins4 serve very important functions in...
high_school_biology
biology
mmlu_aux_train_64318
mmlu_aux_train
New research is strengthening evidence that eating vegetables may be some of the best health advice. A study of 500, 000 Americans has found that just one extra serving of fruit or vegetables a day may reduce the risk of developing head and neck cancer. Many studies have shown that diet plays a role in cancer. Cancer e...
B. smoking
college_biology
biology
aquarat_77783
deepmind/aqua_rat
For positive integers n, the integer part of the nth term of sequence E equals n, while the infinite decimal part of the nth term is constructed in order out of the consecutive positive multiples of n, beginning with 2n. For instance, E_1 = 1.2345678…, while E_2 = 2.4681012… The sum of the first seven terms of sequence...
A. 28 and 29 B. 29 and 30 C. 30 and 31 D. 31 and 32 E. 32 and 33
C. 30 and 31
First, construct the first seven terms, though only out to a few decimal places, following the given pattern. E_1 = 1.23… E_2 = 2.46… E_3 = 3.69… E_4 = 4.812… E_5 = 5.10… E_6 = 6.12… E_7 = 7.14… Now, to add up the first seven terms, you should be strategic about how many decimal places to keep. You can drop the hundred...
college_mathematics
mathematics
aquarat_75982
deepmind/aqua_rat
Given that x = 2^b – (8^31 + 16^5), which of the following values for b yields the lowest value for |x|?
A. 91 B. 92 C. 93 D. 94 E. 113
C. 93
8^31 + 16^5 = 2^93 + 2^20 Compared to 2^93, the value of 2^20 is negligible. 2^93 - (2^93 +2^20) will minimize the value of |x|. The answer is C.
college_mathematics
mathematics
allenai/sciq_1181
allenai/sciq
What are compounds formed by ionic bonds called? A. ionic compounds (salts) B. nuclear compounds C. mixed compounds D. layered compounds
A. ionic compounds (salts)
high_school_chemistry
chemistry
math_2200
math_mc
Let $a$ and $b$ be angles such that \[\cos (a + b) = \cos a + \cos b.\]Find the maximum value of $\cos a.$
C
math_Precalculus
mathematics
pythonio_919
pythonio-mc
Program: def nCr_mod_p(n, r, p): if (r > n- r): r = n - r C = [0 for i in range(r + 1)] C[0] = 1 for i in range(1, n + 1): for j in range(min(i, r), 0, -1): C[j] = (C[j] + C[j-1]) % p return C[r] Input: nCr_mod_p(10, 2, 13) Output:
C
code
computer_science
aquarat_53912
deepmind/aqua_rat
Set R consists of all even integers between 2 and 100, inclusive. Set X is derived by reducing each term in set R by 50, set Y is derived by multiplying each term in set R by 1.5, and set Z is derived by dividing each term in set R by -4. Which of the following represents the ranking of the three sets in descending ord...
A. X, Y, Z B. X, Z, Y C. Y, Z, X D. Y, X, Z E. Z, Y, X
D. Y, X, Z
Set R - {2, 4, ..., 100}; Set X - {-48, -46, ..., 50}; Set Y - {3, 6, ..., 150}; Set Z - {-2/4, -4/4, ..., -100/4} = {-1/2, -1, -3/2, ..., -25}. If we add or subtract a constant to each term in a set the SD will not change, so sets R and X will have the same SD. If we increase or decrease each term in a set by the same...
college_mathematics
mathematics
math_1709
math_mc
Let $S_i$ be the set of all integers $n$ such that $100i\leq n < 100(i + 1)$. For example, $S_4$ is the set ${400,401,402,\ldots,499}$. How many of the sets $S_0, S_1, S_2, \ldots, S_{999}$ do not contain a perfect square?
D
math_Number Theory
mathematics
NLP4Education_289
NLP4Education
We apply a Gaussian Mixture Model made of $K$ isotropic Gaussians (invariant to rotation around its center) to $N$ vectors of dimension $D$. What is the number of \emph{free} parameters of this model? A. $KD + 2K - 1 - 1$ B. $KD + K - 1$ C. $2KD - 1$ D. $KD + KD^2 - 1$
A. $KD + 2K - 1 - 1$
machine_learning
computer_science
aquarat_69847
deepmind/aqua_rat
From a class consisting of 12 computer science majors, 10 mathematics majors, and 9 statistics majors, a committee of 4 computer science majors, 4 mathematics majors, and 3 statistics majors is to be formed. How many distinct committees are there?
A. 15200 B. 16200 C. 17200 D. 18000 E. 19500
B. 16200
From a class consisting of 12 computer science majors, 10 mathematics majors, and 9 statistics majors, a committee of 4 computer science majors, 4 mathematics majors, and 3 statistics majors is to be formed. How many distinct committees are there? Alright, I just started learning combinations tonight, but I have hit a ...
college_mathematics
mathematics
math_2198
math_mc
How many complex numbers $z$ such that $\left| z \right| < 30$ satisfy the equation \[ e^z = \frac{z - 1}{z + 1} \, ? \]
B
math_Precalculus
mathematics
allenai/sciq_9500
allenai/sciq
Valence electrons also determine how well—if at all—the atoms of an element conduct what? A. water B. electricity C. pollution D. light
B. electricity
Valence electrons also determine how well—if at all—the atoms of an element conduct electricity. The copper wires in the cable in the Figure below are coated with plastic. Copper is an excellent conductor of electricity, so it is used for wires that carry electric current. Plastic contains mainly carbon, which cannot c...
high_school_chemistry
chemistry
allenai/sciq_2708
allenai/sciq
Which measure indicates the number of electrons in a given sublevel? A. subscripts B. mole C. superscripts D. coefficients
C. superscripts
There are no forces of attraction or repulsion between gas particles . Attractive forces are responsible for particles of a real gas condensing together to form a liquid. It is assumed that the particles of an ideal gas have no such attractive forces. The motion of each particle is completely independent of the motion ...
high_school_chemistry
chemistry
aquarat_67409
deepmind/aqua_rat
The mean of 40 observations was 100. It was found later that an observation 50 was wrongly taken as 75 The corrected new mean is
A. 125.8 B. 102.8 C. 99.375 D. 100.52 E. 122
C. 99.375
Explanation: Correct Sum = (100 * 40 + 50 - 75) = 3975. Correct mean = = 3975/40 = 99.375 Answer: C
high_school_statistics
mathematics
allenai/sciq_6725
allenai/sciq
All solutions contain at least how many substances? A. one B. three C. two D. four
C. two
All solutions contain at least two substances.
high_school_chemistry
chemistry
pythonio_506
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(10,15) Output:
B
code
computer_science
mmlu_aux_train_1531
mmlu_aux_train
Which two processes could result in the formation of high mountains with well-rounded peaks? A. volcanic eruptions and global warming B. earthquakes and tidal activity C. collision of crustal plates and erosion D. production of greenhouse gases and weathering
C. collision of crustal plates and erosion
earth_science
earth_science
pythonio_283
pythonio-mc
Program: def get_median(arr1, arr2, n): i = 0 j = 0 m1 = -1 m2 = -1 count = 0 while count < n + 1: count += 1 if i == n: m1 = m2 m2 = arr2[0] break elif j == n: m1 = m2 m2 = arr1[0] break if arr1[i] <= arr2[j]: m1 = m2 m2 = ar...
A
code
computer_science
math_458
math_mc
How many three-digit numbers are multiples of neither 5 nor 7?
C
math_Counting & Probability
mathematics
allenai/sciq_4555
allenai/sciq
When a metal is oxidized and a nonmetal is reduced in a redox reaction, what is the resulting compound called? A. ionic compound B. alloy C. magnetic compound D. soluble compound
A. ionic compound
There are many other examples of redox reactions in which two neutral elements combine to make a compound. These often take the form of a metal being oxidized and a nonmetal being reduced, resulting in an ionic compound. Two nonmetallic elements can also undergo a redox reaction of this type, in which the less electron...
high_school_chemistry
chemistry
NLP4Education_626
NLP4Education
Tick the \emph{incorrect} assertion. A cipher $C$ perfectly decorrelated at order 2 implies\dots A. perfect secrecy when used twice. B. security against differential cryptanalysis. C. security against linear cryptanalysis. D. security against exhaustive search.
D. security against exhaustive search.
computer_security
computer_science
NLP4Education_539
NLP4Education
What is the inverse of 28 in $\mathbf{Z}_{77}$? A. 0 B. 1 C. 36 D. 49
D. 49
abstract_algebra
mathematics
mmlu_aux_train_20946
mmlu_aux_train
The United States has always been a country of many cultures. Before Europeans came to North America, many groups of Native Americans lived here. Different Native American groups had different cultures. The first Europeans in the United States were from England and Holland, but immigrants came from all European countri...
C. cannot accurately reflect the reality in the United States
high_school_biology
biology
math_1194
math_mc
Suppose $$a(2+i)^4 + b(2+i)^3 + c(2+i)^2 + b(2+i) + a = 0,$$where $a,b,c$ are integers whose greatest common divisor is $1$. Determine $|c|$.
D
math_Intermediate Algebra
mathematics
mmlu_aux_train_17782
mmlu_aux_train
Every year, I tell my sons what I'd like for Mother's Day: a letter. Something written from the heart and offered freely rather than bought from a store and wrapped neatly. I don't always get my wish, nor do I always take the time to write to my own mother. This year, my boys will be in two different states on Mother's...
B. her parents and children are still alive
high_school_computer_science
computer_science
mmlu_aux_train_49806
mmlu_aux_train
Research shows that much of our predisposition towards determination, sociability and self - control and sense of purpose is in our genes.In fact, our DNA plays a bigger role in influencing these traits ( characteristics)than our upbringing and the company we keep.Taken together, these aspects of personality can mak...
B. Our DNA plays a decisive role, in achieving success.
medical_genetics
biology
aquarat_58865
deepmind/aqua_rat
In a survey of 350 employees, 104 of them are uninsured, 54 work part time, and 12.5 percent of employees who are uninsured work part time. If a person is to be randomly selected from those surveyed, what is the probability that the person will neither work part time nor be uninsured?
A. 7/12 B. 8/41 C. 9/348 D. 1/8 E. 41/70
E. 41/70
---------UI----------------NUI-------Total PT----(12.5/100)*104 = 13----------- --54 NPT---104-13-------------- x--------296 Total--104----------------------------350 we have to find not part time and not uninsured . in other words not part time and insured = x/350 = (296-104+13)/350 = 41/70 Answer is E.
high_school_statistics
mathematics
allenai/sciq_8658
allenai/sciq
The chemical used by the ants to weed their garden turns out to be what kind? A. sulfide acid B. sealant acid C. formic acid D. nitric acid
C. formic acid
high_school_biology
biology
aquarat_90249
deepmind/aqua_rat
If A(k)=(2k+1)^K, and k=0, what is the value of A(A(A(k)))?
A. 343 B. 199 C. 121 D. 69 E. 249
A. 343
A(A(A(0)))=A(A(1))=A(3)=(6+1)^3=343. Thus, the answer is A.
college_mathematics
mathematics
allenai/sciq_15
allenai/sciq
Boron only occurs naturally in compounds with what element? A. oxygen B. nitrogen C. helium D. carbon
A. oxygen
Occurrence, Preparation, and Compounds of Boron and Silicon Boron constitutes less than 0.001% by weight of the earth’s crust. In nature, it only occurs in compounds with oxygen. Boron is widely distributed in volcanic regions as boric acid, B(OH)3, and in dry lake regions, including the desert areas of California, as ...
high_school_chemistry
chemistry
math_1883
math_mc
Stan drove 300 miles in 5 hours, 20 minutes. Next, he drove 360 miles in 6 hours, 40 minutes. What was Stan's average speed in miles per hour for the total trip?
C
math_Prealgebra
mathematics
allenai/sciq_10596
allenai/sciq
What type of fish are the majority of living species? A. lungfish B. ray-finned fish C. cartilaginous fish D. freshwater fish
B. ray-finned fish
Ray-finned fish include the majority of living fish species, including goldfish, tuna, salmon, perch, and cod. They have a bony endoskeleton and a swim bladder. Their thin fins consist of webs of skin over flexible bony rays, or spines. The fins lack muscle, so their movements are controlled by muscles in the body wall...
high_school_biology
biology
math_1925
math_mc
The six faces of a three-inch wooden cube are each painted red. The cube is then cut into one-inch cubes along the lines shown in the diagram. How many of the one-inch cubes have red paint on at least two faces? [asy] pair A,B,C,D,E,F,G; pair a,c,d,f,g,i,j,l,m,o,p,r,s,u,v,x,b,h; A=(0.8,1); B=(0,1.2); C=(1.6,1.3); D=...
D
math_Prealgebra
mathematics
mmlu_aux_train_94232
mmlu_aux_train
Some localized layers of rock contain the element iridium. Iridium is most often found in space objects such as meteoroids and asteroids. The discovery of these iridium-containing layers has been matched to which phenomena in Earth's history? A. tectonic plate separations B. mass species extinctions C. orbital path ch...
B. mass species extinctions
astronomy
physics
allenai/sciq_2339
allenai/sciq
The structure of mitochondrion plays an important role in what? A. magnetism B. sexual reproduction C. aerobic respiration D. cell division
C. aerobic respiration
The structure of a mitochondrion is defined by an inner and outer membrane. This structure plays an important role in aerobic respiration.
high_school_biology
biology
allenai/sciq_7412
allenai/sciq
Cooling or evaporation of what from the sea surface makes surface water dense? A. salt water B. fresh water C. warm water D. dirty water
B. fresh water
Cooling or evaporation of fresh water from the sea surface makes surface water dense. This causes the surface water to undergo downwelling.
college_earth_science
earth_science
math_2093
math_mc
A triangle has side lengths 7, 8, and 9. There are exactly two lines that simultaneously bisect the perimeter and area of the triangle. Let $\theta$ be the acute angle between these two lines. Find $\tan \theta.$ [asy] unitsize(0.5 cm); pair A, B, C, P, Q, R, S, X; B = (0,0); C = (8,0); A = intersectionpoint(arc(...
A
math_Precalculus
mathematics
mmlu_aux_train_49210
mmlu_aux_train
A team of researchers from Oxford University has demonstrated a self-driving car that is different from such cars being tested by Audi, Ford, etc. It' s much cheaper because it's based on off-the-shelf technology and controlled by an ordinary iPad. Instead of using GPS to understand the location, the car learns routes...
A. use available low-cost technology
machine_learning
computer_science
mmlu_aux_train_95753
mmlu_aux_train
Things that are shiny can reflect light, so all of these will aside from A. dog tag B. ring C. outlet D. confetti
C. outlet
high_school_physics
physics
pythonio_885
pythonio-mc
Program: def series_sum(number): total = 0 total = (number * (number + 1) * (2 * number + 1)) / 6 return total Input: series_sum(6) Output:
D
code
computer_science
math_932
math_mc
[asy] draw((0,0)--(0,2)--(2,2)--(2,0)--cycle,dot); draw((2,2)--(0,0)--(0,1)--cycle,dot); draw((0,2)--(1,0),dot); MP("B",(0,0),SW);MP("A",(0,2),NW);MP("D",(2,2),NE);MP("C",(2,0),SE); MP("E",(0,1),W);MP("F",(1,0),S);MP("H",(2/3,2/3),E);MP("I",(2/5,6/5),N); dot((1,0));dot((0,1));dot((2/3,2/3));dot((2/5,6/5)); [/asy] If $A...
C
math_Geometry
mathematics
mmlu_aux_train_12539
mmlu_aux_train
The goal of earthquake prediction is to give early enough warning. The U.S. Geological Survey conducts and supports research on the likelihood of future earthquakes. Scientists estimate earthquake probabilities in two ways: by studying the history of large earthquakes in a special area and the rate at which strain accu...
B. How to predict earthquakes.
earth_science
earth_science
allenai/sciq_4123
allenai/sciq
What is the process by which a liquid changes to a solid? A. boiling B. melting C. vaporizing D. freezing
D. freezing
The process in which a liquid changes to a solid is called freezing . The temperature at which a liquid changes to a solid is its freezing point. The freezing point of water is 0°C (32°F). Other types of matter may have higher or lower freezing points. For example, the freezing point of iron is 1535°C. The freezing poi...
high_school_chemistry
chemistry
math_2010
math_mc
Joe wants to find all the four-letter words that begin and end with the same letter. How many combinations of letters satisfy this property?
D
math_Prealgebra
mathematics
allenai/sciq_9248
allenai/sciq
What do cyclotrons use to cause particles to move in circular orbits? A. occurs field B. layers field C. mixed field D. magnetic field
D. magnetic field
Figure 33.8 Cyclotrons use a magnetic field to cause particles to move in circular orbits. As the particles pass between the plates of the Ds, the voltage across the gap is oscillated to accelerate them twice in each orbit.
college_physics
physics
mmlu_aux_train_75636
mmlu_aux_train
Many homes have cameras to protect them from danger. The cameras can tell the owners if someone has entered. But the cameras do not know whether the person is a family member, a friend, a postman or a criminal . But a new camera made by a French company can recognize faces. It can tell parents at work that their chi...
C. recognize faces
computer_security
computer_science
pythonio_332
pythonio-mc
Program: def get_product(val) : res = 1 for ele in val: res *= ele return res def find_k_product(test_list, K): res = get_product([sub[K] for sub in test_list]) return (res) Input: find_k_product([(5, 6, 7), (1, 3, 5), (8, 9, 19)], 2) Output:
C
code
computer_science
math_663
math_mc
Let $(a_1,a_2,a_3,\ldots,a_{12})$ be a permutation of $(1,2,3,\ldots,12)$ for which $a_1>a_2>a_3>a_4>a_5>a_6 \mathrm{\ and \ } a_6<a_7<a_8<a_9<a_{10}<a_{11}<a_{12}.$ An example of such a permutation is $(6,5,4,3,2,1,7,8,9,10,11,12).$ Find the number of such permutations.
B
math_Counting & Probability
mathematics
pythonio_782
pythonio-mc
Program: def fibonacci(n): if n == 1 or n == 2: return 1 else: return (fibonacci(n - 1) + (fibonacci(n - 2))) Input: fibonacci(9) Output:
D
code
computer_science
aquarat_93224
deepmind/aqua_rat
If a certain sample of data has a mean of 15.0 and a standard deviation of 2.0, which of the following pairs contain two values that are each at least 2.5 standard deviations from the mean?
A. (8.0; 16.5) B. (8.5; 21.0) C. (14.0; 26.5) D. (16.5; 26.0) E. (21.0; 26.5)
B. (8.5; 21.0)
2.5 standard deviation equals to 2.5*2=5; 2.5 standard deviations from the mean, so5 points, from the mean is the range from {mean-5} to {mean+5}, so from 10 to 20. The correct answer choice must cover all this range: only answer choice B does this. Answer: B.
high_school_statistics
mathematics
NLP4Education_607
NLP4Education
I want to send a value to Bob without him knowing which value I sent and such that I cannot change my mind later when I reveal it in clear. I should use … A. a stream cipher. B. a PRNG. C. a commitment scheme. D. a digital signature.
C. a commitment scheme.
computer_security
computer_science
pythonio_636
pythonio-mc
Program: def return_sum(dict): sum = 0 for i in dict.values(): sum = sum + i return sum Input: return_sum({'a': 36, 'b':39, 'c':49}) Output:
C
code
computer_science
math_1862
math_mc
If the lengths of two sides of a right triangle are 5 and 12 units, what is the least possible length, in units, of the third side? Express your answer in simplest radical form.
C
math_Prealgebra
mathematics
math_1035
math_mc
Point $P$ lies on the diagonal $AC$ of square $ABCD$ with $AP > CP$. Let $O_{1}$ and $O_{2}$ be the circumcenters of triangles $ABP$ and $CDP$ respectively. Given that $AB = 12$ and $\angle O_{1}PO_{2} = 120^{\circ}$, then $AP = \sqrt{a} + \sqrt{b}$, where $a$ and $b$ are positive integers. Find $a + b$.
B
math_Geometry
mathematics
math_1748
math_mc
How many of the positive divisors of 3240 are multiples of 3?
B
math_Number Theory
mathematics
NLP4Education_709
NLP4Education
Which of AddressSanitizer (ASan), MemorySanitizer (MemSan), UndefinedBehaviorSanitizer (UBSan), or ThreadSanitizer (TSan) can detect bugs (if any) in the following code snippet? \begin{lstlisting}[language=C,style=c] int sum_up_to(int x) { // Return sum of integers up to x int result = x; for (int i = x; i...
C. There is at least one bug in the snippet, but none of the mentioned sanitizers can detect it.
coding
computer_science
aquarat_58134
deepmind/aqua_rat
A certain set of numbers has an average (arithmetic mean) of 10 and a standard deviation of 2.5. If X, a number in the set, is within 2 standard deviations from the average, then which of the following CANNOT be the value of X?
A. 2 B. 5.5 C. 6 D. 10 E. 14
A. 2
average (arithmetic mean) of 10 and a standard deviation of 2.5 Since, X, a number in the set, is within 2 standard deviations i.e. X, a number in the set, between 10+2*2.5 and 10-2*2.5 i.e. X, a number in the set, between 15 and 5 Option A (2) is not within 2 SD therefore Answer: Option A
high_school_statistics
mathematics
math_1886
math_mc
Triangle $ABC$ is an isosceles triangle with side lengths of 25, 25 and 48 centimeters. What is the area of triangle $ABC$, in square centimeters?
D
math_Prealgebra
mathematics
pythonio_347
pythonio-mc
Program: def matrix_to_list(test_list): temp = [ele for sub in test_list for ele in sub] res = list(zip(*temp)) return (str(res)) Input: matrix_to_list([[(6, 7), (9, 10)], [(12, 15), (20, 21)], [(23, 7), (15, 8)]]) Output:
A
code
computer_science
math_1532
math_mc
Find the largest three-digit integer that is divisible by each of its distinct, non-zero digits.
A
math_Number Theory
mathematics
allenai/sciq_1897
allenai/sciq
What provides building materials for the body? A. water B. food C. heat D. energy
B. food
Food provides building materials for the body. The body needs building materials for growth and repair.
high_school_biology
biology
allenai/sciq_6435
allenai/sciq
What organic catalysts work by lowering the activation energy needed to start biochemical reactions? A. glucose B. hormones C. carbohydrates D. enzymes
D. enzymes
Enzymes work by lowering the activation energy needed to start biochemical reactions.
college_biology
biology
math_699
math_mc
Two distinct positive integers from 1 to 50 inclusive are chosen. Let the sum of the integers equal $S$ and the product equal $P$. What is the probability that $P+S$ is one less than a multiple of 5?
C
math_Counting & Probability
mathematics
allenai/sciq_7607
allenai/sciq
What parts of the planet does solar energy have difficulty reaching? A. deserts B. equators C. poles D. oceans
C. poles
Much less solar energy gets to the poles.
astronomy
physics
NLP4Education_69
NLP4Education
Consider the composite function $f(x)=g(h(x))$, where all functions are $\mathbb{R}$ to $\mathbb{R}$. Which of the following is the weakest condition that guarantees that $f(x)$ is convex? A. $g(x)$ and $h(x)$ are convex and $g(x)$ is increasing B. $g(x)$ and $h(x)$ are convex and $h(x)$ is increasing C. $g(x)$ is conv...
A. $g(x)$ and $h(x)$ are convex and $g(x)$ is increasing
college_mathematics
mathematics
allenai/sciq_4691
allenai/sciq
The sum of the kinetic and potential energies of a system’s atoms and molecules is called what? A. stored energy B. internal energy C. mechanical energy D. used energy
B. internal energy
Internal energy—the sum of the kinetic and potential energies of a system’s atoms and molecules. Can be divided into many subcategories, such as thermal and chemical energy. Depends only on the state of a system (such as its P , V , and T ), not on how the energy entered the system. Change in internal energy is path in...
college_physics
physics
math_1933
math_mc
In the diagram shown, $\overrightarrow{OA}\perp\overrightarrow{OC}$ and $\overrightarrow{OB}\perp\overrightarrow{OD}$. If $\angle{AOD}$ is 3.5 times $\angle{BOC}$, what is $\angle{AOD}$? [asy] unitsize(1.5cm); defaultpen(linewidth(.7pt)+fontsize(10pt)); dotfactor=4; pair O=(0,0), A=dir(0), B=dir(50), C=dir(90), D=dir(...
D
math_Prealgebra
mathematics
math_1428
math_mc
We can write \[\sum_{k = 1}^{100} (-1)^k \cdot \frac{k^2 + k + 1}{k!} = \frac{a}{b!} - c,\]where $a,$ $b,$ and $c$ are positive integers. Find the smallest possible value of $a + b + c.$
B
math_Intermediate Algebra
mathematics
aquarat_34145
deepmind/aqua_rat
I. m-14, m, m, m, m+14 II. b, b+1, b+2, b+3, b+4 III. c, c, c, c, c The data sets I, II, and III above are ordered from greatest standard deviation to least standard deviation in which of the following?
A. I, II, III B. I, III, II C. II, III, I D. III, I, II E. III, II, I
A. I, II, III
S.D is a non-negative entity. Also, for a given set with all the elements same, the S.D is Zero(It is zero even if there is only one element in the set too). From the given sets, we can see that the last set has a standard deviation of zero. Also, because the other sets can not have all the terms equal for any values o...
high_school_statistics
mathematics
pythonio_565
pythonio-mc
Program: def unique_sublists(list1): result ={} for l in list1: result.setdefault(tuple(l), list()).append(1) for a, b in result.items(): result[a] = sum(b) return result Input: unique_sublists([[1, 3], [5, 7], [1, 3], [13, 15, 17], [5, 7], [9, 11]] ) Output:
B
code
computer_science
pythonio_921
pythonio-mc
Program: def nCr_mod_p(n, r, p): if (r > n- r): r = n - r C = [0 for i in range(r + 1)] C[0] = 1 for i in range(1, n + 1): for j in range(min(i, r), 0, -1): C[j] = (C[j] + C[j-1]) % p return C[r] Input: nCr_mod_p(18, 14, 19) Output:
C
code
computer_science
allenai/sciq_9369
allenai/sciq
Seawalls and breakwaters are built parallel to what? A. the deep B. shore C. ocean base D. center-point
B. shore
Seawalls and breakwaters are built parallel to the shore.
earth_science
earth_science
mmlu_aux_train_48968
mmlu_aux_train
Mozilla has shown off a prototype for a $25 (PS15) smart phone that is aimed at the developing world. The company, which is famed mostly for its Firefox browser , has partnered with the Chinese low-cost chip maker Spreadtrum. While not as powerful as more expensive models, the phone will run apps and make use of mobil...
C. It will attract the present "feature" phone users.
college_computer_science
computer_science
allenai/sciq_5943
allenai/sciq
At what time of the year can tornadoes occur? A. winter B. spring C. summer D. any
D. any
high_school_physics
physics
pythonio_380
pythonio-mc
Program: def count_char(string,char): count = 0 for i in range(len(string)): if(string[i] == char): count = count + 1 return count Input: count_char("Python",'o') Output:
C
code
computer_science
mmlu_aux_train_34442
mmlu_aux_train
In face of global warming, much effort has been focused on reducing greenhouse gas emissions through a variety of strategies. But while much of the research and innovation has concentrated on finding less-polluting energy alternatives, it may be decades before clean technologies like wind and solar meet a significant p...
C. How to deal with the greenhouse gas creatively.
college_earth_science
earth_science
mmlu_aux_train_95285
mmlu_aux_train
What makes the best wiring? A. rope B. Tungsten C. hemp D. plastic
B. Tungsten
electrical_engineering
engineering
allenai/sciq_4870
allenai/sciq
Which type of tides are created when the sun and moon's tides match? A. spring tides B. Neap tides C. low tides D. weak tides
A. spring tides
When the Sun's and Moon's tides match, there are spring tides. When the two tides are opposed, there are neap tides.
college_physics
physics
aquarat_52535
deepmind/aqua_rat
What command is used to create a backup configuration?
A. copy running backup B. copy running-config startup-config C. config mem D. wr mem E. wr m22
B. copy running-config startup-config
Explanation: The command to back up the configuration on a router is Answer: Option B
computer_security
computer_science
pythonio_129
pythonio-mc
Program: def max_sub_array_sum(a, size): max_so_far = 0 max_ending_here = 0 for i in range(0, size): max_ending_here = max_ending_here + a[i] if max_ending_here < 0: max_ending_here = 0 elif (max_so_far < max_ending_here): max_so_far = max_ending_here return max_so_far Input: ma...
D
code
computer_science