aboutsummaryrefslogtreecommitdiffstats
path: root/bot/resources/evergreen
diff options
context:
space:
mode:
authorGravatar bradtimmis <[email protected]>2021-08-30 22:09:44 -0400
committerGravatar bradtimmis <[email protected]>2021-08-30 22:09:44 -0400
commit8bc54b2e2aeaeef30efd9f7f684cce48b7b64daf (patch)
tree91e844d1431a127815d33406139e5798341b533a /bot/resources/evergreen
parentNumerous syntax and bug fixes (diff)
parentMerge pull request #831 from brad90four/patch-1 (diff)
Update branch with main
Diffstat (limited to 'bot/resources/evergreen')
-rw-r--r--bot/resources/evergreen/LuckiestGuy-Regular.ttfbin0 -> 58292 bytes
-rw-r--r--bot/resources/evergreen/all_cards.pngbin0 -> 155466 bytes
-rw-r--r--bot/resources/evergreen/ducks_help_ex.pngbin0 -> 343921 bytes
-rw-r--r--bot/resources/evergreen/py_topics.yaml21
-rw-r--r--bot/resources/evergreen/python_facts.txt3
-rw-r--r--bot/resources/evergreen/starter.yaml20
-rw-r--r--bot/resources/evergreen/trivia_quiz.json696
7 files changed, 713 insertions, 27 deletions
diff --git a/bot/resources/evergreen/LuckiestGuy-Regular.ttf b/bot/resources/evergreen/LuckiestGuy-Regular.ttf
new file mode 100644
index 00000000..8c79c875
--- /dev/null
+++ b/bot/resources/evergreen/LuckiestGuy-Regular.ttf
Binary files differ
diff --git a/bot/resources/evergreen/all_cards.png b/bot/resources/evergreen/all_cards.png
new file mode 100644
index 00000000..10ed2eb8
--- /dev/null
+++ b/bot/resources/evergreen/all_cards.png
Binary files differ
diff --git a/bot/resources/evergreen/ducks_help_ex.png b/bot/resources/evergreen/ducks_help_ex.png
new file mode 100644
index 00000000..01d9c243
--- /dev/null
+++ b/bot/resources/evergreen/ducks_help_ex.png
Binary files differ
diff --git a/bot/resources/evergreen/py_topics.yaml b/bot/resources/evergreen/py_topics.yaml
index f3b2eaa3..a3fb2ccc 100644
--- a/bot/resources/evergreen/py_topics.yaml
+++ b/bot/resources/evergreen/py_topics.yaml
@@ -23,6 +23,19 @@
- When you were first learning, what is a resource you wish you had?
- What is something you know now, that you wish you knew when starting out?
- What is something simple that you still error on today?
+ - What do you plan on eventually achieving with Python?
+ - Is Python your first programming language? If not, what is it?
+ - What's your favourite aspect of Python development? (Backend, frontend, game dev, machine learning, ai, etc.)
+ - In what ways has Python Discord helped you with Python?
+ - Are you currently using Python professionally, for education, or as a hobby?
+ - What is your process when you decide to start a project in Python?
+ - Have you ever been unable to finish a Python project? What is it and why?
+ - How often do you program in Python?
+ - How would you learn a new library if needed to do so?
+ - Have you ever worked with a microcontroller or anything physical with Python before?
+ - How good would you say you are at Python so far? Beginner, intermediate, or advanced?
+ - Have you ever tried making your own programming language?
+ - Has a recently discovered Python module changed your general use of Python?
# algos-and-data-structs
650401909852864553:
@@ -52,7 +65,7 @@
- What unique features does your bot contain, if any?
- What commands/features are you proud of making?
- What feature would you be the most interested in making?
- - What feature would you like to see added to the library? what feature in the library do you think is redundant?
+ - What feature would you like to see added to the library? What feature in the library do you think is redundant?
- Do you think there's a way in which Discord could handle bots better?
- What's one feature you wish more developers had in their bots?
@@ -69,7 +82,11 @@
# game-development
660625198390837248:
- -
+ - What is your favorite game mechanic?
+ - What is your favorite framework and why?
+ - What games do you know that were written in Python?
+ - What books or tutorials would you recommend for game-development beginners?
+ - What made you start developing games?
# microcontrollers
545603026732318730:
diff --git a/bot/resources/evergreen/python_facts.txt b/bot/resources/evergreen/python_facts.txt
new file mode 100644
index 00000000..0abd971b
--- /dev/null
+++ b/bot/resources/evergreen/python_facts.txt
@@ -0,0 +1,3 @@
+Python was named after Monty Python, a British Comedy Troupe, which Guido van Rossum likes.
+If you type `import this` in the Python REPL, you'll get a poem about the philosophies about Python. (check it out by doing !zen in <#267659945086812160>)
+If you type `import antigravity` in the Python REPL, you'll be directed to an [xkcd comic](https://xkcd.com/353/) about how easy Python is.
diff --git a/bot/resources/evergreen/starter.yaml b/bot/resources/evergreen/starter.yaml
index 949220f9..6b0de0ef 100644
--- a/bot/resources/evergreen/starter.yaml
+++ b/bot/resources/evergreen/starter.yaml
@@ -6,7 +6,6 @@
- "What is better: Milk, Dark or White chocolate?"
- What is your favourite holiday?
- If you could have any superpower, what would it be?
-- Name one thing you like about a person to your right.
- If you could be anyone else for one day, who would it be?
- What Easter tradition do you enjoy most?
- What is the best gift you've been given?
@@ -31,3 +30,22 @@
- What is your favorite TV show?
- What is your favorite media genre?
- How many years have you spent coding?
+- What book do you highly recommend everyone to read?
+- What websites do you use daily to keep yourself up to date with the industry?
+- What made you want to join this Discord server?
+- How are you?
+- What is the best advice you have ever gotten in regards to programming/software?
+- What is the most satisfying thing you've done in your life?
+- Who is your favorite music composer/producer/singer?
+- What is your favorite song?
+- What is your favorite video game?
+- What are your hobbies other than programming?
+- Who is your favorite Writer?
+- What is your favorite movie?
+- What is your favorite sport?
+- What is your favorite fruit?
+- What is your favorite juice?
+- What is the best scenery you've ever seen?
+- What artistic talents do you have?
+- What is the tallest building you've entered?
+- What is the oldest computer you've ever used?
diff --git a/bot/resources/evergreen/trivia_quiz.json b/bot/resources/evergreen/trivia_quiz.json
index faa3bc3b..8008838c 100644
--- a/bot/resources/evergreen/trivia_quiz.json
+++ b/bot/resources/evergreen/trivia_quiz.json
@@ -2,36 +2,69 @@
"retro": [
{
"id": 1,
- "hints": ["It is not a mainline Mario Game, although the plumber is present.", "It is not a mainline Zelda Game, although Link is present."],
+ "hints": [
+ "It is not a mainline Mario Game, although the plumber is present.",
+ "It is not a mainline Zelda Game, although Link is present."
+ ],
"question": "What is the best selling game on the Nintendo GameCube?",
"answer": "Super Smash Bros"
},
{
"id": 2,
- "hints": ["It was released before the 90's.", "It was released after 1980."],
+ "hints": [
+ "It was released before the 90's.",
+ "It was released after 1980."
+ ],
"question": "What year was Tetris released?",
"answer": "1984"
},
{
"id": 3,
- "hints": ["The occupation was in construction", "He appeared as this kind of worker in 1981's Donkey Kong"],
+ "hints": [
+ "The occupation was in construction",
+ "He appeared as this kind of worker in 1981's Donkey Kong"
+ ],
"question": "What was Mario's original occupation?",
"answer": "Carpenter"
},
{
"id": 4,
- "hints": ["It was revealed in the Nintendo Character Guide in 1993.", "His last name has to do with eating Mario's enemies."],
+ "hints": [
+ "It was revealed in the Nintendo Character Guide in 1993.",
+ "His last name has to do with eating Mario's enemies."
+ ],
"question": "What is Yoshi's (from Mario Bros.) full name?",
"answer": "Yoshisaur Munchakoopas"
},
{
"id": 5,
- "hints": ["The game was released in 1990.", "It was released on the SNES."],
+ "hints": [
+ "The game was released in 1990.",
+ "It was released on the SNES."
+ ],
"question": "What was the first game Yoshi appeared in?",
"answer": "Super Mario World"
+ },
+ {
+ "id": 6,
+ "hints": [
+ "They were used alternatively to playing cards.",
+ "They generally have handdrawn nature images on them."
+ ],
+ "question": "What did Nintendo make before video games and toys?",
+ "answer": "Hanafuda, Hanafuda cards"
+ },
+ {
+ "id": 7,
+ "hints": [
+ "Before being Nintendo's main competitor in home gaming, they were successful in arcades.",
+ "Their first console was called the Master System."
+ ],
+ "question": "Who was Nintendo's biggest competitor in 1990?",
+ "answer": "Sega"
}
],
- "general":[
+ "general": [
{
"id": 100,
"question": "Name \"the land of a thousand lakes\"",
@@ -114,7 +147,7 @@
"id": 113,
"question": "What's the name of the tallest waterfall in the world.",
"answer": "Angel Falls",
- "info": "Angel Falls (Salto Ángel) in Venezuela is the highest waterfall in the world. The falls are 3230 feet in height, with an uninterrupted drop of 2647 feet. Angel Falls is located on a tributary of the Rio Caroni."
+ "info": "Angel Falls (Salto \u00c1ngel) in Venezuela is the highest waterfall in the world. The falls are 3230 feet in height, with an uninterrupted drop of 2647 feet. Angel Falls is located on a tributary of the Rio Caroni."
},
{
"id": 114,
@@ -180,7 +213,7 @@
"id": 124,
"question": "When did the Second World War end?",
"answer": "1945",
- "info": "World War 2 ended with the unconditional surrender of the Axis powers. On 8 May 1945, the Allies accepted Germany's surrender, about a week after Adolf Hitler had committed suicide. VE Day – Victory in Europe celebrates the end of the Second World War on 8 May 1945."
+ "info": "World War 2 ended with the unconditional surrender of the Axis powers. On 8 May 1945, the Allies accepted Germany's surrender, about a week after Adolf Hitler had committed suicide. VE Day \u2013 Victory in Europe celebrates the end of the Second World War on 8 May 1945."
},
{
"id": 125,
@@ -190,75 +223,690 @@
},
{
"id": 126,
- "question": "What's the name of the largest river in the world?",
- "answer": "Nile",
- "info": "The Nile, which is about 6,650 km (4,130 mi) long, is an \"international\" river as its drainage basin covers eleven countries, namely, Tanzania, Uganda, Rwanda, Burundi, the Democratic Republic of the Congo, Kenya, Ethiopia, Eritrea, South Sudan, Republic of the Sudan and Egypt."
- },
- {
- "id": 127,
"question": "Which is the smallest planet in the Solar System?",
"answer": "Mercury",
"info": "Mercury is the smallest planet in our solar system. It's just a little bigger than Earth's moon. It is the closest planet to the sun, but it's actually not the hottest. Venus is hotter."
},
{
- "id": 128,
+ "id": 127,
"question": "What is the smallest country?",
"answer": "Vatican City",
"info": "With an area of 0.17 square miles (0.44 km2) and a population right around 1,000, Vatican City is the smallest country in the world, both in terms of size and population."
},
{
- "id": 129,
+ "id": 128,
"question": "What's the name of the largest bird?",
"answer": "Ostrich",
"info": "The largest living bird, a member of the Struthioniformes, is the ostrich (Struthio camelus), from the plains of Africa and Arabia. A large male ostrich can reach a height of 2.8 metres (9.2 feet) and weigh over 156 kilograms (344 pounds)."
},
{
- "id": 130,
+ "id": 129,
"question": "What does the acronym GPRS stand for?",
"answer": "General Packet Radio Service",
"info": "General Packet Radio Service (GPRS) is a packet-based mobile data service on the global system for mobile communications (GSM) of 3G and 2G cellular communication systems. It is a non-voice, high-speed and useful packet-switching technology intended for GSM networks."
},
{
- "id": 131,
+ "id": 130,
"question": "In what country is the Ebro river located?",
"answer": "Spain",
"info": "The Ebro river is located in Spain. It is 930 kilometers long and it's the second longest river that ends on the Mediterranean Sea."
},
{
- "id": 132,
+ "id": 131,
"question": "What year was the IBM PC model 5150 introduced into the market?",
"answer": "1981",
"info": "The IBM PC was introduced into the market in 1981. It used the Intel 8088, with a clock speed of 4.77 MHz, along with the MDA and CGA as a video card."
},
{
- "id": 133,
+ "id": 132,
"question": "What's the world's largest urban area?",
"answer": "Tokyo",
"info": "Tokyo is the most populated city in the world, with a population of 37 million people. It is located in Japan."
},
{
- "id": 134,
+ "id": 133,
"question": "How many planets are there in the Solar system?",
"answer": "8",
"info": "In the Solar system, there are 8 planets: Mercury, Venus, Earth, Mars, Jupiter, Saturn, Uranus and Neptune. Pluto isn't considered a planet in the Solar System anymore."
},
{
- "id": 135,
+ "id": 134,
"question": "What is the capital of Iraq?",
"answer": "Baghdad",
"info": "Baghdad is the capital of Iraq. It has a population of 7 million people."
},
{
- "id": 136,
+ "id": 135,
"question": "The United Nations headquarters is located at which city?",
"answer": "New York",
"info": "The United Nations is headquartered in New York City in a complex designed by a board of architects led by Wallace Harrison and built by the architectural firm Harrison & Abramovitz. The complex has served as the official headquarters of the United Nations since its completion in 1951."
},
{
- "id": 137,
+ "id": 136,
"question": "At what year did Christopher Columbus discover America?",
"answer": "1492",
"info": "The explorer Christopher Columbus made four trips across the Atlantic Ocean from Spain: in 1492, 1493, 1498 and 1502. He was determined to find a direct water route west from Europe to Asia, but he never did. Instead, he stumbled upon the Americas"
}
+ ],
+ "math": [
+ {
+ "id": 201,
+ "question": "What is the highest power of a biquadratic polynomial?",
+ "answer": "4, four"
+ },
+ {
+ "id": 202,
+ "question": "What is the formula for surface area of a sphere?",
+ "answer": "4pir^2, 4πr^2"
+ },
+ {
+ "id": 203,
+ "question": "Which theorem states that hypotenuse^2 = base^2 + height^2?",
+ "answer": "Pythagorean's, Pythagorean's theorem"
+ },
+ {
+ "id": 204,
+ "question": "Which trigonometric function is defined as hypotenuse/opposite?",
+ "answer": "cosecant, cosec, csc"
+ },
+ {
+ "id": 205,
+ "question": "Does the harmonic series converge or diverge?",
+ "answer": "diverge"
+ },
+ {
+ "id": 206,
+ "question": "How many quadrants are there in a cartesian plane?",
+ "answer": "4, four"
+ },
+ {
+ "id": 207,
+ "question": "What is the (0,0) coordinate in a cartesian plane termed as?",
+ "answer": "origin"
+ },
+ {
+ "id": 208,
+ "question": "What's the following formula that finds the area of a triangle called?",
+ "img_url": "https://wikimedia.org/api/rest_v1/media/math/render/png/d22b8566e8187542966e8d166e72e93746a1a6fc",
+ "answer": "Heron's formula, Heron"
+ },
+ {
+ "id": 209,
+ "dynamic_id": 201,
+ "question": "Solve the following system of linear equations (format your answer like this <x> & <y>):\n{}x + {}y = {},\n{}x + {}y = {}",
+ "answer": "{} & {}"
+ },
+ {
+ "id": 210,
+ "dynamic_id": 202,
+ "question": "What's {} + {} mod {} congruent to?",
+ "answer": "{}"
+ },
+ {
+ "id": 211,
+ "question": "What is the bottom number on a fraction called?",
+ "answer": "denominator"
+ },
+ {
+ "id": 212,
+ "dynamic_id": 203,
+ "question": "How many vertices are on a {}gonal prism?",
+ "answer": "{}"
+ },
+ {
+ "id": 213,
+ "question": "What is the term used to describe two triangles that have equal corresponding sides and angle measures?",
+ "answer": "congruent"
+ },
+ {
+ "id": 214,
+ "question": "⅓πr^2h is the volume of which 3 dimensional figure?",
+ "answer": "cone"
+ },
+ {
+ "id": 215,
+ "dynamic_id": 204,
+ "question": "Find the square root of -{}.",
+ "answer": "{}i"
+ },
+ {
+ "id": 216,
+ "question": "In set builder notation, what does {p/q | q ≠ 0, p & q ∈ Z} represent?",
+ "answer": "Rationals, Rational Numbers"
+ },
+ {
+ "id": 217,
+ "question": "What is the natural log of -1 (use i for imaginary number)?",
+ "answer": "pi*i, pii, πi"
+ },
+ {
+ "id": 218,
+ "question": "When is the *inaugural* World Maths Day (format your answer in MM/DD)?",
+ "answer": "03/13"
+ },
+ {
+ "id": 219,
+ "question": "As the Fibonacci sequence extends to infinity, what's the ratio of each number `n` and its preceding number `n-1` approaching?",
+ "answer": "Golden Ratio"
+ },
+ {
+ "id": 220,
+ "question": "0, 1, 1, 2, 3, 5, 8, 13, 21, 34 are numbers of which sequence?",
+ "answer": "Fibonacci"
+ },
+ {
+ "id": 221,
+ "question": "Prime numbers only have __ factors.",
+ "answer": "2, two"
+ },
+ {
+ "id": 222,
+ "question": "In probability, the \\_\\_\\_\\_\\_\\_ \\_\\_\\_\\_\\_ of an experiment or random trial is the set of all possible outcomes of it.",
+ "answer": "sample space"
+ },
+ {
+ "id": 223,
+ "question": "In statistics, what does this formula represent?",
+ "img_url": "https://www.statisticshowto.com/wp-content/uploads/2013/11/sample-standard-deviation.jpg",
+ "answer": "sample standard deviation, standard deviation of a sample"
+ },
+ {
+ "id": 224,
+ "question": "\"Hexakosioihexekontahexaphobia\" is the fear of which number?",
+ "answer": "666"
+ },
+ {
+ "id": 225,
+ "question": "A matrix multiplied by its inverse matrix equals...",
+ "answer": "the identity matrix, identity matrix"
+ },
+ {
+ "id": 226,
+ "dynamic_id": 205,
+ "question": "BASE TWO QUESTION: Calculate {:b} {} {:b}",
+ "answer": "{:b}"
+ },
+ {
+ "id": 227,
+ "question": "What is the only number in the entire number system which can be spelled with the same number of letters as itself?",
+ "answer": "4, four"
+
+ },
+ {
+ "id": 228,
+ "question": "1/100th of a second is also termed as what?",
+ "answer": "a jiffy, jiffy, centisecond"
+ },
+ {
+ "id": 229,
+ "question": "What is this triangle called?",
+ "img_url": "https://cdn.askpython.com/wp-content/uploads/2020/07/Pascals-triangle.png",
+ "answer": "Pascal's triangle, Pascal"
+ },
+ {
+ "id": 230,
+ "question": "6a^2 is the surface area of which 3 dimensional figure?",
+ "answer": "cube"
+ }
+ ],
+ "science": [
+ {
+ "id": 301,
+ "question": "The three main components of a normal atom are: protons, neutrons, and...",
+ "answer": "electrons"
+ },
+ {
+ "id": 302,
+ "question": "As of 2021, how many elements are there in the Periodic Table?",
+ "answer": "118"
+ },
+ {
+ "id": 303,
+ "question": "What is the universal force discovered by Newton that causes objects with mass to attract each other called?",
+ "answer": "gravity"
+ },
+ {
+ "id": 304,
+ "question": "What do you call an organism composed of only one cell?",
+ "answer": "unicellular, single-celled"
+ },
+ {
+ "id": 305,
+ "question": "The Heisenberg's Uncertainty Principle states that the position and \\_\\_\\_\\_\\_\\_\\_\\_ of a quantum object can't be both exactly measured at the same time.",
+ "answer": "velocity, momentum"
+ },
+ {
+ "id": 306,
+ "question": "A \\_\\_\\_\\_\\_\\_\\_\\_\\_\\_\\_\\_ reaction is the one wherein an atom or a set of atoms is/are replaced by another atom or a set of atoms",
+ "answer": "displacement, exchange"
+ },
+ {
+ "id": 307,
+ "question": "What is the process by which green plants and certain other organisms transform light energy into chemical energy?",
+ "answer": "photosynthesis"
+ },
+ {
+ "id": 308,
+ "dynamic_id": 301,
+ "question": "What is the {} planet of our Solar System?",
+ "answer": "{}"
+ },
+ {
+ "id": 309,
+ "dynamic_id": 302,
+ "question": "In the biological taxonomic hierarchy, what is placed directly above {}?",
+ "answer": "{}"
+ },
+ {
+ "id": 310,
+ "dynamic_id": 303,
+ "question": "How does one describe the unit {} in SI base units?\n**IMPORTANT:** enclose answer in backticks, use \\* for multiplication, ^ for exponentiation, and place your base units in this order: m - kg - s - A",
+ "img_url": "https://i.imgur.com/NRzU6tf.png",
+ "answer": "`{}`"
+ },
+ {
+ "id": 311,
+ "question": "How does one call the direct phase transition from gas to solid?",
+ "answer": "deposition"
+ },
+ {
+ "id": 312,
+ "question": "What is the intermolecular force caused by temporary and induced dipoles?",
+ "answer": "LDF, London dispersion, London dispersion force"
+ },
+ {
+ "id": 313,
+ "question": "What is the force that causes objects to float in fluids called?",
+ "answer": "buoyancy"
+ },
+ {
+ "id": 314,
+ "question": "About how many neurons are in the human brain?\n(A. 1 billion, B. 10 billion, C. 100 billion, D. 300 billion)",
+ "answer": "C, 100 billion, 100 bil"
+ },
+ {
+ "id": 315,
+ "question": "What is the name of our galaxy group in which the Milky Way resides?",
+ "answer": "Local Group"
+ },
+ {
+ "id": 316,
+ "question": "Which cell organelle is nicknamed \"the powerhouse of the cell\"?",
+ "answer": "mitochondria"
+ },
+ {
+ "id": 317,
+ "question": "Which vascular tissue transports water and minerals from the roots to the rest of a plant?",
+ "answer": "the xylem, xylem"
+ },
+ {
+ "id": 318,
+ "question": "Who discovered the theories of relativity?",
+ "answer": "Albert Einstein, Einstein"
+ },
+ {
+ "id": 319,
+ "question": "In particle physics, the hypothetical isolated elementary particle with only one magnetic pole is termed as...",
+ "answer": "magnetic monopole"
+ },
+ {
+ "id": 320,
+ "question": "How does one describe a chemical reaction wherein heat is released?",
+ "answer": "exothermic"
+ },
+ {
+ "id": 321,
+ "question": "What range of frequency are the average human ears capable of hearing?\n(A. 10Hz-10kHz, B. 20Hz-20kHz, C. 20Hz-2000Hz, D. 10kHz-20kHz)",
+ "answer": "B, 20Hz-20kHz"
+ },
+ {
+ "id": 322,
+ "question": "What is the process used to separate substances with different polarity in a mixture, using a stationary and mobile phase?",
+ "answer": "chromatography"
+ },
+ {
+ "id": 323,
+ "question": "Which law states that the current through a conductor between two points is directly proportional to the voltage across the two points?",
+ "answer": "Ohm's law"
+ },
+ {
+ "id": 324,
+ "question": "The type of rock that is formed by the accumulation or deposition of mineral or organic particles at the Earth's surface, followed by cementation, is called...",
+ "answer": "sedimentary, sedimentary rock"
+ },
+ {
+ "id": 325,
+ "question": "Is the Richter scale (common earthquake scale) linear or logarithmic?",
+ "answer": "logarithmic"
+ },
+ {
+ "id": 326,
+ "question": "What type of image is formed by a convex mirror?",
+ "answer": "virtual image, virtual"
+ },
+ {
+ "id": 327,
+ "question": "How does one call the branch of physics that deals with the study of mechanical waves in gases, liquids, and solids including topics such as vibration, sound, ultrasound and infrasound",
+ "answer": "acoustics"
+ },
+ {
+ "id": 328,
+ "question": "Which law states that the global entropy in a closed system can only increase?",
+ "answer": "second law, second law of thermodynamics"
+ },
+ {
+ "id": 329,
+ "question": "Which particle is emitted during the beta decay of a radioactive element?",
+ "answer": "an electron, the electron, electron"
+ },
+ {
+ "id": 330,
+ "question": "When DNA is unzipped, two strands are formed. What are they called (separate both answers by the word \"and\")?",
+ "answer": "leading and lagging, leading strand and lagging strand"
+ }
+ ],
+ "cs": [
+ {
+ "id": 401,
+ "question": "What does HTML stand for?",
+ "answer": "HyperText Markup Language"
+ },
+ {
+ "id": 402,
+ "question": "What does ASCII stand for?",
+ "answer": "American Standard Code for Information Interchange"
+ },
+ {
+ "id": 403,
+ "question": "What does SASS stand for?",
+ "answer": "Syntactically Awesome Stylesheets, Syntactically Awesome Style Sheets"
+ },
+ {
+ "id": 404,
+ "question": "In neural networks, \\_\\_\\_\\_\\_\\_\\_\\_\\_\\_\\_\\_\\_\\_\\_ is an algorithm for supervised learning using gradient descent.",
+ "answer": "backpropagation"
+ },
+ {
+ "id": 405,
+ "question": "What is computing capable of performing exaFLOPS called?",
+ "answer": "exascale computing, exascale"
+ },
+ {
+ "id": 406,
+ "question": "In quantum computing, what is the full name of \"qubit\"?",
+ "answer": "quantum binary digit"
+ },
+ {
+ "id": 407,
+ "question": "Given that January 1, 1970 is the starting epoch of time_t in c time, and that time_t is stored as a signed 32-bit integer, when will unix time roll over (year)?",
+ "answer": "2038"
+ },
+ {
+ "id": 408,
+ "question": "What are the components of digital devices that make up logic gates called?",
+ "answer": "transistors"
+ },
+ {
+ "id": 409,
+ "question": "How many possible public IPv6 addresses are there (answer in 2^n)?",
+ "answer": "2^128"
+ },
+ {
+ "id": 410,
+ "question": "A hypothetical point in time at which technological growth becomes uncontrollable and irreversible, resulting in unforeseeable changes to human civilization is termed as...?",
+ "answer": "technological singularity, singularity"
+ },
+ {
+ "id": 411,
+ "question": "In cryptography, the practice of establishing a shared secret between two parties using public keys and private keys is called...?",
+ "answer": "key exchange"
+ },
+ {
+ "id": 412,
+ "question": "How many bits are in a TCP checksum header?",
+ "answer": "16, sixteen"
+ },
+ {
+ "id": 413,
+ "question": "What is the most popular protocol (as of 2021) that handles communication between email servers?",
+ "answer": "SMTP, Simple Mail Transfer Protocol"
+ },
+ {
+ "id": 414,
+ "question": "Which port does SMTP use to communicate between email servers? (assuming its plaintext)",
+ "answer": "25"
+ },
+ {
+ "id": 415,
+ "question": "Which DNS record contains mail servers of a given domain?",
+ "answer": "MX, mail exchange"
+ },
+ {
+ "id": 416,
+ "question": "Which newline sequence does HTTP use?",
+ "answer": "carriage return line feed, CRLF, \\r\\n"
+ },
+ {
+ "id": 417,
+ "question": "What does one call the optimization technique used in CPU design that attempts to guess the outcome of a conditional operation and prepare for the most likely result?",
+ "answer": "branch prediction"
+ },
+ {
+ "id": 418,
+ "question": "Name a universal logic gate.",
+ "answer": "NAND, NOR"
+ },
+ {
+ "id": 419,
+ "question": "What is the mathematical formalism which functional programming was built on?",
+ "answer": "lambda calculus"
+ },
+ {
+ "id": 420,
+ "question": "Why is a DDoS attack different from a DoS attack?\n(A. because the victim's server was indefinitely disrupted from the amount of traffic, B. because it also attacks the victim's confidentiality, C. because the attack had political purposes behind it, D. because the traffic flooding the victim originated from many different sources)",
+ "answer": "D"
+ },
+ {
+ "id": 421,
+ "question": "What is a HTTP/1.1 feature that was superseded by HTTP/2 multiplexing and is unsupported in most browsers nowadays?",
+ "answer": "pipelining"
+ },
+ {
+ "id": 422,
+ "question": "Which of these languages is the oldest?\n(Tcl, Smalltalk 80, Haskell, Standard ML, Java)",
+ "answer": "Smalltalk 80"
+ },
+ {
+ "id": 423,
+ "question": "What is the name for unicode codepoints that do not fit into 16 bits?",
+ "answer": "surrogates"
+ },
+ {
+ "id": 424,
+ "question": "Under what locale does making a string lowercase behave differently?",
+ "answer": "Turkish"
+ },
+ {
+ "id": 425,
+ "question": "What does the \"a\" represent in a HSLA color value?",
+ "answer": "transparency, translucency, alpha value, alpha channel, alpha"
+ },
+ {
+ "id": 426,
+ "question": "What is the section of a GIF that is limited to 256 colors called?",
+ "answer": "image block"
+ },
+ {
+ "id": 427,
+ "question": "What is an interpreter capable of interpreting itself called?",
+ "answer": "metainterpreter"
+ },
+ {
+ "id": 428,
+ "question": "Due to what data storage medium did old programming languages, such as cobol, ignore all characters past the 72nd column?",
+ "answer": "punch cards"
+ },
+ {
+ "id": 429,
+ "question": "Which of these sorting algorithms is not stable?\n(Counting sort, quick sort, insertion sort, tim sort, bubble sort)",
+ "answer": "quick, quick sort"
+ },
+ {
+ "id": 430,
+ "question": "Which of these languages is the youngest?\n(Lisp, Python, Java, Haskell, Prolog, Ruby, Perl)",
+ "answer": "Java"
+ }
+ ],
+ "python": [
+ {
+ "id": 501,
+ "question": "Is everything an instance of the `object` class (y/n)?",
+ "answer": "y, yes"
+ },
+ {
+ "id": 502,
+ "question": "Name the only non-dunder method of the builtin slice object.",
+ "answer": "indices"
+ },
+ {
+ "id": 503,
+ "question": "What exception, other than `StopIteration`, can you raise from a `__getitem__` dunder to indicate to an iterator that it should stop?",
+ "answer": "IndexError"
+ },
+ {
+ "id": 504,
+ "question": "What type does the `&` operator return when given 2 `dict_keys` objects?",
+ "answer": "set"
+ },
+ {
+ "id": 505,
+ "question": "Can you pickle a running `list_iterator` (y/n)?",
+ "answer": "y, yes"
+ },
+ {
+ "id": 506,
+ "question": "What attribute of a closure contains the value closed over?",
+ "answer": "cell_contents"
+ },
+ {
+ "id": 507,
+ "question": "What name does a lambda function have?",
+ "answer": "<lambda>"
+ },
+ {
+ "id": 508,
+ "question": "Which file contains all special site builtins, such as help or credits?",
+ "answer": "_sitebuiltins"
+ },
+ {
+ "id": 509,
+ "question": "Which module when imported opens up a web browser tab that points to the classic 353 XKCD comic mentioning Python?",
+ "answer": "antigravity"
+ },
+ {
+ "id": 510,
+ "question": "Which attribute is the documentation string of a function/method/class stored in (answer should be enclosed in backticks!)?",
+ "answer": "`__doc__`"
+ },
+ {
+ "id": 511,
+ "question": "What is the official name of this operator `:=`, introduced in 3.8?",
+ "answer": "assignment-expression operator"
+ },
+ {
+ "id": 512,
+ "question": "When was Python first released?",
+ "answer": "1991"
+ },
+ {
+ "id": 513,
+ "question": "Where does the name Python come from?",
+ "answer": "Monty Python, Monty Python's Flying Circus"
+ },
+ {
+ "id": 514,
+ "question": "How is infinity represented in Python?",
+ "answer": "float(\"infinity\"), float('infinity'), float(\"inf\"), float('inf')"
+ },
+ {
+ "id": 515,
+ "question": "Which of these characters is valid python outside of string literals in some context?\n(`@`, `$`, `?`)",
+ "answer": "@"
+ },
+ {
+ "id": 516,
+ "question": "Which standard library module is designed for making simple parsers for languages like shell, as well as safe quoting of strings for use in a shell?",
+ "answer": "shlex"
+ },
+ {
+ "id": 517,
+ "question": "Which one of these protocols/abstract base classes does the builtin `range` object NOT implement?\n(`Sequence`, `Iterable`, `Generator`)",
+ "answer": "Generator"
+ },
+ {
+ "id": 518,
+ "question": "What decorator is used to allow a protocol to be checked at runtime?",
+ "answer": "runtime_checkable, typing.runtime_checkable"
+ },
+ {
+ "id": 519,
+ "question": "Does `numbers.Rational` include the builtin object float (y/n)",
+ "answer": "n, no"
+ },
+ {
+ "id": 520,
+ "question": "What is a package that doesn't have a `__init__` file called?",
+ "answer":"namespace package"
+ },
+ {
+ "id": 521,
+ "question": "What file extension is used by the site module to determine what to do at every start?",
+ "answer": ".pth"
+ },
+ {
+ "id": 522,
+ "question": "What is the garbage collection strategy used by cpython to collect everything but reference cycles?",
+ "answer": "reference counting, refcounting"
+ },
+ {
+ "id": 523,
+ "question": "What dunder method is used by the tuple constructor to optimize converting an iterator to a tuple (answer should be enclosed in backticks!)?",
+ "answer": "`__length_hint__`"
+ },
+ {
+ "id": 524,
+ "question": "Which protocol is used to pass self to methods when accessed on classes?",
+ "answer": "Descriptor"
+ },
+ {
+ "id": 525,
+ "question": "Which year was Python 3 released?",
+ "answer": "2008"
+ },
+ {
+ "id": 526,
+ "question": "Which of these is not a generator method?\n(`next`, `send`, `throw`, `close`)",
+ "answer": "next"
+ },
+ {
+ "id": 527,
+ "question": "Is the `__aiter__` method async (y/n)?",
+ "answer": "n, no"
+ },
+ {
+ "id": 528,
+ "question": "How does one call a class who defines the behavior of their instance classes?",
+ "answer": "a metaclass, metaclass"
+ },
+ {
+ "id": 529,
+ "question": "Which of these is a subclass of `Exception`?\n(`NotImplemented`, `asyncio.CancelledError`, `StopIteration`)",
+ "answer": "StopIteration"
+ },
+ {
+ "id": 530,
+ "question": "What type is the attribute of a frame object that contains the current local variables?",
+ "answer": "dict"
+ }
]
}