
Основы PHP циклы,массивы,функции
Quiz
•
Design
•
5th Grade
•
Practice Problem
•
Medium
Шалтай Болтай
Used 1+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Что выведет данная программа?
<?php
$i=0;
while($i<10){$i++;}
echo $i;
?>
1
$i
0
10
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Напишите правильную структуру цикла foreach для массива $array, который бы выводил ключ и значение.
foreach($array as $key=>$value){}
foreach($array as $key){}
foreach($array as $value){}
foreach[$array as $key=>$value]{}
3.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Выберете правильную структуру цикла for
for($i=0;$i<10;$i++){}
$i=1;
for(;$i<10;){
$i++;
}
for($i=0,$j=1;$i+$j<10;$i++){}
$i=1;
$j=1;
for(;$i+$j<10;){
$i++;
}
4.
WORD CLOUD QUESTION
3 mins • Ungraded
Какой цикл я буду использовать для работы с массивом?
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Что из этого не умеет делать функция в php?
Видеть переменные за пределами функции
Принимать аргументы
Работать с массивом
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Какая будет правильная структура цикла foreach для массива $array, чтобы вывести только значения?
foreach($array as $value){}
foreach($array as $key=>$value){}
foreach($array as $key){}
foreach[$array as $value]{}
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Как мне обратиться к данным из GET формы на php?
$GET
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
10 questions
PROJEK BRIEF
Quiz
•
4th - 10th Grade
10 questions
PSV Tingkatan 1- Bahasa Seni Visual (Prinsip Seni)
Quiz
•
1st - 12th Grade
10 questions
RBT 1 AMANAH_CIKGU HALIZA
Quiz
•
1st Grade - University
15 questions
MATERIAL TESTING LABORATORY VIVA
Quiz
•
KG - Professional Dev...
15 questions
Taller Movilidad Sostenible - IES Ruradia
Quiz
•
1st - 12th Grade
13 questions
part a project
Quiz
•
5th Grade
10 questions
Crafty Crafts #2 MATERIAL
Quiz
•
KG - Professional Dev...
14 questions
Tinkercad Review
Quiz
•
5th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
Discover more resources for Design
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
20 questions
Making Inferences
Quiz
•
5th Grade
10 questions
Exploring Europe: Geography, History, and Culture
Interactive video
•
5th - 8th Grade
10 questions
Simplifying Fractions
Quiz
•
5th Grade
10 questions
Charlie Brown's Thanksgiving Adventures
Interactive video
•
2nd - 5th Grade
