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
aquarat_16875
deepmind/aqua_rat
The probability that A will not tell truth is 75% and the probability that B will tell truth is 60%.what is the probability that an incident described by them is true?
A. 10% B. 12% C. 15% D. 17% E. 19%
C. 15%
A truth....> 25% B truth.....> 60% a&b truth...> 0.25*0.6=0.15=15% ANSWER:C
high_school_statistics
mathematics
aquarat_31639
deepmind/aqua_rat
A certain series is defined by the following recursive rule: Sm=K(Sm-1) , where k is a constant. If the 1st term of this series is 64 and the 25th term is 192, what is the 9th term?
A. ROOT 2 B. ROOT 3 C. 64*ROOT 3 D. 64*3^1/3 E. 64*3^24
D. 64*3^1/3
Ans...D No need for any GP formula here The rule is that mth term is K times the (m-1)th term. 1st = 64 2nd = k.64 3rd = k^2.64 . . . 9th term = k^8 *64 . . . so 25th = k^24*64 Using this solve for k and substitute k in the equation for the 9th term
college_mathematics
mathematics
math_941
math_mc
A circle with a radius of 2 units has its center at $(0, 0)$. A circle with a radius of 7 units has its center at $(15, 0)$. A line tangent to both circles intersects the $x$-axis at $(x, 0)$ to the right of the origin. What is the value of $x$? Express your answer as a common fraction.
D
math_Geometry
mathematics
math_1559
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<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_2091
math_mc
Regular decagon $P_1 P_2 \dotsb P_{10}$ is drawn in the coordinate plane with $P_1$ at $(1,0)$ and $P_6$ at $(3,0).$ If $P_n$ is the point $(x_n,y_n),$ compute the numerical value of the product \[(x_1 + y_1 i)(x_2 + y_2 i)(x_3 + y_3 i) \dotsm (x_{10} + y_{10} i).\]
D
math_Precalculus
mathematics
math_1054
math_mc
The radius of the inscribed circle is 6 cm. What is the number of centimeters in the length of $\overline{AB}$? Express your answer in simplest radical form. [asy] import olympiad; import geometry; size(150); defaultpen(linewidth(0.8)); draw((sqrt(3),0)--origin--(0,1)--cycle); real r1 = (sqrt(3) - 1)/2; draw(Circle((r1...
A
math_Geometry
mathematics
mmlu_aux_train_30371
mmlu_aux_train
Typing Success in 20 Minutes a Day -- Teaching Your K-12 Students to Type in 20 Minutes a Day Typing is fast becoming an important skill in our world. Making this skill available to your students is very important. Just 20 minutes of the following activities per day will give your students the finger strength and keybo...
C. Step2
high_school_computer_science
computer_science
math_1551
math_mc
What is the sum of the last two digits of this portion of the Fibonacci Factorial Series: $1!+1!+2!+3!+5!+8!+13!+21!+34!+55!+89!$?
A
math_Number Theory
mathematics
mmlu_aux_train_86757
mmlu_aux_train
Nowadays, many children spend hours a day looking at computer screens or other digital products. Some eye care doctors say all the screen time has caused more children to have what they call computer vision syndrome . Nathan Warford is an optometrist in the US. He says he has seen more children having eye problems. ...
B. Having headaches.
clinical_knowledge
biology
NLP4Education_497
NLP4Education
The needed number of DES operations to attack DES is about ... A. $2^{54}$ B. $2^{64}$ C. $2^{128}$ D. $2^{256}$
A. $2^{54}$
computer_security
computer_science
NLP4Education_803
NLP4Education
Let P(x) is “x is an elephant” and F(x) is “x flies” and the domain consists of all animals. Translate the following statement into English: ∃!x(P(x) ∧ F(x)) A. There exists only one elephant that can fly B. All elephants fly C. Some elephants can fly D. There is an animal that flies if it’s an elephant
A. There exists only one elephant that can fly
formal_logic
mathematics
aquarat_80870
deepmind/aqua_rat
23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, (...)
A. 53 B. 47 C. 48 D. 59 E. 71
E. 71
Explanation : All are prime numbers in their order, starting from 23 Hence, next number is 71 Answer : E
college_mathematics
mathematics
NLP4Education_716
NLP4Education
What is the difference between C++'s \texttt{static\_cast} and \texttt{dynamic\_cast}? A. \texttt{static\_cast} only converts numeric types, while \texttt{dynamic\_cast} converts pointer types. B. \texttt{static\_cast} does not perform any kind of runtime check, while \texttt{dynamic\_cast} performs runtime checks on t...
B. \texttt{static\_cast} does not perform any kind of runtime check, while \texttt{dynamic\_cast} performs runtime checks on the validity of the cast.
college_computer_science
computer_science
mmlu_aux_train_95849
mmlu_aux_train
How can we see that refracting sunlight causes light to split into different colors? A. shining a light at a mirror B. letting sunlight hit a broken mirror C. setting a diamond outside on a bright day D. shining a flashlight at broken glass on the floor
C. setting a diamond outside on a bright day
conceptual_physics
physics
allenai/sciq_7533
allenai/sciq
What is it called when two waves combine to create a larger wave? A. consistent interference B. Destructive Interference C. wave propagation D. constructive interference
D. constructive interference
Constructive interference occurs when two waves combine to create a larger wave. This occurs when the peaks of two waves line up.
conceptual_physics
physics
pythonio_488
pythonio-mc
Program: def power_base_sum(base, power): return sum([int(i) for i in str(pow(base, power))]) Input: power_base_sum(2,100) Output:
C
code
computer_science
allenai/sciq_6943
allenai/sciq
Many ionic compounds with relatively large cations and a 1:1 cation:anion ratio have this structure, which is called the what? A. analogous structure B. hydrocarbon structure C. cesium chloride structure D. boron chloride structure
C. cesium chloride structure
Common Structures of Binary Compounds As shown in part (a) in Figure 12.8 "Holes in Cubic Lattices", a simple cubic lattice of anions contains only one kind of hole, located in the center of the unit cell. Because this hole is equidistant from all eight atoms at the corners of the unit cell, it is called acubic hole. A...
college_chemistry
chemistry
math_1684
math_mc
The sum of the positive divisors of a positive integer of the form $2^i3^j$ is equal to $600$. What is $i + j$?
B
math_Number Theory
mathematics
mmlu_aux_train_94912
mmlu_aux_train
The many trees on a forest floor A. are unable to decay B. are able to regrow themselves C. are broken down for good D. broke, passed, will decay
D. broke, passed, will decay
high_school_biology
biology
mmlu_aux_train_79448
mmlu_aux_train
Mails, games, music, news, chat rooms and shopping! The Interent is part of our life today. It's easy to get onto the Internet. The only thing we need to do is to use a modem which is used for connecting a computer to a telephone line. The Internet is changing and growing all the time. More and more people have comput...
A. it's easy and useful
high_school_computer_science
computer_science
mmlu_aux_train_8627
mmlu_aux_train
Our magazine is presenting to you the top five i-phone(the best seller of Apple Company) applications for more fun on hiking or camping trips recommended by our A-list field hikers and travelers. 1.GPS Kit by Garafa - Get un-lost (for $10) What it does: Download before you leave or use your phone's data connection to ...
C. Postagram
coding
computer_science
NLP4Education_806
NLP4Education
Let p(x,y) be the statement “x visits y”, where the domain of x consists of all the humans in the world and the domain of y consists of all the places in the world. Use quantifiers to express the following statement: There is a place in the world that has never been visited by humans. A. ∃y ∀x ¬p(x,y) B. ∀y ∃x ¬p(x,y) ...
A. ∃y ∀x ¬p(x,y)
formal_logic
mathematics
mmlu_aux_train_68197
mmlu_aux_train
Always forgetting your long passwords ? Worried about being hacked ?All these worries will soon become history. Scientists have found that upper-casing your password can help you reduce the chance being hacked. Usually passwords are six letters or more.However,50 percent of people choose a common word or simple key com...
C. How to make your password much safer.
computer_security
computer_science
allenai/sciq_11275
allenai/sciq
What is the opening in the front of the eye called? A. pupil B. lens C. iris D. cornea
A. pupil
The pupil is an opening in the front of the eye. It looks black because it doesn’t reflect any light. All the light passes through it instead. The pupil controls the amount of light that enters the eye. It automatically gets bigger or smaller to let more or less light in as needed.
high_school_biology
biology
mmlu_aux_train_4397
mmlu_aux_train
Why are some rocks smoother and rounder than others? A. They have the shapes of the minerals from which they are made. B. They were smoothed by the action of wind and water. C. They were squeezed up through the soil. D. They hardened in rounded pockets of soil.
B. They were smoothed by the action of wind and water.
earth_science
earth_science
allenai/sciq_9501
allenai/sciq
What celestial bodies are born in clouds of gas and dust called nebulas? A. galaxies B. planets C. stars D. comets
C. stars
Stars are born in clouds of gas and dust called nebulas. Our Sun and solar system formed out of a nebula. A nebula is shown in Figure below . In Figure above , the fuzzy area beneath the central three stars contains the Orion nebula.
astronomy
physics
math_727
math_mc
Points $A$, $B$, $C$, and $T$ are in space such that each of $\overline{TA}$, $\overline{TB}$, and $\overline{TC}$ is perpendicular to the other two. If $TA = TB = 12$ and $TC = 6$, then what is the distance from $T$ to face $ABC$?
B
math_Geometry
mathematics
pythonio_843
pythonio-mc
Program: def binomial_coeff(n, k): C = [[0 for j in range(k + 1)] for i in range(n + 1)] for i in range(0, n + 1): for j in range(0, min(i, k) + 1): if (j == 0 or j == i): C[i][j] = 1 else: C[i][j] = (C[i - 1][j - 1] + C[i - 1][j]) return C[n][k] def lobb_num(n, m): ...
C
code
computer_science
mmlu_aux_train_2638
mmlu_aux_train
Which of these methods of energy resource acquisition has the least effect on the lithosphere? A. surface mining for uranium B. pumping oil from under water C. harvesting wood by selective cutting D. collecting natural gas from old oil wells
C. harvesting wood by selective cutting
earth_science
earth_science
mmlu_aux_train_51362
mmlu_aux_train
In the 1950s, a family that owned a farm near Beulah, Michigan kept a bull chained to an elm . The bull paced around the tree, dragging the heavy iron chain, which led to a groove in the bark . The groove deepened over the years. Though for whatever reason, it did not kill the tree. After some years, the family took...
D. They did nothing and just let it be.
high_school_biology
biology
mmlu_aux_train_45503
mmlu_aux_train
My name is Amanda LaMunyon. I have Asperger's syndrome, a form of autism . I don't see myself as a person with a disability. I share who I am when I paint, sing and write. I started writing poetry because I wanted to tell people what it was like to have Asperger's syndrome. I don't know how my life would be different ...
C. influenced the author's later life greatly
high_school_computer_science
computer_science
mmlu_aux_train_98677
mmlu_aux_train
Incinerating half a herd of cows means there will be A. fewer cows B. slightly more cows C. more cows D. many more cows
A. fewer cows
high_school_biology
biology
allenai/sciq_5107
allenai/sciq
What kind of rocks form as an existing rock is altered by high temperature or pressure? A. basaltic B. metamorphic C. igneous D. sedimentary
B. metamorphic
Metamorphic rocks form as an existing rock is altered by high temperature or pressure.
earth_science
earth_science
math_1910
math_mc
The altitude to the hypotenuse of a triangle with angles of 30 and 60 degrees is 3 units. What is the area of the triangle, in square units? Express your answer in simplest radical form. [asy] unitsize(6mm); defaultpen(linewidth(.7pt)+fontsize(8pt)); real r=2*sqrt(3); pair A=r*dir(0), B=r*dir(60), C=r*dir(180); pair ...
D
math_Prealgebra
mathematics
mmlu_aux_train_1308
mmlu_aux_train
Which of the following is found in all living organisms? A. cell B. organ C. organ system D. tissue
A. cell
high_school_biology
biology
math_875
math_mc
Let $ABCDE$ be a convex pentagon with $AB \parallel CE, BC \parallel AD, AC \parallel DE, \angle ABC=120^\circ, AB=3, BC=5,$ and $DE = 15.$ Given that the ratio between the area of triangle $ABC$ and the area of triangle $EBD$ is $m/n,$ where $m$ and $n$ are relatively prime positive integers, find $m+n.$
D
math_Geometry
mathematics
allenai/sciq_4004
allenai/sciq
A rise in blood glucose levels triggers the pancreatic release of what hormone? A. estrogen B. hemoglobin C. insulin D. testosterone
C. insulin
Humoral Stimuli The term “humoral” is derived from the term “humor,” which refers to bodily fluids such as blood. A humoral stimulus refers to the control of hormone release in response to changes in extracellular fluids such as blood or the ion concentration in the blood. For example, a rise in blood glucose levels tr...
college_biology
biology
math_834
math_mc
Two congruent right circular cones each with base radius $3$ and height $8$ have the axes of symmetry that intersect at right angles at a point in the interior of the cones a distance $3$ from the base of each cone. A sphere with radius $r$ lies withing both cones. The maximum possible value of $r^2$ is $\frac{m}{n}$, ...
A
math_Geometry
mathematics
allenai/sciq_416
allenai/sciq
What atmospheric layer lies above the highest altitude an airplane can go and below the lowest altitude a spacecraft can orbit? A. stratosphere B. mesosphere C. thermosphere D. troposphere
B. mesosphere
Not so fast. The mesosphere is the least known layer of the atmosphere. The mesosphere lies above the highest altitude an airplane can go. It lies below the lowest altitude a spacecraft can orbit. Maybe that's just as well. If you were in the mesosphere without a space suit, your blood would boil! This is because the p...
astronomy
physics
math_604
math_mc
Let $N$ denote the number of $7$ digit positive integers have the property that their digits are in increasing order. Determine the remainder obtained when $N$ is divided by $1000$. (Repeated digits are allowed.)
C
math_Counting & Probability
mathematics
aquarat_77730
deepmind/aqua_rat
A certain university will select 2 of 3 candidates eligible to fill a position in the mathematics department and 4 of 5 candidates eligible to fill 2 identical positions in the computer science department. If none of the candidates is eligible for a position in both departments, how many different sets of 3 candidates ...
A. 42 B. 10 C. 40 D. 65 E. 15
E. 15
3C2*5C4 = 3*5 = 15 the answer is (E)
college_mathematics
mathematics
NLP4Education_594
NLP4Education
Tick the \textbf{true} assertion. A. It is asymptotically harder to do a collision than to do a preimage attack. B. The probability that a random number is prime increases with the increase of size length. C. If $f(n)\in O(g(n))$ then $f(n)\in \Theta(g(n))$. D. If $f(n)\in \Theta(g(n))$ then $f(n)\in O(g(n))$.
D. If $f(n)\in \Theta(g(n))$ then $f(n)\in O(g(n))$.
computer_security
computer_science
mmlu_aux_train_11076
mmlu_aux_train
"Plants were expected to get larger with increased carbon dioxide in the atmosphere, but changes in temperature, humidity and nutrient availability seem to have _ the benefits of increased carbon dioxide," said researchers from the National University of Singapore. 45 percent of the species studied now reach smaller ad...
D. Species become smaller as climate warms
college_biology
biology
allenai/sciq_5114
allenai/sciq
What is the basic unit of computer memory? A. byte B. Teraybte C. Bit D. Megabyte
A. byte
Multiplicative prefixes are used for other units as well, such as computer memory. The basic unit of computer memory is the byte (b). What is the unit for one million bytes?.
college_computer_science
computer_science
aquarat_35735
deepmind/aqua_rat
If Q= x^4 + y^4 = 100, then the greatest possible value of x is between
A. 0 and 3 B. 3 and 6 C. 6 and 9 D. 9 and 12 E. 12 and 15
B. 3 and 6
My attempt: If Q=x^4+y^4=100, then the greatest possible value of x would be when y is minimum. Let y^4 be 0. Now x^4 = 100. x should be definitely greater than 3 but less than 4. The only option that fits this range is B Hence answer is -- b) 3 and 6.
college_mathematics
mathematics
math_717
math_mc
$ABC$ is an equilateral triangle with sides equal to 2cm. $\overline{BC}$ is extended its own length to $D$, and $E$ is the midpoint of $\overline{AB}$. Suppose $\overline{ED}$ meets $\overline{AC}$ at $F$. Find the area of the quadrilateral $BEFC$ in square centimeters. [asy] size(200); draw( (0,0) -- (1/2, .866) --(...
C
math_Geometry
mathematics
aquarat_72458
deepmind/aqua_rat
The function f(P) represents the number of ways that prime numbers can be uniquely summed to form a certain number P such that P = a + b + c + d… where those summed variables are each prime and a ≤ b ≤ c ≤ d ... For instance f(8) = 3 and the unique ways are 2 + 2 + 2 + 2 and 2 + 3 + 3 and 3 + 5. What is f(12)?
A. 4 B. 5 C. 6 D. 7 E. 8
D. 7
So we can start with 2 and check whether sum of two primes is primes is even. 1) 2(6 times) 2) 2(3 times) + 3(2 times) 3) 2(2 times) + 3 + 5 4) 2 + 3 + 7 5) 2 + 5 + 5 6) 3(4 times) 7) 5 + 7 Answer: D
college_mathematics
mathematics
NLP4Education_297
NLP4Education
(SVD) The set of singular values of any rectangular matrix $\mathbf{X}$ is equal to the set of eigenvalues for the square matrix $\mathbf{X X}^{\top}$. A. True for all rectangular matrices B. False, singular values are not generally eigenvalues of $\mathbf{X X}^{\top}$ C. Only true for square matrices D. Only true if $...
B. False, singular values are not generally eigenvalues of $\mathbf{X X}^{\top}$
college_mathematics
mathematics
aquarat_90766
deepmind/aqua_rat
If green means red, red means black, black means blue, blue means orange and orange means green, what is the colour of sky in night ?
A. Blue B. Green C. Yellow D. Orange E. Red
E. Red
Explanation: The colour of sky in night is 'black' and as given 'red' means 'black'. so, the colour of sky in night is 'red'. Answer: E
formal_logic
mathematics
math_24
math_mc
If the point $(3,6)$ is on the graph of $y=g(x)$, and $h(x)=(g(x))^2$ for all $x$, then there is one point that must be on the graph of $y=h(x)$. What is the sum of the coordinates of that point?
C
math_Algebra
mathematics
allenai/sciq_1531
allenai/sciq
What gas is contributing to the greenhouse effect? A. nitrogen B. carbon dioxide C. oxygen D. sodium chloride
B. carbon dioxide
Another major problem caused by air pollution is global climate change. Gases such as carbon dioxide from the burning of fossil fuels increase the natural greenhouse effect. This raises the temperature of Earth’s surface.
high_school_chemistry
chemistry
NLP4Education_61
NLP4Education
In Text Representation learning, which of the following statements is correct? A. Learning GloVe vectors can be done using SGD in a streaming fashion, by streaming through the input text only once. B. Every recommender systems algorithm for learning a matrix factorization $\boldsymbol{W} \boldsymbol{Z}^{\top}$ approxim...
B. Every recommender systems algorithm for learning a matrix factorization $\boldsymbol{W} \boldsymbol{Z}^{\top}$ approximating the observed entries in least square sense does also apply to learn GloVe word vectors.
machine_learning
computer_science
math_1570
math_mc
What is the sum of the different prime factors of $150280?$
D
math_Number Theory
mathematics
pythonio_160
pythonio-mc
Program: def two_unique_nums(nums): return [i for i in nums if nums.count(i)==1] Input: two_unique_nums([1,2,3,2,3,4,5]) Output:
B
code
computer_science
aquarat_90297
deepmind/aqua_rat
Factory X's bulbs work for over 4000 hours in 59% of cases, whereas factory Y's bulbs work for over 4000 hours in 65% of cases. It is known that factory X supplies 60% of the total bulbs available. What is the chance that a purchased bulb will work for longer than 4000 hours?
A. 66.4% B. 61.4% C. 77.4% D. 65% E. 53.9%
B. 61.4%
For X, 60% of 59% will work. For Y, 40% of 65% will work. *40% is the rest of the bulb supply in the market. So, the probability that a purchased bulb will work is: 0.60(0.59) = .354 0.40(0.65) = 0.26 The combined probability then is 35.4 + 26.00 = 61.4% ANS B
high_school_statistics
mathematics
mmlu_aux_train_62493
mmlu_aux_train
BEIJING - By the end of 2011 China-made supercomputers will say goodbye to foreign microchips and start using their own "Chinese core ", according to one of the country's leading scientists, Hu Weiwu. Hu told reporters on Saturday that the "Dawning 6000" supercomputer, developed by the Institute of Computing Technolog...
D. Homemade CPUs on the Way for Local Supercomputers
computer_security
computer_science
allenai/sciq_6112
allenai/sciq
Calculations are described showing conversions between molar mass and what for gases? A. density B. weight C. length D. volume
A. density
Calculations are described showing conversions between molar mass and density for gases.
high_school_chemistry
chemistry
allenai/sciq_7586
allenai/sciq
The word science is derived from what latin word? A. sceria B. scentia C. scefitana D. scitifica
B. scentia
The Nature of Science Biology is a science, but what exactly is science? What does the study of biology share with other scientific disciplines? Science (from the Latin scientia, meaning "knowledge") can be defined as knowledge about the natural world. Science is a very specific way of learning, or knowing, about the w...
high_school_biology
biology
mmlu_aux_train_1417
mmlu_aux_train
Which of the following forms of energy is released or absorbed in most chemical reactions? A. light energy B. electrical energy C. sound energy D. heat energy
D. heat energy
high_school_chemistry
chemistry
pythonio_130
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...
C
code
computer_science
allenai/sciq_3586
allenai/sciq
Matching donor and recipient blood types is important because different blood types have different types of what? A. antibodies B. charges C. coagulants D. antigens
A. antibodies
The ABO blood group system is important if a person needs a blood transfusion. A blood transfusion is the process of putting blood or blood products from one person into the circulatory system of another person. The blood type of the recipient needs to be carefully matched to the blood type of the donor. That's because...
high_school_biology
biology
aquarat_51151
deepmind/aqua_rat
For which of the following functions f is f(c) = f(1-c) for all c?
A. f (c) = 1 - c B. f (c) = 1 - c^2 C. f (c) = c^2 - (1 - c)^2 D. f (c) = c^2*(1 - c)^2 E. f (x) = x/(1 - x)
D. f (c) = c^2*(1 - c)^2
I remember seeing this problem in a GMATprep test. I think choice D should be F(c)=(c^2) (1-c)^2. If that is true then substituting (1-c) for will give us the same function back and the answer choice is D, where the function is multiplicative
college_mathematics
mathematics
math_1964
math_mc
Four concentric circles are drawn with radii of 1, 3, 5 and 7. The inner circle is painted black, the ring around it is white, the next ring is black and the outer ring is white. What is the ratio of the black area to the white area? Express your answer as a common fraction.
C
math_Prealgebra
mathematics
pythonio_846
pythonio-mc
Program: def rearrange_numbs(array_nums): result = sorted(array_nums, key = lambda i: 0 if i == 0 else -1 / i) return result Input: rearrange_numbs([-1, 2, -3, 5, 7, 8, 9, -10]) Output:
D
code
computer_science
allenai/sciq_7427
allenai/sciq
What is a funnel-shaped cloud of whirling high winds known as? A. tsunami B. hurricane C. tornado D. volcano
C. tornado
Severe thunderstorms have a lot of energy and strong winds. This allows them to produce tornadoes. A tornado is a funnel-shaped cloud of whirling high winds. You can see a tornado in Figure below . The funnel moves along the ground, destroying everything in its path. As it moves it loses energy. Before this happens it ...
high_school_physics
physics
pythonio_780
pythonio-mc
Program: def fibonacci(n): if n == 1 or n == 2: return 1 else: return (fibonacci(n - 1) + (fibonacci(n - 2))) Input: fibonacci(7) Output:
B
code
computer_science
pythonio_256
pythonio-mc
Program: def maximum_value(test_list): res = [(key, max(lst)) for key, lst in test_list] return (res) Input: maximum_value([('key1', [4, 5, 6]), ('key2', [2, 5, 3]), ('key3', [10, 4])]) Output:
A
code
computer_science
math_2205
math_mc
In triangle $ABC,$ $E$ lies on $\overline{AC}$ such that $AE:EC = 2:1,$ and $F$ lies on $\overline{AB}$ such that $AF:FB = 1:4.$ Let $P$ be the intersection of $\overline{BE}$ and $\overline{CF}.$ [asy] unitsize(0.8 cm); pair A, B, C, D, E, F, P; A = (1,4); B = (0,0); C = (6,0); E = interp(A,C,2/3); F = interp(A,B,...
A
math_Precalculus
mathematics
math_1548
math_mc
What is the smallest positive integer $n$ for which $n^2$ is divisible by 18 and $n^3$ is divisible by 640?
C
math_Number Theory
mathematics
mmlu_aux_train_27136
mmlu_aux_train
The next generation telephone is called Superphone or personal Communication Network (PCN). Your superphone goes wherever you go, in your pocket. You can use it in the street, in an aeroplane, a boat, or a taxi; you can call from anywhere on the globe to anywhere else. Calls travel at the speed of light, via satellites...
A. has a very wide coverage of signals.
computer_security
computer_science
pythonio_134
pythonio-mc
Program: def assign_elements(test_list): res = dict() for key, val in test_list: res.setdefault(val, []) res.setdefault(key, []).append(val) return (res) Input: assign_elements([(5, 3), (7, 5), (2, 7), (3, 8), (8, 4)] ) Output:
A
code
computer_science
pythonio_944
pythonio-mc
Program: def discriminant_value(x,y,z): discriminant = (y**2) - (4*x*z) if discriminant > 0: return ("Two solutions",discriminant) elif discriminant == 0: return ("one solution",discriminant) elif discriminant < 0: return ("no real solution",discriminant) Input: discrimina...
A
code
computer_science
mmlu_aux_train_67807
mmlu_aux_train
Bill Gates was born on October 28th, 1955. He grew up in Seattle, Washington. Bill Gates was named William Henry after his father and grandfather. He was a very clever boy. His favourite subject at school were science and maths. When he was 13 years old, Bill started to play with computers. At that time, computers were...
D. at Harvard
high_school_computer_science
computer_science
NLP4Education_581
NLP4Education
Tick the \emph{false} assertion. The index of coincidence A. is a probability. B. can help breaking Vigenère cipher. C. is different for a random string than for some text in English. D. is the best known attack against the Vernam cipher.
D. is the best known attack against the Vernam cipher.
computer_security
computer_science
math_35
math_mc
What is the sum of all integer solutions to $|n| < |n-3| < 9$?
C
math_Algebra
mathematics
math_226
math_mc
A ''super ball'' is dropped from a window 16 meters above the ground. On each bounce it rises $\frac34$ the distance of the preceding high point. The ball is caught when it reached the high point after hitting the ground for the third time. To the nearest meter, how far has it travelled?
A
math_Algebra
mathematics
math_1846
math_mc
When $0.\overline{36}$ is expressed as a common fraction in lowest terms, what is the sum of the numerator and denominator?
C
math_Prealgebra
mathematics
mmlu_aux_train_2319
mmlu_aux_train
One type of cold remedy is an effervescent tablet that breaks down in water. When the tablet is placed in water, it forms gas bubbles. In this example, the formation of a gas A. is a physical property. B. occurs when adding water to acid. C. is a sign of a chemical change. D. occurs when the water boils.
C. is a sign of a chemical change.
high_school_chemistry
chemistry
allenai/sciq_5894
allenai/sciq
What kind of reaction adds water to an organic molecule and breaks the large molecule into smaller molecules? A. supplementation reaction B. aerobic reaction C. heat reaction D. hydration reaction
D. hydration reaction
A hydration reaction is the opposite of a dehydration reaction. A hydration reaction adds water to an organic molecule and breaks the large molecule into smaller molecules. Hydration reactions occur in an acidic water solution. An example of hydration reaction is the breaking of peptide bonds in polypeptides. A hydroxi...
college_chemistry
chemistry
math_2169
math_mc
Joel selected an acute angle $x$ (strictly between 0 and 90 degrees) and wrote the values of $\sin x$, $\cos x$, and $\tan x$ on three different cards. Then he gave those cards to three students, Malvina, Paulina, and Georgina, one card to each, and asked them to figure out which trigonometric function (sin, cos, or t...
D
math_Precalculus
mathematics
aquarat_24154
deepmind/aqua_rat
The average age of applicants for a new job is 35, with a standard deviation of 30. The hiring manager is only willing to accept applicants whose age is within one standard deviation of the average age. Assuming that all applicants' ages are integers and that the endpoints of the range are included, what is the maximum...
A. 8 B. 16 C. 31 D. 18 E. 34
C. 31
Minimum age = Average - 1 Standard deviation = 35 - 30 = 5 Maximum age = average + 1 Standard deviation = 35+ 30 = 35 Maximum number of different ages of the applicants = 35- 5 + 1 = 31 Answer C
high_school_statistics
mathematics
pythonio_188
pythonio-mc
Program: def catalan_number(num): if num <=1: return 1 res_num = 0 for i in range(num): res_num += catalan_number(i) * catalan_number(num-i-1) return res_num Input: catalan_number(9) Output:
B
code
computer_science
allenai/sciq_1323
allenai/sciq
What are the three fundamental phases of matter? A. big, small. and medium B. solid, liquid, and gas C. air, water, and land D. fast, slow, normal
B. solid, liquid, and gas
is the phase (or state) of matter. The three fundamental phases of matter are solid, liquid, and gas (see Figure 1.1 "The Phases of Matter"). Chemical properties are characteristics of matter that describe how matter changes form in the presence of other matter. Does a sample of matter burn? Burning is a chemical prope...
high_school_physics
physics
allenai/sciq_968
allenai/sciq
What is the force pulling an object downward called? A. momentum B. magnetism C. weight D. density
C. weight
The weight of an object is the force pulling the object downward. On Earth, this would be the gravitational force of the Earth on the object. On the moon, this would be the gravitational force of the moon on the object. The gravitational force of the moon is one-sixth the magnitude of the gravitational force of the Ear...
conceptual_physics
physics
NLP4Education_200
NLP4Education
You need to debug your Stochastic Gradient Descent update for a classification of three bridge types. Manually compute the model output for the feature vector $x=(1, 0, 0, 0, 0)$ and $W$ contains only zeros. The model is logistic regression, \textit{i.e.}, $\textrm{softmax}(Wx)$. Remember: \begin{equation} \te...
B. $\left(\frac{1}{3}, \frac{1}{3}, \frac{1}{3}\right)$
machine_learning
computer_science
aquarat_68145
deepmind/aqua_rat
A certain list of 240 test scores has an average (arithmetic mean) of 85 and a standard deviation of d, where d is positive. Which of the following two test scores, when added to the list, must result in a list of 242 test scores with a standard deviation less than d ?
A. 80 and 80 B. 80 and 85 C. 80 and 90 D. 85 and 86 E. 85 and 90
D. 85 and 86
The standard deviation of a set shows how much variation there is from the mean, how widespread a given set is. So, a low standard deviation indicates that the data points tend to be very close to the mean, whereas high standard deviation indicates that the data are spread out over a large range of values. So when we a...
high_school_statistics
mathematics
allenai/sciq_7017
allenai/sciq
What is the property that determines the amount of current flow through a particular material? A. pressure B. surface tension C. resistance D. demand
C. resistance
Resistance is the property that determines the amount of current flow through a particular material.
electrical_engineering
engineering
math_1801
math_mc
The sum of two positive integers $a$ and $b$ is 1001. What is the largest possible value of $\gcd(a,b)$?
B
math_Number Theory
mathematics
math_1062
math_mc
A circle of radius $r$ has chords $\overline{AB}$ of length $10$ and $\overline{CD}$ of length 7. When $\overline{AB}$ and $\overline{CD}$ are extended through $B$ and $C$, respectively, they intersect at $P$, which is outside of the circle. If $\angle{APD}=60^\circ$ and $BP=8$, then $r^2=$ $\text{(A) } 70\quad \text{(...
A
math_Geometry
mathematics
math_536
math_mc
How many different positive three-digit integers can be formed using only the digits in the set $\{2, 3, 5, 5, 5, 6, 6\}$ if no digit may be used more times than it appears in the given set of available digits?
B
math_Counting & Probability
mathematics
mmlu_aux_train_98089
mmlu_aux_train
Trees are mulched and liquefied before being dried to make A. houses B. paper C. toothpicks D. floors
B. paper
high_school_chemistry
chemistry
mmlu_aux_train_29452
mmlu_aux_train
Very soon a computer will be able to teach you English. It will also be able to translate any language for you,too. It's just one more incredible result of the development of microprocessors - those tiny parts of a computer commonly known as "silicon chips". So give up going to classes, stop buying more textbooks and r...
D. the computer will be able to translate any language for you
high_school_computer_science
computer_science
math_1381
math_mc
The expression \[a(b - c)^3 + b(c - a)^3 + c(a - b)^3\]can be factored into the form $(a - b)(b - c)(c - a) p(a,b,c),$ for some polynomial $p(a,b,c).$ Find $p(a,b,c).$
A
math_Intermediate Algebra
mathematics
allenai/sciq_8457
allenai/sciq
Which metalloids are found in the nitrogen group? A. sulfur and polonium B. arsenic and antimony C. selenium and antimony D. polonium and antimony
B. arsenic and antimony
Group 15 is called the nitrogen group. The metalloids in this group are arsenic and antimony. Group 15 also contains two nonmetals and one metal.
high_school_chemistry
chemistry
NLP4Education_720
NLP4Education
Consider the following shellcode, which of the following statement(s) is/are correct? A. Lines 2-6 are preparing arguments for the syscall invocation. B. The shellcode does not require the "/bin/sh" string to be null-terminated. C. Line 3 (pop %rdi) is unnecessary for the execution of the shellcode. D. The purpose of l...
A. Lines 2-6 are preparing arguments for the syscall invocation.
computer_security
computer_science
mmlu_aux_train_41136
mmlu_aux_train
Mothers can still offer comfort, even from a distance, a new study has found. The results show that simply hearing their mothers' voice over the phone works just as well at calming the nerves of stressed children as a real-life pat on the shoulder. The soothing effect is most likely due to the release of the hormone , ...
D. mothers' voice can promote the release of the love hormone
college_biology
biology
pythonio_424
pythonio-mc
Program: def mul_consecutive_nums(nums): result = [b*a for a, b in zip(nums[:-1], nums[1:])] return result Input: mul_consecutive_nums([4, 5, 8, 9, 6, 10]) Output:
A
code
computer_science
mmlu_aux_train_64921
mmlu_aux_train
The history of the computer keyboard started way back in 1714, when the first typewriters were manufactured. Then, they looked more like sewing machines, since they were designed by Remington, which also used to manufacture sewing machines. They were not used for commercial purposes but to produce legal documents that ...
A. To produce legal documents.
computer_security
computer_science
aquarat_27940
deepmind/aqua_rat
g(a) is defined as the product of all even integers k such that 0 < k ≤ x. For example, g(14) = 2 × 4 × 6 × 8 × 10 × 12 × 14. If g(y) is divisible by 4^11, what is the smallest possible value for a?
A. 22 B. 24 C. 28 D. 32 E. 44
B. 24
g(a)=4^11=2^22. So we have to find a product with atleast 22 2's in it. in option 1 22 the total no of 2's = [22/2] + [22/4] +[22/8] +[22/16] = 11+5+2+1 = 19 in option 2 24 the total no of 2's = [24/2] + [24/4] +[24/8] +[24/16] = 12+6+3+1 = 22 . Hence B
college_mathematics
mathematics
allenai/sciq_7005
allenai/sciq
Combining nonpolar olive oil and polar vinegar yields what type of mixture? A. homogeneous B. omnigeneous C. amorphous D. heterogeneous
D. heterogeneous
Another familiar example is the mixing of vinegar and olive oil. Olive oil is a nonpolar substance, while vinegar (which is mostly water and acetic acid) is polar. The result is a heterogeneous mixture that exhibits a bilayer.
high_school_chemistry
chemistry