Search Header Logo

JS Basics

Authored by Gergely Laborci

Computers

1st - 5th Grade

Used 8+ times

JS Basics
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

11 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Melyik sor ír a konzolra üzenetet?

printf("message")

console.log("message")

log("message")

console.write("message")

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Melyik JS adattípus?

number

int

char

float

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Hogy kell betölteni külső JS forrásfájlt?

loadScript("myfile.js")

<script src="myfile.js"></script>

<script>myfile.js</script>

script.load("myfile.js")

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Hogy kell string változót létrehozni JS-ben?

var name = "John Lennon";

string name = "John Lennon";

char[] = "John Lennon";

name:string = "John Lennon";

5.

FILL IN THE BLANK QUESTION

1 min • 1 pt

console.log(12 + 3 + "1" + 10)

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Hogy tudjuk meg egy tömb hosszát?

count(myArray)

array.length(myArray)

lengthOf(myArray)

lengthOf myArray

myArray.length

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Mi a "nem szám" JavaScriptben?

NaN

!number

not(number)

:not(number)

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

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?