Reverse the order of the following string: Hello
stringlengths
36
107
olleH
stringlengths
1
27
Arrange the following numbers in descending order: 8, 6, 2, 10
10, 8, 6, 2
Identify the odd one out from the following list of Canadian provinces: Alberta, Manitoba, Ontario, Nunavut
Nunavut
Starting with the string coding is fun, append ! to the end of the string.
coding is fun!
Extract the first word from the following sentence: Lets get started.
Lets
Extract the last two characters from the following string: Hello
lo
Extract the first number from the following string: My number is 24398
2
Extract the full name from the following string: My name is John Smith
John Smith
Identify the longest word from the following list: jump, turtle, sky, red
turtle
Check if the year 2030 is a leap year.
TRUE
Concatenate the following two strings: Hello + , + World
Hello, World
Extract the last character from the following string: Test
t
Calculate the length of the following string: Programming
11
Find the index of the first occurrence of a in the following string: This is a test
5
Change all letters to upper case in the following string: hello world
HELLO WORLD
Check if the time 08:30 is before 09:00
TRUE
Extract the extension from the following file name: data.csv
csv
Capitalize the first letter of each word in the following string: hello world
Hello World
Remove all whitespace from the following string: coding is fun
codingisfun
Extract the second word from the following string: Do or do not, there is no try.
or
Reverse the order of the words in the following string: Python is awesome
awesome is Python
Count the number of words in the following string: hello world
2
Extract all characters after the first occurrence of a in the following string: This is a test
test
Calculate the sum of the following numbers: 10, 20, 30
60
Check if the string abc is an anagram of bac
TRUE
Calculate the average of the following numbers: 10, 20, 30
20
Check if the time 08:00 is before 07:00
FALSE
Convert the following string to lower case: HELLO
hello
Extract the subdomain name from the following URL: https://docs.google.com
docs
Calculate the maximum of the following numbers: 10, 20, 30
30
Reverse the characters in each word of the following sentence: This is a test
sihT si a tset
Check if the string YES is contained in the following sentence: This task requires a YES or NO answer.
TRUE
Extract the second and third letters from the following string: Hello
el
Change all characters in the following string to upper case: example
EXAMPLE
Extract the last three digits from the following number: 5213998
998
Reverse a list of words: apple, banana, cherry, date
date, cherry, banana, apple
Reverse a phone number: 123-456-7890
0987-654-321

No dataset card yet

Downloads last month
10