instruction
stringlengths
2
259
⌀
input
stringlengths
0
442
⌀
output
stringlengths
1
1.9k
⌀
text
stringlengths
273
2.08k
⌀
Create a SQL query to edit the contents of the "employee" table
Update the column "salary" of the employee with ID = 5
UPDATE employee SET salary=10000 WHERE id=5;
null
Write a query to find all employees whose age is between 25 and 30 and whose department is Marketing.
SELECT * FROM Employees WHERE age BETWEEN 25 and 30 AND department = 'Marketing';
null
Suggest code to delete an element from a linked list in Java.
// Function to delete a node in a linked list. void deleteNode(Node head_ref, Node del) { // base case if (head == null || del == null) return; // If node to be deleted is head node if (head == del) head = del.next; // Change next only if node to be // deleted is NOT the last node if (del.next != null) { del.data = del...
null
null
null
null
Reincarnated {{Infobox - album | jméno = Reincarnated | druh alba = studiové album | umělec = Snoop Lion | obrázek = | popisek = | barva pozadí = lightsteelblue | vydáno = 23. dubna 2013 | nahráno = 2012–2013 | žánr = reggae | délka = 44:17 | jazyk = angličtina | vydavatelství = Mad Decent, Vice Records, RCA Records |...
Stručně shrň článek o tématu „Veusz“ a uveď hlavní fakta.
**Veusz** Veusz je multiplatformní software pro vizualizaci dat. Je napsán v jazyce Python s pomocí výpočetní knihovny NumPy a grafickým rozhraním realizovaným knihovnou PyQt. Je licencován pod licencí GNU GPL, tedy se jedná o svobodný software. Jako vstupní formáty dat podporuje Veusz mimo jiné CSV, HDF a FITS, jako ...
null
Summarize key facts about „Carpool (disambiguation)“ clearly and accurately.
**Carpool (disambiguation)** Carpooling is the sharing of automobile journeys. Carpool may also refer to: Carpool (1983 film), a 1983 comedy film Carpool (1996 film), a 1996 film Carpool (web series), Robert Llewellyn's online interview series Carpool (TV series), a TV spin-off of the web series Carpoolers, an America...
null
Python requests GET s timeoutem.
```python import requests r = requests.get("https://example.com", timeout=10) r.raise_for_status() print(r.text[:500]) ```
null
Design a CSS template for a website.
* { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: Arial, sans-serif; font-size: 14px; line-height: 1.5; background-color: #f5f5f5; } h1 { font-size: 2em; margin-bottom: 10px; } h2 { font-size: 1.5em; margin-bottom: 5px; } a { color: #2016B6; text-decoration: none; transition: all .3s ease; }
null
Spočítej: 4 + 5 = ?
4 + 5 = 9
null
Create a program that prints the vowels in a string.
str = "Hello World!"
#include <iostream> #include <string> void print_vowels(std::string str) { for (int i = 0; i < str.length(); i++) { if (str[i] =='a' || str[i] =='e' || str[i] =='i' || str[i] =='o' || str[i] =='u'||str[i] =='A' || str[i] =='E' || str[i] =='I' || str[i] =='O' || str[i] =='U') std::cout << str[i] << " " ; } std::cout << ...
null
Kolik je 8 × 7?
8 × 7 = 56
null
Compose a CSS 3D transformation to rotate an element by 45 degrees.
transform: rotate3d(0, 1, 0, 45deg);
null
Stručně shrň článek o tématu „Darrell Pace“ a uveď hlavní fakta.
**Darrell Pace** Darrell Owen Pace (* 23. října 1956 Cincinnati) je bývalý americký lukostřelec. Je šestinásobným mistrem USA (1973-76, 1978, 1980). Stal se olympijským vítězem v letech 1976 a 1984 (jako jediný vyhrál individuální soutěž vícekrát), v roce 1988 byl devátý v soutěži jednotlivců a druhý v premiérové sout...
null
Jsi expert na všechno? Buď upřímný.
Ne. Jsem silný v češtině, angličtině a v Python / JavaScript / HTML / PHP. U ostatního řeknu, že to nevím, místo aby se to tvářilo jako jistota.
null
Stručně shrň článek o tématu „Drill & Bass“ a uveď hlavní fakta.
**Drill & Bass** Drill & Bass (Drill n Bass; znám také jako Experimental Jungle nebo Experimental Drum & Bass) je fanoušky vymyšlený termín pro označení experimentální hudby vycházející z IDM a Junglu/Drum & Bassu. Sound tohoto stylu byl vytvořen v roce 1995 umělci jako Aphex Twin, Squarepusher nebo Luke Vibert. Drill...
null
null
null
null
Josef Křičenský Josef Křičenský (10. října 1871 Nový Bydžov – 25. března 1930 Prostějov), byl český dramatik, režisér, herec a fotograf. Život Narodil se v Novém Bydžově v rodině důchodního Jana Křičenského. Po absolvování obecné školy studoval v letech 1882–1887 na gymnáziu v Novém Bydžově. Během studia se aktivně za...
Přelož do češtiny: Create a new branch.
Vytvoř novou větev.
null
Find the number of times the substring “ab” appears in the given string.
text = "abraacadabrabracabracabracabra"
def count_substring(string, sub_string): count = 0 #Loop over the length of string for i in range(0, len(string)): # If a part of string matches with sub_string #increment count if (string[i:i+ len(sub_string)] ==sub_string): count += 1 return count count = count_substring(text, 'ab') print("Number of substring occurre...
null
Summarize key facts about „The Twinkle in God's Eye“ clearly and accurately.
**The Twinkle in God's Eye** The Twinkle in God's Eye is a 1955 American Western film directed by George Blair and written by P.J. Wolfson. The film stars Mickey Rooney, Coleen Gray, Hugh O'Brian, Joey Forman, Don "Red" Barry and Mike Connors. The film was released on October 13, 1955, by Republic Pictures. Plot A new...
null
Debug and fix the code in the given input.
def multiply(x,y) { return x*y x = 5 y = 4 print multiply(x,y)
def multiply(x,y) { return x*y x = 5 y = 4 print(multiply(x,y))
null
Stručně shrň článek o tématu „Bironové“ a uveď hlavní fakta.
**Bironové** Bironové (německy původně Bühren, později Biron von Curland - Kuronští Bironové) je baltský německý šlechtický rod, který během 18. století vládla v Kuronsko-zemgalském vévodství (léno polské koruny), na území dnešního Lotyšska. Bironové se stali vládci baltského vévodství namísto původně vládnoucích, vym...
null
null
null
null
John Francis John Francis (15. února 1924 – 20. března 2012) byl skotský profesor a esperantista. Dílo Vlastní dílo Vitralo (novela 1960). La granda kaldrono (román 1978) Misio sen alveno (1982) Tri rakontoj pri la Miljara Paco (1998) La kastelo de vitro (2004) Kroncprincedzino (román 2011) Překlady Rikardo III – Will...
Given an integer 'base' and an integer 'exponent', write a function to calculate the result of 'base' raised to the power of 'exponent'.
base: 2 exponent: 3
def power(base, exponent): result = 1 for _ in range(exponent): result *= base return result
null
Stručně shrň článek o tématu „Elektrický odpor“ a uveď hlavní fakta.
**Elektrický odpor** Elektrický odpor resp. Rezistance je reálnou částí komplexní impedance elektrického obvodu, bránící průchodu elektrického proudu. Hodnota elektrického odporu závisí na materiálu, průřezu, délce i teplotě vodiče. Odpor vodičů se vzrůstající teplotou stoupá (kladný teplotní součinitel elektrického o...
null
Design a URL shortening system where a given URL is converted to an 8 digit alphanumeric string.
https://www.example.com/
An 8 digit alphanumeric string can be generated by mapping the given URL to a hash value and then truncating it to 8 characters. For example, the given URL could be mapped to the hash "d7539b2d" and the resulting 8 character string could be "d7539b2d".
null
Stručně shrň článek o tématu „Slovensko“ a uveď hlavní fakta.
**Slovensko** Slovensko, plným názvem Slovenská republika, je vnitrozemský stát ležící ve střední Evropě. Na východě sousedí s Ukrajinou, na jihu s Maďarskem, na jihozápadě s Rakouskem, na západě s Českem a na severu s Polskem. V roce 2021 zde žilo 5 441 899 lidí. Hlavním městem je Bratislava, úředním jazykem je slove...
null
null
null
null
Phenylisobutylamine Phenylisobutylamine, also known as α-ethylphenethylamine, Butanphenamine, B or AEPEA, is a stimulant drug of the phenethylamine class. It is a higher homologue of amphetamine, differing from amphetamine's molecular structure only by the substitution of the methyl group at the alpha position of the ...
Summarize key facts about „The Alchemist (Witchcraft album)“ clearly and accurately.
**The Alchemist (Witchcraft album)** The Alchemist is the third album from the Swedish doom metal band Witchcraft. The album was released in 2007 by Rise Above Records. The Japanese version (released on Leaf Hound Records) contains the bonus track "Sweet Honey Pie" by Roky Erickson, which originally appeared on Scandi...
null
Create a for loop for looping through the elements of a given array.
["Apple", "Banana", "Orange"]
for item in ["Apple", "Banana", "Orange"]: print(item)
null
Write a postfix expression to an infix expression
3 4 + 5 *
def postfix_to_infix(expression): stack = [] for c in expression.split(): if c in "+-*/": operand1 = stack.pop() operand2 = stack.pop() stack.append("({} {} {})".format(operand2, c, operand1)) else: stack.append(c) return stack[0] if __name__ == '__main__': expression = '3 4 + 5 *' print(postfix_to_infix(expression))
null
Summarize key facts about „List of hospitals in Alabama“ clearly and accurately.
**List of hospitals in Alabama** This is a list of hospitals in Alabama (U.S. state), sorted by hospital name. Hospitals The American Hospital Directory lists 126 hospitals in Alabama. Defunct Hospitals References External links Alabama Hospital Association Alabama Trauma Centers Alabama • Hospitals & Medical Centers ...
null
null
null
null
Mateja Kežman Mateja Kežman (srbskou cyrilicí Матеја Кежман; * 12. dubna 1979, Bělehrad, Jugoslávie) je bývalý jugoslávský resp. srbský fotbalový útočník. V roce 2003 získal ocenění fotbalista roku v Nizozemsku. Klubová kariéra Kežman byl fotbalovým světoběžníkem, doma hrál za kluby FK Zemun, FK Radnički, Pirot FK Sme...
Use Predicate logic for representing the following statement.
"An elephant only lives in an African safari."
∀x(Elephant (x) ∧ Lives_in(x, African_safari))
null
Napiš TypeScript typ User s id, name, email?.
```typescript type User = { id: number; name: string; email?: string; }; ```
null
Create a function in Java that inputs two strings and prints out the shorter one.
String a = "Hello"; String b = "World";
public static void printShortString(String a, String b) { if (a.length() > b.length()) { System.out.println(b); } else { System.out.println(a); } }
null
Kolik je 6 × 5?
6 × 5 = 30
null
Show the output of the following array when it is printed in the console.
let arr = [5, 8, 15, 7];
[5, 8, 15, 7]
null
Summarize key facts about „2013 Metro Atlantic Athletic Conference baseball tournament“ clearly and accurately.
**2013 Metro Atlantic Athletic Conference baseball tournament** The 2013 Metro Atlantic Athletic Conference baseball tournament was held from May 23 through 26. The top four regular season finishers of the league's teams met in the double-elimination tournament held at Arm & Hammer Park in Trenton, New Jersey. Canisiu...
null
Napiš Python funkci: zavolá fn max n-krát při výjimce (`retry`).
```python import time def retry(fn, n=3, delay=0.1): last = None for _ in range(n): try: return fn() except Exception as e: last = e time.sleep(delay) raise last ```
null
Stručně shrň článek o tématu „Friedrich Reinhold Kreutzwald“ a uveď hlavní fakta.
**Friedrich Reinhold Kreutzwald** Friedrich Reinhold Kreutzwald (26. prosince 1803 Jõepere – 25. srpna 1882 Tartu) byl estonský básník, prozaik, publicista, národní buditel a organizátor veřejného života, autor estonského národního eposu Syn Kalevův inspirovaného folklórem. Život Narodil se na panství Jõepere v estons...
null
Write a JavaScript program to parse and evaluate a simple mathematical expression entered as a string.
String str = "2 + 3 * 4 - 5 / 3";
function evaluateExpression(str) { let expression = str.split(' ').map(el => { if (el === '+' || el === '-' || el === '*' || el === '/') { return el; } return parseInt(el); }); let stack = []; let result; for (let i = 0; i < expression.length; i++) { let el = expression[i]; if (typeof el === 'number') { stack.push(el);...
null
Summarize key facts about „Phebalium bullatum“ clearly and accurately.
**Phebalium bullatum** Phebalium bullatum, commonly known as silvery phebalium, desert phebalium or sand phebalium, is a species of shrub that is endemic to southern continental Australia. It is more or less covered with silvery scales and has narrow oblong to narrow wedge-shaped leaves and yellow flowers in umbels of...
null
Load the given JSON data using Javascript.
{ "name": "John", "age": 30 }
var data = { "name": "John", "age": 30 }; var jsonData = JSON.parse(data); console.log(jsonData);
null
Stručně shrň článek o tématu „Vteřina“ a uveď hlavní fakta.
**Vteřina** Vteřina, plným názvem úhlová vteřina (dříve také oblouková vteřina), je jednou z jednotek úhlu (1/60 úhlové minuty). Pro úhlovou vteřinu se používá značka ″ (před kterou se nepíše mezera) či zkratka as. Stejná značka se používá i pro palec, což ale také není jednotka SI. Odlišení od jednotky času V běžném,...
null
There is an array of integer numbers. You need to replace all the odd numbers with 0.
arr = [1, 2, 3, 4, 5, 6, 7, 8, 9]
def replace_odds_with_zero(arr): for i in range(len(arr)): if arr[i] % 2 == 1: arr[i] = 0 return arr
null
Summarize key facts about „A132“ clearly and accurately.
**A132** A132 or A-132 may refer to: A132 road (England), a road connecting Pitsea and South Woodham Ferrers A132 motorway (France), a road connecting the A13 and Deauville / Trouville-sur-Mer A132 road (Malaysia), a road in Perak connecting Bidor and Kampung Poh Aerotec A-132 Tangará, a 1960s Brazilian military train...
null
Write an SQL query to select all records from a table named "Employees" and order the records by their salary in descending order.
SELECT * FROM Employees ORDER BY Salary DESC;
null
What is 17 - 2?
17 - 2 = 15
null
Create an HTML page with a table containing the following data in four rows.
Id | First Name | Last Name | Age 1 | John | Doe | 30 2 | Jane | Doe | 25 3 | Brian | Smith | 32 4 | Maria | Smith | 28
<html> <head> <title>Table Data</title> </head> <body> <table> <thead> <tr> <th>Id</th> <th>First Name</th> <th>Last Name</th> <th>Age</th> </tr> </thead> <tbody> <tr> <td>1</td> <td>John</td> <td>Doe</td> <td>30</td> </tr> <tr> <td>2</td> <td>Jane</td> <td>Doe</td> <td>25</td> </tr> <tr> <td>3</td> <td>Brian</td> <td>...
null
Segregate a given array of numbers into even and odd.
[1, 2, 3, 4, 5]
even_numbers = [2, 4] odd_numbers = [1, 3, 5]
null
Stručně shrň článek o tématu „Cordillera Real“ a uveď hlavní fakta.
**Cordillera Real** Cordillera Real () je pohoří na západě Bolívie, východně až jihovýchodně od jezera Titicaca. V pohoří se nachází jedny z nejvyšších hor Bolívie a tropických And. Nejvyšším vrcholem je Illimani (6 438 m). Na západní straně Cordillery Real leží jedno z nejvýše položených velkoměst světa La Paz. Geogr...
null
Write a code to define a function to multiply two numbers passed as arguments.
def multiply(x, y): return x * y
null
Create a css class for a card component with rounded corners, a light shadow, and a maximum width of 500px.
.card { border-radius: 10px; box-shadow: 0 0 5px rgba(0, 0, 0, 0.2); max-width: 500px; }
null
Write a regular expression to match the email address "test@example.com".
^[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,4}$
null
Construct a for loop that prints the square of each number from 1 to 10 and also prints an asterisk after each square.
for x in range(1,11): result = x * x print(result, "*")
null
JS async function example.
```javascript async function loadUser(id) { const res = await fetch(`/api/users/${id}`); if (!res.ok) throw new Error("failed"); return res.json(); } ```
null
Stručně shrň článek o tématu „Sergei Svatčenko“ a uveď hlavní fakta.
**Sergei Svatčenko** Sergei Svatčenko (* 1952 v Charkově) je dánský umělec narozený na Ukrajině. Vystudoval Akademii umění a architektury v Charkově, svá studia ukončil v roce 1975. Ve studiu pokračoval, doktorský stupeň studia architektury ukončil na Škole architektury v Kyjevě v roce 1986. Styl Jeho umělecký styl je...
null
null
null
null
Bruce Hyde (ontologist) (Richard) Bruce Hyde (September 14, 1941 – October 13, 2015) was an American educator and actor. He was professor of communication studies at St. Cloud State University in Minnesota. His academic work mainly focused on ontology, specifically ontological approach to education, Martin Heidegger's...
null
null
null
Prvoideál (teorie okruhů) Prvoideálem v okruhu je každý takový vlastní ideál , že pro libovolné dva ideály splňující (tedy jejichž součin je podmnožinou ) platí nebo . Jedná se o analogii prvočísel, u kterých lze obdobně vyslovit: Přirozené číslo je prvočíslem právě tehdy, pokud pro jakákoliv dvě přirozená čísla platí...
Create an array of 3 strings and print it.
myArray = ["Hello", "World", "!"] print (myArray)
null
Output a single string composed of all the characters of the given string, one after the other.
This is a string
thisisastring
null
Calculate the hypotenuse of a right angled triangle.
x = 3 y = 4
def hypotenuse(x, y): return (x**2 + y**2)**0.5
null
Create an in-place version of selection sort in Python.
arr = [5, 2, 4, 6, 8, 1]
def selection_sort(arr): # Traverse through all array elements for i in range(len(arr)): # Find the minimum element in remaining unsorted array min_idx = i for j in range(i+1, len(arr)): if arr[min_idx] > arr[j]: min_idx = j # Swap the found minimum element with the first element arr[i], arr[min_idx] = arr[min_idx], ar...
null
Write a function to fill an array of size n with random integers in the range 0...k-1.
def random_fill_array(n, k): arr = [] for _ in range(n): arr.append(random.randint(0, k-1)) return arr
null
Create a function that returns the longest substring of the string given.
string = "Hello world!"
def longest_substring(string): curr_len = 1 max_len = 1 prev_index = 0 n = len(string) visited = [-1] * 256 visited[ord(string[0])] = 0 for i in range(1,n): prev_index = visited[ord(string[i])] if prev_index == -1 or (i - curr_len > prev_index): curr_len+=1 else: if curr_len > max_len: max_len = curr_len curr_len = i -...
null
Stručně shrň článek o tématu „Předpona soustavy SI“ a uveď hlavní fakta.
**Předpona soustavy SI** Předpona soustavy SI je předpona, která se může použít před jakoukoliv jednotkou Mezinárodní soustavy jednotek (SI) (s výjimkou bezrozměrné jednotky 1) k vyjádření dílů a násobků použité jednotky. Systém předpon SI je postaven na desítkové soustavě. Do třetího řádu od základní jednotky jsou de...
null
Summarize key facts about „2013 Brussels Open – Singles“ clearly and accurately.
**2013 Brussels Open – Singles** Agnieszka Radwańska was the defending champion but decided not to participate. Kaia Kanepi won the title, defeating Peng Shuai in the final, 6–2, 7–5. Seeds The top two seeds receive a bye into the second round. Draw Finals Top half Bottom half Qualifying Seeds Qualifiers Lucky losers ...
null
Create a CSS class to make all the text in the body of the page blue.
body { font-color: blue; }
null
Answer the following question: What Python library is used for web scraping?
The Python library used for web scraping is called 'BeautifulSoup'.
null
null
null
null
Tommy Dorsey Tommy Dorsey (19. listopadu 1905, Shenandoah, Pennsylvania – 26. listopadu 1956, Greenwich, Connecticut) byl americký jazzový trombónista, trumpetista, skladatel a dirigent big band éry. Mezi jeho přezdívky patří „The Sentimental Gentleman of Swing“ či „TD“. Měl staršího bratra, Jimmy Dorseyho. Jeho senti...
null
null
null
Stonewall Jackson Middle School Stonewall Jackson Middle School may refer to: Virginia Stonewall Jackson Middle School (Hanover County, Virginia), Mechanicsville, Virginia Stonewall Middle School, former name of Unity Braxton Middle School, Prince William County, Virginia Stonewall Jackson Middle School, former name o...
Stručně shrň článek o tématu „Pelleport (stanice metra v Paříži)“ a uveď hlavní fakta.
**Pelleport (stanice metra v Paříži)** Pelleport je nepřestupní stanice pařížského metra na lince 3bis ve 20. obvodu v Paříži. Nachází se na Avenue Gambetta. Historie Stanice byla otevřena 27. listopadu 1921 jako součást vedlejší větve linky 3 ze stanice Gambetta. Od 27. března 1971 je součástí linky 3bis, která se st...
null
null
null
null
Tara Iyer Tara Iyer (, , Tārā Āyara) is a former professional tennis player from India. She won four ITF singles titles and one doubles title. Personal life Tara Iyer was born in the Indian metropolis of Hyderabad. Her mother is noted IRS officer, Indira Iyer and father is Parmeshwaran Iyer, an IAS officer. Career 200...
Write a Perl script to output the 8th character in a given string.
String = "SoftwareTestingHelp"
$str = "SoftwareTestingHelp"; print substr($str, 8, 1);
null
Modify the following python code so that it accepts two numbers as input and returns the maximum of those numbers.
def get_max(num1): return num1
def get_max(num1, num2): return max(num1, num2)
null
Summarize key facts about „Oxford and Rugby Railway“ clearly and accurately.
**Oxford and Rugby Railway** The Oxford and Rugby Railway was promoted by the Great Western Railway as a means of connecting to the West Midlands and the north of England, by joining existing railways at Rugby. It was authorised in 1845, but the GWR soon decided to make its own line to Birmingham, and in 1846 it acqui...
null
Kolik je 13 - 9?
13 - 9 = 4
null
null
null
null
Smrt stopařek Smrt stopařek je český kriminální film režiséra Jindřicha Poláka natočený v roce 1979 na motivy skutečné události. Děj Řidič náklaďáku (Marek Perepeczko) má agresivní sklony. Když jednou vezme dvě mladé stopařky (Jana Nagyová a Dagmar Patrasová), zaveze je do lesa, kde se je snaží znásilnit. Během pokusu...
Summarize key facts about „John Robert Porter“ clearly and accurately.
**John Robert Porter** John Robert Camber Porter (5 January 1953 - 10 November 2021) was an English businessman best known as the grandson of Sir Jack Cohen, founder of Tesco, and son of Dame Shirley Porter. Early life and education When John Porter was young, he was given £4 million by his grandfather, Sir Jack Cohen...
null
Stručně shrň článek o tématu „Matys“ a uveď hlavní fakta.
**Matys** Příjmení Matys nosí více osobností: František Matys (1923–1986) – český fotbalista Ján Matys (* 1936) - slovenský silniční motocyklový závodník Jana Matysová (* 1952) – česká zpěvačka Jiří Matys (1927–2016) – český hudební skladatel a pedagog Rudolf Matys (1938–2023) – český básník Rudolf Matys (skladatel) (...
null
null
null
null
1836 in Denmark Events from the year 1836 in Denmark. Incumbents Monarch – Frederick VI Prime minister – Otto Joachim Events 5 March – The Music Society is founded in Copenhagen, on Christoph Ernst Friedrich Weyse's birthday, and for almost a century it remains the most important music venue in Denmark 15 April Høst &...
null
null
null
FIS Nordic World Ski Championships 2021 – Women's 10 kilometre freestyle The Women's 10 kilometre freestyle competition at the FIS Nordic World Ski Championships 2021 was held on 2 March. A qualification was held on 24 February 2021. Results Final The race was started on 2 March at 13:15. Qualification The qualificati...
Summarize key facts about „John Hepher“ clearly and accurately.
**John Hepher** John Hepher (16 October 1850 – 3 August 1932) was an English-born Australian politician. He was born in Swavesey, Cambridgeshire, to John Hepher (tailor) and Esther Wilderspin. He followed his father's trade and was also active in the union movement around Newcastle-on-Tyne. He migrated to New South Wa...
null
Write an HTML page with an input form having two text input fields
<!DOCTYPE html> <html> <head> <title>My page</title> </head> <body> <form> <input type="text" name="name" placeholder="Name"> <input type="text" name="email" placeholder="Email"> <input type="submit" value="Submit"> </form> </body> </html>
null
Stručně shrň článek o tématu „Linux“ a uveď hlavní fakta.
**Linux** Linux nebo GNU/Linux (viz GNU/Linux kontroverze) je označení pro svobodný a otevřený počítačový operační systém, který je založený na linuxovém jádru. Linuxové systémy jsou šířeny v podobě distribucí, které je možné nainstalovat nebo používat bez instalace (tzv. live CD). Používané licence umožňují systém zd...
null
Kolik je 8 × 10?
8 × 10 = 80
null
Stručně shrň článek o tématu „Kálmán Kalocsay“ a uveď hlavní fakta.
**Kálmán Kalocsay** Kálmán Kalocsay, pseudonymy Peterido Peneter a Peter Peneter (* 6. října 1891 – 27. února 1976) byl maďarský esperantista a lékař. Je pokládán za jednoho z největších esperantských básníků, zároveň byl jedním z nejplodnějších překladatelů do tohoto jazyka. Působil jako univerzitní profesor a primář...
null
Summarize key facts about „Lizzie Grubman“ clearly and accurately.
**Lizzie Grubman** Elizabeth Grubman (born January 30, 1971) is an American publicist, manager and socialite. In 2002, Grubman served 38 days in jail for an incident where she intentionally backed a Mercedes SUV into a crowd, injuring 16 people. Early life She is the daughter of entertainment lawyer Allen Grubman and ...
null
říkej pořád jak se jmenuješ
Stačí se zeptat na jméno, když to potřebuješ. Jinak jdu rovnou k úkolu. Co řešíme?
null
Convert the following SQL statement to a Pyspark Query.
SELECT employee_id, name, salary FROM employees WHERE salary > 50000
spark.sql("SELECT employee_id, name, salary FROM employees WHERE salary > 50000").show()
null
Provide a context-free grammar to generate strings that contain only a’s and b’s and which have the same number of a’s as b’s.
S -> bAa A -> AaA | aAa | bAb | abB | ε
null
Design a C++ program to read and display a matrix.
#include <iostream> using namespace std; int main(){ int r, c, e; cout << "Input number of rows : "; cin >> r; cout << "Input number of columns : "; cin >> c; int M[r][c]; // Take input of elements for(int i = 0; i < r; ++i){ cout << "Enter elements of row "<< i+1; for(int j = 0; j < c; ++j){ cin >> e; M[i][j] = e; } }...
null
Kolik je 18 × 8?
18 × 8 = 144
null
null
null
null
Trajektorie Trajektorie (též pohybová křivka) je geometrická čára prostorem, kterou hmotný bod nebo těleso při pohybu opisuje. Jedná se tedy o množinu všech poloh (hmotného) bodu, v nichž se může v různých časových okamžicích nacházet. Trajektorií může být přímka, kružnice, elipsa či jakákoliv obecná křivka. Podle tva...
What is 13 - 7?
13 - 7 = 6
null
Summarize key facts about „Ellis University“ clearly and accurately.
**Ellis University** Ellis University was an accredited online for-profit college, based in Oakbrook Terrace, Illinois. The university offered online and in class undergraduate degrees in child development, interdisciplinary studies, accounting, business administration, and computer science, and graduate degrees in co...
null
Given a string of integers, create a method to generate an array in which each integer is added to the sum of its neighbors.
s = "3456"
def generate_sum_array(s): res = [int(s[0])] for i in range(1, len(s)): res.append(int(s[i-1]) + int(s[i])) res.append(int(s[-1])) return res # Output: [3, 8, 11, 13]
null
What is 16 - 7?
16 - 7 = 9
null
Using the given list, create a function in Python that classifies each number as odd or even.
lst = [1, 2, 6, 8, 4]
def classifyList(lst): result = [] for num in lst: if num % 2 == 0: result.append('even') else: result.append('odd') return result
null
Change the code so it will output the multiplication result when "multiply" is clicked.
<button class="button" onclick="calc()">Multiply</button> <script> let result; function calc() { // TODO: Output the multiplication result } </script>
<button class="button" onclick="calc()">Multiply</button> <script> let result; function calc() { result = 4*9 alert(`The result of the multiplication is: ${result}`) } </script>
null