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_483 | pythonio-mc | Program:
def filter_data(students,h,w):
result = {k: s for k, s in students.items() if s[0] >=h and s[1] >=w}
return result
Input:
filter_data({'Cierra Vega': (6.2, 70), 'Alden Cantrell': (5.9, 65), 'Kierra Gentry': (6.0, 68), 'Pierre Cox': (5.8, 66)},5.9,67)
Output: | B | code | computer_science | ||
mmlu_aux_train_17076 | mmlu_aux_train | Dear College Dean It is my understanding that this college has received a large donation to be used to enhance (improve) the quality of life for students: expand the bookstore or add computers to the computer lab. It is the tradition of this school to promote education and to be at the vanguard of new technology. That ... | D. to persuade the Dean to purchase more advanced computers | college_computer_science | computer_science | ||
aquarat_4794 | deepmind/aqua_rat | What is the greatest possible (straight line) distance, between any two points on a hemisphere of radius 6? | A. 0.12 B. 1 C. Ο/2 D. 2 E. 12 | E. 12 | Maximum distance straight line is diameter
d = 2r = 12..
ANS option E. | college_mathematics | mathematics |
mmlu_aux_train_98204 | mmlu_aux_train | What is lava found above?
A. natures floor
B. grounded lightning
C. sky
D. ground images | A. natures floor | earth_science | earth_science | ||
mmlu_aux_train_81176 | mmlu_aux_train | When a computer works on a group of programs,it can get very hot.Cooling the computer can cost a lot.So some scientists wonder what would happen if the heat from the computer could beused. Large Internet companies such as Google and Microsoft have thousands of computers.As these computers deal with information,they pro... | A. is sent into the air | computer_security | computer_science | ||
aquarat_6346 | deepmind/aqua_rat | A cylinder is sliced by a plane to form the solid
shown. The base edge of the solid is a circle
of radius 3. The top edge is an ellipse. The
highest point on the ellipse is 6 units above the
base. The lowest point on the ellipse is 2 units
above the base. What is the volume, in cubic
units, of the solid? | A. 24Ο B. 30Ο C. 36Ο D. 42Ο E. 48Ο | C. 36Ο | The plane parallel to the base passing through the center of the ellipse will cross the ellipse
along its minor axis. If we cut the solid along this plane and flip the top piece that is sliced off 180
degrees around the minor axis, the solid becomes a cylinder with the base of area 9 and height
(2 + 6)/2 = 4. The volum... | college_mathematics | mathematics |
allenai/sciq_5287 | allenai/sciq | Which process changes rocks by heat and pressure?
A. sediments
B. metamorphism
C. Changes
D. weathering | B. metamorphism | Metamorphism changes rocks by heat and pressure. These agents create an entirely new type of rock. Metamorphism changes rocks physically and/or chemically. | earth_science | earth_science | |
aquarat_55516 | deepmind/aqua_rat | All windows are doors. No door is wall
Conclusions:
1. No window is wall
2. No Wall is door | A. Both 1 and 4 follow B. Both 1 and 3 follow C. Both 4 and 1 follow D. Both 1 and 2 follow E. Both 1 and 6 follow | D. Both 1 and 2 follow | Explanation:
Since both the premises are universal and one premise is negative, the conclusion must be universal negative. Also, the conclusion should not contain the middle term. So, 1 follows.
However, 2 is the converse of the second premise and thus it also holds.
Answer: D | formal_logic | mathematics |
pythonio_286 | pythonio-mc | Program:
def nth_nums(nums,n):
nth_nums = list(map(lambda x: x ** n, nums))
return nth_nums
Input:
nth_nums([10,20,30],3)
Output: | C | code | computer_science | ||
allenai/sciq_11256 | allenai/sciq | What type of evolution often happens in species that have symbiotic relationships?
A. coevolution
B. retrogression
C. spontaneous evolution
D. succession | A. coevolution | Coevolution often happens in species that have symbiotic relationships. Examples include flowering plants and their pollinators. | college_biology | biology | |
mmlu_aux_train_64009 | mmlu_aux_train | China's second manned space flight will be done by two astronauts over five days in 2005. "Shenzhou-VI will be sent into space sometime in 2005," said Zuo Saichun, a spokesperson of the China Aerospace Science and Technology (CAST). "The spacecraft will make new breakthroughs in China's manned space technology." Unlike... | B. It is capable of orbiting for two weeks. | astronomy | physics | ||
pythonio_922 | pythonio-mc | Program:
def subset(ar, n):
res = 0
ar.sort()
for i in range(0, n) :
count = 1
for i in range(n - 1):
if ar[i] == ar[i + 1]:
count+=1
else:
break
res = max(res, count)
return res
Input:
subset([1, 2, 3, ... | B | code | computer_science | ||
aquarat_73858 | deepmind/aqua_rat | In a country where everyone wants a boy, each family continues having babies till they have a boy. After some time, what is the proportion of boys to girls in the country? (Assuming probability of having a boy or a girl is the same) | A. 1:2 B. 3:5 C. 1:1 D. 3:7 E. 2:4 | C. 1:1 | C
1:1
This is a very simple probability question in a software interview. This question might be a little old to be ever asked again but it is a good warm up.
Assume there are C number of couples so there would be C boys. The number of girls can be calculated by the following method.
Number of girls = 0*(Probability of... | high_school_statistics | mathematics |
mmlu_aux_train_1502 | mmlu_aux_train | Which equipment will best separate a mixture of iron filings and black pepper?
A. magnet
B. filter paper
C. triple-beam balance
D. voltmeter | A. magnet | high_school_chemistry | chemistry | ||
allenai/sciq_4299 | allenai/sciq | Which system in the body exchanges gases with the outside air?
A. respiratory
B. digestive
C. vascular
D. immune | A. respiratory | The respiratory system is the body system that exchanges gases with the outside air. It brings air containing oxygen into the body for the cells. It also releases carbon dioxide from the cells into the air. This exchange of gases is called respiration. | high_school_biology | biology | |
aquarat_83920 | deepmind/aqua_rat | An Olympic diver received the following scores: 5, 3, 7, 6, and 4. The standard deviation of her scores is | A. 1.41 B. 2.41 C. 3.41 D. 4.41 E. 5.41 | A. 1.41 | 5+3+7+6+4/5 = 5
|5-5| = 0 0^2 = 0
|3-5| = 2 2^2 = 4
|7-5| = 2 2^2 = 4
|6-5| = 1 1^2 = 1
|4-5| = 1 1^2 = 1
SD = sqrt 10/5 =1.41
Answer : A | high_school_statistics | mathematics |
mmlu_aux_train_96850 | mmlu_aux_train | A person puts a potato in some embers on the edge of a campfire. The embers are
A. hording thermal energy for later
B. taking in the warmth
C. meant for staying cool
D. doing a thermal release | D. doing a thermal release | conceptual_physics | physics | ||
pythonio_613 | pythonio-mc | Program:
def Odd_Length_Sum(arr):
Sum = 0
l = len(arr)
for i in range(l):
Sum += ((((i + 1) *(l - i) + 1) // 2) * arr[i])
return Sum
Input:
Odd_Length_Sum([1,2,1,2])
Output: | B | code | computer_science | ||
mmlu_aux_train_97362 | mmlu_aux_train | Blood gets directed around beneath skin and bone by
A. a person
B. a vision
C. a thought process
D. long passages | D. long passages | high_school_biology | biology | ||
allenai/sciq_3423 | allenai/sciq | Foliation, which forms layers in rocks during metamorphism, is caused by what?
A. Pulling
B. pressure
C. power
D. push | B. pressure | During metamorphism a rock may change chemically. Ions move and new minerals form. The new minerals are more stable in the new environment. Extreme pressure may lead to physical changes like foliation . Foliation forms as the rocks are squeezed. If pressure is exerted from one direction, the rock forms layers. This is ... | college_geology | earth_science | |
aquarat_83279 | deepmind/aqua_rat | If there are 30 cans out of them one is poisoned if a person tastes very little he will die within 14 hours so if there are mice to test and 24 hours to test, how many mices are required to find the poisoned can? | A. 3 B. 2 C. 5 D. 6 E. 1 | E. 1 | Number the cans from 1 to 30.
Mouse can be forced to taste every can after a gap of 5 minutes.
Calculating the time if death from start, the poisoned can no can be found.
ANSWER:E | college_mathematics | mathematics |
aquarat_4518 | deepmind/aqua_rat | If
1 = 6
2 = 12
3 = 18
4 = 24
5 = 30
6 = 36
7 = 42
Then 42 = ?
Hint: Its a logic Riddle not a mathematical riddle | A. 7 B. 2 C. 3 D. 4 E. 5 | A. 7 | A
1
As stated
7=42 => 42=7
Answer is A | formal_logic | mathematics |
allenai/sciq_7325 | allenai/sciq | When atoms gain or lose electrons, they can form electrically charged particles called what?
A. ions
B. eons
C. toxins
D. crystals | A. ions | In ordinary chemical reactions, the nucleus of each atom (and thus the identity of the element) remains unchanged. Electrons, however, can be added to atoms by transfer from other atoms, lost by transfer to other atoms, or shared with other atoms. The transfer and sharing of electrons among atoms govern the chemistry o... | high_school_chemistry | chemistry | |
pythonio_131 | pythonio-mc | Program:
def max_sub_array_sum(a, size):
max_so_far = 0
max_ending_here = 0
for i in range(0, size):
max_ending_here = max_ending_here + a[i]
if max_ending_here < 0:
max_ending_here = 0
elif (max_so_far < max_ending_here):
max_so_far = max_ending_here
return max_so_far
Input:
ma... | A | code | computer_science | ||
mmlu_aux_train_98921 | mmlu_aux_train | An extremely rapid surge of rising flood water that moves across usually dry land at about 30 feet or more each second is powerful enough to
A. keep the land dry
B. lift and carry a tall mountain
C. lift a 250-ton object off the ground
D. reach high in the sky | C. lift a 250-ton object off the ground | conceptual_physics | physics | ||
math_1031 | math_mc | In the diagram, points $U$, $V$, $W$, $X$, $Y$, and $Z$ lie on a straight line with $UV=VW=WX=XY=YZ=5$. Semicircles with diameters $UZ$, $UV$, $VW$, $WX$, $XY$, and $YZ$ create the shape shown. What is the area of the shaded region?
[asy]
size(5cm); defaultpen(fontsize(9));
pair one = (1, 0);
pair u = (0, 0); pair v ... | C | math_Geometry | mathematics | ||
mmlu_aux_train_49590 | mmlu_aux_train | Maybe you never opened that account, but someone else did ----someone who used your name and personal information to commit fraud . When an imposter uses your name, your credit card number, or some other piece of your personal information for their own purpose -in short, when someone takes your personal information wit... | B. What you should do if your identity is stolen. | computer_security | computer_science | ||
aquarat_83210 | deepmind/aqua_rat | Let the function E(n) represent the product of the first n prime numbers, where n > 0. If x = E(n) + 1, which of the following must be true?
(i) x is always odd
(ii) x is always prime
(iii) x is never the square of an integer | A. ii only B. iii only C. i and ii only D. i and iii only E. ii and iii only | D. i and iii only | E(n) is always even, because the first prime is 2 and no matter what n is, 2 always will be a divisor of E(n). Thus, E(n) + 1 = even + 1 = odd. So, (i) is always true.
Now, use logic:
If (ii) is true (so if x is always prime), then (iii) must automatically be true: no prime is the square of an integer. So, the correct ... | college_mathematics | mathematics |
mmlu_aux_train_12476 | mmlu_aux_train | Iceland has energy to spare, and the small country has found a cutting-edge way to reduce its oil dependency. Volcanoes formed the island nation out of ash and lava , which heat huge underground lakes to the boiling point. The hot water is piped into cities providing heat for homes, businesses and even swimming pools.... | A. are environmentally friendly | college_physics | physics | ||
allenai/sciq_5952 | allenai/sciq | The strong affinity of concentrated sulfuric acid for water makes it a good agent of what?
A. concentrating
B. diluting
C. hydrating
D. dehydrating | D. dehydrating | The strong affinity of concentrated sulfuric acid for water makes it a good dehydrating agent. It is possible to dry gases and immiscible liquids that do not react with the acid by passing them through the acid. Sulfuric acid is a strong diprotic acid that ionizes in two stages. In aqueous solution, the first stage is ... | high_school_chemistry | chemistry | |
allenai/sciq_1953 | allenai/sciq | What do the muscles of the gastrointestinal tract do?
A. break down food
B. stop digestion
C. secrete stomach acid
D. keep food moving | D. keep food moving | Organs of the GI tract are covered by muscles that contract to keep food moving along. A series of involuntary muscle contractions moves rapidly along the tract, like a wave travelling through a spring toy. The muscle contractions are called peristalsis. The diagram in Figure below shows how peristalsis works. | high_school_biology | biology | |
allenai/sciq_3278 | allenai/sciq | What rocks are formed by crystallization of chemical precipitates?
A. volcanic
B. chemical sedimentary
C. carbon sedimentary
D. layered | B. chemical sedimentary | Sedimentary rocks formed by the crystallization of chemical precipitates are called chemical sedimentary rocks . Dissolved ions in fluids precipitate out of the fluid and settle out, just like the halite pictured below ( Figure below ). | college_geology | earth_science | |
pythonio_546 | pythonio-mc | Program:
def sort_numeric_strings(nums_str):
result = [int(x) for x in nums_str]
result.sort()
return result
Input:
sort_numeric_strings( ['4','12','45','7','0','100','200','-12','-500'])
Output: | B | code | computer_science | ||
pythonio_751 | pythonio-mc | Program:
def count_list(input_list):
return (len(input_list))**2
Input:
count_list([[1, 3], [5, 7], [9, 11], [13, 15, 17]] )
Output: | B | code | computer_science | ||
allenai/sciq_27 | allenai/sciq | A small scale version of what type of map displays individual rock units?
A. seismic map
B. geographic map
C. polar map
D. geologic map | D. geologic map | Geologic maps display rock units and geologic features. A small scale map displays individual rock units while a large scale map shows geologic provinces. | college_geology | earth_science | |
math_757 | math_mc | A block of wood has the shape of a right circular cylinder with radius $6$ and height $8$, and its entire surface has been painted blue. Points $A$ and $B$ are chosen on the edge of one of the circular faces of the cylinder so that $\overarc{AB}$ on that face measures $120^\text{o}$. The block is then sliced in half al... | D | math_Geometry | mathematics | ||
pythonio_14 | pythonio-mc | Program:
import re
def find_char_long(text):
return (re.findall(r"\b\w{4,}\b", text))
Input:
find_char_long('Jhingai wulu road Zone 3')
Output: | D | code | computer_science | ||
allenai/sciq_3086 | allenai/sciq | The conservation of momentum principle can be applied to systems as different as a comet striking earth and a gas containing huge numbers of atoms and these?
A. particles
B. molecules
C. ions
D. protons | B. molecules | The conservation of momentum principle can be applied to systems as different as a comet striking Earth and a gas containing huge numbers of atoms and molecules. Conservation of momentum is violated only when the net external force is not zero. But another larger system can always be considered in which momentum is con... | college_physics | physics | |
aquarat_78060 | deepmind/aqua_rat | What is the greatest value of n such that 30!/6^n is an integer? | A. 11 B. 12 C. 13 D. 14 E. 15 | D. 14 | 30/2 + 30/(2^2)+30/(2^3)+30(2^4) = 15+7+3+1=26
How many 3's are there ? so that the division leads to be an integer
30/3 + 30/(3^2)+30/(3^3)= 10+3+1=14
How many 3's and 2's are there so that the division leads to be an integer
Minimum or common between 26 and 14.
Answer is 14.
ANSWER:D | college_mathematics | mathematics |
allenai/sciq_10329 | allenai/sciq | One common form of mate choice, called assortative mating, is an individualβs preference to mate with partners who are what?
A. far away from
B. close to themselves
C. different from themselves
D. similar to themselves | D. similar to themselves | Nonrandom Mating If individuals nonrandomly mate with their peers, the result can be a changing population. There are many reasons nonrandom mating occurs. One reason is simple mate choice; for example, female peahens may prefer peacocks with bigger, brighter tails. Traits that lead to more matings for an individual be... | college_biology | biology | |
allenai/sciq_11185 | allenai/sciq | What is the the force of attraction that holds together ions?
A. soluble bond
B. covalent bond
C. ionic bond
D. magnetic bond | C. ionic bond | An ionic bond is the force of attraction that holds together positive and negative ions. It forms when atoms of a metallic element give up electrons to atoms of a nonmetallic element. | high_school_chemistry | chemistry | |
math_2069 | math_mc | What is the area, in square units, of a triangle that has sides of $4,3$ and $3$ units? Express your answer in simplest radical form. | D | math_Prealgebra | mathematics | ||
math_900 | math_mc | In $\triangle{ABC}, AB=10, \angle{A}=30^\circ$ , and $\angle{C=45^\circ}$. Let $H, D,$ and $M$ be points on the line $BC$ such that $AH\perp{BC}$, $\angle{BAD}=\angle{CAD}$, and $BM=CM$. Point $N$ is the midpoint of the segment $HM$, and point $P$ is on ray $AD$ such that $PN\perp{BC}$. Then $AP^2=\dfrac{m}{n}$, where ... | D | math_Geometry | mathematics | ||
mmlu_aux_train_77425 | mmlu_aux_train | Are you carrying too much on your back at school? I'm sure lots of children of your age will say "Yes". Not only the students in China have this problem, but children in the United States also have heavy school bags. Doctors are starting to worry about young students' back and neck because their school bags are too hea... | C. both children in China and the USA carry too heavy school bags. | high_school_biology | biology | ||
allenai/sciq_1168 | allenai/sciq | When current flows in just one direction, what is it called?
A. mono-current
B. direct current
C. reactant current
D. alternating current | B. direct current | When current flows in just one direction, it is called direct current (DC) . The current that flows through a battery-powered flashlight is direct current. | electrical_engineering | engineering | |
allenai/sciq_10479 | allenai/sciq | Fermat's principle states that what will always take the path that takes the least amount of time?
A. wind
B. electricity
C. light
D. sound | C. light | Light is a wave of changing electric and magnetic fields. Light waves are caused by disturbances in an electromagnetic field, like the acceleration of charged particles (such as electrons). Light has a dual nature; at times, it acts like waves, while at other times it acts like particles, called photons . Light travels... | conceptual_physics | physics | |
mmlu_aux_train_56444 | mmlu_aux_train | The Vienna-based researchers showed that dogs will stop doing a simple task when not rewarded if another dog, which continues to be rewarded, is present. The experiment consisted of taking pairs of dogs and getting them to present a paw for a reward.On giving this "handshake" the dogs received a piece of food.One of th... | B. felt they were not treated equally | high_school_biology | biology | ||
mmlu_aux_train_98301 | mmlu_aux_train | A micro-scratch test is able to determine which rock formations deep inside the earth's sub-surface are the hardest and how resistant the formations are to being
A. scratched, fractured or otherwise deformed
B. transformed into different minerals
C. melted and otherwise liquified
D. scratched with ice breakers | A. scratched, fractured or otherwise deformed | college_geology | earth_science | ||
math_907 | math_mc | Triangle $ABC$ has side-lengths $AB = 12, BC = 24,$ and $AC = 18.$ The line through the incenter of $\triangle ABC$ parallel to $\overline{BC}$ intersects $\overline{AB}$ at $M$ and $\overline{AC}$ at $N.$ What is the perimeter of $\triangle AMN?$
$\textbf{(A)}\ 27 \qquad \textbf{(B)}\ 30 \qquad \textbf{(C)}\ 33 \qqua... | A | math_Geometry | mathematics | ||
allenai/sciq_1071 | allenai/sciq | Hardness, density, color, and melting and boiling points are all considered what types of properties?
A. thermal
B. physical
C. visible
D. chemical | B. physical | Physical properties include color, density, hardness, and melting and boiling points. | high_school_chemistry | chemistry | |
aquarat_91076 | deepmind/aqua_rat | If BURNER is coded as CASOIS then how will ALIMENT be coded? | A. BKJLFMU B. EKOLIMS C. EMONIOU D. BRJSFTU E. EROSITU | B. EKOLIMS | You take the next consonant or vowel in alphabetical sequence.
Watch:
b - c (next consonant in sequence)
u - a (aeiou, u cycles back to beginning, or a)
r - s
n = o
e = i (next vowel)
r = s
therefore:
a = e (next vowel)
l = m
i = o
m = n
e = i
n = o
t = u
EMONIOU
ANSWER:B | formal_logic | mathematics |
mmlu_aux_train_96322 | mmlu_aux_train | Fibrous tissue contracts to
A. show for the ladies
B. rest and repair itself
C. get other muscles out of the way
D. stretch out an arm | D. stretch out an arm | high_school_biology | biology | ||
aquarat_79934 | deepmind/aqua_rat | In a murder case there are four suspects P,Q,R,S. Each of them makes a statement. They are p:
"I had gone to the theatre with S at the time of the murder".q: "I was playing cards with P at the time of the murder".r: "Q didn't commit the murder".s: "R is not the murderer".Assuming the only one of the above statement is ... | A. P B. Q C. R D. S E. T | D. S | According to Question,
P: (s and p in theatre)
Q:(q and p playing cards)
R: q not the murderer
S: R not the murderer
IF S is false,
P has to be in theatre with S.
P playing cards with Q.
This is Impossible.
If R is false,
P has to be in theatre with S.
P playing cards with Q.
This is Impossible.
If q is False,
S and P ... | formal_logic | mathematics |
NLP4Education_769 | NLP4Education | Suppose that you possess a $D$-ary encoding $\Gamma$ for the source $S$ that does not satisfy Kraft's Inequality. Specifically, in this problem, we assume that our encoding satisfies $\sum_{i=1}^n D^{-l_i} = k+1 $ with $k>0$. What can you infer on the average code-word length $L(S,\Gamma)$?
A. $L(S,\Gamma) \geq H_D(S)-... | A. $L(S,\Gamma) \geq H_D(S)-\log_D(e^k)$. | college_mathematics | mathematics | ||
allenai/sciq_5466 | allenai/sciq | Sedimentary rocks form in what kind of layers?
A. vertical
B. stacked
C. horizontal
D. magnetic | C. horizontal | Sedimentary rocks are formed in horizontal layers. This is magnificently displayed around the southwestern United States. The arid climate allows rock layers to be well exposed ( Figure below ). The lowest layers are the oldest and the higher layers are younger. | college_earth_science | earth_science | |
mmlu_aux_train_94233 | mmlu_aux_train | Which of these converts electrical energy to light energy?
A. a star
B. a flashlight
C. a campfire
D. a tea kettle | B. a flashlight | conceptual_physics | physics | ||
aquarat_33798 | deepmind/aqua_rat | Consider a quarter of a circle of radius 49. Let r be the radius of the circle inscribed in this quarter of a circle. Find r. | A. 49*(sqr2 -1) B. 58*(sqr3 -1) C. 40*(sqr7 - 1) D. 12* (sqr7 -1) E. None of these | A. 49*(sqr2 -1) | I got 49/(sqr2 +1) and just forgot to multiply by (sqr2 -1).
Answer is A | college_mathematics | mathematics |
NLP4Education_684 | NLP4Education | Suppose that you can prove the security of your symmetric encryption scheme against the following attacks. In which case is your scheme going to be the most secure?
A. Key recovery under known plaintext attack.
B. Key recovery under chosen ciphertext attack.
C. Decryption under known plaintext attack.
D. Decryption und... | D. Decryption under chosen ciphertext attack. | computer_security | computer_science | ||
aquarat_25647 | deepmind/aqua_rat | 9.6 , 9.6 , 10.0 , 10.0 , 10.0 , 10.1 , 10.2 , 10.5
The mean and the standard deviation of the 8 numbers shown above is 10 and 0.278 respectively. What percent of the 8 numbers are within 1 standard deviation of the mean? | A. 62.5% B. 85% C. 80.67% D. 75.50% E. 90.30% | A. 62.5% | Within 1 standard deviation of the mean- means in the range {mean-1*sd; mean+1*sd} = {10-1*0.278; 10+0.278} = {9.722; 10.278}.
From the 8 listed numbers, 5 are within this range so 5/8=62.5%.
Answer: A. | high_school_statistics | mathematics |
math_2089 | math_mc | The equation $\sin^2 x + \sin^2 2x + \sin^2 3x + \sin^2 4x = 2$ can be reduced to the equivalent equation
\[\cos ax \cos bx \cos cx = 0,\]for some positive integers $a,$ $b,$ and $c.$ Find $a + b + c.$ | A | math_Precalculus | mathematics | ||
math_1590 | math_mc | "Modulo $m$ graph paper" consists of a grid of $m^2$ points, representing all pairs of integer residues $(x,y)$ where $0\le x, y <m$. To graph a congruence on modulo $m$ graph paper, we mark every point $(x,y)$ that satisfies the congruence. For example, a graph of $y\equiv x^2\pmod 5$ would consist of the points $(0,0... | B | math_Number Theory | mathematics | ||
math_1483 | math_mc | If
\begin{align*}
a + b + c &= 1, \\
a^2 + b^2 + c^2 &= 2, \\
a^3 + b^3 + c^3 &= 3,
\end{align*}find $a^4 + b^4 + c^4.$ | B | math_Intermediate Algebra | mathematics | ||
math_2020 | math_mc | In trapezoid $ABCD$, sides $\overline{AB}$ and $\overline{CD}$ are parallel, $\angle A = 2\angle D$, and $\angle C = 3\angle B$. Find $\angle B$. | C | math_Prealgebra | mathematics | ||
math_731 | math_mc | In triangle $ABC$, $BC = 23$, $CA = 27$, and $AB = 30$. Points $V$ and $W$ are on $\overline{AC}$ with $V$ on $\overline{AW}$, points $X$ and $Y$ are on $\overline{BC}$ with $X$ on $\overline{CY}$, and points $Z$ and $U$ are on $\overline{AB}$ with $Z$ on $\overline{BU}$. In addition, the points are positioned so that ... | A | math_Geometry | mathematics | ||
NLP4Education_393 | NLP4Education | Select the \emph{incorrect} statement. Euler Theorem
A. Euler Theorem is a generalization of Little Fermat Theorem.
B. For any $x \in \{0, \dots, N-1 \}$ and any $k$, we have $x^{k\varphi(N)+1}=x \pmod N$, where $N=pq$ for $p$,$q$ distinct primes.
C. Euler Theorem gives the basis for polynomial time factoring.
D. Euler... | C. Euler Theorem gives the basis for polynomial time factoring. | abstract_algebra | mathematics | ||
pythonio_688 | pythonio-mc | Program:
import math
def round_up(a, digits):
n = 10**-digits
return round(math.ceil(a / n) * n, digits)
Input:
round_up(123.01247,1)
Output: | D | code | computer_science | ||
allenai/sciq_2394 | allenai/sciq | High levels of radiation can remove electrons from?
A. metals
B. water
C. humans
D. acids | A. metals | Nonliving things can also be damaged by radiation. For example, high levels of radiation can remove electrons from metals. This may weaken metals in nuclear power plants and space vehicles, both of which are exposed to very high levels of radiation. | college_physics | physics | |
allenai/sciq_790 | allenai/sciq | The voltage and current are exactly in phase in a what?
A. capacitor
B. harmonic
C. resistor
D. battery | C. resistor | Resistors in an AC Circuit Just as a reminder, consider Figure 23.47, which shows an AC voltage applied to a resistor and a graph of voltage and current versus time. The voltage and current are exactly in phase in a resistor. There is no frequency dependence to the behavior of plain resistance in a circuit:. | electrical_engineering | engineering | |
pythonio_954 | pythonio-mc | Program:
def join_tuples(test_list):
res = []
for sub in test_list:
if res and res[-1][0] == sub[0]:
res[-1].extend(sub[1:])
else:
res.append([ele for ele in sub])
res = list(map(tuple, res))
return (res)
Input:
join_tuples([(6, 7), (6, 8), (7, 9), (7, 11), (8, 14)] )
Output: | C | code | computer_science | ||
pythonio_800 | pythonio-mc | Program:
def substract_elements(test_tup1, test_tup2):
res = tuple(tuple(a - b for a, b in zip(tup1, tup2))
for tup1, tup2 in zip(test_tup1, test_tup2))
return (res)
Input:
substract_elements(((1, 3), (4, 5), (2, 9), (1, 10)), ((6, 7), (3, 9), (1, 1), (7, 3)))
Output: | A | code | computer_science | ||
NLP4Education_20 | NLP4Education | In which of the following cases does the TLB need to be flushed?
A. Inserting a new page into the page table for a user-space application.
B. Changing the read/write permission bit in the page table.
C. Inserting a new page into the page table for kernel.
D. Accessing a frequently used page in the page table. | B. Changing the read/write permission bit in the page table. | computer_security | computer_science | ||
allenai/sciq_5194 | allenai/sciq | An electric transformer connects two circuits with an iron core that becomes what?
A. actuator
B. radioactive
C. inductive
D. electromagnet | D. electromagnet | An electric transformer connects two circuits with an iron core that becomes an electromagnet. | electrical_engineering | engineering | |
mmlu_aux_train_4926 | mmlu_aux_train | The surface of the Moon is made up of
A. craters, highlands, and flat areas
B. swirling gases
C. large bodies of water
D. a mixture of gases and water | A. craters, highlands, and flat areas | astronomy | physics | ||
aquarat_30431 | deepmind/aqua_rat | In an electric circuit, three resistors with resistances 2 ohms, 5 ohms and 6 ohms are connected in parallel. In this case, if R is the combined resistance of these three resistors, then the reciprocal of R is equal to the sum of the reciprocals resistors. What is R value? | A. 13/15 ohms B. 15/13 ohms C. 5/8 ohms D. 3/7 ohms E. 45/18 ohms | A. 13/15 ohms | The wording is a bit confusing, though basically we are told that 1/R = 1/2 + 1/5 + 1/6, from which it follows that R=13/15ohms
Option: A | conceptual_physics | physics |
allenai/sciq_2022 | allenai/sciq | In physics, what do you call devices that make work easier?
A. tools
B. levers
C. circuits
D. machines | D. machines | In this chapter, you saw how pressure and buoyancy of fluids can be used to make work easier β from raising a car on a lift to floating a ship on the ocean. Devices that make work easier are called machines in physics. | conceptual_physics | physics | |
mmlu_aux_train_19751 | mmlu_aux_train | In many businesses, computers have largely replaced paperwork, because they are fast, flexible, and do not make mistakes. As one banker said, "Unlike humans, computers never have a bad day." And they are honest. Many banks advertise that their transactions are "untouched by human hands" and therefore safe from human te... | C. They have no sense of what is right or wrong. | computer_security | computer_science | ||
NLP4Education_433 | NLP4Education | KEM ...
A. stands for Keyless Encryption Mechanism.
B. is a Korean encryption mechanism.
C. is a symmetric-key algorithm.
D. is a public-key algorithm. | D. is a public-key algorithm. | computer_security | computer_science | ||
allenai/sciq_2097 | allenai/sciq | On which ridge does iceland sit?
A. Arctic circle
B. Pacific rim
C. mid-atlantic ridge
D. Antarctic ridge | C. mid-atlantic ridge | Most mid-ocean ridges are located deep below the sea. The island of Iceland sits right on the Mid-Atlantic ridge ( Figure below ). | astronomy | physics | |
math_1592 | math_mc | What is the smallest integer $n$, greater than $1$, such that $n^{-1}\pmod{1050}$ is defined? | B | math_Number Theory | mathematics | ||
mmlu_aux_train_99826 | mmlu_aux_train | Which would be considered exhaustible?
A. solar
B. oil
C. wind
D. water | B. oil | high_school_physics | physics | ||
aquarat_56795 | deepmind/aqua_rat | 10 people meet and shake hands. The maximum number of handshakes possible if there is to be no βcycleβ of handshakes is (A cycle of handshakes is a sequence of k people a1, a2, β¦β¦, ak (k > 2) such that the pairs {a1, a2}, {a2, a3}, β¦β¦, {ak-1, ak}, {ak, a1} shake hands). | A. 7 B. 6 C. 9 D. 8 E. 10 | C. 9 | The question is not written in proper manner but we can work in 3 methods
1) If these are random handshakes, then total methods = 10*9/2*1 = 45
2) If these are cyclic handshakes, then total methods = 10
3) If these persons are not cyclic but they are arranged in a straight bench, then number of methods = 9
ANSWER:C | college_mathematics | mathematics |
math_572 | math_mc | Suppose we flip four coins simultaneously: a penny, a nickel, a dime, and a quarter. What is the probability that at least 15 cents worth of coins come up heads? | A | math_Counting & Probability | mathematics | ||
allenai/sciq_10176 | allenai/sciq | Centrifuges use what to perform their task?
A. magnetism
B. absorption
C. inertia
D. jets | C. inertia | Figure 6.17 Centrifuges use inertia to perform their task. Particles in the fluid sediment come out because their inertia carries them away from the center of rotation. The large angular velocity of the centrifuge quickens the sedimentation. Ultimately, the particles will come into contact with the test tube walls, whi... | high_school_physics | physics | |
mmlu_aux_train_19160 | mmlu_aux_train | For more than twenty years scientists have been searching for signs of life on other planets. Most of these searches have been done over the radio. The hope is that someone in outer space may be trying to get in touch with us. Scientists also have sent radio and television messages on spaceships traveling through space... | A. 5 billion. | astronomy | physics | ||
allenai/sciq_3255 | allenai/sciq | Acids and bases are important in living things because what proteins typically can perform their job only at a certain level of acidity?
A. hormones
B. vitamins
C. enzymes
D. catalysts | C. enzymes | Acids and bases are important in living things because most enzymes can do their job only at a certain level of acidity. Cells secrete acids and bases to maintain the proper pH for enzymes to work. For example, every time you digest food, acids and bases are at work in your digestive system. Consider the acidic environ... | high_school_biology | biology | |
mmlu_aux_train_97114 | mmlu_aux_train | A person yells inside a garage. Their voice echoes and they hear
A. a bird chirping away
B. a dog barking loudly
C. a car engine rev
D. a shout repeating softer | D. a shout repeating softer | conceptual_physics | physics | ||
NLP4Education_114 | NLP4Education | Which of the following is correct regarding the use of Hidden Markov Models (HMMs) for entity recognition in text documents?
A. The computational complexity of training an HMM increases quadratically with the length of the input text.
B. The prediction of a word's label in an HMM depends on all previously observed labe... | C. An HMM model can be constructed using words that include morphological features as input. | machine_learning | computer_science | ||
math_2071 | math_mc | How many different rectangles with sides parallel to the grid can be formed by connecting four of the dots in a $4\times 4$ square array of dots, as in the figure below?
[asy]size(2cm,2cm); for (int i=0; i<4; ++i) { for (int j=0; j<4; ++j) { filldraw(Circle((i, j), .05), black, black); } } [/asy] (Two rectangles are di... | A | math_Prealgebra | mathematics | ||
NLP4Education_68 | NLP4Education | Consider a matrix factorization problem of the form $\mathbf{X} = \mathbf{W Z}^{\top}$ to obtain an item-user recommender system where $x_{i j}$ denotes the rating given by the $j^{\text{th}}$ user to the $i^{\text{th}}$ item. We use Root mean square error (RMSE) to gauge the quality of the factorization obtained. Sele... | D. None of the other options are correct. | machine_learning | computer_science | ||
pythonio_683 | pythonio-mc | Program:
def count_alpha_dig_spl(string):
alphabets=digits = special = 0
for i in range(len(string)):
if(string[i].isalpha()):
alphabets = alphabets + 1
elif(string[i].isdigit()):
digits = digits + 1
else:
special = special + 1
return (alphabets,digits,special)
Inpu... | D | code | computer_science | ||
allenai/sciq_7021 | allenai/sciq | The rate the magma cools determines what property of the rock?
A. location
B. color
C. texture
D. size | C. texture | The rate the magma cools determines the texture of the rock. | college_earth_science | earth_science | |
mmlu_aux_train_97144 | mmlu_aux_train | If I yell out to a co worker which occupation would have a scenario where it is impossible to respond for scientific reasons?
A. astronaut
B. lumberjack
C. fisherman
D. miner | A. astronaut | conceptual_physics | physics | ||
NLP4Education_484 | NLP4Education | Select the \textbf{most accurate} answer. For a hash function to be secure (\textbf{but still efficient}) against collision attacks in 2015, the output length should be...
A. around 80 bits.
B. around 160 bits.
C. around 512 bits.
D. around 1024 bits. | B. around 160 bits. | computer_security | computer_science | ||
mmlu_aux_train_1330 | mmlu_aux_train | A group of students plans to build a model of a local pond habitat. Which model best represents an environment similar to a pond?
A. a sealed plastic bottle containing insects and algae from a pond
B. a classroom aquarium containing plants and animals bought from a store
C. a classroom aquarium containing freshwater, ... | D. a small plastic outdoor pool containing freshwater, native plants, and native animals | high_school_biology | biology | ||
allenai/sciq_1645 | allenai/sciq | What is the smallest unit of matter that still maintains it's properties of being an element?
A. a cell
B. a proton
C. an electron
D. an atom | D. an atom | high_school_chemistry | chemistry | ||
pythonio_850 | pythonio-mc | Program:
def find_triplet_array(A, arr_size, sum):
for i in range( 0, arr_size-2):
for j in range(i + 1, arr_size-1):
for k in range(j + 1, arr_size):
if A[i] + A[j] + A[k] == sum:
return A[i],A[j],A[k]
return True
return False
Input:
find_triplet_array([12, 3, 5, 2, 6, 9], 6, 24)
Out... | C | code | computer_science | ||
math_802 | math_mc | It is desired to construct a right triangle in the coordinate plane so that its legs are parallel to the $x$ and $y$ axes and so that the medians to the midpoints of the legs lie on the lines $y = 3x + 1$ and $y = mx + 2$. The number of different constants $m$ for which such a triangle exists is
$\textbf{(A)}\ 0\qquad ... | A | math_Geometry | mathematics | ||
mmlu_aux_train_8197 | mmlu_aux_train | Sitting on the peaceful coast of Galapagos Islands, Ecuador, watching the sun move quietly into the sea, you shouldn't forget that Charles Darwin (1809-1882) arrived here in 1835. He stayed on the islands for five weeks, observing various animals. This finally inspired his famous work,On the Origin of Species. You ca... | D. He studied different creatures on the islands. | high_school_biology | biology | ||
mmlu_aux_train_27864 | mmlu_aux_train | My name is Hua Fei and I am a sporting robot of the 23rdcentury. I am an expert at high flying exercises. I jump from spaceships and as I fall I turn, dive circle and dance until I softly land as close as I can to the finishing line. Robot competitions in the 23rdcentury are truly a popular sport. Fans from all overpre... | D. a sporting robot | high_school_computer_science | computer_science | ||
mmlu_aux_train_14066 | mmlu_aux_train | WASHINGTON: An analysis of global temperatures by independent statisticians shows the Earth is still warming and not cooling as some global warming skeptics are claiming. The analysis was conducted at the request of The Associated Press to investigate the legitimacy of talk of a cooling trend that has been spreading on... | B. 2005 | high_school_statistics | mathematics |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.