Funzioni in PHP

Funzioni in PHP

12th Grade

10 Qs

quiz-placeholder

Similar activities

Impianto del gas DEF

Impianto del gas DEF

2nd Grade - University

15 Qs

Energia ? Bella fratè!

Energia ? Bella fratè!

9th - 12th Grade

15 Qs

Quiz Versión 2 sobre Desarrollo de Aplicaciones Móviles

Quiz Versión 2 sobre Desarrollo de Aplicaciones Móviles

12th Grade

15 Qs

Diseño web - Proyecto php B

Diseño web - Proyecto php B

12th Grade

10 Qs

VETRO-PLASTICA-CERAMICA-TESSUTI

VETRO-PLASTICA-CERAMICA-TESSUTI

10th - 12th Grade

15 Qs

Quiz Lab 2 - LLM

Quiz Lab 2 - LLM

12th Grade

13 Qs

PCB 101

PCB 101

9th - 12th Grade

15 Qs

Pneumàtica

Pneumàtica

12th Grade

11 Qs

Funzioni in PHP

Funzioni in PHP

Assessment

Quiz

Instructional Technology

12th Grade

Hard

Created by

Leonardo Mizzi

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Come si definisce una funzione in PHP?
function nomeFunzione() {}
def nomeFunzione():
void nomeFunzione() {}
create nomeFunzione() {}

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Quale keyword viene utilizzata per ritornare un valore da una funzione in PHP?
give
send
return
output

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cosa significa quando una funzione è 'void' in PHP?
La funzione non esiste
La funzione non accetta parametri
La funzione non ritorna alcun valore
La funzione è privata

4.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Quali dei seguenti sono modi validi per passare parametri a una funzione in PHP?
Per valore
Per riferimento
Per nome
Per copia

5.

FILL IN THE BLANK QUESTION

30 sec • 1 pt

Come si chiama la funzione che restituisce il numero di argomenti passati a una funzione in PHP?

6.

OPEN ENDED QUESTION

2 mins • 1 pt

Scrivi una semplice funzione in PHP che accetti due numeri come parametri e restituisca la loro somma.

Evaluate responses using AI:

OFF

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Cosa fa la funzione 'strlen()' in PHP?
Restituisce la lunghezza di una stringa
Converte una stringa in maiuscolo
Trova una sottostringa all'interno di una stringa
Inverte una stringa

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?