instruction stringlengths 9 489 | input stringlengths 0 2.47k | output stringlengths 0 4.18k |
|---|---|---|
Provide an example input and an appropriate output for a classification task. | Input: The sky is blue
Output: Color: Blue | |
Write a script to determine whether the given number is even or odd. | 23 | if (number % 2 == 0) {
System.out.println("The number is even");
} else {
System.out.println("The number is odd");
} |
Write a function which reverses the order of words in a sentence. | def reverse_words(sentence):
words = sentence.split(' ')
reversed_words = words[::-1]
reversed_sentence = ' '.join(reversed_words)
return reversed_sentence | |
Rewrite the sentence with a different set of words but with the same meaning. | He ran quickly. | He sprinted swiftly. |
Generate a tweet of maximum 280 characters based on the following speech. | President Obama said, "Change will not come if we wait for some other person or if we wait for some other time. We are the ones we've been waiting for. We are the change that we seek." | We are the ones that can create the change we wish to see in the world. Let's stand together and make it happen! #Change #MakingItHappen #BeTheChangeYouSeek #Obama |
Re-write the following speech inorder to make it more persuasive. | Climate change is an issue that can no longer be ignored. We must take action to limit the damage on our planet. | Climate change is no longer a problem that can be pushed aside or ignored. The long-term health and well-being of our planet depends on us taking immediate and decisive action to prevent further damage. |
Generate a dialogue between two persons discussing the topic of artificial intelligence. | Person 1: It seems like artificial intelligence is everywhere these days.
Person 2: It sure is – I'm constantly amazed at how quickly the technology is progressing. What do you think the implications are going to be?
Person 1: Well, I think it could drastically reduce the amount of manual labour our society needs and m... | |
Complete the following sentence by filling in the <mask> | I wanted to throw a party but the <mask> became an obstacle. | I wanted to throw a party but the lack of funds became an obstacle. |
Create an outline for a 5 minute speech on the topic of the upcoming election. | I. Introduction
- Introduction to the topic
- Expectations for the speech
II. Background and Context
- Overview of the upcoming election
- Causes and impacts of the election
III. Important Issues
- Examples of important issues being discussed
- Reasons why these issues are important
IV. Proposals
- Possibl... | |
You need to summarise the following text into one sentence. | Apple debuted their newest rumors of a foldable phone, the iPhone F5, last month. | Apple recently released the iPhone F5, their latest foldable phone. |
Replace all the usages of 'she' in the following sentence with 'he'. | Mary said she was going to the store and she expected to be back soon. | Mary said he was going to the store and he expected to be back soon. |
Compose a song that conveys the emotion of hope. | Verse 1
Carry on and don't be afraid
Though the night be dark and long
Just remember to stay strong
Yes, you will find your way
Chorus
There's still hope in the world
It's not gone even yet
So carry it in your heart
And never forget
Verse 2
Take deep breaths, it'll be alright
If we just keep going on
We can have a... | |
Generate a list of 5 items needed to create your own website. | 1. Domain name
2. Hosting service
3. Website platform
4. Content
5. Design elements (graphics, colors, fonts, etc.) | |
Generate a one sentence prospect for a novel about a virus outbreak. | In a world devastated by a mutated virus, a small group of survivors must fight for their lives in a desperate struggle for survival. | |
Reverse engineer the following algorithm and explain its function in one sentence. | def sort_numbers(arr):
for i in range(len(arr)):
for j in range(i):
if arr[i] < arr[j]:
arr[i], arr[j] = arr[j], arr[i]
return arr | This algorithm sorts numbers in an array in ascending order by comparing them against each other and swapping them if they are out of order. |
What is the current exchange rate between US dollars and Euro? | Currently, 1 US dollar is equivalent to 0.88 Euro. | |
Classify the email as 'promotional' or 'transactional', based on its contents | Dear customer,
We are pleased to inform you that your order with the following reference number has been successfully confirmed. We hope that you have a pleasant shopping experience.
Thank you. | Transactional. |
Search for the keyword 'Android' on the website www.example.com | www.example.com | Search results for 'Android' on www.example.com:
1. "What Is Android?"
2. "Android Smartphone Models"
3. "Android Tutorials"
4. "Android Apps and Games"
5. "Android Development"
6. "Android Security"
7. "Android Tips and Tricks"
8. "Android Updates" |
Summarize the article "Home Automation - Benefits and Risks".
Output a summary of the article in 4 sentences. | Home automation is a rapidly growing technology that offers convenience and increased safety in homes. It often includes automation of temperature and lighting, surveillance, security systems and appliances. Many of the benefits include saving energy, increased safety and convenience, but there is a dark side that must... | |
Produce a recipe for the following dish: spicy ginger pork stir-fry | For a delicious and spicy pork stir-fry, start with pre-cooked pork strips. Heat some oil in a pan over medium to high heat and add in minced chili pepper and minced ginger. Let this cook for a minute and then add in the pre-cooked strips of pork. Cook until the pork is heated through, then add in your desired vegetabl... | |
Describe the personality traits of an introvert | Introverts are usually introspective, quiet, and prefer to spend time alone. They may be seen as thoughtful and creative, but are often shy and uncomfortable in social situations. Introverts are inclined to listen more than they talk and take time to think before responding when speaking with others. They tend to focus... | |
List all of Bill Gates's investments | Bill Gates has invested in many startups including 23andme, TerraPower, Opower, Iris Automation, and Kymeta. He has also had investments in various sectors, such as healthcare, energy, education and transportation. In addition, Gates has invested in several biotech companies, including Beyond Meat, GRAIL, and Human Lon... | |
Calculate the area of a triangle given two sides and the angle between them. | Side 1 = 6, Side 2 = 8, Angle = 30° | The area of the triangle is approximately 24 square units. |
How does friction help us walk? | Friction helps us walk by providing a force opposite to the direction of motion. This force allows us to stop walking or change direction when needed. Friction also helps us move without slipping, as less friction would lead to sliding instead of walking. | |
Show how to set up a wifi network | To set up a wifi network, first connect your router to your modem and to power. Then, using your computer or smartphone, search the networks available in your area and select your router's network. Enter the network password and you should be connected to your wifi network. | |
Construct a sentence with the following words: personification, monochrome | The monochrome painting was filled with personification, depicting each character with distinct and vivid emotion. | |
Trace the roots of the word 'monochromatic' | The word 'monochromatic' is derived from the Greek 'mono' meaning 'one' and 'chroma' meaning 'color'. It was first used in the mid-17th century to describe something that has only one color. | |
Compare these two sentences and indicate which is the better option. | He was tired, so he decided to sleep early.
He was weary, so he decided to sleep early. | The second sentence is better, as it conveys the emotion of weariness more accurately than the first sentence. |
Classify this statement according to the five-point scale below | The Prime Minister is incompetent and should resign | Strongly agree. |
Construct a query to return the top 10 brands of cars in 2020 | SELECT * FROM cars WHERE year = 2020 ORDER BY brand LIMIT 10; | |
Spell the proper noun correctly | Tyrese | Tyrese |
Generate a song title that has a dance vibe. | "Let's Get Moving" | |
Collect the names of the 10 most successful entrepreneurs | Bill Gates, Jeff Bezos, Mark Zuckerberg, Elon Musk, Steve Jobs, Richard Branson, Larry Page, Jack Ma, Michael Dell, Sergey Brin. | |
Provide a sample response for the following dialogue | A: Have you seen the new superhero movie?
B: | Yes, I did! I heard it was amazing. Did you like it? |
Generate a new hook for a pop song | I'm gonna let my heart show,
Find me in the moment, let it all go ! | |
Calculate the fraction of 1/3 + 2/9 | The fraction of 1/3 + 2/9 is 5/9. | |
Classify the following observation into a primary level of biological organisation. | The mitochondria are the powerhouses of the cell. | The observation is classified under the cellular level of biological organisation. |
Rewrite this sentence so it conveys the same meaning but uses different wording. | The two sides of the debate were diametrically opposed. | The two sides of the debate were completely opposed to each other. |
Write an essay about the role of technology in education. | Technology has become a vital part of education in the 21st century. From digital textbooks to virtual classrooms, technology has revolutionized the way students learn and interact with their teachers in the classroom. With the emergence of Artificial Intelligence and Machine Learning, we have witnessed advancements in... | |
What is the full form of CPU? | The full form of CPU is Central Processing Unit. | |
Write a paragraph about the evolution of the automobile. | The evolution of the automobile has come a long way. The first internal combustion engine-powered car was invented in 1885. Since then, the automobile has been through many iterations, with the invention of the self-starter, power windows, traction control, cruise control, and many more features that make the driving e... | |
Name two environmental issues caused by global warming. | Two environmental issues caused by global warming are rising sea levels and an increase in severe weather events. | |
Guess what is the opposite meaning of the word "obscure". | The opposite meaning of the word "obscure" is clear. | |
Predict the end result of the following reaction: | CHCl3 + OH- → | The end result of the reaction is CH2Cl2 + H2O. |
Generate a list of 10 ideas of what to do with a daily free hour. | 1. Go for a walk in nature.
2. Read a book.
3. Have a online yoga session.
4. Write a blog article.
5. Organize a meeting with friends on a video call.
6. Learn a new language.
7. Practice a new hobby.
8. Take an online course.
9. Work on a home improvement project.
10. Meditate. | |
Generate a question about frogs. | What is the most common behavior of frogs in the wild? | |
Find 3 ways to reduce energy consumption in an office. | 1. Use energy-efficient lighting and appliances.
2. Set thermostats to a higher temperature in the summer and a lower temperature in the winter.
3. Turn off computers, printers and other electronics at the end of the day. | |
Explain why online gaming is becoming so popular. | Online gaming has become increasingly popular due to its convenience, affordability, and variety. Players can access games via their smartphones, tablets, and laptops, at any time and from any location. Furthermore, the cost of playing online games is often much lower than traditional console games, and there is an inc... | |
Tell me which sentence is more polite. | I need you to do something.
Could you please do something? | Could you please do something? |
Combine the two sentences using the conjunction "but". | He ate breakfast. He didn't brush his teeth. | He ate breakfast but didn't brush his teeth. |
Write a story about a day at the zoo. | The sun was just beginning to set on what had been a blissful day at the zoo. Samantha had arrived early in the morning, ready to explore all the amazing animals and their habitats. She started off at the reptile exhibit, where she was mesmerized by the different kinds and sizes of snakes on display. She then moved on ... | |
Generate a list of 5 common tools used for product design. | 1. Sketch
2. Adobe Photoshop
3. InVision
4. Adobe Illustrator
5. Figma | |
Formulate a hypothesis about the given data. | Data showing the average score of students in different classes. | Hypothesis: The average score of students in the classes with more experienced teachers is higher than the average score of students in the classes with less experienced teachers. |
Explain the different phases of a machine learning workflow. | The typical machine learning workflow consists of four phases: data acquisition, data preparation, model training, and model evaluation. Data acquisition involves acquiring or curating the data that will be used for the machine learning project. Data preparation involves pre-processing the data to ensure that it's read... | |
Add a conclusion to the following story. | Alice stretched her arms, yawning as the night air stirred before her. None of the foliage stirred. None of the shadows around her moved. There was an empty silence surrounding her which felt strange and dream-like. | Alice stayed there for a while, basking in the silent energy of the night. She eventually turned in for the night, feeling more refreshed and grounded after her experience. She knew that the night had taught her a valuable lesson: moments of serenity have the power to erase all fear, replacing it with a sense of peace ... |
Alter the sentence to make it negative | The train left on time | The train did not leave on time. |
Correct the given sentence for grammar errors | She go to school everyday | She goes to school every day. |
Arrange the words to build a correct sentence | beautiful young the was she | She was the beautiful young. |
Summarize the given text in 1 sentence | The Mediterranean Sea is a sea located between Europe, northern Africa, and the Middle East. It is connected to the Atlantic Ocean through the Strait of Gibraltar and to the Red Sea through the Suez Canal. It is bordered by a number of nations, including Italy, Spain, Greece, France, Turkey and Spain. The Mediterranean... | The Mediterranean Sea is a sea bordered by a number of nations famous for its warm climates and diverse marine life. |
Duplicate this admission essay leaving the keywords | My interest in science dates back to my years in high school, where I excelled in physics, chemistry, and math. | My interest in science dates back to my years in high school, where I excelled in physics, chemistry, and math. I continued to pursue my passion for science and technology in college, obtaining a degree in engineering and later taking a program in computer science. I believe my background in engineering and computer sc... |
Tell me two advantages of using AI assistants. | Two advantages of using AI assistants are (1) they can reduce manual labor, and (2) they can improve customer service by providing instant responses. AI assistants can also be programmed to perform more complex tasks, such as natural language processing and conversational AI. This allows organizations to interact with ... | |
Find the similarities between red apples and green apples. | Red apples and green apples have many similarities. They both come from apple trees and have a similar texture and taste. Both varieties have similar amounts of antioxidants, vitamins, and minerals. Additionally, both can be used for a variety of culinary purposes. The primary difference between red apples and green ap... | |
Name a famous artist from the Renaissance period. | One famous artist from the Renaissance period is Michelangelo Buonarroti. Michelangelo was an influential Italian sculptor, painter, architect, poet, and engineer of the High Renaissance who had a major influence on the development of art in Western culture. He is best known for his works on the ceiling of the Sistine ... | |
Describe the function of the hippocampus in the brain. | The hippocampus is part of the limbic system in the brain that is involved in emotion, memory, and spatial navigation. It plays an important role in forming new memories and retrieving old memories. It also plays a role in emotional responses, such as fear and pleasure. The hippocampus also helps to create a mental "ma... | |
Classify the following sentence as a statement or a question.
Humans are mammals. | Statement. | |
Produce an example of classic literature from 1915. | The 1915 novel "The Good Soldier" by Ford Madox Ford is an example of classic literature. The novel tells the story of two couples over a period of time, and examines themes such as vanity, self-delusion, guilt, and interrelated intrigues among the upper classes of Edwardian England. | |
Edit the following sentence to make it more accurate:
Humans have been using technology for centuries | Humans have been using technology for many centuries. | |
Create an English proverb that begins with the words "A stitch in time". | A stitch in time saves nine. | |
Provide three examples of renewable energy sources. | Three examples of renewable energy sources are solar, wind, and hydropower. Solar energy is produced by converting sunlight into electricity, wind energy is produced using wind turbines, and hydropower is produced using water turbines. | |
Generate a new analogy using the following words: bracelet and book | A bracelet is like a book, in that it contains within it a story and history that it tells with its design, material, and craftsmanship. Just like a book, a bracelet can be passed down and treasured for years to come. | |
Generate a step-by-step guide on how to make scrambled eggs. | 1. Gather your ingredients: eggs, butter, salt, and pepper.
2. Crack two eggs into a bowl and scramble with a fork.
3. Heat butter in a skillet on medium heat.
4. Add scrambled eggs to the skillet and cook until they are nearly done.
5. Add salt and pepper to taste.
6. Push the eggs around the pan until they are cooked... | |
Combine the sentences in a way that its logical. | Jill closed the shop. Everyone went out. | Jill closed the shop and everyone went out. |
Edit the sentences in a way that it conveys the right meaning. | They always meet without fail every day. | They invariably meet every day without fail. |
Cognitively classify the input sentence into three predefined categories. | I will finish the report tomorrow. | Category 1: Task Completion
Category 2: Scheduling
Category 3: Commitment. |
Parse the sentence into its components such as subject, verb, object, etc. | Maria likes singing in the shower. | Subject: Maria, Verb: Likes, Object: Singing, Context: Shower. |
Cut out any unnecessary words and make the sentence more concise. | I have been working at the store for quite a while now. | I've worked at the store a while. |
Generate a persuasive essay that argues in favor of the given topic. | Topic: The Benefits of Online Education | Online education has revolutionized the modern educational experience by providing flexibility, convenience, and access to a variety of educational opportunities. Online education eliminates geographical and temporal limitations, allowing students to access courses and programmes from anywhere in the world. By allowing... |
Replace the verbs with other appropriate verbs. | I want to get the work done quickly. | I aim to accomplish the work swiftly. |
Translate the sentence into a new language. | I like eating ice cream. | Me gusta comer helado. (Spanish) |
Describe the primary benefits of a multi-factor authentication system. | A multi-factor authentication system provides better security for sensitive data compared to traditional password-only authentication. It uses multiple methods to verify a user's identity, such as a password, a hardware token, biometric data, SMS verification code, or a combination of these. This makes it more difficul... | |
How would you group these four colors into two complementary colors? | Red, Blue, Green, Yellow | Red and Green, Blue and Yellow. |
Calculate the profit from selling 20 units of this item. | Item Cost: $100
Selling Price: $200 | The profit from selling 20 units of this item is $2,000. |
Identify four bias terms that you can find in this news article. | The president has recently taken drastic measures to deal with the economic downturn. | The four bias terms in this news article are "president", "drastic measures", "economic downturn", and "recently". |
Explain why you should choose an organic mattress. | An organic mattress is a great option because it provides a more natural, healthier sleep environment. Organic materials, such as organic cotton and wool, are free of toxins, chemicals, and synthetic materials. In addition, organic mattresses are more breathable, providing better air circulation and promoting cooling d... | |
Create a code in Python to add the elements of two numpy arrays. | a = [1, 2, 3]
b = [4, 5, 6] | import numpy as np
a = np.array([1,2,3])
b = np.array([4,5,6])
c = a+b
print(c)
# Output
array([5, 7, 9]) |
Find the time complexity of this algorithm. | def linearSearch(arr, n, x):
for i in range (0, n):
if (arr[i] == x):
return i
return -1 | The time complexity of this algorithm is O(n). This is because the algorithm will take a linear amount of time to run, since it has to iterate through the entire array in order to find the target item. |
List three types of carbohydrates. | Glucose, fructose, and galactose. | |
Identify three factors that cause a decline in a population. | Loss of habitat, disease, and overharvesting. | |
Describe the ways to conserve water. | Conserving water can be done by using water-efficient fixtures, such as low-flow showerheads and toilets; using native and drought-tolerant plants in the landscape; capturing rainwater with rain barrels and rain gardens; fixing leaking faucets and toilets; and using mulch to reduce water evaporation. | |
Given two animals, say what traits they share. | Lion and Leopard | Lions and leopards are both members of the Felidae family, they both are carnivores, they both have tawny/golden fur, and they both have spots and stripes on their fur. |
What is the original title of the 1977 movie Star Wars? | Star Wars: Episode IV - A New Hope. | |
Given two words, identify the category it belongs. | Dog, Elephant | Animals. |
Create a math equation that equals to 10. | 2 x 5 = 10. | |
Create a riddle using the following word: butterfly. | What has wings but cannot fly? A butterfly. | |
Compose a tweet summarizing the following content | America's rate of preterm births is higher than most other developed countries. Nearly 1 in 10 infants are born too soon in the US, compared to the global average of 1 in 17. | The US has a significantly higher rate of preterm births than other developed countries, with nearly 1 in 10 births occurring too soon. #PretermBirths #PublicHealth |
Given the following input, can you output the initial of each word? | John Apple Smith | JAS |
Does the following sentence contain any adjectives? | He wrote a letter | No, the sentence does not contain any adjectives. |
Create a one line summary of the following content | With temperatures rising, sustainability is becoming an ever-important issue in many countries around the world. | Sustainability is gaining global attention as temperatures continue to increase. |
What type of creature is a kangaroo? | A kangaroo is a marsupial mammal. | |
Prepare a marketing plan for a children's household products. | Squirrel products | Squirrel Products' marketing plan should focus on creating fun and engaging activities to capture the attention of children. We can organize promotions and events that feature interactive games and activities that children can do in their homes. We can also leverage social media platforms, like Instagram and YouTube, t... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.