Search Header Logo

Javascript teszt

Authored by Erika S.

Computers, Education

1st - 3rd Grade

Used 17+ times

Javascript teszt
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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 BLANKS QUESTION

20 sec • 1 pt

A string hosszát a (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;

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?