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_1943 | math_mc | On the 5 by 5 square grid below, each dot is 1 cm from its nearest horizontal and vertical neighbors. What is the product of the value of the area of square $ABCD$ (in cm$^2$) and the value of the perimeter of square $ABCD$ (in cm)? Express your answer in simplest radical form.
[asy]unitsize(1cm);
defaultpen(linewidth... | A | math_Prealgebra | mathematics | ||
mmlu_aux_train_30193 | mmlu_aux_train | HOUSTON (Reuters) -- Houston tops a U.S. magazine's annual fattest cities list for the fourth time in five years, with four other Texas cities in the top 25. Fast food restaurants -- Houston has twice the national average number -- are partly to blame for the dishonor,Men's Fitnesseditor-in-chief Neal Boulton said. "Am... | D. Things related to unhealthy ways of life. | high_school_statistics | mathematics | ||
aquarat_29466 | deepmind/aqua_rat | How many ways are there to select a subcommittee of 8 members from among a committee of 17? | A. 22888 B. 24310 C. 28791 D. 27711 E. 12111 | B. 24310 | Explanation:
Since it does not matter what order the committee members are chosen in, the combination formula is used.
Committees are always a combination unless the problem states that someone like a president has higher hierarchy over another person. If the committee is ordered, then it is a permutation.
C(17,8)= 243... | college_mathematics | mathematics |
NLP4Education_271 | NLP4Education | For which document classifier is the training cost low and inference expensive?
A. k-Nearest Neighbors (kNN)
B. Naive Bayes (NB)
C. fastText
D. Decision Tree | A. k-Nearest Neighbors (kNN) | machine_learning | computer_science | ||
mmlu_aux_train_2333 | mmlu_aux_train | While on a field trip to NASA, Felicia saw a short film on materials that make up nebulae. Which topic was most likely presented in the film?
A. asteroid development
B. stellar formation
C. planetary orbits
D. galaxy shapes | B. stellar formation | astronomy | physics | ||
mmlu_aux_train_45811 | mmlu_aux_train | Daniel stays home on workdays.He starts his personal computer in order to connect with the office which is about three hundred miles away in another city.After work, he puts on his headphones, watches a movie on his home video recorder, or plays baseball on the computer.On many days, Daniel doesn't talk to any other hu... | B. watch a movie in his living-room | high_school_computer_science | computer_science | ||
mmlu_aux_train_94351 | mmlu_aux_train | Which property of water allows it to dissolve many different substances?
A. It is a polar molecule.
B. It contains hydrogen atoms.
C. It has a high melting point.
D. It has a low density. | A. It is a polar molecule. | high_school_chemistry | chemistry | ||
mmlu_aux_train_11858 | mmlu_aux_train | The Royal Commission on Environmental Pollution has just published a report on new materials and has looked at the case of nanotechnology , which describes the science of the very small. Nanotechnology covers those man-made materials or objects that are about a thousand times smaller than the microtechnology we use, su... | A. expand surface area -increase interactivity - change functionality-cause possible dangers | college_chemistry | chemistry | ||
pythonio_475 | pythonio-mc | Program:
def alternate_elements(list1):
result=[]
for item in list1[::2]:
result.append(item)
return result
Input:
alternate_elements(["red", "black", "white", "green", "orange"])
Output: | B | code | computer_science | ||
aquarat_20571 | deepmind/aqua_rat | If a^5 ≤ a, which of the following must be true?
I. –1 ≤ a ≤ 0
II. a=0
III. 0 ≤ a ≤ 1 | A. None of the above B. I only C. II only D. III only E. I and III only | A. None of the above | The trick here is more on the answer choices.
Look at I II and III. all are right (pick out some numbers).
Therefore I was totally confused because non of the answers had the right answer (I II and III)
I finally chose D, but hesitate between A and D quite a long time...
This is a tricky tricky question, since it takes... | college_mathematics | mathematics |
mmlu_aux_train_93319 | mmlu_aux_train | When a student uses the equation, mass multiplied by change in temperature multiplied by specific heat, what is being calculated? q = m \times C \times \Delta T
A. a phase change
B. stored energy
C. heat convection
D. heat gain or heat loss | D. heat gain or heat loss | high_school_physics | physics | ||
NLP4Education_174 | NLP4Education | What is the algorithm to perform optimization with gradient descent? Actions between Start loop and End loop are performed multiple times. (One answer)
A. Start loop, Initialize weights, Compute gradients, Update weights, End loop
B. Initialize weights, Compute gradients, Start loop, Update weights, End loop
C. Initial... | C. Initialize weights, Start loop, Compute gradients, Update weights, End Loop | machine_learning | computer_science | ||
mmlu_aux_train_96060 | mmlu_aux_train | A boy might have brown hair due to
A. inheritance
B. luck
C. magic
D. fire | A. inheritance | high_school_biology | biology | ||
math_426 | math_mc | The graph of the function $f(x)$ is shown below. How many values of $x$ satisfy $f(f(x)) = 3$? [asy]
import graph; size(7.4cm); real lsf=0.5; pen dps=linewidth(0.7)+fontsize(10); defaultpen(dps); pen ds=black; real xmin=-4.4,xmax=5.66,ymin=-1.05,ymax=6.16;
for(int i = -4; i <= 5; ++i) {
draw((i,-1)--(i,6), dashed+med... | B | math_Algebra | mathematics | ||
pythonio_234 | pythonio-mc | Program:
import math
def radian_degree(degree):
radian = degree*(math.pi/180)
return radian
Input:
radian_degree(90)
Output: | D | code | computer_science | ||
pythonio_266 | pythonio-mc | Program:
def tuple_modulo(test_tup1, test_tup2):
res = tuple(ele1 % ele2 for ele1, ele2 in zip(test_tup1, test_tup2))
return (res)
Input:
tuple_modulo((12, 6, 7, 8), (7, 8, 9, 7))
Output: | C | code | computer_science | ||
allenai/sciq_3625 | allenai/sciq | What is used to measure current through a resistor?
A. ammeters
B. spectrographs
C. thermometers
D. microscopes | A. ammeters | Ammeters measure the current through a resistor. | electrical_engineering | engineering | |
mmlu_aux_train_69190 | mmlu_aux_train | Milk is the most complete food in the world. It has many things that we need to help us grow. It can give us energy and good health. Milk is a food enjoyed by people of all ages as we can easily _ it. Milk is produced by all mother animals to feed their babies after they are born. Some such as cows produce more milk th... | C. give us healthy things | high_school_biology | biology | ||
allenai/sciq_10044 | allenai/sciq | Scientists goal is develop nuclear fusion power plants, where the energy from fusion of hydrogen nuclei can be converted to what?
A. electricity
B. oil
C. wind
D. gasoline | A. electricity | Scientists are searching for ways to create controlled nuclear fusion reactions on Earth. Their goal is develop nuclear fusion power plants, where the energy from fusion of hydrogen nuclei can be converted to electricity. How this might work is shown in Figure below . | college_physics | physics | |
math_1101 | math_mc | A truncated cone has horizontal bases with radii 18 and 2. A sphere is tangent to the top, bottom, and lateral surface of the truncated cone. What is the radius of the sphere? | D | math_Geometry | mathematics | ||
allenai/sciq_3340 | allenai/sciq | The reactions between alkali metals and water are particularly vigorous and include the rapid production of large quantities of what gas?
A. helium
B. hydrogen
C. oxygen
D. carbon | B. hydrogen | All alkali metals are very soft and can be cut easily with a knife. Due to their high reactivity, they must be stored under oil to prevent them from reacting with oxygen or water vapor in the air. The reactions between alkali metals and water are particularly vigorous and include the rapid production of large quantitie... | high_school_chemistry | chemistry | |
math_1105 | math_mc | [asy] draw((0,0)--(2,2)--(5/2,1/2)--(2,0)--cycle,dot); MP("A",(0,0),W);MP("B",(2,2),N);MP("C",(5/2,1/2),SE);MP("D",(2,0),S); MP("a",(1,0),N);MP("b",(17/8,1/8),N); [/asy]
In the accompanying figure, segments $AB$ and $CD$ are parallel, the measure of angle $D$ is twice that of angle $B$, and the measures of segments $AD... | D | math_Geometry | mathematics | ||
aquarat_2545 | deepmind/aqua_rat | In the faculty of Reverse-Engineering, 350 second year students study numeric methods, 250 second year students study automatic control of airborne vehicles and 100 second year students study them both. How many students are there in the faculty if the second year students are approximately 25% of the total? | A. 1800 B. 1900 C. 2100 D. 2000 E. 2200 | D. 2000 | Total number of students studying both are 350 + 250 - 100 = 500 (Subtracting the 100 since they were included in the both the other numbers already).
So 25% of total is 500, so 100% is 2000
Answer is D | college_mathematics | mathematics |
allenai/sciq_7537 | allenai/sciq | Body waves and surface waves are the two major types of what, which occur during earthquakes?
A. seismic waves
B. sound waves
C. current waves
D. tidal waves | A. seismic waves | There are two major types of seismic waves. Body waves travel through the Earth’s interior. Surface waves travel along the ground surface. In an earthquake, body waves are responsible for sharp jolts. Surface waves are responsible for rolling motions that do most of the damage in an earthquake. | earth_science | earth_science | |
math_121 | math_mc | On the Cartesian plane, the midpoint between two points $A(a,b)$ and $B(c,d)$ is $M(m,n)$. If $A$ is moved vertically upwards 8 units and horizontally to the right 2 units, and $B$ is moved vertically downwards 2 units and horizontally to the left 10 units, then the new midpoint between $A$ and $B$ is $M'$. What is the... | D | math_Algebra | mathematics | ||
allenai/sciq_1765 | allenai/sciq | What type of aquifer is trapped between two impermeable rock layers?
A. segmented
B. abandoned
C. solid
D. confined | D. confined | Sometimes an aquifer is confined. A confined aquifer is trapped between two impermeable rock layers. Pressure from the rock layer on top forces the water out where the aquifer reaches the ground surface. Water that flows up to the surface naturally is an artesian spring . If people drill a well into a confined aquifer,... | college_earth_science | earth_science | |
math_677 | math_mc | How many distinct sequences of four letters can be made from the letters in PROBLEM if each letter can be used only once and each sequence must begin with L and not end with P? | C | math_Counting & Probability | mathematics | ||
allenai/sciq_10925 | allenai/sciq | What does water treatment do to water?
A. adds flavor
B. increases volume
C. restores bacteria
D. removes unwanted substances | D. removes unwanted substances | Water treatment is a series of processes that remove unwanted substances from water. More processes are needed to purify water for drinking than for other uses. | high_school_chemistry | chemistry | |
allenai/sciq_9356 | allenai/sciq | When a mountain stream flows onto flatter land and comes to a stop rapidly, what do the deposits form?
A. alluvial fan
B. conical fan
C. upstream fan
D. vertical fan | A. alluvial fan | In arid regions, a mountain stream may flow onto flatter land. The stream comes to a stop rapidly. The deposits form an alluvial fan ( Figure below ). | earth_science | earth_science | |
math_2070 | math_mc | At the beginning of every period of British Literature, Mrs. Crabapple picks a random student to receive a crabapple as a gift, but really, as you might imagine, they are quite bitter and nasty. Given that there are 11 students in her class and her class meets four times a week, how many different sequences of crabappl... | A | math_Prealgebra | mathematics | ||
math_1496 | math_mc | Find the largest real number $c$ such that \[x_1^2 + x_2^2 + \dots + x_{101}^2 \geq cM^2\]whenever $x_1,x_2,\ldots,x_{101}$ are real numbers such that $x_1+x_2+\cdots+x_{101}=0$ and $M$ is the median of $x_1,x_2,\ldots,x_{101}.$ | C | math_Intermediate Algebra | mathematics | ||
allenai/sciq_5348 | allenai/sciq | Acids are the opposites of what?
A. water
B. bases
C. solids
D. gas | B. bases | Acids and bases have had many uses throughout history. In this chapter we want to explore the properties of acids and bases and the reactions in which they take part. | high_school_chemistry | chemistry | |
allenai/sciq_8902 | allenai/sciq | At what point during a chemical reaction is there no net change?
A. ionization
B. formation
C. equilibrium
D. bonding | C. equilibrium | Most chemical reactions reach equilibrium at which point there is no net change. | high_school_chemistry | chemistry | |
allenai/sciq_8811 | allenai/sciq | What term is used to describe a change in the characteristics of living things over time?
A. reproduction
B. evolution
C. generation
D. customization | B. evolution | Evolution is a change in the characteristics of living things over time. Evolution occurs by natural selection. | high_school_biology | biology | |
mmlu_aux_train_93263 | mmlu_aux_train | A jet plane is moving at a constant velocity on a flat surface. Which forces act against the forward motion of the plane?
A. gravity and engine thrust
B. engine thrust and friction
C. friction and air resistance
D. air resistance and gravity | C. friction and air resistance | conceptual_physics | physics | ||
allenai/sciq_4468 | allenai/sciq | An ether is an organic compound in which two hydrocarbon groups are bonded to the same atom of what?
A. sulfur
B. oxygen
C. nitrogen
D. hydrogen | B. oxygen | An ether is an organic compound in which two hydrocarbon groups are bonded to the same atom of oxygen. An ether is represented by the general formula R−O−R’. The R’ in the formula means that the hydrocarbon group can be the same as R or it can be different. The steps for naming ethers are listed below. | college_chemistry | chemistry | |
mmlu_aux_train_6319 | mmlu_aux_train | China started late in network technologies and has lagged behind for years. With the rapid development of wireless technologies, the concept of the Fifth Generation (5G) mobile communication system started to emerge . Although the development of 5G network technology in the international community is still in the resea... | B. Positive. | electrical_engineering | engineering | ||
math_579 | math_mc | A deck of forty cards consists of four $1$'s, four $2$'s,..., and four $10$'s. A matching pair (two cards with the same number) is removed from the deck. Given that these cards are not returned to the deck, let $m/n$ be the probability that two randomly selected cards also form a pair, where $m$ and $n$ are relatively ... | A | math_Counting & Probability | mathematics | ||
NLP4Education_215 | NLP4Education | [Gradient for convolutional neural nets] Let $f(x, y, z, u, v, w)=3 x y z u v w+x^{2} y^{2} w^{2}-7 x z^{5}+3 y v w^{4}$. What is
$$
\left.\left[\frac{\partial f}{\partial x}+\frac{\partial f}{\partial y}+\frac{\partial f}{\partial z}+\frac{\partial f}{\partial u}+\frac{\partial f}{\partial v}+\frac{\partial f}{\partia... | A. $0$ | college_mathematics | mathematics | ||
NLP4Education_512 | NLP4Education | One can find a collision in a hash function \( h\colon \{0,1\}^* \rightarrow \{0,1\}^n \) with expected time complexity…
A. \(\Theta(\sqrt{n})\).
B. \(\Theta(n)\).
C. \(\Theta(2^n)\).
D. \(\Theta(2^{n/2})\). | D. \(\Theta(2^{n/2})\). | computer_security | computer_science | ||
mmlu_aux_train_65471 | mmlu_aux_train | For the first time in Hong Kong's history,an entertainer has been written into middle school textbooks. He is considered one of the best actors in Hong Kong. Yes,he is Chow Yun fat. The example of his long hard struggle for success has been used in a chapter in a Hong Kong middle school textbook.Using his experience,st... | B. he keeps on struggling for success | high_school_computer_science | computer_science | ||
math_647 | math_mc | A child has a set of 96 distinct blocks. Each block is one of 2 materials (plastic, wood), 3 sizes (small, medium, large), 4 colors (blue, green, red, yellow), and 4 shapes (circle, hexagon, square, triangle). How many blocks in the set differ from the 'plastic medium red circle' in exactly 2 ways? (The 'wood medium re... | D | math_Counting & Probability | mathematics | ||
allenai/sciq_6554 | allenai/sciq | What do you call the ability of a particular electrochemical cell to generate an electric current?
A. kinetic energy
B. electromagnetism
C. momentum
D. electrical potential | D. electrical potential | The ability of a particular electrochemical cell to generate an electric current is called its electrical potential. Reduction potentials measure the tendency of a substance to be reduced in a redox reaction. | high_school_chemistry | chemistry | |
math_272 | math_mc | Given that $a$ and $b$ are positive integers and that $a+b=24$, what is the value of $ab$ if $2ab + 10a = 3b + 222$? | C | math_Algebra | mathematics | ||
mmlu_aux_train_99354 | mmlu_aux_train | You are hiking up the side of an inactive volcano, what are you most likely to find?
A. Mercury
B. Diamonds
C. Minerals
D. Gold | C. Minerals | college_geology | earth_science | ||
aquarat_66640 | deepmind/aqua_rat | Three Englishmen and three Frenchmen work for the same company. Each of them knows a secret not known to others. They need to exchange these secrets over person-to-person phone calls so that eventually each person knows all six secrets. None of the Frenchmen knows English, and only one Englishman knows French. What is ... | A. 5 B. 8 C. 11 D. 15 E. 17 | B. 8 | Explanation :
Let a, b, c be the Englishmen and d, e, f be the Frenchmen.
Let a be the Englishman who knows French. 'a' calls 'b & c' and now knows the secret of both of them. So now 'a' knows 'abc' secrets. 'd' calls 'e & f' and now knows the secret of both of them. So now 'd' knows 'def' secrets. 'a' now calls 'd', a... | formal_logic | mathematics |
mmlu_aux_train_65755 | mmlu_aux_train | People often view the "last" moments of an event positively simply because they signal the end of an experience, say experts. University of Michigan researchers found that even if an experience is painful or negative, but ends on a good note, people will consider it to be positive. "Endings are powerful," said Ed O'Bri... | D. Some participants didn't know it was their last chocolate when offered the fifth one. | college_biology | biology | ||
allenai/sciq_8817 | allenai/sciq | The sum of the masses of the atoms in the formula is referred to as what?
A. atomic mass
B. nucleus mass
C. molecular mass
D. magnetic mass | C. molecular mass | The molecular mass is the sum of the masses of the atoms in the formula. | high_school_chemistry | chemistry | |
math_1296 | math_mc | Determine the value of
\[\frac{\frac{2016}{1} + \frac{2015}{2} + \frac{2014}{3} + \dots + \frac{1}{2016}}{\frac{1}{2} + \frac{1}{3} + \frac{1}{4} + \dots + \frac{1}{2017}}.\] | A | math_Intermediate Algebra | mathematics | ||
pythonio_563 | pythonio-mc | Program:
def count_reverse_pairs(test_list):
res = sum([1 for idx in range(0, len(test_list)) for idxn in range(idx, len(
test_list)) if test_list[idxn] == str(''.join(list(reversed(test_list[idx]))))])
return str(res)
Input:
count_reverse_pairs(["geeks", "best", "for", "skeeg"])
Output: | A | code | computer_science | ||
mmlu_aux_train_60742 | mmlu_aux_train | Have you ever asked yourself why you have two eyes instead of one, three, or even hundreds as some insects have? Have you wondered why your eyes are set close together on the front of your face rather than on the sides of your head, as on animals like rabbits, antelopes, and horses? The reasons are simple -- and import... | C. professional magazine for doctors | high_school_biology | biology | ||
aquarat_23402 | deepmind/aqua_rat | How many zeros are the end of 380! ? | A. 90 B. 91 C. 94 D. None E. 95 | C. 94 | 380! has 380/5+380/5^2+380/5^3=76+15+3=94 trailing zeros ( take only the quotient into account).
Answer: C. | college_mathematics | mathematics |
NLP4Education_477 | NLP4Education | Which of the following acronyms does not designate a mode of operation?
A. CBC
B. CTR
C. CRC
D. ECB | C. CRC | computer_security | computer_science | ||
allenai/sciq_4287 | allenai/sciq | How many valence electrons can be found in a carbon atom?
A. One
B. five
C. four
D. three | C. four | Let’s briefly review the basics of covalent bonding as they pertain to carbon. Carbon has four valence electrons, which have a 2s 2 2p 2 configuration in isolated carbon atoms. These four electrons allow carbon to form four covalent bonds, which can mean four single bonds or some combination of single, double, and trip... | high_school_chemistry | chemistry | |
allenai/sciq_4507 | allenai/sciq | When volcanoes erupt, what from the mantle is released as carbon dioxide into the air?
A. hydrogen
B. carbon
C. lava
D. vapor | B. carbon | Carbon from decaying organisms enters the ground. Some carbon is stored in the soil. Some carbon may be stored underground for millions of years. This will form fossil fuels. When volcanoes erupt, carbon from the mantle is released as carbon dioxide into the air. Producers take in the carbon dioxide to make food. Then ... | earth_science | earth_science | |
pythonio_588 | pythonio-mc | Program:
def odd_Num_Sum(n) :
j = 0
sm = 0
for i in range(1,n + 1) :
j = (2*i-1)
sm = sm + (j*j*j*j)
return sm
Input:
odd_Num_Sum(2)
Output: | A | code | computer_science | ||
math_1822 | math_mc | Let $d$ be a positive number such that when $109$ is divided by $d$, the remainder is $4.$ Compute the sum of all possible two-digit values of $d$. | D | math_Prealgebra | mathematics | ||
math_333 | math_mc | What is the inverse of $f(x)=4-5x$? | A | math_Algebra | mathematics | ||
math_887 | math_mc | Square ABCD has its center at $(8,-8)$ and has an area of 4 square units. The top side of the square is horizontal. The square is then dilated with the dilation center at (0,0) and a scale factor of 2. What are the coordinates of the vertex of the image of square ABCD that is farthest from the origin? Give your answer ... | A | math_Geometry | mathematics | ||
mmlu_aux_train_95671 | mmlu_aux_train | Genes are a vehicle that can pass
A. hairstyle
B. hand size
C. nail polish
D. vocabulary | B. hand size | high_school_biology | biology | ||
math_918 | math_mc | Triangle $ABC$ has positive integer side lengths with $AB=AC$. Let $I$ be the intersection of the bisectors of $\angle B$ and $\angle C$. Suppose $BI=8$. Find the smallest possible perimeter of $\triangle ABC$.
| A | math_Geometry | mathematics | ||
aquarat_45900 | deepmind/aqua_rat | The probability that a visitor at the mall buys a pack of candy is 10%. If three visitors come to the mall today, what is the probability that exactly two will buy a pack of candy? | A. 0.009 B. 0.015 C. 0.027 D. 0.036 E. 0.054 | C. 0.027 | One case is: candy - candy - no candy
The probability is 1/10*1/10*9/10 = 9/1000
There are 3 such cases, so we should multiply this probability by 3.
P(exactly 2 buy candy) = 9/1000 * 3 = 27/1000 = 0.027
The answer is C. | high_school_statistics | mathematics |
math_984 | math_mc | In convex quadrilateral $ABCD$, $AB=8$, $BC=4$, $CD=DA=10$, and $\angle CDA=60^\circ$. If the area of $ABCD$ can be written in the form $\sqrt{a}+b\sqrt{c}$ where $a$ and $c$ have no perfect square factors (greater than 1), what is $a+b+c$? | A | math_Geometry | mathematics | ||
mmlu_aux_train_25538 | mmlu_aux_train | I got into the teaching profession by choice. I was then in 9th grade, when my mathematics teacher asked me to take a class for a few students to whom the subject seemed difficult. And believe me, I enjoyed the teaching. I never knew teaching would be so interesting. I loved my freshmen and was delighted to teach my so... | C. Because he didn't feel the same satisfaction as being a teacher. | high_school_computer_science | computer_science | ||
allenai/sciq_1312 | allenai/sciq | What is the diploid number for fruit flies?
A. 9
B. 10
C. 7
D. 8 | D. 8 | high_school_biology | biology | ||
aquarat_18043 | deepmind/aqua_rat | What is the value of the following expression?
(1/ (2^2 – 1)) + (1/ (4^2 – 1)) + (1/ (6^2 – 1)) + .... + (1/ (16^2 – 1)) | A. a. 9/19 B. b. 10/19 C. c. 10/21 D. d. 11/21 E. e. 8/17 | E. e. 8/17 | it can be written into
1/3+1/15+ 1/35.....1/256
i.e
1/3+1/2*(1/3-1/5)+1/2*(1/5-1/7).... til last term - 1/2*(1/17)
all terms from 1/5 .. to second last term get cancelled
left with
1/3+1/6-1/34=1/2-1/34=16/34=8/17
E | college_mathematics | mathematics |
math_1299 | math_mc | Let $r$ be a complex number such that $r^5 = 1$ and $r \neq 1.$ Compute
\[(r - 1)(r^2 - 1)(r^3 - 1)(r^4 - 1).\] | C | math_Intermediate Algebra | mathematics | ||
pythonio_539 | pythonio-mc | Program:
def divisible_by_digits(startnum, endnum):
return [n for n in range(startnum, endnum+1) \
if not any(map(lambda x: int(x) == 0 or n%int(x) != 0, str(n)))]
Input:
divisible_by_digits(20,25)
Output: | A | code | computer_science | ||
NLP4Education_582 | NLP4Education | Select the \emph{incorrect} statement. Pedersen Commitment is
A. unconditionally hiding.
B. computationally binding.
C. based on the hardness of the discrete logarithm problem.
D. based on DSA. | D. based on DSA. | computer_security | computer_science | ||
math_1208 | math_mc | Given that $x<1$ and \[(\log_{10} x)^2 - \log_{10}(x^2) = 48,\]compute the value of \[(\log_{10}x)^3 - \log_{10}(x^3).\] | B | math_Intermediate Algebra | mathematics | ||
math_1232 | math_mc | Find the number of ordered quadruples $(a,b,c,d)$ of nonnegative real numbers such that
\begin{align*}
a^2 + b^2 + c^2 + d^2 &= 4, \\
(a + b + c + d)(a^3 + b^3 + c^3 + d^3) &= 16.
\end{align*} | D | math_Intermediate Algebra | mathematics | ||
pythonio_895 | pythonio-mc | Program:
def sorted_models(models):
sorted_models = sorted(models, key = lambda x: x['color'])
return sorted_models
Input:
sorted_models([{'make':'Vivo', 'model':20,'color':'Blue'},{'make': 'oppo','model':17,'color':'Gold'},{'make':'Apple','model':11,'color':'red'}])
Output: | D | code | computer_science | ||
mmlu_aux_train_20971 | mmlu_aux_train | A recent report found 46% of parents agreed that their child knew more about the Internet than they did. And now new research shows parents are turning to their children for lessons in technology. The new study of around 1,000 parents showed that 67% of parents have asked their teenager children for technology-related ... | D. Over two-thirds of parents turned to their teenagers on tech matters. | high_school_computer_science | computer_science | ||
math_1640 | math_mc | Every 5 months, Hal has to replace the batteries in his calculator. He changed them the first time in May. In what month will they be changed the 25th time? | D | math_Number Theory | mathematics | ||
math_620 | math_mc | Given eight distinguishable rings, let $n$ be the number of possible five-ring arrangements on the four fingers (not the thumb) of one hand. The order of rings on each finger is significant, but it is not required that each finger have a ring. Find the leftmost three nonzero digits of $n$.
| D | math_Counting & Probability | mathematics | ||
mmlu_aux_train_66217 | mmlu_aux_train | Florence Nightingale was born in a rich family. When she was young she took lessons in music and drawing, and read great books. She also traveled a great deal with her mother and father. As a child she felt that visiting sick people was both a duty and a pleasure. She enjoyed helping them. At last mind was made up. "I'... | C. loved to help the sick people | high_school_biology | biology | ||
allenai/sciq_5267 | allenai/sciq | Chemical and physical changes in a system may be accompanied by an increase or a decrease in the disorder of the system, corresponding to an increase or decrease in what?
A. volume
B. entropy
C. vibration
D. enthalpy | B. entropy | Chemical and physical changes in a system may be accompanied by either an increase or a decrease in the disorder of the system, corresponding to an increase in entropy (ΔS> 0) or a decrease in entropy (ΔS < 0), respectively. As with any other state function, the change in entropy is defined as the difference between th... | college_chemistry | chemistry | |
allenai/sciq_7865 | allenai/sciq | What is the most abundant element in the universe?
A. carbon
B. nitrogen
C. helium
D. hydrogen | D. hydrogen | Isotopes of Hydrogen Hydrogen, the most abundant element in the universe, is the ultimate source of all other elements by the process of nuclear fusion. (For more information on nuclear fusion, seeChapter 20 "Nuclear Chemistry". ) Table 21.2 "The Isotopes of Hydrogen" compares the three isotopes of hydrogen, all of whi... | astronomy | physics | |
mmlu_aux_train_54842 | mmlu_aux_train | On March 19, Malala Yousafzai, a 15-year-old Pakistani student and women's education activist, returned to the classroom for the first time since being violently attacked by a member of the Taliban--a terrorist organization-- on October 9, 2012. Malala was shot on her way home from school in Mingora, Pakistan. A Taliba... | B. going home after school | high_school_computer_science | computer_science | ||
pythonio_197 | pythonio-mc | Program:
def split_Arr(a,n,k):
b = a[:k]
return (a[k::]+b[::])
Input:
split_Arr([0,1,2,3,4,5,6,7],8,3)
Output: | A | code | computer_science | ||
mmlu_aux_train_55823 | mmlu_aux_train | The monitor "watches" deceleration (=slow down) and distance from a light - and "guesses" which cars are likely to break the Highway Code. Most importantly, the software can provide two seconds' warning if someone else is about to shoot across a crossroads - enough time for other drivers to hit the brakes. Jonathan How... | A. It will raise the alarm when the driver breaks the traffic rules. | machine_learning | computer_science | ||
allenai/sciq_5756 | allenai/sciq | The movement of molten metal in earth's outer core creates?
A. earthquakes
B. the stellar field
C. the gravitational field
D. the magnetic field | D. the magnetic field | The magnetic field has north and south poles. The magnetic poles do not exactly match the geographic poles. So the North Magnetic Pole is not the same as the geographic North Pole. The same is true of the South Pole. The magnetic field is created by the movement of molten metal in the outer core. | astronomy | physics | |
allenai/sciq_11159 | allenai/sciq | What are the major types anchoring proteins?
A. semimetals and occludins
B. amino and fatty acids
C. claudins and occludins
D. claudins and semimetals | C. claudins and occludins | Tight junctions are composed of strands of transmembrane proteins embedded in the plasma membranes of two adjacent cells. The extracellular domains of these proteins directly join to one another. These joining proteins associate with peripheral membrane proteins located on the intracellular side of plasma membrane. The... | college_biology | biology | |
pythonio_247 | pythonio-mc | Program:
def remove_kth_element(list1, L):
return list1[:L-1] + list1[L:]
Input:
remove_kth_element([0, 0, 1, 2, 3, 4, 4, 5, 6, 6, 6, 7, 8, 9, 4, 4],4)
Output: | D | code | computer_science | ||
aquarat_47761 | deepmind/aqua_rat | A is the son of C; C and Q are sisters; Z is the mother of Q and P is the son of Z. Which of the following statements is true? | A. P and A are cousins B. P is the maternsl uncle of A C. Q is the maternal grandfather of A D. C and P are sisters E. none | B. P is the maternsl uncle of A | P is the maternsl uncle of A
ANSWER:B | formal_logic | mathematics |
allenai/sciq_5867 | allenai/sciq | What happens to the core of a star when it begins to run low on hydrogen?
A. it disappears
B. it contracts
C. it explodes
D. it expands | B. it contracts | series of stages a sexually reproducing organism goes through from one generation to the next. | astronomy | physics | |
math_878 | math_mc | An isosceles trapezoid has legs of length 30 cm each, two diagonals of length 40 cm each and the longer base is 50 cm. What is the trapezoid's area in sq cm? | C | math_Geometry | mathematics | ||
allenai/sciq_10009 | allenai/sciq | To undo the tarnish on copper pennies, you can place them in what liquid?
A. vinegar
B. honey
C. distilled water
D. seawater | A. vinegar | Because chemical changes produce new substances, they often cannot be undone. For example, you can’t change a fried egg back to a raw egg. Some chemical changes can be reversed, but only by other chemical changes. For example, to undo the tarnish on copper pennies, you can place them in vinegar. The acid in the vinegar... | high_school_chemistry | chemistry | |
allenai/sciq_1722 | allenai/sciq | What is the name of the scientific field that deals with the general study of the solid earth?
A. astronomy
B. physics
C. chemistry
D. geology | D. geology | Geology is the study of the solid Earth. Geologists study how rocks and minerals form. The way mountains rise up is part of geology. The way mountains erode away is another part. Geologists also study fossils and Earth’s history. There are many other branches of geology. There is so much to know about our home planet t... | college_geology | earth_science | |
mmlu_aux_train_98217 | mmlu_aux_train | which of these people would be most susceptible to disease?
A. a person with a healthy white blood cell
B. a person with optimal conditions
C. a person with a weak white blood cell
D. an athlete with a clean bill of health | C. a person with a weak white blood cell | high_school_biology | biology | ||
aquarat_53555 | deepmind/aqua_rat | The speed of a car is 90kmph. What is the speed in metres per second. | A. 25 m/s B. 40 m/s C. 35 m/s D. 28 m/s E. 27 m/s | A. 25 m/s | Explanation:
km/hr to m/sec conversion:
x km/hr = (x × 5/18) m/sec
90 × 5/18 = 25.
Answer: Option A | high_school_physics | physics |
allenai/sciq_8362 | allenai/sciq | Particles with what type of electric charges attract each other?
A. similar
B. same
C. opposite
D. simple | C. opposite | Particles with opposite electric charges attract each other. This explains why negative electrons orbit the positive nucleus. Particles with the same electric charge repel each other. This means that the positive protons in the nucleus push apart from one another. So why doesn’t the nucleus fly apart? An even stronger ... | high_school_physics | physics | |
mmlu_aux_train_99322 | mmlu_aux_train | if an object undergoes chemical change then that object will have new chemical what?
A. warmth
B. temperature
C. appearance
D. attributes | D. attributes | high_school_chemistry | chemistry | ||
mmlu_aux_train_59274 | mmlu_aux_train | The scientist from the Lockheed Space Company work in Felton, California, with the help of a computer. But the computer is placed in Sunnyside, about 80 kilometers away. What scientists input is sent by telephone lines to the computer, and after a time, copies of the designs are needed back in Felton as quickly as po... | D. sending prints by pigeon | college_computer_science | computer_science | ||
math_1435 | math_mc | Given that $x^2 + y^2 = 14x + 6y + 6,$ find the largest possible value of $3x + 4y.$ | B | math_Intermediate Algebra | mathematics | ||
math_1754 | math_mc | If $A,B$ and $C$ are non-zero distinct digits in base $6$ such that $\overline{ABC}_6 + \overline{BCA}_6+ \overline{CAB}_6 = \overline{AAA0}_6$, find $B+C$ in base $6$. | C | math_Number Theory | mathematics | ||
aquarat_1058 | deepmind/aqua_rat | Lucy deposited $67600 in an investment fund that provided 16 percent annual return compounded quarterly. If she made no other transactions with the fund, in how much time, in months, did her investment earn a total interest of $5300? | A. 90.5 B. 92 C. 93 D. 90 E. 96.1 | D. 90 | A = P + I = 67600 + 5300 = 72900
72900 = 67600(1 + 8/4*100)^(4t)
(729/676) = (102/100)^(4t)
t =7 1/2 yrs = 90 months
Answer: D | college_mathematics | mathematics |
mmlu_aux_train_83080 | mmlu_aux_train | Several days ago, while I got online, my cousin's QQ head popped out . We hadn't seen each other for a few months, so I decided to start a talk with her. My cousin is studying in a college of our city. Her hobby is surfing the Internet. Every time I am on the computer, she is always online, listening to music or decora... | D. student | high_school_computer_science | computer_science | ||
math_985 | math_mc | In right triangle $ABC$ with $\angle B = 90^\circ$, we have $$2\sin A = 3\cos A.$$What is $\sin A$? | A | math_Geometry | mathematics | ||
math_455 | math_mc | Each unit square of a 3-by-3 unit-square grid is to be colored either blue or red. For each square, either color is equally likely to be used. The probability of obtaining a grid that does not have a 2-by-2 red square is $\frac {m}{n}$, where $m$ and $n$ are relatively prime positive integers. Find $m + n$.
| B | math_Counting & Probability | mathematics |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.