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 |
|---|---|---|---|---|---|---|---|
allenai/sciq_1823 | allenai/sciq | Salt hydrolysis is a reaction in which one of the ions from a salt reacts with what?
A. air
B. proteins
C. fat
D. water | D. water | The fluoride ion is acting as a weak Brønsted-Lowry base. The hydroxide ion that is produced as a result of the above reaction makes the solution slightly basic. Salt hydrolysis is a reaction in which one of the ions from a salt reacts with water, forming either an acidic or basic solution. | high_school_chemistry | chemistry | |
math_951 | math_mc | Let $P$ be a point chosen uniformly at random in the interior of the unit square with vertices at $(0,0), (1,0), (1,1)$, and $(0,1)$. The probability that the slope of the line determined by $P$ and the point $\left(\frac58, \frac38 \right)$ is greater than or equal to $\frac12$ can be written as $\frac{m}{n}$, where $... | C | math_Geometry | mathematics | ||
mmlu_aux_train_4809 | mmlu_aux_train | Which of the following statements best explains why stars appear to move across Earth's sky each night?
A. Earth rotates on its axis.
B. The stars orbit each other.
C. Earth revolves around the Sun.
D. The stars rotate with the Moon. | A. Earth rotates on its axis. | astronomy | physics | ||
allenai/sciq_1422 | allenai/sciq | What counter provides a sensitive means of detecting radioactivity?
A. gravity
B. calorie
C. geiger
D. bouncy | C. geiger | A Geiger counter provides a sensitive means of detecting radioactivity. A tube is filled with an inert gas, which will conduct electricity when radiation enters it. When a charged particle comes into the tube, it changes the electrical potential between the anode and the cathode. This change in potential in the tube pr... | high_school_physics | physics | |
math_1353 | math_mc | Find the product of the nonreal roots of $x^4-4x^3+6x^2-4x=2005.$ | A | math_Intermediate Algebra | mathematics | ||
math_1157 | math_mc | Let $w,$ $x,$ $y,$ and $z$ be nonnegative numbers whose sum is 100. Find the largest possible value of
\[wx + xy + yz.\] | A | math_Intermediate Algebra | mathematics | ||
mmlu_aux_train_2178 | mmlu_aux_train | Which is the best explanation for how air masses move across the United States?
A. The prevailing westerlies move air masses from west to east across the United States but may be deflected by the jet stream.
B. The trade winds move air masses from west to east across the United States.
C. The jet stream moves air mass... | A. The prevailing westerlies move air masses from west to east across the United States but may be deflected by the jet stream. | college_earth_science | earth_science | ||
mmlu_aux_train_29559 | mmlu_aux_train | We met in a crowded showroom fifteen years ago. As I inched forward I eyed him with suspicion, unsure what to make of this stranger.A salesman made the proper introductions and although we got to know each other, I didn't trust him. I call him Super. I would find myself staring at him, wondering what secrets he held. I... | B. Super had limited power since he was only a machine. | high_school_computer_science | computer_science | ||
aquarat_57130 | deepmind/aqua_rat | One paper is equally folded 35 times, then what is the new thickness of the paper ? | A. 50 T B. 2T C. T x (2 ^90) D. T x (2 ^20) E. T x (2 ^50) | E. T x (2 ^50) | Explanation:
Let initial thickness of the paper be 'T'
after first fold it will be '2T' = 2 ^1 T
after second fold it will be '4t' = 2^2 T
after 50th fold it will be T x (2 ^50)
Answer E | high_school_physics | physics |
allenai/sciq_2065 | allenai/sciq | How can people access water in an aquifer that does not flow from a spring or a geyser?
A. dig a well
B. generate electricity
C. mound building
D. evaporation | A. dig a well | Most groundwater does not flow out of an aquifer as a spring or geyser. So to use the water that's stored in an aquifer people must go after it. How? They dig a well. A well is a hole that is dug or drilled through the ground down to an aquifer. This is illustrated in Figure below . | college_earth_science | earth_science | |
math_1013 | math_mc | Circle $C$ with radius 2 has diameter $\overline{AB}$. Circle D is internally tangent to circle $C$ at $A$. Circle $E$ is internally tangent to circle $C$, externally tangent to circle $D$, and tangent to $\overline{AB}$. The radius of circle $D$ is three times the radius of circle $E$, and can be written in the form $... | C | math_Geometry | mathematics | ||
allenai/sciq_4979 | allenai/sciq | What is the biggest group of animals on the planet?
A. arthropods
B. herbivores
C. carnivores
D. mammles | A. arthropods | How often do you think you see an arthropod? Well, have you ever looked up close at an ant? A spider? A fly? A moth? With over a million described species (and many more yet to be described) in the phylum containing arthropods, chances are, you encounter one of these organisms every day, without even leaving your house... | high_school_biology | biology | |
math_1000 | math_mc | A right circular cone has a base with radius $600$ and height $200\sqrt{7}.$ A fly starts at a point on the surface of the cone whose distance from the vertex of the cone is $125$, and crawls along the surface of the cone to a point on the exact opposite side of the cone whose distance from the vertex is $375\sqrt{2}.$... | D | math_Geometry | mathematics | ||
mmlu_aux_train_6579 | mmlu_aux_train | The Internet brings us many advantages. With the Internet, people can send and receive emails. On the Internet, people can skim over news. Using the Telnet, the user anywhere on the Internet can log into any other machine on which he has an account. It is possible to use the FTP program to copy files from one machine o... | B. the Internet use may cause psychological problems | computer_security | computer_science | ||
mmlu_aux_train_96716 | mmlu_aux_train | Heat energy has been added to
A. red velvet cupcakes
B. Greek yogurt
C. ceviche
D. Caesar salad | A. red velvet cupcakes | high_school_chemistry | chemistry | ||
mmlu_aux_train_93738 | mmlu_aux_train | In which pair of elements are both metalloids?
A. Sn and Sb
B. Sb and Te
C. Te and I
D. I and Xe | B. Sb and Te | high_school_chemistry | chemistry | ||
mmlu_aux_train_1629 | mmlu_aux_train | Heat from deep in Earth's interior is transferred to its crust by which of the following?
A. conduction in the ocean
B. convection in the mantle
C. radiation from the solid core
D. evaporation at mid-ocean ridges | B. convection in the mantle | conceptual_physics | physics | ||
math_1773 | math_mc | For how many positive integers $n\geq 2$ is $1001_n$ a prime number? | C | math_Number Theory | mathematics | ||
pythonio_212 | pythonio-mc | Program:
import re
def removezero_ip(ip):
string = re.sub('\.[0]*', '.', ip)
return string
Input:
removezero_ip("216.08.094.0196")
Output: | B | code | computer_science | ||
mmlu_aux_train_90517 | mmlu_aux_train | Li Ming likes walking. He goes for a walk after his father comes back from work. Li Ming likes water very much. He often throws his toys into the water. He plays with the water and sometimes he is wet all over . His mother says, "You are from fish, I think."Li Ming is very glad. "Yes, I like fish very much because fish... | B. his father | high_school_biology | biology | ||
allenai/sciq_3569 | allenai/sciq | When there is no mass in a volume of space, the space is not what?
A. curved
B. straight
C. timed
D. flat | A. curved | When there is no mass in a volume of space, the space is not curved. An object passing through such space would follow a straight line in our normal way of thinking of a straight line. | conceptual_physics | physics | |
allenai/sciq_8414 | allenai/sciq | What bonds form when pairs of electrons are shared?
A. ionized bonds
B. neutron bonds
C. dissonance bonds
D. covalent bonds | D. covalent bonds | high_school_chemistry | chemistry | ||
allenai/sciq_2538 | allenai/sciq | What does oil do when mixed with water?
A. precipitates
B. forms droplets
C. dissolves
D. dissappears | B. forms droplets | Figure 2.13 Oil and water do not mix. As this macro image of oil and water shows, oil does not dissolve in water but forms droplets instead. This is due to it being a nonpolar compound. (credit: Gautam Dogra). | high_school_chemistry | chemistry | |
allenai/sciq_5580 | allenai/sciq | What reaction is considered the reverse of photosynthesis?
A. cellular transfer
B. cellular decay
C. cellular respiration
D. cellular digestion | C. cellular respiration | Many important biological processes involve redox reactions, which frequently store and release energy. For example, photosynthesis involves the reduction of carbon dioxide into glucose and the oxidation of water into oxygen. This process stores the energy of sunlight in the bonds of sugars. The reverse reaction, cellu... | high_school_biology | biology | |
math_2014 | math_mc | What is the smallest positive integer $x$ that, when multiplied by $400$, produces a product that is a multiple of $576$? | D | math_Prealgebra | mathematics | ||
aquarat_70693 | deepmind/aqua_rat | If ROSE is coded as 6821, CHAIR is coded as 73456 and PREACH is coded as 961473, what will be the code for SEARCH ? | A. 233999 B. 214673 C. 277899 D. 288889 E. 100012 | B. 214673 | Explanation:
The alphabets are coded as shown :
{\color{Blue} \begin{matrix} R & O & S & E & C& H & A & I & P\\ 6& 8& 2& 1& 7 & 3 & 4 & 5 & 9 \end{matrix}}
So, in SEARCH,
S ia coded as 2,
E as 1,
A as 4,
R as 6,
C as 7,
H as 3.
Thus, the code for SEARCH is 214673
Answer: B) 214673 | formal_logic | mathematics |
allenai/sciq_2945 | allenai/sciq | Seismic waves show that the inner core of the earth is solid while the outer core is what?
A. liquid
B. silicon
C. gas
D. lava | A. liquid | The dense, iron core forms the center of the Earth. Scientists know that the core is metal from studying metallic meteorites and the Earth’s density. Seismic waves show that the outer core is liquid, while the inner core is solid. Movement within Earth's outer liquid iron core creates Earth’s magnetic field. These conv... | earth_science | earth_science | |
math_1660 | math_mc | Given that $a$ is an odd multiple of $1183$, find the greatest common divisor of $2a^2+29a+65$ and $a+13$. | B | math_Number Theory | mathematics | ||
allenai/sciq_10841 | allenai/sciq | Recrystallization is a process that can remove what, which result when compounds are synthesized?
A. minerals
B. contaminants
C. substances
D. chemicals | B. contaminants | When compounds are synthesized, they often have contaminating materials mixed in with them. The process of recrystallization can be used to remove these impurities. The crystals are dissolved in a hot solvent, forming a solution. When the solvent is cooled the compound is no longer as soluble and will precipitate out o... | college_chemistry | chemistry | |
aquarat_69199 | deepmind/aqua_rat | There are 8436 steel balls, each with a radius of 1 cm, stacked in a pile, with 1 ball on top, 3 balls in the second layer, 6 in the third layer, 10 in the fourth and so on. the number of horizontal layer on the pile is | A. 34 B. 38 C. 36 D. 32 E. None | C. 36 | Explanation :
Assume the number of layers in horizontal pile is n.
So, Σn(n+1)/2 = 8436.
=> (1/2) [ Σn2 + Σn ] = 8436.
=> n(n+1)(n+2)/12 +n(n+1)/4 = 8436.
=> n(n +1) [(2n + 4) / 12 ] = 8436.
=> n(n +1)(n+2) / 6 = 8436.
=> n(n +1)(n+2) = 36 x 37 x 38.
So, n=36.
Answer : C | college_mathematics | mathematics |
math_936 | math_mc | $\triangle ABC$ is inscribed in a semicircle of radius $r$ so that its base $AB$ coincides with diameter $AB$. Point $C$ does not coincide with either $A$ or $B$. Let $s=AC+BC$. Then, for all permissible positions of $C$:
$\textbf{(A)}\ s^2\le8r^2\qquad \textbf{(B)}\ s^2=8r^2 \qquad \textbf{(C)}\ s^2 \ge 8r^2 \qquad\\ ... | D | math_Geometry | mathematics | ||
mmlu_aux_train_93658 | mmlu_aux_train | Gasoline for cars is produced from fossil fuels. Using gasoline can most likely lead to which environmental problem?
A. soil erosion
B. water pollution
C. wildlife extinction
D. global warming | D. global warming | high_school_biology | biology | ||
pythonio_770 | pythonio-mc | Program:
def min_Num(arr,n):
odd = 0
for i in range(n):
if (arr[i] % 2):
odd += 1
if (odd % 2):
return 1
return 2
Input:
min_Num([1,2,3,4,5,6,7,8,9],9)
Output: | B | code | computer_science | ||
pythonio_765 | pythonio-mc | Program:
def palindrome_lambda(texts):
result = list(filter(lambda x: (x == "".join(reversed(x))), texts))
return result
Input:
palindrome_lambda(["abcd", "Python", "abba", "aba"])
Output: | C | code | computer_science | ||
NLP4Education_465 | NLP4Education | Tick the \emph{correct} assertion.
A. MD5 is using a compression function based on the Davies-Meyer scheme.
B. The Keccak hash function is based on the Merkle-Damgård construction.
C. Plain CBCMAC is resistant to forgery attacks.
D. GCM is an efficient MAC based on the CBC mode. | A. MD5 is using a compression function based on the Davies-Meyer scheme. | computer_security | computer_science | ||
pythonio_355 | pythonio-mc | Program:
def find_Min_Sum(a,b,n):
a.sort()
b.sort()
sum = 0
for i in range(n):
sum = sum + abs(a[i] - b[i])
return sum
Input:
find_Min_Sum([1,2,3],[4,5,6],3)
Output: | A | code | computer_science | ||
allenai/sciq_4967 | allenai/sciq | Saturated hydrocarbons are given the general name of what?
A. alkanes
B. enzymes
C. carbohydrates
D. lipids | A. alkanes | Saturated hydrocarbons are given the general name of alkanes. The name of specific alkanes always ends in –ane and has a prefix to indicate how many carbon atoms it has. | high_school_chemistry | chemistry | |
aquarat_21039 | deepmind/aqua_rat | Ten people take a test and the scores are 40, 45, 45, 50, 50, 60, 70, 75, 95, 100.
Find the amount of people that scored between the median and mean scores of the tests. | A. Two B. Four C. One D. Three E. Five | C. One | The median = (the average of two middle terms) = (50 + 60)/2 = 55.
The mean = (the sum)/(# of terms) = 630/10 = 63.
Only 60 is between 55 and 63.
Answer: C. | high_school_statistics | mathematics |
math_836 | math_mc | Through a point on the hypotenuse of a right triangle, lines are drawn parallel to the legs of the triangle so that the triangle is divided into a square and two smaller right triangles. The area of one of the two small right triangles is $m$ times the area of the square. What is the ratio of the area of the other smal... | B | math_Geometry | mathematics | ||
allenai/sciq_6807 | allenai/sciq | What do loess deposits form?
A. rotational cliffs
B. vertical cliffs
C. horizontal cliffs
D. diagonal cliffs | B. vertical cliffs | When the wind drops fine particles of silt and clay, it forms deposits called loess ( Figure below ). Loess deposits form vertical cliffs. Loess can become a thick, rich soil. That’s why loess deposits are used for farming in many parts of the world. | college_geology | earth_science | |
mmlu_aux_train_99302 | mmlu_aux_train | objects made of what cause refraction of light?
A. wind
B. wood
C. melted sand
D. soil | C. melted sand | conceptual_physics | physics | ||
mmlu_aux_train_20706 | mmlu_aux_train | You Mi, a lovely and confident 17-year-old student, is the first Chinese high school student to appear on the cover of the popular young adults' fashion magazine Seventeen. "You is IN," said Wang LiHua, Editor-in-Chief of Seventeen. "She is active and mature because of her knowledge on everything from academic studie... | C. is active and mature | high_school_computer_science | computer_science | ||
math_1878 | math_mc | Find the product of all integer divisors of $105$ that also divide $14$. (Recall that the divisors of an integer may be positive or negative.) | A | math_Prealgebra | mathematics | ||
mmlu_aux_train_60965 | mmlu_aux_train | At least 10 million hectares of cultivated land in China are polluted, which makes a _ threat to the country's food safety, the Xinhua News Agency reported on Friday. The polluted land,which is mostly in economically developed areas,accounts for one-tenth of the country's total arable land,according to an incomplete su... | D. inform the readers of the importance of fighting farmland pollution | college_biology | biology | ||
NLP4Education_498 | NLP4Education | Which algorithm can be typically used in order to generate a prime number?
A. The Left to Right Algorithm
B. The Extended Euclidean Algorithm
C. The Miller-Rabin Test
D. The Tonelli Algorithm | C. The Miller-Rabin Test | college_computer_science | computer_science | ||
NLP4Education_386 | NLP4Education | The Merkle-D{\aa}mgard construction is
A. a method which iterates a hash function to obtain a compression function.
B. a method which iterates a compression function to obtain a hash function.
C. a method which constructs a compression function from a block cipher.
D. a method which constructs a block cipher function f... | B. a method which iterates a compression function to obtain a hash function. | computer_security | computer_science | ||
math_51 | math_mc | Let \[f(x) = \left\{
\begin{array}{cl}
-x + 3 & \text{if } x \le 0, \\
2x - 5 & \text{if } x > 0.
\end{array}
\right.\]How many solutions does the equation $f(f(x)) = 4$ have? | A | math_Algebra | mathematics | ||
aquarat_2389 | deepmind/aqua_rat | There are 5 physics books and 1 chemistry book on shelf P and 4 physics books on shelf Q. One book is moved from shelf P to shelf Q. A student picks up a book from shelf Q. What is the probability that the chemistry book is taken by the student? | A. 1/40 B. 1/35 C. 1/30 D. 1/25 E. 1/20 | C. 1/30 | P(a chemistry book is moved to shelf Q) = 1/6
P(a chemistry book is then chosen from shelf Q) = 1/5
P(the student takes a chemistry book) = 1/6 * 1/5 = 1/30
The answer is C. | conceptual_physics | physics |
pythonio_507 | 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(19,17)
Output: | C | code | computer_science | ||
aquarat_59845 | deepmind/aqua_rat | Pointing to a man in a photograph. Asha said. "His mother's only daughter is my mother." How is Asha related to that man ? | A. Sister B. Nephew C. Wife D. Niece E. FDD | D. Niece | Explanation:
Asha's mother's mother is man's mother i.e.. A.sha's mother is man's sister or Asita is man's niece.
Answer: D) Niece | formal_logic | mathematics |
mmlu_aux_train_63051 | mmlu_aux_train | The kids in this village wear dirty, ragged clothes. They sleep beside cows and sheep in huts made of sticks and mud. They have no school. Yet they all can chant the English alphabet, and some can make words. The key to their success: 20 tablet computers dropped off in their Ethiopian village in February by a U.S. gro... | A. It contributes to their self-study. | high_school_computer_science | computer_science | ||
math_1434 | math_mc | Let $a,$ $b,$ $c,$ $d$ be real numbers such that
\begin{align*}
a + b + c + d &= 6, \\
a^2 + b^2 + c^2 + d^2 &= 12.
\end{align*}Let $m$ and $M$ denote minimum and maximum values of
\[4(a^3 + b^3 + c^3 + d^3) - (a^4 + b^4 + c^4 + d^4),\]respectively. Find $m + M.$ | B | math_Intermediate Algebra | mathematics | ||
aquarat_72805 | deepmind/aqua_rat | For which of the following “n” is the number 2^74 +2^2058+2^2n is a perfect square? | A. 22777 B. 2686 C. 8667 D. 2020 E. 99771 | D. 2020 | 2^74 +2^2058+2^2n = K2K2
2^74 +2^2058+2^2n = (237)2+22058+(2n)2(237)2+22058+(2n)2
We try to write this expression as (a+b)2=a2+2ab+b2(a+b)2=a2+2ab+b2
Now a = 237237, 2ab = 2205822058 and b = 2n2n
Substituting the value of a in 2ab, we get b = 2020
Ans: D | college_mathematics | mathematics |
math_2084 | math_mc | Let point $O$ be the origin of a three-dimensional coordinate system, and let points $A,$ $B,$ and $C$ be located on the positive $x,$ $y,$ and $z$ axes, respectively. If $OA = \sqrt[4]{75}$ and $\angle BAC = 30^\circ,$ then compute the area of triangle $ABC.$ | B | math_Precalculus | mathematics | ||
pythonio_684 | pythonio-mc | Program:
from collections import Counter
def second_frequent(input):
dict = Counter(input)
value = sorted(dict.values(), reverse=True)
second_large = value[1]
for (key, val) in dict.items():
if val == second_large:
return (key)
Input:
second_frequent(['aaa','bbb','ccc','bbb','aaa','aaa'])
Ou... | C | code | computer_science | ||
aquarat_65624 | deepmind/aqua_rat | If x + y + z = 0 then,
x^2 + y^2 + z^2/(x-y)^2 + (y-z)^2 + (z-x)^2 = ? | A. 0 B. 1 C. xyz D. x+y+z E. None | E. None | =>(x + y + z)² = x² + y² + z² + 2xy + 2xz + 2yz
=> x + y + z = 0 given
=>So, x² + y² + z² = - 2(xy + xz + yz) .....(1)
(x² + y² + z²)
------------------- = ?
(x-y)²+(y-z)²+(z-x)²
(x² + y² + z²)
------------------------------------
2(x² + y² + z²)- 2(xy + xz + yz)
(x² + y² + z²)
------------------------------- [:: from ... | college_mathematics | mathematics |
allenai/sciq_7772 | allenai/sciq | The mild oxidation of thiols gives compounds called what?
A. disulfides
B. carbonates
C. halides
D. dioxides | A. disulfides | Thiols (also called mercaptans), which are sulfur analogs of alcohols, have the general formula RSH. Methanethiol (also called methyl mercaptan), has the formula CH3SH. Ethanethiol (ethyl mercaptan) is the most common odorant for liquid propane (LP) gas. The mild oxidation of thiols gives compounds called disulfides. | college_chemistry | chemistry | |
math_585 | math_mc | Bob rolls a fair six-sided die each morning. If Bob rolls a composite number, he eats sweetened cereal. If he rolls a prime number, he eats unsweetened cereal. If he rolls a 1, then he rolls again. In a non-leap year, what is the expected number of times Bob will roll his die? | C | math_Counting & Probability | mathematics | ||
mmlu_aux_train_94672 | mmlu_aux_train | When Javier exercises, his muscle cells need more oxygen. Which would help Javier's muscle cells receive more oxygen?
A. decreasing his respiration rate
B. increasing his perspiration rate
C. increasing the rate his heart beats
D. decreasing the rate his blood flow | C. increasing the rate his heart beats | high_school_biology | biology | ||
NLP4Education_165 | NLP4Education | Applying SVD to a term-document matrix M. Each concept is represented in K
A. as a singular value
B. as a linear combination of terms of the vocabulary
C. as a linear combination of documents in the document collection
D. as a least squares approximation of the matrix M | B. as a linear combination of terms of the vocabulary | machine_learning | computer_science | ||
mmlu_aux_train_53044 | mmlu_aux_train | Fernando and I were arguing about why I never took any real vacations.When he suggested we go off somewhere for three entire weeks,"You decide,"I said. He chose a little fishing village off the coast and he planned out a schedule.Our trip was full of wormer and fun,but when we got there,the shabby hotel failed to satis... | D. Their trip was satisfying at the beginning. | high_school_computer_science | computer_science | ||
mmlu_aux_train_749 | mmlu_aux_train | Athlete, a professional football player, signed a written consent for his team's physician, Doctor, to perform a knee operation. After Athlete was under a general anesthetic, Doctor asked Surgeon, a world famous orthopedic surgeon, to perform the operation. Surgeon's skills were superior to Doctor's, and the operation ... | A. prevail, because Athlete did not agree to allow Surgeon to perform the operation. | clinical_knowledge | biology | ||
math_2207 | math_mc | Let $a$ and $b$ be nonnegative real numbers such that
\[\sin (ax + b) = \sin 29x\]for all integers $x.$ Find the smallest possible value of $a.$ | B | math_Precalculus | mathematics | ||
mmlu_aux_train_32868 | mmlu_aux_train | What kind of pets do people have in your country? Dogs? Cats? How about a duck, hippo or lion? Here are two cases of animal owners with unusual pets. Barrie Hayman has a pet duck called Star. Barrie adopted him after his brothers and sisters stayed away from him at birth. Barrie, a duck breeder, realized the little d... | B. Some unusual pets are adopted by people. | high_school_computer_science | computer_science | ||
math_1263 | math_mc | Six congruent copies of the parabola $y = x^2$ are arranged in the plane so that each vertex is tangent to a circle, and each parabola is tangent to its two neighbors. Find the radius of the circle.
[asy]
unitsize(1 cm);
real func (real x) {
return (x^2 + 3/4);
}
path parab = graph(func,-1.5,1.5);
draw(parab);
d... | A | math_Intermediate Algebra | mathematics | ||
pythonio_348 | pythonio-mc | Program:
from collections import defaultdict
def grouping_dictionary(l):
d = defaultdict(list)
for k, v in l:
d[k].append(v)
return d
Input:
grouping_dictionary([('yellow', 1), ('blue', 2), ('yellow', 3), ('blue', 4), ('red', 1)])
Output: | C | code | computer_science | ||
pythonio_430 | pythonio-mc | Program:
def last_Two_Digits(N):
if (N >= 10):
return
fac = 1
for i in range(1,N + 1):
fac = (fac * i) % 100
return (fac)
Input:
last_Two_Digits(5)
Output: | A | code | computer_science | ||
mmlu_aux_train_46329 | mmlu_aux_train | Google is preparing for changes in its privacy policy beginning March 1st. The company says it plans to replace more than 60 separate policies for different products with one main policy. Privacy activists criticized last month's announcement. They are concerned that the new policy will make it easier to track the acti... | D. To build up a unified profile of its users | computer_security | computer_science | ||
math_1531 | math_mc | Call a positive integer $N$ a 7-10 double if the digits of the base-$7$ representation of $N$ form a base-$10$ number that is twice $N$. For example, $51$ is a 7-10 double because its base-$7$ representation is $102$. What is the largest 7-10 double?
| C | math_Number Theory | mathematics | ||
mmlu_aux_train_95759 | mmlu_aux_train | Human astronauts have visited
A. the closest celestial object to earth
B. the closest planet to Earth
C. the closest sun to Earth
D. the closest space to Earth | A. the closest celestial object to earth | astronomy | physics | ||
math_1720 | math_mc | Let $p$ and $q$ be positive integers such that\[\frac{5}{9} < \frac{p}{q} < \frac{4}{7}\]and $q$ is as small as possible. What is $q-p$?
$\textbf{(A) } 7 \qquad \textbf{(B) } 11 \qquad \textbf{(C) } 13 \qquad \textbf{(D) } 17 \qquad \textbf{(E) } 19$
| D | math_Number Theory | mathematics | ||
mmlu_aux_train_2416 | mmlu_aux_train | Which is an example of organic weathering of rocks?
A. glaciers moving large pieces of a fractured rock
B. tree roots growing in a fractured rock
C. ice freezing on a rock surface
D. wind blowing sand against a rock surface | B. tree roots growing in a fractured rock | college_geology | earth_science | ||
math_847 | math_mc | The diagonals of rectangle $PQRS$ intersect at point $X$. If $PS = 10$ and $RS=24$, then what is $\cos \angle PXS$? | D | math_Geometry | mathematics | ||
mmlu_aux_train_92129 | mmlu_aux_train | QQ is one of the most popular chat tools among teenagers .We regard it as an important chat tool in our daily life because it has some advantages . First, we can make lots of e-friends on QQ.It is easy to find the person who has the same interest as us ,and we can talk with him or her happily .Second ,we can also join ... | B. chat tool | high_school_computer_science | computer_science | ||
math_1981 | math_mc | Keiko tosses one penny and Ephraim tosses two pennies. What is the probability that Ephraim gets the same number of heads that Keiko gets? Express your answer as a common fraction. | D | math_Prealgebra | mathematics | ||
NLP4Education_452 | NLP4Education | Consider $GF(8)$ defined as $\mathbb{Z}_2[X]/(P(X))$ with $P(x) = X^3 + X + 1$. Compute $X^2 \times (X + 1)$ in $\mathbb{Z}_2[X]/(P(X))$
A. $X^2 + X + 1$
B. $X^2 + 1$
C. $X^2$
D. $X + 1$ | A. $X^2 + X + 1$ | abstract_algebra | mathematics | ||
allenai/sciq_6675 | allenai/sciq | Water is a polar compound, so its molecules are attracted to each other and form what kind of bonds?
A. mixed
B. carbon
C. helium
D. hydrogen | D. hydrogen | Water is a polar compound, so its molecules are attracted to each other and form hydrogen bonds. | high_school_chemistry | chemistry | |
aquarat_82288 | deepmind/aqua_rat | Which is better investment: 11% stock at 143 or 9% stock at 117? | A. 9 3/4% stock at 119 B. 9 3/4% stock at 117 C. 9 3/4% stock at 112 D. 9 3/4% stock at 118 E. 9 3/4% stock at 111 | B. 9 3/4% stock at 117 | Let investment in each case be Rs. (143 x 117).
Income in 1st case = Rs. 11 x 143 x 117 = Rs. 1287.
143
Income in 2nd case = Rs. 39 x 143 x 117 = Rs. 1394.25
4 x 117
Clearly, 9 3 % stock at 117 is better.
4
Answer:B | college_mathematics | mathematics |
math_13 | math_mc | Expand $(2z^2 + 5z - 6)(3z^3 - 2z + 1)$. | D | math_Algebra | mathematics | ||
NLP4Education_577 | NLP4Education | The group $\mathbb{Z}_{60}^*$ has \ldots
A. 16 elements.
B. 60 elements.
C. 59 elements.
D. 32 elements. | A. 16 elements. | abstract_algebra | mathematics | ||
math_1628 | math_mc | For positive integers $N$ and $k$, define $N$ to be $k$-nice if there exists a positive integer $a$ such that $a^{k}$ has exactly $N$ positive divisors. Find the number of positive integers less than $1000$ that are neither $7$-nice nor $8$-nice.
| B | math_Number Theory | mathematics | ||
allenai/sciq_5475 | allenai/sciq | The lunar landscape is covered by craters caused by what?
A. earth impacts
B. water
C. volcanoes
D. asteroid impacts | D. asteroid impacts | The landscape of the Moon - its surface features - is very different from Earth. The lunar landscape is covered by craters caused by asteroid impacts ( Figure below ). The craters are bowl-shaped basins on the Moon’s surface. Because the Moon has no water, wind, or weather, the craters remain unchanged. | astronomy | physics | |
NLP4Education_440 | NLP4Education | Which one of the following notions is not in the fundamental trilogy of cryptography?
A. confidentiality
B. authentication
C. integrity
D. privacy | D. privacy | computer_security | computer_science | ||
NLP4Education_603 | NLP4Education | In linear cryptanalysis, …
A. one needs to do a chosen plaintext attack.
B. one studies how the differences in the input propagate in the cipher.
C. one chooses the deviant property with the smallest bias in order to optimize the attack.
D. one needs to have about $\frac{1}{LP}$ pairs of plaintext-ciphertext in order t... | D. one needs to have about $\frac{1}{LP}$ pairs of plaintext-ciphertext in order to recover the correct key, where $LP$ is the linear probability of the cipher. | computer_security | computer_science | ||
aquarat_44670 | deepmind/aqua_rat | In how many ways can the letters of the word EMULATION be arranged such that all the vowels always appear together? | A. 9! B. 9!*4! C. 5!*4! D. 9!*5! E. 5!*5! | E. 5!*5! | The 9 letters can be grouped into 4 consonants and one set of 5 vowels.
The number of ways to arrange 5 units is 5!
Then, for each arrangement, the 5 vowels can be arranged in 5! ways.
The total number of arrangements is 5!*5!
The answer is E. | college_mathematics | mathematics |
allenai/sciq_8027 | allenai/sciq | Scientists around the world study speciation, documenting observations both of living organisms and those found in the fossil record. as their ideas take shape and as research reveals new details about how life evolves, they develop models to help explain what?
A. creation theory
B. rates of speciation
C. food chains
... | B. rates of speciation | Varying Rates of Speciation Scientists around the world study speciation, documenting observations both of living organisms and those found in the fossil record. As their ideas take shape and as research reveals new details about how life evolves, they develop models to help explain rates of speciation. In terms of how... | college_biology | biology | |
aquarat_25652 | deepmind/aqua_rat | If f(x) = Log(x), then f -1(x) = | A. 10 x B. -10 -x C. 1 / 10 x D. x 10 E. NONE | A. 10 x | Solution
y = Log(x) if and only if
x = 10y
Interchange x and y
y = 10x
Hence
f -1(x) = 10x
Answer A | college_mathematics | mathematics |
mmlu_aux_train_2021 | mmlu_aux_train | A student used the dimmest setting on a light microscope to observe a euglena and an amoeba. The student shined a narrow beam of light at the top of the cover slip. She observed that the euglena swam up toward the light but the amoeba did not. She knew the amoeba was alive because it slowly changed shape while she watc... | B. An amoeba is unable to respond to light. | high_school_biology | biology | ||
math_1176 | math_mc | A certain function $f$ has the properties that $f(3x) = 3f(x)$ for all positive real values of $x$, and that $f(x) = 1 - |x - 2|$ for $1\leq x \leq 3$. Find the smallest $x$ for which $f(x) = f(2001)$. | A | math_Intermediate Algebra | mathematics | ||
mmlu_aux_train_51221 | mmlu_aux_train | During a career planning class, Brenda Fabian asked how many students use Facebook, a popular online networking community for college students. Almost everyone in the room raised a hand."Then I asked how many knew that employers are reviewing Facebook for hiring purposes,"says Fabian,director for Center for Career Serv... | B. can't be deleted completely | college_computer_science | computer_science | ||
math_1037 | math_mc | Two identical rectangular crates are packed with cylindrical pipes, using different methods. Each pipe has diameter $10\text{ cm}.$ A side view of the first four rows of each of the two different methods of packing is shown below.
[asy]
draw(circle((1,1),1),black+linewidth(1));
draw(circle((3,1),1),black+linewidth(1))... | A | math_Geometry | mathematics | ||
math_593 | math_mc | In how many different ways can 3 men and 4 women be placed into two groups of two people and one group of three people if there must be at least one man and one woman in each group? Note that identically sized groups are indistinguishable. | A | math_Counting & Probability | mathematics | ||
NLP4Education_150 | NLP4Education | The type statement in RDF would be expressed in the relational data model by a table
A. with one attribute
B. with two attributes
C. with three attributes
D. cannot be expressed in the relational data model | A. with one attribute | computer_security | computer_science | ||
mmlu_aux_train_49254 | mmlu_aux_train | Linus Pauling, the only person who has won two undivided Nobel Prizes, was born in Portland, Oregon. He attended Washington High School but because of an unimportant detail he did not receive his diploma until 1962, long after he had received his Bachelor's degree in chemical engineering from Oregon State College in 19... | B. Physical chemistry. | college_chemistry | chemistry | ||
allenai/sciq_3710 | allenai/sciq | What happens to the wire in a fuse if it's current rating is exceed?
A. sparks
B. it melts
C. ignites
D. disappears | B. it melts | The image above is one type of electrical fuse. This fuse has a specially designed wire inside glass housing. The wire inside the glass is made of a particular metal and with a particular thickness to give the wire an exact resistance. This resistance will allow passage of normal current plus a marginal percentage more... | electrical_engineering | engineering | |
aquarat_780 | deepmind/aqua_rat | One morning is starts to snow at a constant rate. Later, at 6:00am, a snow plow sets out to clear a straight street. The plow can remove a fixed volume of snow per unit time, in other words its speed it inversely proportional to the depth of the snow. If the plow covered twice as much distance in the first hour as the ... | A. 2:22:55am B. 5:22:55am C. 1:22:55am D. 6:22:55am E. 7:22:55am | B. 5:22:55am | Let the depth of snow at time t to be t units. The speed of the plow at time t will be 1/t. Define t=0 as the time it started snowing and t=x the time the plow started.
The distance covered in the first hour is the integral from x to x+1 of 1/t dt. The antiderivative of 1/t is ln(t) so the total distance covered in the... | college_mathematics | mathematics |
mmlu_aux_train_55393 | mmlu_aux_train | Three months after the government stopped issuing or renewing permits for Internet cafes because of security concerns, some cafe owners are having financial concerns of their own. The permits were stopped suddenly three months ago by the government until new safeguards could be put in place to prevent misuse of the inf... | D. to make sure of the proper use of the information superhighway | computer_security | computer_science | ||
math_1900 | math_mc | What numeral is in the 100th decimal place in the decimal representation of $\frac{6}{7}$? | B | math_Prealgebra | mathematics | ||
mmlu_aux_train_12132 | mmlu_aux_train | On December 26, a ten-year-old British schoolgirl, Tilly Smith, felt that something was wrong while she was on the beach with her family. Her mind kept going back to the geography lesson Mr. Kearney gave just two weeks before she flew to Thailand with her family. "The water was swelling and kept coming in," said Tilly... | B. A Ten-year-old Heroine | high_school_biology | biology | ||
mmlu_aux_train_34560 | mmlu_aux_train | Driving speeds have largely stabilized, and nowadays, safety concerns are important and reducing road accidents to minimum is a must. So, automakers are focused on safety systems more than ever before. Given the emphasis on improving safety, it's possible that well-known phrases such as "live fast and die young" may l... | D. detect potential contacts between vehicles in advance | electrical_engineering | engineering |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.