
Test di JavaScript per studenti

Quiz
•
Computers
•
2nd Grade
•
Medium
Fabio Vassallo
Used 1+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Che cos'è una variabile in JavaScript?
Una variabile in JavaScript è un metodo per eseguire funzioni.
Una variabile in JavaScript è un contenitore per memorizzare dati.
Una variabile in JavaScript è un'istruzione di controllo.
Una variabile in JavaScript è un tipo di dato.
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Come si dichiara una variabile in JavaScript?
let x = 5;
var x = 5;
const x = 5;
x := 5;
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Qual è la differenza tra var, let e const?
let is function scoped, var cannot be updated, const is global scoped.
var and let are both block scoped, const is function scoped.
var is block scoped, let is global scoped, const can be updated.
var is function/global scoped, let is block scoped and can be updated, const is block scoped and cannot be updated.
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Come si crea una funzione in JavaScript?
function:myFunction(param1, param2) { // function body }
function myFunction(param1, param2) // function body
function myFunction(param1, param2) { // function body } or const myFunction = (param1, param2) => { // function body }
const myFunction = param1, param2 => { // function body }
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Qual è la sintassi per chiamare una funzione?
nomeFunzione[argomento1,argomento2]
argomento1.nomeFunzione(argomento2)
nomeFunzione(argomento1, argomento2, ...)
nomeFunzione{argomento1,argomento2}
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Cosa sono i parametri di una funzione?
I parametri di una funzione sono variabili che consentono di passare dati alla funzione.
I parametri di una funzione sono le istruzioni scritte all'interno della funzione.
I parametri di una funzione sono sempre numeri interi.
I parametri di una funzione sono i risultati restituiti dalla funzione.
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Come si utilizza un'istruzione if in JavaScript?
if { // codice da eseguire } (condizione)
Utilizzare un'istruzione if in JavaScript: if (condizione) { // codice da eseguire }
if (condizione) // codice da eseguire
if (condizione) { codice da eseguire } else
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Cittadinanza digitale

Quiz
•
2nd Grade
15 questions
Computer Coding Quiz

Quiz
•
2nd - 8th Grade
15 questions
AV1\R1 3TEC_BE_Acesso a Propriedades em JavaScript 1 a 16

Quiz
•
1st Grade - University
15 questions
Roblox Studio concept review

Quiz
•
1st - 12th Grade
20 questions
REST API i nie tylko

Quiz
•
1st - 3rd Grade
20 questions
Quiz su Internet, Indirizzi IP e DNS

Quiz
•
2nd Grade - University
19 questions
Info Quarta

Quiz
•
2nd Grade
16 questions
Informazioni e dati

Quiz
•
2nd Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade