Mi az eredménye az alábbi kódnak?
var x = 0;
while(x<6)
{x++; }
document.write(x);
Javascript teszt
Quiz
•
Computers, Education
•
1st - 3rd Grade
•
Medium
Erika S.
Used 16+ times
FREE Resource
38 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
1 min • 1 pt
Mi az eredménye az alábbi kódnak?
var x = 0;
while(x<6)
{x++; }
document.write(x);
0
6
4
5
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Melyik két szó hiányozhat a kipontozott részekről?
............. hello()
{
alert("Hi there");
}
...........();
hello, hello
function, hello
hello, function
function, function
3.
FILL IN THE BLANK QUESTION
20 sec • 1 pt
A string hosszát a .......... metódussal kérhetjük le.
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Mi az alábbi kód eredménye?
var i=0;
while (i<=10)
{
document.write(i + "<br />");
i++;
}
számok egy sorban 0-tól 10-ig
számok egy sorban 1-től 10-ig
számok egy oszlopban 0-tól 10-ig
számok egy oszlopban 1-től 10-ig
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Hányszor fut le egy while ciklus, ha megfeledkezünk a számláló értékének a növeléséről?
Egyszer sem
10-szer
100-szor
Végtelenszer
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Ismételjen 10-szer valamit:
repeat 10
for (var i=0; i<10; i++)
for (var i=0; i<10)
while (i = 10)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Ezek közül melyik növeli az x változó értékét?
increment (x)
x++;
x=x+;
x+1;
40 questions
Vissual Basic
Quiz
•
1st - 6th Grade
40 questions
MID Sem 5 PWPB XIIRPL
Quiz
•
2nd Grade - University
40 questions
ask PAT t1
Quiz
•
1st - 3rd Grade
40 questions
QUIZ_4
Quiz
•
1st Grade
40 questions
Lógica
Quiz
•
2nd Grade
40 questions
Linux2 - Lesson 6 (exam training)
Quiz
•
1st - 10th Grade
33 questions
ÔN TẬP HKII
Quiz
•
1st - 5th Grade
40 questions
Mese kvíz
Quiz
•
1st - 5th Grade
15 questions
Character Analysis
Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing
Quiz
•
9th - 12th Grade
10 questions
American Flag
Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension
Quiz
•
5th Grade
30 questions
Linear Inequalities
Quiz
•
9th - 12th Grade
20 questions
Types of Credit
Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25
Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers
Quiz
•
6th - 8th Grade
10 questions
American Flag
Quiz
•
1st - 2nd Grade
14 questions
IREAD-3 Practice Test
Quiz
•
3rd Grade
10 questions
Identifying equations
Quiz
•
KG - University
10 questions
Perimeter of Polygons!
Quiz
•
3rd Grade
10 questions
2nd Grade math review
Quiz
•
2nd Grade
20 questions
Math Review
Quiz
•
3rd Grade
18 questions
Traits
Quiz
•
3rd Grade
16 questions
Chapter 8 - Getting Along with your Supervisor
Quiz
•
3rd Grade - Professio...