Search Header Logo

JavaScript viktorīna

Authored by Jekaterina Bogomola

Computers

9th Grade

Used 5+ times

JavaScript viktorīna
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cik reizes programmas izpildes laikā tiks izpildīta funkcija setup()?

0

1

64 reizes sekundē

funkcija tiek izpildīta nepārtraukti visu laiku

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Kādu darbību veiks funkcija createCanvas (200, 300)?

Definēs laukumu, kur rakstīt kodu

Mainīs fona krāsu

Uzzīmēs apli

Definēs laukumu programmas darbības rezultātam

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Kādas ir pelēkā kvadrāta x un y koordinātas?

50,50

300,100

200,100

250,200

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Kādu funkciju izmantot, lai uzzīmētu apli diametrā 50px?

ellipse (75, 75, 50, 50);

ellipse (50, 50, 75, 75);

ellipse (50, 50, 50, 75);

rect (50, 50, 50, 50);

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Kādu darbību veiks funkcija fill()?

piešķirs figūrai krāsu

mainīs fona krāsu

mainīs krāsas spilgtumu

iestatīs figūras izmēru

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Kā JavaScript atzīmē komentāru?

#

<!--

?

//

7.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Kā deklarē/definē mainīgos JavaScript?

let

var

x

const

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?