
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?
Similar Resources on Wayground
15 questions
Cognotécnicas
Quiz
•
University - Professi...
11 questions
Labview I
Quiz
•
1st Grade - Professio...
14 questions
INTRODUCCION A LAS COMUNICACIONES
Quiz
•
Professional Development
10 questions
Tema 01: Introducción a la enseñanza con dispositivos móviles
Quiz
•
8th Grade - Professio...
10 questions
logica de programação
Quiz
•
Professional Development
10 questions
WEB 2.0
Quiz
•
Professional Development
10 questions
Resistencias
Quiz
•
Professional Development
10 questions
Introducción Google Docs
Quiz
•
KG - Professional Dev...
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
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
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Instructional Technology
10 questions
How to Email your Teacher
Quiz
•
Professional Development
6 questions
3RD GRADE DECLARATION OF INDEPENDENCE EXIT TICKET
Quiz
•
Professional Development
19 questions
Black History Month Trivia
Quiz
•
6th Grade - Professio...
22 questions
Multiplying Exponents with the Same Base
Quiz
•
9th Grade - Professio...
40 questions
Flags of the World
Quiz
•
KG - Professional Dev...