PHP & MySQL - 09 - Petlje

Quiz
•
Computers
•
11th Grade
•
Easy
Mirko Martinović
Used 10+ times
FREE Resource
14 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Koja se nardba koristila za ispis u ovom videu?
Echo
Cout
Output
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Koja od naredba je točno napisana?
for(i = 0 ; i < 5; i++){ }
for($i = 0 ; $i < 5; $i++){ }
for($ = 0 ; $ < 5; $++){ }
for($i = 0 ; $i < 5; $i+){ }
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Koliko se dijelova koda nalazi u for petlji ( u dijelu koji se nalazi u zagradi nakon ključne riječi for )?
1
2
3
4
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kako pravilno kreiramo $blogs polje?
$blogs = [blog1, blog2, blog3];
$blog = [blog1, blog2, blog3];
$blogs = [blog1, blog2, blog3]
$blogs = [blog1; blog2; blog3];
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Koju naredbu koristimo, ako ne znamo koja je veličina polja, a želimo proći kroz sve elemente polja?
While
Do while
For
Foreach
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Sto ce program ispisati
$ninjas = [‘shaun’, ’ryu’, ‘yoshi’];
for($i = 0 ; $i < count
($ninjas); $i++){
echo $ninjas[$i];
}
shaun ryu yoshi
shaunryuyoshi
shaun
shaun
ryu
yoshi
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kojom naredbom ćemo prebrojati koliko zapisa imamo u našem polju?
total
number
count
total
Create a free account and access millions of resources
Similar Resources on Wayground
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Appointment Passes Review

Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
Grammar Review

Quiz
•
6th - 9th Grade