
PHP: validazione lato server
Authored by Marco Buccione
Computers
9th - 12th Grade
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
}
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
UFCD - 0797-Conhecimentos de Sistemas Operativos e Instalação
Quiz
•
9th - 12th Grade
10 questions
Tipuri de date structurate, C++
Quiz
•
11th Grade
10 questions
Quizzone Gmail
Quiz
•
9th - 12th Grade
10 questions
Coding - Struttura condizionale (2DS)
Quiz
•
11th Grade
10 questions
Smart City quiz
Quiz
•
10th - 12th Grade
12 questions
Riattivazione di python II
Quiz
•
9th - 12th Grade
10 questions
Esercizi codice di Hamming
Quiz
•
11th Grade
10 questions
Classroom
Quiz
•
10th Grade
Popular Resources on Wayground
8 questions
2 Step Word Problems
Quiz
•
KG - University
20 questions
Comparing Fractions
Quiz
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Latin Bases claus(clois,clos, clud, clus) and ped
Quiz
•
6th - 8th Grade
22 questions
fractions
Quiz
•
3rd Grade
7 questions
The Story of Books
Quiz
•
6th - 8th Grade