
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
Tecnologia Potenziata
Quiz
•
1st - 10th Grade
10 questions
Math
Quiz
•
8th - 12th Grade
10 questions
Flowgorithm
Quiz
•
12th Grade
10 questions
CURSO BASICO SIART
Quiz
•
12th Grade
13 questions
Ruleta de Computacíon
Quiz
•
10th - 12th Grade
12 questions
Test su Google Moduli
Quiz
•
2nd Grade - University
10 questions
Attacchi informatici
Quiz
•
9th - 12th Grade
10 questions
Cos’è la ROM?
Quiz
•
6th - 12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade