PHP: validazione lato server

Quiz
•
Computers
•
9th - 12th Grade
•
Medium
Marco Buccione
Used 3+ times
FREE Resource
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
La validazione lato server avviene dopo quella lato client?
Sì
No
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
La funzione empty($nome) è vera se la variabile $nome...
...non è definita
...non è definita oppure è vuota
...vale 0
...è vuota
3.
DRAG AND DROP QUESTION
1 min • 1 pt
Componi il comando PHP che verifica se un testo è lungo almeno 10 caratteri:
if( (a) ( (b) ) (c) (d) ) {
// Qui facciamo qualcosa...
}
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In PHP, due date si possono confrontare?
Non si possono confrontare
Sì, come se fossero testi
Sì, come se fossero numeri
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
La funzione che verifica se una variabile è un numero si chiama:
is_numeric()
is_number()
is_decimal()
int()
6.
DRAG AND DROP QUESTION
1 min • 2 pts
Componi il comando PHP che verifica se $peso contiene un valore valido:
if( ! (a) ($peso) || (b) (c) 0) {
// Qui va il messaggio di errore
}
7.
FILL IN THE BLANK QUESTION
2 mins • 2 pts
Completa il seguente comando, che deve verificare se $altezza, obbligatoria, è un numero ed è maggiore di 0:
if( ___ ) {
// Messaggio di errore
}
8.
MATCH QUESTION
1 min • 1 pt
is_numeric()
OR logico (combina due condizioni)
strlen()
Confronta due date
empty()
La variabile esiste e non è vuota
||
Lunghezza del testo
>
La variabile è un numero
Similar Resources on Wayground
10 questions
IT Quiz, n° 1

Quiz
•
9th Grade
10 questions
Le basi C++

Quiz
•
11th Grade
10 questions
Questionario diagnostico – Sicurezza digitale e truffe online (Social Engineering)

Quiz
•
12th Grade - University
12 questions
Test su Google Moduli

Quiz
•
2nd Grade - University
7 questions
Crittografia: il cifrario di Cesare

Quiz
•
9th - 12th Grade
8 questions
DIFFERENZE TRA IL LINGUAGGIO C E IL LINGUAGGIO C++

Quiz
•
12th Grade
10 questions
Ripasso su PowerPoint (1)

Quiz
•
9th - 12th Grade
10 questions
Flowgorithm

Quiz
•
12th Grade
Popular Resources on Wayground
10 questions
SR&R 2025-2026 Practice Quiz

Quiz
•
6th - 8th Grade
30 questions
Review of Grade Level Rules WJH

Quiz
•
6th - 8th Grade
6 questions
PRIDE in the Hallways and Bathrooms

Lesson
•
12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
15 questions
Subtracting Integers

Quiz
•
7th Grade