chore(i18n,curriculum): update translations (#43073)

This commit is contained in:
camperbot
2021-07-30 01:41:44 +09:00
committed by GitHub
parent 43308fd612
commit b123c7a1ba
92 changed files with 523 additions and 522 deletions

View File

@ -1,6 +1,6 @@
---
id: 587d8251367417b2b2512c62
title: Create a Linked List Class
title: Creare una classe Lista Collegata
challengeType: 1
forumTopicId: 301628
dashedName: create-a-linked-list-class
@ -8,25 +8,25 @@ dashedName: create-a-linked-list-class
# --description--
Let's create a `linked list` class. Every linked list should start out with a few basic properties: a `head` (the first item in your list) and a `length` (number of items in your list). Sometimes you'll see implementations of linked lists that incorporate a `tail` for the last element of the list, but for now we'll just stick with these two. Whenever we add an element to the linked list, our `length` property should be incremented by one.
Creiamo una classe `linked list`. Ogni lista collegata dovrebbe iniziare con alcune proprietà di base: una testa `head` (il primo elemento nella tua lista) e una lunghezza `length` (numero di elementi nella tua lista). A volte vedrai implementazioni di liste collegate che incorporano una coda `tail` per l'ultimo elemento dell'elenco, ma per ora rimarremo solo con queste due. Ogni volta che aggiungiamo un elemento alla lista collegata, la nostra proprietà `length` dovrebbe essere incrementata di uno.
We'll want to have a way to add items to our linked list, so the first method we'll want to create is the `add` method.
Vogliamo avere un modo per aggiungere elementi alla nostra lista collegata, quindi il primo metodo che vorremo creare è il metodo `add`.
If our list is empty, adding an element to our linked list is straightforward enough: we just wrap that element in a `Node` class, and we assign that node to the `head` of our linked list.
Se la nostra lista è vuota, aggiungere un elemento alla nostra lista collegata è abbastanza semplice: basta che avvolgiamo quell'elemento in una classe `Node`, e assegnamo quel nodo alla testa (`head`) della nostra lista collegata.
But what if our list already has one or more members? How do we add an element to the list? Recall that each node in a linked list has a `next` property. To add a node to the list, find the last node in the list, and point that last node's `next` property at our new node. (Hint: you know you've reached the end of a linked list when a node's `next` property is `null`.)
Ma cosa succede se la nostra lista ha già uno o più membri? Come aggiungiamo un elemento alla lista? Ricorda che ogni nodo in una lista collegata ha una proprietà `next`. Per aggiungere un nodo all'elenco, trova l'ultimo nodo nell'elenco, e punta la proprietà `next` dell'ultimo nodo al nuovo nodo. (Suggerimento: saprai che hai raggiunto la fine di una lista collegata quando la proprietà `next` di un nodo sarà `null`.)
# --instructions--
Write an add method that assigns the first node you push to the linked list to the `head`; after that, whenever adding a node, every node should be referenced by the previous node's `next` property.
Scrivi un metodo di aggiunta add che assegna il primo nodo che inserisci nella lista collegata alla testa `head`; dopo, ogni volta che aggiungerai un nodo, esso dovrebbe essere referenziato dalla proprietà `next` del nodo precedente.
Note
Nota
Your list's `length` should increase by one every time an element is added to the linked list.
La lunghezza `length` della tua lista dovrebbe aumentare di uno ogni volta che un elemento viene aggiunto alla lista collegata.
# --hints--
Your `LinkedList` class should have a `add` method.
La tua classe `LinkedList` dovrebbe avere un metodo `add`.
```js
assert(
@ -37,7 +37,7 @@ assert(
);
```
Your `LinkedList` class should assign `head` to the first node added.
La tua classe `LinkedList` dovrebbe assegnare `head` al primo nodo aggiunto.
```js
assert(
@ -49,7 +49,7 @@ assert(
);
```
The previous `node` in your `LinkedList` class should have reference to the newest node created.
Il `node` precedente nella tua classe `LinkedList` dovrebbe avere riferimento al nodo più recente creato.
```js
assert(
@ -62,7 +62,7 @@ assert(
);
```
The `size` of your `LinkedList` class should equal the amount of nodes in the linked list.
La dimensione (`size`) della tua classe `LinkedList` dovrebbe essere uguale alla quantità di nodi nella lista collegata.
```js
assert(

View File

@ -1,6 +1,6 @@
---
id: 5900f36f1000cf542c50fe82
title: 'Problem 3: Largest prime factor'
title: 'Problema 3: il più grande fattore primo'
challengeType: 5
forumTopicId: 301952
dashedName: problem-3-largest-prime-factor
@ -8,55 +8,55 @@ dashedName: problem-3-largest-prime-factor
# --description--
The prime factors of 13195 are 5, 7, 13 and 29.
I fattori primi di 13195 sono 5, 7, 13 e 29.
What is the largest prime factor of the given `number`?
Qual è il fattore primo più grande del `number` dato?
# --hints--
`largestPrimeFactor(2)` should return a number.
`largestPrimeFactor(2)` dovrebbe restituire un numero.
```js
assert(typeof largestPrimeFactor(2) === 'number');
```
`largestPrimeFactor(2)` should return 2.
`largestPrimeFactor(2)` dovrebbe restituire 2.
```js
assert.strictEqual(largestPrimeFactor(2), 2);
```
`largestPrimeFactor(3)` should return 3.
`largestPrimeFactor(3)` dovrebbe restituire 3.
```js
assert.strictEqual(largestPrimeFactor(3), 3);
```
`largestPrimeFactor(5)` should return 5.
`largestPrimeFactor(5)` dovrebbe restituire 5.
```js
assert.strictEqual(largestPrimeFactor(5), 5);
```
`largestPrimeFactor(7)` should return 7.
`largestPrimeFactor(7)` dovrebbe restituire 7.
```js
assert.strictEqual(largestPrimeFactor(7), 7);
```
`largestPrimeFactor(8)` should return 2.
`largestPrimeFactor(8)` dovrebbe restituire 2.
```js
assert.strictEqual(largestPrimeFactor(8), 2);
```
`largestPrimeFactor(13195)` should return 29.
`largestPrimeFactor(13195)` dovrebbe restituire 29.
```js
assert.strictEqual(largestPrimeFactor(13195), 29);
```
`largestPrimeFactor(600851475143)` should return 6857.
`largestPrimeFactor(600851475143)` dovrebbe restituire 6857.
```js
assert.strictEqual(largestPrimeFactor(600851475143), 6857);

View File

@ -1,6 +1,6 @@
---
id: 5900f3701000cf542c50fe83
title: 'Problem 4: Largest palindrome product'
title: 'Problema 4: Prodotto palindromo più grande'
challengeType: 5
forumTopicId: 302065
dashedName: problem-4-largest-palindrome-product
@ -8,25 +8,25 @@ dashedName: problem-4-largest-palindrome-product
# --description--
A palindromic number reads the same both ways. The largest palindrome made from the product of two 2-digit numbers is 9009 = 91 × 99.
Un numero palindromico rimane lo stesso se viene letto in entrambi i sensi. Il palindromo più grande ottenuto dal prodotto con due numeri a due cifre è 9009 = 91 × 99.
Find the largest palindrome made from the product of two `n`-digit numbers.
Trova il più grande palindromo formato dal prodotto di due numeri con `n` cifre.
# --hints--
`largestPalindromeProduct(2)` should return a number.
`largestPalindromeProduct(2)` dovrebbe restituire un numero.
```js
assert(typeof largestPalindromeProduct(2) === 'number');
```
`largestPalindromeProduct(2)` should return 9009.
`largestPalindromeProduct(2)` dovrebbe restituire 9009.
```js
assert.strictEqual(largestPalindromeProduct(2), 9009);
```
`largestPalindromeProduct(3)` should return 906609.
`largestPalindromeProduct(3)` dovrebbe restituire 906609.
```js
assert.strictEqual(largestPalindromeProduct(3), 906609);

View File

@ -1,6 +1,6 @@
---
id: 5a23c84252665b21eecc7e03
title: Cumulative standard deviation
title: Deviazione cumulativa standard
challengeType: 5
forumTopicId: 302240
dashedName: cumulative-standard-deviation
@ -8,41 +8,41 @@ dashedName: cumulative-standard-deviation
# --description--
Write a function that takes an array of numbers as parameter and returns the [standard deviation](https://en.wikipedia.org/wiki/Standard Deviation) of the series.
Scrivi una funzione che prende un array di numeri come parametro e restituisce la [deviazione standard](https://en.wikipedia.org/wiki/Standard Deviation) della serie.
# --hints--
`standardDeviation` should be a function.
`standardDeviation` dovrebbe essere una funzione.
```js
assert(typeof standardDeviation == 'function');
```
`standardDeviation([2, 4, 4, 4, 5, 5, 7, 9])` should return a number.
`standardDeviation([2, 4, 4, 4, 5, 5, 7, 9])` dovrebbe restituire un numero.
```js
assert(typeof standardDeviation([2, 4, 4, 4, 5, 5, 7, 9]) == 'number');
```
`standardDeviation([2, 4, 4, 4, 5, 5, 7, 9])` should return `2`.
`standardDeviation([2, 4, 4, 4, 5, 5, 7, 9])` dovrebbe restituire `2`.
```js
assert.equal(standardDeviation([2, 4, 4, 4, 5, 5, 7, 9]), 2);
```
`standardDeviation([600, 470, 170, 430, 300])` should return `147.323`.
`standardDeviation([600, 470, 170, 430, 300])` dovrebbe restituire `147.323`.
```js
assert.equal(standardDeviation([600, 470, 170, 430, 300]), 147.323);
```
`standardDeviation([75, 83, 96, 100, 121, 125])` should return `18.239`.
`standardDeviation([75, 83, 96, 100, 121, 125])` dovrebbe restituire `18.239`.
```js
assert.equal(standardDeviation([75, 83, 96, 100, 121, 125]), 18.239);
```
`standardDeviation([23, 37, 45, 49, 56, 63, 63, 70, 72, 82])` should return `16.87`.
`standardDeviation([23, 37, 45, 49, 56, 63, 63, 70, 72, 82])` dovrebbe restituire `16.87`.
```js
assert.equal(
@ -51,7 +51,7 @@ assert.equal(
);
```
`standardDeviation([271, 354, 296, 301, 333, 326, 285, 298, 327, 316, 287, 314])` should return `22.631`.
`standardDeviation([271, 354, 296, 301, 333, 326, 285, 298, 327, 316, 287, 314])` dovrebbe restituire `22.631`.
```js
assert.equal(

View File

@ -1,6 +1,6 @@
---
id: 5a23c84252665b21eecc7eb0
title: I before E except after C
title: I prima di E eccetto dopo C
challengeType: 5
forumTopicId: 302288
dashedName: i-before-e-except-after-c
@ -8,9 +8,9 @@ dashedName: i-before-e-except-after-c
# --description--
The phrase ["I before E, except after C"](https://en.wikipedia.org/wiki/I before E except after C) is a widely known mnemonic which is supposed to help when spelling English words.
["I before E, except after C"](https://en.wikipedia.org/wiki/I before E except after C) è una frase mnemonica che dovrebbe aiutare con la scrittura delle parole inglesi.
Using the words provided, check if the two sub-clauses of the phrase are plausible individually:
Utilizzando le parole fornite, verificare se le due sotto-clausole della frase sono plausibili singolarmente:
<ol>
<li>
@ -21,57 +21,57 @@ Using the words provided, check if the two sub-clauses of the phrase are plausib
</li>
</ol>
If both sub-phrases are plausible then the original phrase can be said to be plausible.
Se entrambe le sotto-frasi sono plausibili allora la frase originale è plausibile.
# --instructions--
Write a function that accepts a word and check if the word follows this rule. The function should return true if the word follows the rule and false if it does not.
Scrivi una funzione che accetta una parola e controlla se essa segue questa regola. La funzione dovrebbe rispondere true se la parole segue la regola altrimenti dovrebbe rispondere false.
# --hints--
`IBeforeExceptC` should be a function.
`IBeforeExceptC` dovrebbe essere una funzione.
```js
assert(typeof IBeforeExceptC == 'function');
```
`IBeforeExceptC("receive")` should return a boolean.
`IBeforeExceptC("receive")` dovrebbe restituire un booleano.
```js
assert(typeof IBeforeExceptC('receive') == 'boolean');
```
`IBeforeExceptC("receive")` should return `true`.
`IBeforeExceptC("receive")` dovrebbe restituire `true`.
```js
assert.equal(IBeforeExceptC('receive'), true);
```
`IBeforeExceptC("science")` should return `false`.
`IBeforeExceptC("receive")` dovrebbe restituire `false`.
```js
assert.equal(IBeforeExceptC('science'), false);
```
`IBeforeExceptC("imperceivable")` should return `true`.
`IBeforeExceptC("imperceivable")` dovrebbe restituire `true`.
```js
assert.equal(IBeforeExceptC('imperceivable'), true);
```
`IBeforeExceptC("inconceivable")` should return `true`.
`IBeforeExceptC("inconceivable")` dovrebbe restituire `true`.
```js
assert.equal(IBeforeExceptC('inconceivable'), true);
```
`IBeforeExceptC("insufficient")` should return `false`.
`IBeforeExceptC("insufficient")` dovrebbe restituire `false`.
```js
assert.equal(IBeforeExceptC('insufficient'), false);
```
`IBeforeExceptC("omniscient")` should return `false`.
`IBeforeExceptC("omniscient")` dovrebbe restituire `false`.
```js
assert.equal(IBeforeExceptC('omniscient'), false);

View File

@ -1,6 +1,6 @@
---
id: bd7155d8c242eddfaeb5bd13
title: Build a Recipe Box
title: Costruire una scatola delle ricette
challengeType: 3
forumTopicId: 302354
dashedName: build-a-recipe-box
@ -8,27 +8,27 @@ dashedName: build-a-recipe-box
# --description--
**Objective:** Build a [CodePen.io](https://codepen.io) app that is functionally similar to this: <https://codepen.io/freeCodeCamp/full/dNVazZ/>.
**Obiettivo:** Costruisci un'app [CodePen.io](https://codepen.io) funzionalmente simile a questa: [https://codepen.io/freeCodeCamp/full/dNVazZ](https://codepen.io/freeCodeCamp/full/dNVazZ/).
Fulfill the below [user stories](https://en.wikipedia.org/wiki/User_story). Use whichever libraries or APIs you need. Give it your own personal style.
Soddisfa le seguenti [user story](https://en.wikipedia.org/wiki/User_story). Utilizza le librerie o le API di cui hai bisogno. Usa il tuo stile personale.
**User Story:** I can create recipes that have names and ingredients.
**User Story:** Posso creare ricette che hanno nomi e ingredienti.
**User Story:** I can see an index view where the names of all the recipes are visible.
**User Story:** Posso vedere un indice in cui i nomi delle ricette sono visibili.
**User Story:** I can click into any of those recipes to view it.
**User Story:** Posso cliccare su una qualunque di queste ricette per vederla.
**User Story:** I can edit these recipes.
**User Story:** Posso modificare queste ricette.
**User Story:** I can delete these recipes.
**User Story:** Posso eliminare queste ricette.
**User Story:** All new recipes I add are saved in my browser's local storage. If I refresh the page, these recipes will still be there.
**User Story:** Tutte le nuove ricette che aggiungo sono salvate nel local storage del browser. Se ricarico la pagina, queste ricette saranno ancora là.
**Hint:** You should prefix your local storage keys on CodePen, i.e. `_username_recipes`
**Suggerimento:** Dovresti dare un prefisso alle chiavi del local storage su CodePen, per esempio `_username_recipes`
When you are finished, include a link to your project on CodePen and click the "I've completed this challenge" button.
Quando hai finito, includi un link al tuo progetto su CodePen e clicca sul pulsante "Ho completato questa sfida".
You can get feedback on your project by sharing it on the [freeCodeCamp forum](https://forum.freecodecamp.org/c/project-feedback/409).
Puoi ottenere un feedback sul tuo progetto condividendolo sul forum [freeCodeCamp](https://forum.freecodecamp.org/c/project-feedback/409).
# --solutions--

View File

@ -1,6 +1,6 @@
---
id: bd7158d8c443eddfaeb5bd0e
title: Chart the Stock Market
title: Grafico della Borsa
challengeType: 4
forumTopicId: 302363
dashedName: chart-the-stock-market
@ -8,19 +8,19 @@ dashedName: chart-the-stock-market
# --description--
Build a full stack JavaScript app that is functionally similar to this: <https://chart-the-stock-market.freecodecamp.rocks/>. Use a site builder of your choice to complete the project.
Costruisci un'app JavaScript full-stack che sia funzionalmente simile a questa: <https://chart-the-stock-market.freecodecamp.rocks/>. Usa un costruttore di siti di tua scelta per completare il progetto.
Here are the specific user stories you should implement for this project:
Ecco le specifiche user story da implementare per questo progetto:
**User Story:** You can view a graph displaying the recent trend lines for each added stock.
**User Story:** Puoi vedere un grafico che mostra le recenti linee di tendenza per ogni titolo aggiunto.
**User Story:** You can add new stocks by their symbol name.
**User Story:** Puoi aggiungere nuovi titoli dal loro nome breve.
**User Story:** You can remove stocks.
**User Story:** Puoi rimuovere titoli.
**User Story:** You can see changes in real-time when any other user adds or removes a stock. For this you will need to use Web Sockets.
**User Story:** Puoi vedere cambiamenti in tempo reale quando altri utenti aggiungono o rimuovono titoli. Per questo dovrai usare Web Socket.
When you are done, make sure a working demo of your project is hosted somewhere public. Then submit the URL to it in the `Solution Link` field. Optionally, also submit a link to your project's source code in the `GitHub Link` field.
Quando hai finito, assicurati che una demo funzionante del tuo progetto sia ospitata in qualche percorso pubblico. Quindi invia l'URL nel campo `Solution Link`. Facoltativamente, invia anche un link al codice sorgente del tuo progetto nel campo `GitHub Link`.
# --solutions--

View File

@ -1,6 +1,6 @@
---
id: bd7158d8c442eddfaeb5bd1f
title: Use the Twitch JSON API
title: Usa l'API JSON di Twitch
challengeType: 3
forumTopicId: 19541
dashedName: use-the-twitch-json-api
@ -8,25 +8,25 @@ dashedName: use-the-twitch-json-api
# --description--
**Objective:** Build a [CodePen.io](https://codepen.io) app that is functionally similar to this: <https://codepen.io/freeCodeCamp/full/Myvqmo/>.
**Obiettivo:** Costruisci un'app [CodePen.io](https://codepen.io) funzionalmente simile a questa: [https://codepen.io/freeCodeCamp/full/Myvqmo](https://codepen.io/freeCodeCamp/full/Myvqmo/).
Fulfill the below [user stories](https://en.wikipedia.org/wiki/User_story). Use whichever libraries or APIs you need. Give it your own personal style.
Soddisfa le seguenti [user story](https://en.wikipedia.org/wiki/User_story). Utilizza le librerie o le API di cui hai bisogno. Usa il tuo stile personale.
**User Story:** I can see whether freeCodeCamp is currently streaming on Twitch.tv.
**User Story:** Posso vedere se freeCodeCamp è attualmente in diretta su Twitch.tv.
**User Story:** I can click the status output and be sent directly to the freeCodeCamp's Twitch.tv channel.
**User Story:** Posso cliccare sull'output di stato ed essere inviato direttamente al canale Twitch.tv di freeCodeCamp.
**User Story:** if a Twitch user is currently streaming, I can see additional details about what they are streaming.
**User Story:** se un utente Twitch è attualmente in streaming, posso vedere ulteriori dettagli su ciò che viene trasmesso.
**Hint:** The relevant documentation about Twitch.tv's JSON API is here: <https://dev.twitch.tv/docs/api/reference/#get-streams>.
**Hint:** La documentazione relativa all'API KSON di Twitch.tv è qui: <https://dev.twitch.tv/docs/api/reference/#get-streams>.
**Hint:** Here's an array of the Twitch.tv usernames of people who regularly stream: `["ESL_SC2", "OgamingSC2", "cretetion", "freecodecamp", "storbeck", "habathcx", "RobotCaleb", "noobs2ninjas"]`
**Hint:** Ecco un array di nomi utente Twitch.tv di persone che fanno streaming regolarmente: `["ESL_SC2", "OgamingSC2", "cretetion", "freecodecamp", "storbeck", "habathcx", "RobotCaleb", "noobs2ninjas"]`
**UPDATE:** Due to a change in conditions on API usage, Twitch.tv requires an API key, but we've built a workaround. Use <https://twitch-proxy.freecodecamp.rocks/> instead of Twitch's API base URL (i.e. `https://api.twitch.tv/helix` ) and you'll still be able to get account information, without needing to sign up for an API key.
**AGGIORNAMENTO:** A causa di un cambiamento nelle condizioni di utilizzo della API, Twitch.tv richiede una chiave API, ma abbiamo costruito un'alternativa. Usa <https://twitch-proxy.freecodecamp.rocks/> invece dell'url base della API di Twitch (i.e. `https://api.twitch.tv/helix` ) e sarai in grado di avere le informazioni degli account senza doverti iscrivere per una API key.
When you are finished, include a link to your project on CodePen and click the "I've completed this challenge" button.
Quando hai finito, includi un link al tuo progetto su CodePen e clicca sul pulsante "Ho completato questa sfida".
You can get feedback on your project by sharing it on the [freeCodeCamp forum](https://forum.freecodecamp.org/c/project-feedback/409).
Puoi ottenere un feedback sul tuo progetto condividendolo sul forum [freeCodeCamp](https://forum.freecodecamp.org/c/project-feedback/409).
# --solutions--