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;
33 questions
ÔN TẬP HKII
Quiz
•
1st - 5th Grade
40 questions
Vissual Basic
Quiz
•
1st - 6th Grade
40 questions
MID Sem 5 PWPB XIIRPL
Quiz
•
2nd Grade - University
34 questions
Язык HTML (троечник)
Quiz
•
2nd Grade
43 questions
HTML y Conceptos de programación.
Quiz
•
KG - 12th Grade
35 questions
Examen Segundo Parcial Programación
Quiz
•
3rd Grade
40 questions
QUIZ_4
Quiz
•
1st Grade
40 questions
Linux2 - Lesson 6 (exam training)
Quiz
•
1st - 10th Grade
15 questions
Multiplication Facts
Quiz
•
4th Grade
25 questions
SS Combined Advisory Quiz
Quiz
•
6th - 8th Grade
40 questions
Week 4 Student In Class Practice Set
Quiz
•
9th - 12th Grade
40 questions
SOL: ILE DNA Tech, Gen, Evol 2025
Quiz
•
9th - 12th Grade
20 questions
NC Universities (R2H)
Quiz
•
9th - 12th Grade
15 questions
June Review Quiz
Quiz
•
Professional Development
20 questions
Congruent and Similar Triangles
Quiz
•
8th Grade
25 questions
Triangle Inequalities
Quiz
•
10th - 12th Grade
20 questions
Addition and Subtraction
Quiz
•
2nd Grade
7 questions
Albert Einstein
Quiz
•
3rd Grade
14 questions
The Magic School Bus: Kicks Up a Storm
Quiz
•
3rd Grade
19 questions
Antonyms and Synonyms
Quiz
•
2nd Grade
20 questions
Long and Short Vowels
Quiz
•
1st - 2nd Grade
15 questions
Addition and Subtraction Word Problems
Quiz
•
2nd Grade
20 questions
Kids Movie Trivia
Quiz
•
3rd Grade