
PHP - Funções Listas e Condicionais
Authored by Victor Pinheiro
Instructional Technology
Professional Development
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Qual a função responsável por somar todos os itens de um array?
array_merge()
array_sum()
sum()
sum_array()
2.
MULTIPLE CHOICE QUESTION
45 sec • 2 pts
O que irá acontecer se o código ao lado for executado?
Irá rodar normalmente e irá exibir os valores da variável $contador
Não irá rodar pois o while esta como falso
Entrará em um looping infinito pois a condição nunca será alcançada
Irá rodar porém só será exibido o número 0
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
A função EXPLODE é responsavel por transformar um ARRAY em uma STRING.
VERDADEIRO
FALSO
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Como declaramos uma constante em PHP?
define("NOME", "Joelma");
$NOME = "Joelma";
define("nome","Joelma");
define($NOME, "Joelma");
5.
MULTIPLE CHOICE QUESTION
45 sec • 2 pts
Qual tipo de array esta sendo gerada na imagem?
Array Numérico
Array Simples
Array Composto
Array Associativo
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Levando em consideração o array da imagem, o que aparecerá na tela se utilizarmos a função ARRAY_VALUES($PESSOA)?
Aparecerá:
Nome, Idade, Peso, Altura, Signo
Aparecerá o array inteiro
Aparecerá:
Joelma, 48, 63, 1.83, Virgem
Ocorrerá um erro.
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
O que esta faltando para que o código da imagem funcione corretamente?
A palavra END;
A palavra SWITCHEND;
A palavra Break;
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?