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 |
|---|---|---|---|---|---|---|---|
pythonio_680 | pythonio-mc | Program:
def sum_column(list1, C):
result = sum(row[C] for row in list1)
return result
Input:
sum_column( [[1,2,3,2],[4,5,6,2],[7,8,9,5],],3)
Output: | B | code | computer_science | ||
math_1652 | math_mc | When the base-16 number $66666_{16}$ is written in base 2, how many base-2 digits (bits) does it have? | A | math_Number Theory | mathematics | ||
mmlu_aux_train_96865 | mmlu_aux_train | What is a source of energy for animals?
A. grains
B. air
C. space
D. sunlight | A. grains | high_school_biology | biology | ||
allenai/sciq_1881 | allenai/sciq | What is the difference in voltage across a resistor or other electrical devices called?
A. power drop
B. voltage drop
C. falling voltage
D. volt effect | B. voltage drop | The name electric current is the name given to the phenomenon that occurs when an electric field moves down a wire at close to the speed of light. Voltage is the electrical energy density that causes the electric current. Resistance is the amount a device in the wire resists the flow of current by converting electrical... | electrical_engineering | engineering | |
aquarat_42434 | deepmind/aqua_rat | For any non-zero a and b that satisfy |ab| = -ab and |a| = a, a^2+b^2+2|ab| =? | A. ab-4 B. (a+b)^2 C. (a-b)^2 D. a^2-|ab+ab^2| E. 4-ab | C. (a-b)^2 | Given: |ab| = -ab and |a| = a
Question: a^2+b^2+2|ab| =?
**** Looking at |ab| = -ab tells us that a and b are either positive or negative
**** Looking at |a| = a tells us that a must be positive
**** Combine two observations: a is positive, b is negative
so a^2+b^2+2|ab| = a^2+b^2-2ab.
as we know : (a-b)^2= a^2+b^2-2ab... | college_mathematics | mathematics |
allenai/sciq_9185 | allenai/sciq | What branch of biology studies animal behavior?
A. embryology
B. microbiology
C. ethology
D. geology | C. ethology | The branch of biology that studies animal behavior is called ethology . Ethologists usually study how animals behave in their natural environment, rather than in a lab. They generally try to answer four basic questions about the behaviors they observe:. | high_school_biology | biology | |
math_1695 | math_mc | Find the number of positive integers $n \le 1000$ such that $15n$ is a perfect square. | A | math_Number Theory | mathematics | ||
aquarat_82190 | deepmind/aqua_rat | A polling company reports that there is a 70% chance that a certain candidate will win the next election. If the candidate wins, there is a 60% chance that she will sign Bill X and no other bills. If she decides not to sign Bill X, she will sign either Bill Y or Bill Z, chosen randomly. What is the chance that the cand... | A. 10 B. 14 C. 6 D. 4 E. 5 | B. 14 | 70% - Candidate Elected
100%-60% = 40% - Candidate doesnotsigh Bill X
50% - Candidate randomly chooses between two bills.
These are multiplicative:
70% x 40% x 50%
0.7 x 0.4 x 0.5 = 0.14 = 14%
Answer (B) | high_school_statistics | mathematics |
allenai/sciq_5663 | allenai/sciq | What kind of fibers are used to transport telephone and television signals?
A. hair fibers
B. process fibers
C. touch fibers
D. optical fibers | D. optical fibers | Total internal reflection allows the light to travel down the optical fiber and not pass through the sides of the tube. The light continuously reflects from the inside of the tube and eventually comes out the end. Optical fibers make interesting lamps but they are also used to transport telephone and television signals... | high_school_physics | physics | |
allenai/sciq_8416 | allenai/sciq | What occurs when two wave crests overlap?
A. constructive interference
B. constructive overlap
C. constructive dissonance
D. forth interference | A. constructive interference | Constructive interference occurs when two wave crests overlap, doubling the wave amplitude at that location. | conceptual_physics | physics | |
math_1770 | math_mc | For a nonnegative integer $n$, let $r_9(n)$ stand for the remainder left when $n$ is divided by $9.$ For example, $r_9(25)=7.$
What is the $22^{\text{nd}}$ entry in an ordered list of all nonnegative integers $n$ that satisfy $$r_9(5n)\le 4~?$$(Note that the first entry in this list is $0$.) | D | math_Number Theory | mathematics | ||
mmlu_aux_train_95168 | mmlu_aux_train | Recycling old cars has a positive impact on
A. the weather
B. conservation of metal
C. human life span.
D. the economy | B. conservation of metal | environmental_science | earth_science | ||
math_1756 | math_mc | What is the units digit of the sum of the squares of the first 2007 odd, positive integers? | D | math_Number Theory | mathematics | ||
allenai/sciq_11125 | allenai/sciq | The vector of what organism is significant on a map showing the location of malaria?
A. fungi
B. worm
C. virus
D. mosquito | D. mosquito | Worldwide Distribution of Malaria. This map shows where malaria is found. The area is determined by the mosquito vector. The mosquito can live year-round only in the red-shaded areas. | college_biology | biology | |
mmlu_aux_train_1618 | mmlu_aux_train | An astronomer is studying two stars that are the same distance from Earth. Star X appears brighter than star Y. Which statement best explains this observation?
A. Star X is larger than star Y.
B. Star Y is larger than star X.
C. Star X reflects the Sun's light better than star Y.
D. Star Y reflects the Sun's light bet... | A. Star X is larger than star Y. | astronomy | physics | ||
mmlu_aux_train_20404 | mmlu_aux_train | Laptop computers are popular all over the world.People use them on trains and airplanes, in airports and hotels.These laptops connect people to their workplace.In the United States today, laptops also connect students to their classrooms. Westlake College in Virginia will start a laptop computer program that allows stu... | D. use for their schoolwork | high_school_computer_science | computer_science | ||
mmlu_aux_train_96802 | mmlu_aux_train | Reducing bacteria in food prevents what?
A. electricity
B. maladies
C. observation
D. signals | B. maladies | high_school_biology | biology | ||
mmlu_aux_train_60582 | mmlu_aux_train | Protagoras was among the great teachers of ancient Athens. He taught many subjects, including the laws of argument and the right use of language. It is said that he was the first teacher to accept money for his services. A student, Evalthus, heard of this famous teacher and asked him to give him lessons. However, Eva... | D. after the court proved that he was taught well | formal_logic | mathematics | ||
aquarat_89386 | deepmind/aqua_rat | Compute all real solutions to 16x + 4x+1 - 96 = 0 | A. 3/2 B. 3/3 C. 2/4 D. 4/4 E. 4/5 | A. 3/2 | If we substitute y = 4x, we have y2 +4y-96 = 0, so y = -4 or y = 8. The first does
not map to a real solution, while the second maps to x =3/2
correct answer A | college_mathematics | mathematics |
mmlu_aux_train_65876 | mmlu_aux_train | Seligman is leading the research on what might be called Happiness Revolution in psychology. Since World War II, psychologists have focused on fixing what is broken --repairing psychosis , and neurosis . Research has piled up steadily when it comes to looking at patients who are neurotic, while the happy or joyful peop... | C. focusing the scientific examination on the happy or joyful people | clinical_knowledge | biology | ||
allenai/sciq_10406 | allenai/sciq | What class of invertebrate animals has additional appendages called the chelicerae and the pedipalps?
A. arachnid
B. mammals
C. arthropod
D. fish | A. arachnid | Arachnids also have two additional pairs of appendages. The first pair, the chelicerae , serve in feeding and defense. The next pair, the pedipalps , help the organisms feed, move, and reproduce. | high_school_biology | biology | |
allenai/sciq_7358 | allenai/sciq | What is the outermost occupied shell of electrons in an atom.
A. modular shell
B. valence shell
C. radiative shell
D. Inner Shell | B. valence shell | The valence shell is the outermost occupied shell of electrons in an atom. This shell holds the valence electrons, which are the electrons that are involved in bonding and shown in a Lewis structure. Valence-shell electron pair repulsion theory , or VSEPR theory, states that a molecule will adjust its shape so that the... | high_school_chemistry | chemistry | |
mmlu_aux_train_1010 | mmlu_aux_train | Elda, the aged mother of Alice and Barry, both adults, wished to employ a live-in companion so that she might continue to live in her own home. Elda, however, had only enough income to pay one-half of the companion's $2,000 monthly salary. Learning of their mother's plight, Alice and Barry agreed with each other in a s... | B. Yes, because Elda is an intended beneficiary of a contract between Alice and Barry. | college_mathematics | mathematics | ||
mmlu_aux_train_99553 | mmlu_aux_train | Thicker layers of skin would best suit
A. a bird
B. a scorpion
C. a lizard
D. a leopard seal | D. a leopard seal | high_school_biology | biology | ||
math_1311 | math_mc | Define $L(x) = x - \frac{x^2}{2}$ for every real number $x$. If $n$ is a positive integer, define $a_n$ by
\[
a_n = L \Bigl( L \Bigl( L \Bigl( \cdots L \Bigl( \frac{17}{n} \Bigr) \cdots \Bigr) \Bigr) \Bigr),
\]where there are $n$ iterations of $L$. For example,
\[
a_4 = L \Bigl( L \Bigl( L \Bigl( L \Bigl( \frac{1... | A | math_Intermediate Algebra | mathematics | ||
aquarat_57973 | deepmind/aqua_rat | If a certain sample of data has a mean of 31.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. (27.0; 36.5) B. (24.5; 38.0) C. (28.0; 32.5) D. (26.5; 35.0) E. (29.0; 32.5) | B. (24.5; 38.0) | The standard deviation is 2, so 2.5 standard deviations would be (2.5)(2) = 5.
The values between 26 and 36 are within 2.5 standard deviations from the mean.
The answer is B. | high_school_statistics | mathematics |
mmlu_aux_train_57144 | mmlu_aux_train | The spread of Western eating habits around the world is bad for human health and the environment. These findings come from a new report in the journal Nature. David Tillman, a professor of ecology at the University of Minnesota, America, examined information from 100 countries to identify what people ate and how diet a... | C. agriculture | college_biology | biology | ||
pythonio_916 | pythonio-mc | Program:
def max_similar_indices(test_list1, test_list2):
res = [(max(x[0], y[0]), max(x[1], y[1]))
for x, y in zip(test_list1, test_list2)]
return (res)
Input:
max_similar_indices([(2, 4), (6, 7), (5, 1)],[(5, 4), (8, 10), (8, 14)])
Output: | A | code | computer_science | ||
math_1211 | math_mc | Let $f(x)$ and $g(x)$ be nonzero polynomials such that
\[f(g(x)) = f(x) g(x).\]If $g(2) = 37,$ find $g(x).$ | C | math_Intermediate Algebra | mathematics | ||
NLP4Education_363 | NLP4Education | Which one of these is \emph{not} a stream cipher?
A. RC4
B. A5/1
C. E0
D. IDEA | D. IDEA | computer_security | computer_science | ||
aquarat_53481 | deepmind/aqua_rat | Three beauty pageant finalists-Cindy, Amy and Linda-The winner was musician. The one who was not last or first was a math major. The one who came in third had black hair. Linda had red hair. Amy had no musical abilities. Who was first? | A. Cindy B. Amy C. Linda D. Sandy E. none | C. Linda | she cant b 3rd bcoz she have red hair
mean she (Linda)
is 1 n 2.
now 1 have musician
but Amby cant first bcoz he have not such abilities.
so 1 n 2 may be
Linda or Cindy.
or 2 n 3 may be Amby or Cindy
Common is 2. so
so
cindy is second
then 1 is Linda
3 is Amby
ANSWER:C | formal_logic | mathematics |
mmlu_aux_train_97477 | mmlu_aux_train | When the moon, sun, and earth line up, tides are at their
A. Happy
B. Max
C. Min
D. Middle | B. Max | conceptual_physics | physics | ||
math_1857 | math_mc | For a designer suit, Daniel must specify his waist size in centimeters. If there are $12$ inches in a foot and $30.5$ centimeters in a foot, then what size should Daniel specify, in centimeters, if his waist size in inches is $34$ inches? (You may use a calculator on this problem; answer to the nearest tenth.) | C | math_Prealgebra | mathematics | ||
math_990 | math_mc | Let $\triangle PQR$ be a triangle in the plane, and let $S$ be a point outside the plane of $\triangle PQR$, so that $SPQR$ is a pyramid whose faces are all triangles.
Suppose that every edge of $SPQR$ has length $18$ or $41$, but no face of $SPQR$ is equilateral. Then what is the surface area of $SPQR$? | A | math_Geometry | mathematics | ||
allenai/sciq_1368 | allenai/sciq | By breaking down organic matter, roundworms play an important role in which cycle?
A. carbon cycle
B. water cycle
C. metamorphic cycle
D. circadian cycle | A. carbon cycle | Roundworms may be free-living or parasitic organisms. Free-living worms are found mainly in freshwater habitats. Some live in moist soil. They generally feed on bacteria, fungi, protozoa, or decaying organic matter. By breaking down organic matter, they play an important role in the carbon cycle. | high_school_biology | biology | |
allenai/sciq_8568 | allenai/sciq | What is the layer above the troposphere?
A. sediment
B. earth
C. stratosphere
D. condensation | C. stratosphere | The stratosphere is the layer above the troposphere. The layer rises to about 50 kilometers (31 miles) above the surface. | astronomy | physics | |
math_311 | math_mc | In 1960, there were 450,000 cases of measles reported in the U.S. In 1996, there were 500 cases reported. How many cases of measles would have been reported in 1987 if the number of cases reported from 1960 to 1996 decreased linearly? | B | math_Algebra | mathematics | ||
aquarat_23003 | deepmind/aqua_rat | Suppose in 1960, the consumer price index was 70 while in 2015 it is 280. What monthly salary in 2015 would have the same purchasing power as a monthly salary of 800 dollars in 1960? | A. 2100 B. 3200 C. 2030 D. 3000 E. None | B. 3200 | Solution:
Let x be the monthly salary in 2015.
x/800 =280/70
x × 70 = 280 × 800
70x = 224000
70/70 x= 224000/70
x = 3200
Answer B | high_school_statistics | mathematics |
aquarat_12858 | deepmind/aqua_rat | In an electric circuit, two resistors with resistances A and B are connected in parallel. In this case, if r is the combined resistance of these two resistors, then the reciprocal of C is equal to the sum of the reciprocals of A and B. What is C in terms of A and B? | A. (A-B)/AB B. (A+B)/AB C. A+B D. AB E. AB/(A + B) | E. AB/(A + B) | The wording is a bit confusing, though basically we are told that 1/C= 1/A + 1/B, from which it follows that C=AB/(A + B).
Answer: E | electrical_engineering | engineering |
allenai/sciq_10898 | allenai/sciq | Oils are liquid lipids that plants use to store what?
A. carbo
B. fat
C. Protein
D. energy | D. energy | Oils are liquid lipids that plants use to store energy. Examples of oils include olive oil and corn oil. | high_school_biology | biology | |
allenai/sciq_5331 | allenai/sciq | What are the devices placed in electric circuits where charge can build up, which store energy when charged and release it when they discharge?
A. antennas
B. resistors
C. generators
D. capacitors | D. capacitors | When current flows through wires and resistors in a circuit as a result of a difference in electric potential, charge does not build up significantly anywhere on its path. Capacitors are devices placed in electric circuits where charge can build up. The amount of charge a capacitor can store before it “fills up” depend... | electrical_engineering | engineering | |
allenai/sciq_8881 | allenai/sciq | What do hydrocarbons consist of?
A. carbon and helium
B. carbon and water
C. carbon and oxygen
D. carbon and hydrogen | D. carbon and hydrogen | high_school_chemistry | chemistry | ||
mmlu_aux_train_31747 | mmlu_aux_train | The massive magnitude 8.8 earthquake that struck the west coast of Chile moved the entire city of Concepcion at least 10 feet to the west, and moved other parts of South America as far apart as the Falkland Islands and Fortaleza, Brazil. These measurements, produced from data gathered by researchers from four univers... | C. The earthquake in Chile moved cities. | conceptual_physics | physics | ||
math_1064 | math_mc | In $\triangle{ABC}$, $\angle ABC=120^\circ,AB=3$ and $BC=4$. If perpendiculars constructed to $\overline{AB}$ at $A$ and to $\overline{BC}$ at $C$ meet at $D$, then $CD=$
$\text{(A) } 3\quad \text{(B) } \frac{8}{\sqrt{3}}\quad \text{(C) } 5\quad \text{(D) } \frac{11}{2}\quad \text{(E) } \frac{10}{\sqrt{3}}$
| B | math_Geometry | mathematics | ||
math_2077 | math_mc | Find the sum of the solutions to
\[\frac{1}{\sin x} + \frac{1}{\cos x} = 2 \sqrt{2}\]in the interval $0 \le x \le 2 \pi.$ | D | math_Precalculus | mathematics | ||
pythonio_152 | pythonio-mc | Program:
def sort_sublists(list1):
result = list(map(sorted,list1))
return result
Input:
sort_sublists([['green', 'orange'], ['black'], ['green', 'orange'], ['white']])
Output: | B | code | computer_science | ||
pythonio_579 | pythonio-mc | Program:
def pair_wise(l1):
temp = []
for i in range(len(l1) - 1):
current_element, next_element = l1[i], l1[i + 1]
x = (current_element, next_element)
temp.append(x)
return temp
Input:
pair_wise([1,1,2,3,3,4,4,5])
Output: | C | code | computer_science | ||
mmlu_aux_train_93841 | mmlu_aux_train | Which action is an example of an exothermic process?
A. baking bread
B. cooking an egg
C. making ice cubes
D. evaporation of water | C. making ice cubes | high_school_chemistry | chemistry | ||
aquarat_57712 | deepmind/aqua_rat | Each of the numbers x1, x2...., xn, n > 4, is equal to 1 or –1.
Suppose, x1x2x3x4 + x2x3x4x5 + x3x4x5x6 + ... + xn–3xn–2xn–1xn + xn–2xn–1xnx1 + xn–1xnx1x2 + xnx1x2x3= 0, then, | A. n is even B. n is odd. C. n is an odd multiple of 3. D. n is prime E. None | A. n is even | Explanation :
Every term of the eq : x1x2x3x4 + x2x3x4x5 + x3x4x5x6 + ... + xn–3xn–2xn–1xn + xn–2xn–1xnx1 + xn–1xnx1x2 + xnx1x2x3= 0, would either be 1 or -1 (product of 1's and -1's would never be anything else).
Now for the equation to be true number of 1's would have to be equal to number -1's thus there would alway... | college_mathematics | mathematics |
pythonio_691 | pythonio-mc | Program:
def count_Pairs(arr,n):
cnt = 0;
for i in range(n):
for j in range(i + 1,n):
if (arr[i] == arr[j]):
cnt += 1;
return cnt;
Input:
count_Pairs([1,5,1],3)
Output: | A | code | computer_science | ||
mmlu_aux_train_50300 | mmlu_aux_train | Dr. Marie Curie is known to the world as the scientist who discovered radioactive metals i.e. Radium and Polonium. Marie Curie was a Polish physicist and chemist. Together with her husband, Pierre, she discovered two new elements and studied the x-rays they emitted. She found that the harmful properties of x-rays were ... | D. In her fifties | college_physics | physics | ||
allenai/sciq_9903 | allenai/sciq | What is inside the plasma membrane of a prokaryotic cell?
A. electron
B. alkaline
C. cytoplasm
D. protoplasm | C. cytoplasm | Inside the plasma membrane of prokaryotic cells is the cytoplasm. It contains several structures, including ribosomes, a cytoskeleton, and genetic material. Ribosomes are sites where proteins are made. The cytoskeleton helps the cell keeps its shape. The genetic material is usually a single loop of DNA. There may also ... | high_school_biology | biology | |
allenai/sciq_849 | allenai/sciq | How many calories of energy does one gram of sugar or starch provide?
A. 4
B. 3
C. 5
D. 10 | A. 4 | Carbohydrates include sugars, starches, and fiber. Sugars and starches are used by the body for energy. One gram of sugar or starch provides 4 Calories of energy. Fiber doesn’t provide energy, but it is needed for other uses. At age 13 years, you need about 130 grams of carbohydrates a day. Figure below shows good food... | college_biology | biology | |
pythonio_696 | pythonio-mc | Program:
def generate_matrix(n):
if n<=0:
return []
matrix=[row[:] for row in [[0]*n]*n]
row_st=0
row_ed=n-1
col_st=0
col_ed=n-1
current=1
while (True):
if current>n*n:
break
... | A | code | computer_science | ||
math_1347 | math_mc | Let $F_n$ be the $n$th Fibonacci number, where as usual $F_1 = F_2 = 1$ and $F_{n + 1} = F_n + F_{n - 1}.$ Then
\[\prod_{k = 2}^{100} \left( \frac{F_k}{F_{k - 1}} - \frac{F_k}{F_{k + 1}} \right) = \frac{F_a}{F_b}\]for some positive integers $a$ and $b.$ Enter the ordered pair $(a,b).$ | B | math_Intermediate Algebra | mathematics | ||
aquarat_34836 | deepmind/aqua_rat | Joseph’s grade was in the 80th percentile out of 100 grades in his class. In another class of 60 students there were 15 grades higher than Joseph’s. If nobody had Joseph’s grade, then Joseph’s was what percentile of the two classes combined? | A. 80 B. 78 C. 75 D. 60 E. 90 | B. 78 | Being in 80% percentile out of 100 grades means Joseph was 81st (from the least grade) in the class (as long as nobody had Joseph’s grades), he outscored 80.
In another class his grade would rank him 46 (from the least grade out of 61, 60+Joseph), 45 had the grades lower than Amy.
So in combined classes he outscored 80... | high_school_statistics | mathematics |
math_1996 | math_mc | A number is chosen at random from the set of consecutive natural numbers $\{1, 2, 3, \ldots, 24\}$. What is the probability that the number chosen is a factor of $4!$? Express your answer as a common fraction. | D | math_Prealgebra | mathematics | ||
math_792 | math_mc | Circle $\Gamma$ is the incircle of $\triangle ABC$ and is also the circumcircle of $\triangle XYZ$. The point $X$ is on $\overline{BC}$, point $Y$ is on $\overline{AB}$, and the point $Z$ is on $\overline{AC}$. If $\angle A=40^\circ$, $\angle B=60^\circ$, and $\angle C=80^\circ$, what is the measure of $\angle AYX$? | D | math_Geometry | mathematics | ||
allenai/sciq_11184 | allenai/sciq | Lakes, ponds, streams, springs, and wetlands are?
A. land formations
B. man-made structures
C. salt water bodies
D. fresh water bodies | D. fresh water bodies | Lakes, ponds, streams, springs, and wetlands are fresh water bodies. The organisms that live in them are part of freshwater ecosystems. These ecosystems vary by temperature, pressure (in lakes), and the amount of light that penetrates. The type of plants that grow in these ecosystems varies. | high_school_biology | biology | |
pythonio_25 | pythonio-mc | Program:
def flatten(test_tuple):
for tup in test_tuple:
if isinstance(tup, tuple):
yield from flatten(tup)
else:
yield tup
def count_element_freq(test_tuple):
res = {}
for ele in flatten(test_tuple):
if ele not in res:
res[ele] = 0
res[ele] += 1
return (res)
Input:
cou... | D | code | computer_science | ||
allenai/sciq_7513 | allenai/sciq | The validity of thought experiments, of course, is determined by this?
A. hypothetical observation
B. predictive observation
C. theoretical observation
D. actual observation | D. actual observation | Now consider what observer B sees happen to observer A. Observer B perceives light from the right reaching observer A before light from the left, because she has moved towards that flash lamp, lessening the distance the light must travel and reducing the time it takes to get to her. Light travels at speed c relative to... | formal_logic | mathematics | |
mmlu_aux_train_97380 | mmlu_aux_train | Which of these could add unwanted contamination to the natural environment?
A. making compost
B. hoarding trash
C. eating fruit
D. burning liquid petroleum | D. burning liquid petroleum | high_school_biology | biology | ||
pythonio_690 | pythonio-mc | Program:
def count_Pairs(arr,n):
cnt = 0;
for i in range(n):
for j in range(i + 1,n):
if (arr[i] == arr[j]):
cnt += 1;
return cnt;
Input:
count_Pairs([1,1,1,1],4)
Output: | C | code | computer_science | ||
mmlu_aux_train_41710 | mmlu_aux_train | China supports international efforts to secure cyberspace but believes each nation's "Internet sovereignty " must be respected, a top Chinese official said at a cyber security conference on Tuesday. "China, like many other countries, is very concerned about cyber security," said Liu Zhengrong, deputy director general o... | B. To protect digital infrastructure in the world. | computer_security | computer_science | ||
pythonio_89 | pythonio-mc | Program:
import re
def fill_spaces(text):
return (re.sub("[ ,.]", ":", text))
Input:
fill_spaces('Stereo Sound Sweatproof')
Output: | B | code | computer_science | ||
aquarat_40391 | deepmind/aqua_rat | Let F(m,n) =45*m+36*n,where m and n are integers (+ve or -ve) What is the minimum positive value for f(m,n) (This may be achived for various values of m and n)? | A. 5 B. 6 C. 7 D. 8 E. 9 | E. 9 | f(m,n)=45*m+36*n
putting m=1,n=-1 in above eqn we get
f(m,n)=45*1+36*(-1)
=9.
ANSWER:E | college_mathematics | mathematics |
mmlu_aux_train_2009 | mmlu_aux_train | Oscar is investigating how many days it takes for a chick to hatch from an egg. Which number of eggs would give Oscar the most reliable results?
A. 1
B. 3
C. 5
D. 7 | D. 7 | high_school_biology | biology | ||
math_487 | math_mc | A fair, twenty-faced die has $19$ of its faces numbered from $1$ through $19$ and has one blank face. Another fair, twenty-faced die has $19$ of its faces numbered from $1$ through $8$ and $10$ through $20$ and has one blank face. When the two dice are rolled, what is the probability that the sum of the two numbers fac... | C | math_Counting & Probability | mathematics | ||
allenai/sciq_9610 | allenai/sciq | Most radioactive emissions that people are exposed to are on the order of a few dozen what?
A. micrograms
B. millirems
C. ticks
D. millivolts | B. millirems | rem = rad × factor where factor is a number greater than or equal to 1 that takes into account the type of radioactive emission and sometimes the type of tissue being exposed. For beta particles, the factor equals 1. For alpha particles striking most tissues, the factor is 10, but for eye tissue the factor is 30. Most ... | high_school_physics | physics | |
aquarat_67969 | deepmind/aqua_rat | If x and y are non-zero integers, and 49x^4 – 4y^4 = 7x^2 + 2y^2, which of the following could be the value of x2 in terms of y? | A. 2y^2 B. 2y^2+1/7 C. 2y^4 D. 2y^2-1/7 E. 2y^2+1/8 | B. 2y^2+1/7 | 49x^4 – 4y^4 = 7x^2 + 2y^2
(7x^2 + 2y^2) (7x^2 - 2y^2) = 7x^2 + 2y^2
7x^2 - 2y^2 = 1
7x^2 = 2y^2+1
x^2 = 2y^2+1/7
Answer : B | college_mathematics | mathematics |
aquarat_70962 | deepmind/aqua_rat | Assume that f(1)=0 and f(m+n)=f(m)+f(n)+4(9mn-1). For all natural numbers (Integers>0)m and n. What is the value of f(17)? | A. 4832 B. 4855 C. 4825 D. 4895 E. 4862 | A. 4832 | Explanation:
f(1) = 0
f(2) = f(1+1) = f(1)+f(1)+4(9×1×1 – 1) = 0+0+4×8 = 32
f(4) = f(2+2) = f(2)+f(2)+4(9×2×2 – 1) = 32+32+4×35 = 204
f(8) = f(4+4) = f(4)+f(4)+4(9×4×4 – 1) = 204+204+4×143 = 980
f(16) = f(8+8) = f(8)+f(8)+4(9×8×8 – 1) = 980+980+4×575 = 4260
f(17) = f(1+16) = f(16)+f(1)+4(9×16×1 –1) = 4260+0+ 4×143 = 48... | college_mathematics | mathematics |
mmlu_aux_train_96542 | mmlu_aux_train | If two objects have the same charge then what will they do to eachother?
A. repel attackers
B. approach
C. pull
D. push away | D. push away | high_school_physics | physics | ||
pythonio_962 | pythonio-mc | Program:
def left_rotate(s,d):
tmp = s[d : ] + s[0 : d]
return tmp
Input:
left_rotate("hadoop",1 )
Output: | A | code | computer_science | ||
mmlu_aux_train_2067 | mmlu_aux_train | Which element makes up most of the air we breathe.
A. carbon
B. nitrogen
C. oxygen
D. argon | B. nitrogen | high_school_chemistry | chemistry | ||
math_992 | math_mc | Acute-angled $\triangle ABC$ is inscribed in a circle with center at $O$; $\stackrel \frown {AB} = 120^\circ$ and $\stackrel \frown {BC} = 72^\circ$.
A point $E$ is taken in minor arc $AC$ such that $OE$ is perpendicular to $AC$. Then the ratio of the magnitudes of $\angle OBE$ and $\angle BAC$ is:
$\textbf{(A)}\ \frac... | C | math_Geometry | mathematics | ||
mmlu_aux_train_63345 | mmlu_aux_train | Green is an important color in nature. It is the color of grass and the leaves on trees. It is also the color of most growing plants. Sometimes, the word "green" means young, fresh and growing. For example, a greenhorn is someone who has no experience. In the 15th century, a greenhorn was a young cow or an ox whose hor... | A. a person who is new in a job | high_school_biology | biology | ||
math_822 | math_mc | Let $ABCDE$ be a pentagon inscribed in a circle such that $AB = CD = 3$, $BC = DE = 10$, and $AE= 14$. The sum of the lengths of all diagonals of $ABCDE$ is equal to $\frac{m}{n}$, where $m$ and $n$ are relatively prime positive integers. What is $m+n$ ?
$\textbf{(A) }129\qquad \textbf{(B) }247\qquad \textbf{(C) }353\q... | B | math_Geometry | mathematics | ||
allenai/sciq_5218 | allenai/sciq | Many deleterious alleles have such severe effects that a homozygous embryo spontaneously aborts long before what?
A. couple
B. birth
C. LIfe
D. baby | B. birth | medical_genetics | biology | ||
mmlu_aux_train_97909 | mmlu_aux_train | Where would jumping be the hardest?
A. Mars
B. Jupiterr
C. the Earth
D. the moon | B. Jupiterr | high_school_physics | physics | ||
pythonio_59 | pythonio-mc | Program:
def jacobsthal_lucas(n):
dp=[0] * (n + 1)
dp[0] = 2
dp[1] = 1
for i in range(2, n+1):
dp[i] = dp[i - 1] + 2 * dp[i - 2];
return dp[n]
Input:
jacobsthal_lucas(2)
Output: | B | code | computer_science | ||
allenai/sciq_7851 | allenai/sciq | When magma reaches the surface through cracks in the earth's crust, what occurs?
A. tsunami
B. magma eruption
C. volcanic eruption
D. volcanic explosion | C. volcanic eruption | All volcanoes share the same basic features. First, mantle rock melts. The molten rock collects in magma chambers that can be 160 kilometers (100 miles) beneath the surface. As the rock heats, it expands. The hot rock is less dense than the surrounding rock. The magma rises toward the surface through cracks in the crus... | earth_science | earth_science | |
allenai/sciq_1411 | allenai/sciq | Chlorine and bromine gases released into the atmosphere have helped damage what layer of the atmosphere?
A. polluted layer
B. carbon layer
C. stratospheric layer
D. ozone layer | D. ozone layer | Unfortunately, the layer of good ozone is being destroyed by air pollution. The chief culprits are chlorine and bromine gases. They are released in aerosol sprays, coolants, and other products. Loss of ozone has created an ozone hole over Antarctica. Ozone depletion results in higher levels of UV radiation reaching Ear... | high_school_chemistry | chemistry | |
math_1133 | math_mc | Let $f : \mathbb{C} \to \mathbb{C} $ be defined by $ f(z) = z^2 + iz + 1 $. How many complex numbers $z $ are there such that $ \text{Im}(z) > 0 $ and both the real and the imaginary parts of $f(z)$ are integers with absolute value at most $ 10 $? | C | math_Intermediate Algebra | mathematics | ||
mmlu_aux_train_92901 | mmlu_aux_train | In an investigation, a student wants to see how a ball is affected by rolling it over a surface covered with sandpaper. In preparation for the trial, the student makes a list of the possible conditions that could affect the investigation. The student is most likely listing the
A. constants.
B. variables.
C. controls.
... | B. variables. | high_school_physics | physics | ||
math_1067 | math_mc | In triangle $ABC,$ $AB = 13,$ $BC = 14,$ $AC = 15,$ and point $G$ is the intersection of the medians. Points $A',$ $B',$ and $C',$ are the images of $A,$ $B,$ and $C,$ respectively, after a $180^\circ$ rotation about $G.$ What is the area of the union of the two regions enclosed by the triangles $ABC$ and $A'B'C'?$
| A | math_Geometry | mathematics | ||
NLP4Education_686 | NLP4Education | Tick the \textbf{false} assertion. For a Vernam cipher...
A. SUPERMAN can be the result of the encryption of the plaintext ENCRYPT.
B. CRYPTO can be used as a key to encrypt the plaintext PLAIN.
C. SERGE can be the ciphertext corresponding to the plaintext VAUDENAY.
D. The key IAMAKEY can be used to encrypt any message... | C. SERGE can be the ciphertext corresponding to the plaintext VAUDENAY. | computer_security | computer_science | ||
mmlu_aux_train_8718 | mmlu_aux_train | A British dog-lover has invented a high-tech way of feeding his pet by Twitter( ,). Computer expert Nat Morris ,30, has designed a system to give his pet a "tweet treat" by sending him a Twitter message. His dog Toby gets some delicious dog biscuits from a computer-controlled food machine whenever Nat sends a message t... | C. is often too busy to feed his dog | high_school_computer_science | computer_science | ||
math_1066 | math_mc | Sector $OAB$ is a quarter of a circle of radius 3 cm. A circle is drawn inside this sector, tangent at three points as shown. What is the number of centimeters in the radius of the inscribed circle? Express your answer in simplest radical form. [asy]
import olympiad; import geometry; size(100); defaultpen(linewidth(0.8... | A | math_Geometry | mathematics | ||
allenai/sciq_6750 | allenai/sciq | Monatomic ions have an oxidation number equal to their what?
A. size
B. length
C. cost
D. charge | D. charge | Monatomic ions have an oxidation number equal to their charge. Li + has an oxidation state of +1, Ba 2+ has an oxidation state of +2, I - has an oxidation state of -1, and so on. | high_school_chemistry | chemistry | |
allenai/sciq_10410 | allenai/sciq | Gas, liquid, and solid describe what property of matter?
A. states
B. Physical
C. Chemical
D. Quatitative | A. states | In addition to these properties, other physical properties of matter include the state of matter. States of matter include liquid, solid, and gaseous states. For example at 20°C, coal exists as a solid and water exists as a liquid. Additional examples of physical properties include:. | high_school_physics | physics | |
allenai/sciq_9266 | allenai/sciq | What do you call the electrons in the outer energy level of an atom that are involved in chemical bonds?
A. transitions electrons
B. helium electrons
C. force electrons
D. valence electrons | D. valence electrons | Carbon is a nonmetal in group 14 of the periodic table. Like other group 14 elements, carbon has four valence electrons. Valence electrons are the electrons in the outer energy level of an atom that are involved in chemical bonds. The valence electrons of carbon are shown in the electron dot diagram in the Figure below... | high_school_chemistry | chemistry | |
pythonio_16 | pythonio-mc | Program:
def find_Rotations(str):
tmp = str + str
n = len(str)
for i in range(1,n + 1):
substring = tmp[i: i+n]
if (str == substring):
return i
return n
Input:
find_Rotations("ab")
Output: | C | code | computer_science | ||
mmlu_aux_train_2213 | mmlu_aux_train | What is the most common element found in the compounds that make up ocean water?
A. nitrogen
B. oxygen
C. carbon
D. silicon | B. oxygen | high_school_chemistry | chemistry | ||
mmlu_aux_train_53059 | mmlu_aux_train | If you talk about a dog's life, go to Beijing to see the pampered dogs. Dogs clipped, dressed up, washed and dried. Here, it's the owners who go to obedience school, and these people pay almost a thousand US dollars a month to learn how to properly care for their pets. Dogs are hot in Beijing, a symbol of a new middl... | B. He is a businessman who runs a school. | high_school_biology | biology | ||
allenai/sciq_5797 | allenai/sciq | Abrasion is a process of what type of weathering?
A. molecular
B. environmental
C. geological
D. mechanical | D. mechanical | Ice wedging and abrasion are two important processes of mechanical weathering. | college_geology | earth_science | |
pythonio_268 | pythonio-mc | Program:
def min_Jumps(a, b, d):
temp = a
a = min(a, b)
b = max(temp, b)
if (d >= b):
return (d + b - 1) / b
if (d == 0):
return 0
if (d == a):
return 1
else:
return 2
Input:
min_Jumps(3,4,0)
Output: | B | code | computer_science | ||
math_1734 | math_mc | For how many ordered pairs of positive integers $(x,y),$ with $y<x\le 100,$ are both $\frac xy$ and $\frac{x+1}{y+1}$ integers?
| C | math_Number Theory | mathematics | ||
allenai/sciq_3360 | allenai/sciq | When gas particles heat up and gain energy, what do they do?
A. move faster
B. go up
C. move slower
D. stop | A. move faster | When gas particles heat up and gain energy, they move faster. This increases their collisions with each other and their container, causing greater pressure. | high_school_physics | physics | |
mmlu_aux_train_59560 | mmlu_aux_train | I was appreciating my family photos on my computer, admiring my two beautiful babies, when I found a disturbing trend: my laptop was in almost all the pictures. There was my daughter, 8 months old, playing at my feet while I was typing away on the couch. There was me and my son, with the laptop at my side as I held him... | D. being addicted to computer games | clinical_knowledge | biology | ||
mmlu_aux_train_52542 | mmlu_aux_train | "Any time! Any where! Decades ago there was no such thing" - "Communication". Then, September 7th 1987, the global system for mobile communication or GSM was born. And international agreements that laid out the standards, regulations and practices gave rise to a global mobile phone industry. To be honest, the world's f... | D. a global mobile communication system | electrical_engineering | engineering |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.