text stringlengths 154 3.85k |
|---|
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Find the solution to the quadratic equation.
### Input:
3x² + 7x - 4 = 0
### Response:
The solution of the quadratic equation is x = -4 and x ... |
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Find the average of these three numbers.
### Input:
2, 5, 10
### Response:
The average of 2, 5, 10 is 5.67. |
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Rewrite the sentence in a different tense.
### Input:
He asked her to join him for lunch.
### Response:
He had asked her to join him for lunch... |
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Classify the following data with three labels.
### Input:
fjsklfjdsklfjsklfjsklfjs
### Response:
Label1: Character data
Label2: Alphabetical d... |
Below is an instruction that describes a task. Write a response that appropriately completes the request.
### Instruction:
Compose a five word sentence describing your day.
### Response:
Today was an amazing day. |
Below is an instruction that describes a task. Write a response that appropriately completes the request.
### Instruction:
Search the web and find the title of the longest novel.
### Response:
The title of the longest novel is "Gordale", written by Carolyn Redfearn. |
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Change the following sentence from the singular form to the plural form.
### Input:
The cat is drinking.
### Response:
The cats are drinking. |
Below is an instruction that describes a task. Write a response that appropriately completes the request.
### Instruction:
Compile a list of 5 US states located in the Mid West.
### Response:
The 5 US states located in the Midwest are Illinois, Indiana, Michigan, Ohio, and Wisconsin. |
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Analyze the following sentence and find the direct object.
### Input:
She wrote a book.
### Response:
The direct object of the sentence is "bo... |
Below is an instruction that describes a task. Write a response that appropriately completes the request.
### Instruction:
During the last member meeting, create a list of 5 ideas to improve the club.
### Response:
At the last member meeting, the following 5 ideas to improve the club were suggested: 1. Increase the ... |
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Edit the following sentence to correct the grammar and syntax errors
### Input:
You was late to the party
### Response:
You were late to the p... |
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Create a questions that can be answered using the following sentence.
### Input:
"It was a beautiful day"
### Response:
What type of day was i... |
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Find the cutoff score for successful completion of the exam
### Input:
The exam had 100 multiple-choice questions with 4 options each
### Resp... |
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Generate a topic sentence to introduce the following text.
### Input:
Amidst increasing violence in the region, many civilians are fleeing thei... |
Below is an instruction that describes a task. Write a response that appropriately completes the request.
### Instruction:
Write a function to calculate the factorial of a given number.
### Response:
def factorial(n):
if n == 0:
return 1
return n * factorial(n-1) |
Below is an instruction that describes a task. Write a response that appropriately completes the request.
### Instruction:
Write a function to convert a given string to uppercase.
### Response:
def toUpperCase(str):
return str.upper() |
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Extract the positive integers from an array?
### Input:
arr = [5,-2,8,-7,3,-1,0,5]
### Response:
[5, 8, 3, 5] |
Below is an instruction that describes a task. Write a response that appropriately completes the request.
### Instruction:
Calculate the square root of a given number.
### Response:
def sqrt(n):
low = 0
high = n
while low <= high:
mid = (low + high) // 2
if mid * mid == n:
... |
Below is an instruction that describes a task. Write a response that appropriately completes the request.
### Instruction:
Reverse a linked list.
### Response:
def reverse(head):
prev = None
cur = head
while cur:
next = cur.next
cur.next = prev
prev = cur
cur = next
... |
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Compute the longest increasing subsequence of a given array?
### Input:
arr = [7, 10, 8, 11, 9, 5]
### Response:
[7, 8, 9, 11] |
Below is an instruction that describes a task. Write a response that appropriately completes the request.
### Instruction:
Design an algorithm to find the maximum profit of a stock buy and sell?
### Response:
def maxProfit(prices):
min_price = float('inf')
max_profit = 0
for price in prices:
min_... |
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Given two strings, check whether one string is a rotation of another?
### Input:
s1 = ‘waterbottle’
s2 = ‘erbottlewat’
### Response:
def isRot... |
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Given an array of integers, return the first repeating element.
### Input:
arr = [3, 6, 7, 1, 4, 6, 7]
### Response:
6 |
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Find the two non-repeating elements in an array of repeating elements?
### Input:
arr = [2, 3, 7, 9, 11, 2, 3, 11]
### Response:
7, 9 |
Below is an instruction that describes a task. Write a response that appropriately completes the request.
### Instruction:
Given a binary tree, check if it is a binary search tree?
### Response:
def isBST(root):
if root is None :
return True
if root.left is not None and root.left.val > root.val:
return False
if... |
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Find the maximum profit that can be earned from a given sequence of transactions?
### Input:
arr = [100, 180, 260, 310, 40, 535, 695]
### Resp... |
Below is an instruction that describes a task. Write a response that appropriately completes the request.
### Instruction:
Calculate the amount of money in a bank account with an initial $100 deposit and an interest rate of 6%, compounded annually
### Response:
At the end of year 1, the amount in the bank account wou... |
Below is an instruction that describes a task. Write a response that appropriately completes the request.
### Instruction:
Give me a detailed overview of the framework of a web service.
### Response:
A web service should be composed of several components: a client application, a set of API (application programming in... |
Below is an instruction that describes a task. Write a response that appropriately completes the request.
### Instruction:
Create a timeline describing the history of the internet
### Response:
1968: ARPANET, the first internet network, is created.
1973: TCP/IP is created, allowing computers to communicate with each... |
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Describe the pros and cons of the following policy
### Input:
Providing free college education
### Response:
The pros of providing free colleg... |
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Design a post for a social media account to promote the following product
### Input:
Fresh fruit smoothie
### Response:
Introducing our new an... |
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Summarize the following article
### Input:
https://www.nytimes.com/2010/07/05/business/global/05phone.html
### Response:
This article discusse... |
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Create a job description for the following role
### Input:
Data Analytics Consultant
### Response:
We are looking for a data analytics consult... |
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Identify the correct order for the following commands
### Input:
pack, prepare, travel
### Response:
The correct order is: prepare, pack, trav... |
Below is an instruction that describes a task. Write a response that appropriately completes the request.
### Instruction:
Create a list of 10 different animals
### Response:
1. Tiger
2. Elephant
3. Chimpanzee
4. Gorilla
5. Wolf
6. Fox
7. Kangaroo
8. Hedgehog
9. Porcupine
10. Beave. |
Below is an instruction that describes a task. Write a response that appropriately completes the request.
### Instruction:
Suggest a good idea for a family photoshoot.
### Response:
How about a photoshoot in a park or garden with a picnic theme? Have the family dress up in fun and whimsical clothes and poses, and use... |
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Create a response for a customer's email about a refund issue.
### Input:
Dear [Company],
I recently purchased a product from your store and I... |
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Summarize the given news article in one sentence.
### Input:
In the latest budget announcement, the Chancellor has promised to introduce a new ... |
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Provide five adjectives that describe a particular animal.
### Input:
Lion
### Response:
Regal, mighty, majestic, brave, intelligent. |
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Rearrange the words to create a complete sentence.
### Input:
Underwater creatures are fascinating
### Response:
Fascinating are underwater cr... |
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Write a story that begins with the following sentence.
### Input:
She opened the door to find a tall figure cloaked in shadows.
### Response:
... |
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert the given sentence into active voice.
### Input:
One hundred and fifty books were sold.
### Response:
Someone sold one hundred and fif... |
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Describe the sound of the given object.
### Input:
Wind chime
### Response:
A wind chime produces a peaceful and melodic sound, with a mix of ... |
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Rewrite the given sentence using a different but similar word.
### Input:
She partook in the event.
### Response:
She participated in the even... |
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Classify the given input as either a poem, story, or song.
### Input:
Once upon a midnight dreary, while I pondered, weak and weary.
### Respo... |
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Create a title for the following description.
### Input:
A story about a journey of self-discovery by a young girl.
### Response:
The Road to ... |
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Rewrite the given sentence in a more formal tone.
### Input:
I had to go to the store real quick.
### Response:
I had to make a quick trip to ... |
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Write a few sentences about a given historical figure.
### Input:
Amelia Earhart
### Response:
Amelia Earhart was an American aviation pioneer... |
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Generate a list of questions related to a given topic.
### Input:
Innovation
### Response:
1. What are the most current trends in the field of... |
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Create a slogan for a given product.
### Input:
Healthy snack
### Response:
A bite of goodness - Healthy snacks for your whole family! |
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Categorize the following text into one of the two sentiment classes: positive or negative.
### Input:
I didn't like the product very much becau... |
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Make the following sentence more concise.
### Input:
I have a really bad cold and it is making me feeling really miserable.
### Response:
I ha... |
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Transform the following sentence into a yes/no question.
### Input:
It is going to rain tomorrow.
### Response:
Is it going to rain tomorrow? |
Below is an instruction that describes a task. Write a response that appropriately completes the request.
### Instruction:
Compose a tweet that addresses the issue of environmental degradation.
### Response:
We can't keep wasting resources and ignoring #EnvironmentalDegradation. Let's make our planet greener and heal... |
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Replace the underlined words with appropriate synonyms.
### Input:
The robbers snitched on their partners.
### Response:
The robbers divulged ... |
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Correct the grammatical errors in the sentence.
### Input:
She come to the store for supplies.
### Response:
She came to the store for supplie... |
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Identify the type of the relationship between the two words in the sentence.
### Input:
The car passed the truck.
### Response:
The relationsh... |
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Rewrite the following sentence without changing the meaning.
### Input:
The sales report was not accurate.
### Response:
The sales report was ... |
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
What's the output of this code?
### Input:
x = [1, 2, 3, 4]
y = [i**2 for i in x]
### Response:
y = [1, 4, 9, 16] |
Below is an instruction that describes a task. Write a response that appropriately completes the request.
### Instruction:
Write a short review for the novel "The Catcher in the Rye".
### Response:
I recently read “The Catcher in the Rye” and was impressed by J.D. Salinger's ability to capture the struggles of teenag... |
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Identify the following animal.
### Input:
It has thick fur, a long tail, and pointed ears.
### Response:
The animal is a fox. |
Below is an instruction that describes a task. Write a response that appropriately completes the request.
### Instruction:
Describe the impact of the coronavirus on the economy.
### Response:
The coronavirus has had a major impact on the economy, causing disruptions in industries such as tourism, travel, hospitality,... |
Below is an instruction that describes a task. Write a response that appropriately completes the request.
### Instruction:
What geometric shape has 5 sides and 5 angles?
### Response:
The geometric shape is a pentagon. |
Below is an instruction that describes a task. Write a response that appropriately completes the request.
### Instruction:
Generate a pitch for a new and original product.
### Response:
Introducing the revolutionary new product that is taking the world by storm: the SmartBat! The SmartBat is a revolutionary device th... |
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Rewrite the following sentence so that it is in active voice.
### Input:
The problem is being solved by her.
### Response:
She is solving the ... |
Below is an instruction that describes a task. Write a response that appropriately completes the request.
### Instruction:
What's the difference between a virus and a worm?
### Response:
The main difference between a virus and a worm is that a virus requires user interaction to spread, while a worm can spread itself ... |
Below is an instruction that describes a task. Write a response that appropriately completes the request.
### Instruction:
Explain the concept of the blockchain.
### Response:
The blockchain is a distributed ledger technology that is used to store and record transactions. It is secured using a network of computers di... |
Below is an instruction that describes a task. Write a response that appropriately completes the request.
### Instruction:
What is the contraction of "they are"?
### Response:
The contraction of "they are" is "they're". |
Below is an instruction that describes a task. Write a response that appropriately completes the request.
### Instruction:
Create a list of items for a picnic.
### Response:
A picnic list should include items such as: sandwiches, chips, fruit, vegetables, crackers, spreads, cheese, drinks, and snacks. Optional items ... |
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Find the lowest common multiple of two numbers.
### Input:
36 and 87
### Response:
30932 |
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Classify the given article as either positive or negative sentiment.
### Input:
The new car is a disappointment. The breaks are terrible and co... |
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert the following hexadecimal number to octal.
### Input:
DB
### Response:
333 |
Below is an instruction that describes a task. Write a response that appropriately completes the request.
### Instruction:
Gather some recent data related to the increasing rates of unemployment.
### Response:
Recent data on the increasing rates of unemployment across the US show that, since the start of the coronavi... |
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Indicate how the following characters in the novel reflect the theme of "the corrupting influence of power".
### Input:
Gregoire in Zola's Germ... |
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Rewrite the following sentence to avoid any logical fallacies.
### Input:
This medicine will cure all your health issues; you should trust me b... |
Below is an instruction that describes a task. Write a response that appropriately completes the request.
### Instruction:
Name two different ways to reduce poverty in a community.
### Response:
Two different ways to reduce poverty in a community are to develop economic development initiatives to create job and busin... |
Below is an instruction that describes a task. Write a response that appropriately completes the request.
### Instruction:
Generate a sentence that follows the structure of: "All ____ is based on/with _____"
### Response:
All success is based on hard work and dedication. |
Below is an instruction that describes a task. Write a response that appropriately completes the request.
### Instruction:
Describe the principle of the Law of Supply.
### Response:
The Law of Supply states that as the price of a product or service increases, the quantity supplied to the market also increases, as pro... |
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Find the area of the given trapezoid.
### Input:
Bases: 13 cm and 16 cm; Height: 12 cm
### Response:
168 cm^2 |
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Describe the themes present in the given poem.
### Input:
Poem:
We step out into the night
Where the stars cry like only loneliness can
And ma... |
Below is an instruction that describes a task. Write a response that appropriately completes the request.
### Instruction:
Generate a haiku poem.
### Response:
Dew on a leaf glistening
A gentle summer breeze rustles
Nearby cicada song |
Below is an instruction that describes a task. Write a response that appropriately completes the request.
### Instruction:
Design a logo for a web development company.
### Response:
Design a logo that is modern and professional. Use a combination of blue, green and orange for the color scheme. The logo should include... |
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Classify this text as Fiction or Non-fiction.
### Input:
The universe is estimated to be around 13.8 billion years old.
### Response:
Non-fict... |
Below is an instruction that describes a task. Write a response that appropriately completes the request.
### Instruction:
Name three fruits that are rich in Vitamin C.
### Response:
Oranges, grapefruits, and lemons. |
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Translate this sentence from French to English.
### Input:
J'aime faire de la randonnée.
### Response:
I love to go hiking. |
Below is an instruction that describes a task. Write a response that appropriately completes the request.
### Instruction:
Generate the third term in the sequence 2, 5, 9, 14.
### Response:
18 |
Below is an instruction that describes a task. Write a response that appropriately completes the request.
### Instruction:
What is the purpose of Financial Accounting?
### Response:
The purpose of financial accounting is to provide relevant and accurate information to help entities make informed decisions and effecti... |
Below is an instruction that describes a task. Write a response that appropriately completes the request.
### Instruction:
Describe a unique way to cook a steak.
### Response:
One unique way to cook a steak is sous-vide. This method cooks the steak slowly in a sealed bag of its own juices at a low temperature. The st... |
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Identify the incorrect word in this sentence.
### Input:
The singer joyfully belted their solo.
### Response:
their |
Below is an instruction that describes a task. Write a response that appropriately completes the request.
### Instruction:
Suggest a powerful quote.
### Response:
"With the power of the will, anything is possible." – Unknown |
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Sort the following list in alphabetical order.
### Input:
Camouflage, Furniture, Plaster
### Response:
Furniture, Camouflage, Plaster |
Below is an instruction that describes a task. Write a response that appropriately completes the request.
### Instruction:
Name one benefit of meditation.
### Response:
One benefit of meditation is reduced stress levels. Through regular practice, meditation helps to train the mind to focus, which can lead to improved... |
Below is an instruction that describes a task. Write a response that appropriately completes the request.
### Instruction:
Name the three main mountain ranges in the United States.
### Response:
The three main mountain ranges in the United States are the Rocky Mountains, the Appalachian Mountains, and the Sierra Neva... |
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Assign this task to the design team.
### Input:
Design a communication tool for internal team members.
### Response:
The design team has been ... |
Below is an instruction that describes a task. Write a response that appropriately completes the request.
### Instruction:
Provide the lyrics for the song titled “Yesterday”
### Response:
Yesterday, all my troubles seemed so far away
Now it looks as though they're here to stay
Oh, I believe in yesterday
Suddenly, ... |
Below is an instruction that describes a task. Write a response that appropriately completes the request.
### Instruction:
Provide a brief summary of the novel "Never Let Me Go".
### Response:
Never Let Me Go is a dystopian novel by Kazuo Ishiguro that tells the story of three friends who attended a school together t... |
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Edit the following sentence so that it has correct grammar.
### Input:
I were just going to the store
### Response:
I was just going to the st... |
Below is an instruction that describes a task. Write a response that appropriately completes the request.
### Instruction:
Name something you can do with paper.
### Response:
Write, draw, paint, fold, cut, origami, make a paper airplane, collage, create a pop-up card, shred, laminate. |
Below is an instruction that describes a task. Write a response that appropriately completes the request.
### Instruction:
Construct a sentence using the phrase "every day".
### Response:
I do something new every day. |
Below is an instruction that describes a task. Write a response that appropriately completes the request.
### Instruction:
What type of fruit would be a good addition to a fruit salad?
### Response:
Strawberries, blueberries, raspberries, grapes, kiwi, oranges, apples, pears, mangoes, papayas, and pineapples. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.