Search Header Logo

Основы JS

Authored by Никита Корнилов

Computers

5th Grade

Used 107+ times

Основы JS
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

13 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Что выведет на экран следующий код? alert(Math.floor(Math.random());

1

undefined

0

null

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Как правильно писать IF конструкцию в JavaScript?

if i == 5 then

if i = 5

if i = 5 then

if (i == 5)

3.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Какие из этих вариантов задают массив из элементов «a», «b»?

var a = new Array("a","b")

var a = [ "a", "b" ]

var a = ( "a", "b" )

var a = "a", "b"

4.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Чему равна длина arr.length массива arr?


var arr = [];

arr[1] = 1;

arr[3] = 33;

0

1

3

4

5.

FILL IN THE BLANKS QUESTION

1 min • 1 pt

После какого HTML тега нужно вставить JavaScript?

(a)  

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Как начать WHILE цикл?

while (i <= 7)

while i = 1 to 7

while (i <= 7; i++)

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Как начать FOR цикл?

for (i = 0; i <= 10; i++)

for (i = 0; i <= 10)

for (i <= 10; i++)

for i = 1 to 10

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?