Which symbol is used to assign a value to a variable?, ==, =, +=, ===, What does a boolean value represent?, True or False, Number, Text, Array, Which keyword declares a variable?, var, let, const, All of the above, What is the purpose of an if-else statement?, Make decisions, Repeat actions, Define functions, Create loops, Which loop runs as long as the condition is true?, for loop, while loop, do-while loop, if statement, What library is used for creating sprites in p5.js?, p5.play, p5.sprites, p5.graphics, p5.objects, What property might you change to move a sprite?, x position, color, size, velocity, How do you compare two values for equality?, =, ==, ===, !=, What is a function?, A reusable block of code, A type of variable, A loop structure, A data type, Which keyword is used to define a function?, function, def, func, declare, What does the 'for' loop do?, Repeats a block, Makes decisions, Defines variables, Creates sprites, Which property defines the size of a sprite?, width, height, size, scale, What is the main use of the p5.js library?, Graphics and interaction, Data processing, Networking, Sound editing, Which of these is a data type?, Number, Boolean, String, All of the above, What does the 'else' part do in an if-else statement?, Provides an alternative, Repeats code, Defines a variable, Creates a loop, How do you start a while loop?, while (condition), do (condition), loop (condition), repeat (condition), What is a sprite?, A game object, A type of variable, A function, A loop, What is the purpose of functions?, Reuse code, Organize code, Simplify tasks, All of the above, Which of these adds one to a variable?, variable++, variable = variable + 1;, varibale += 1, All of the above, Which of these subtracts 5 to a variable?, variable -= 5;, variable += 5;, variable *= 5;, Subtract 5
0%
JavaScript Basics Quiz for 8th Grade
Jaga
Jaga
Jaga
looja
Mightymrhansen
G8
CS
Redigeeri sisu
Prindi
Manusta
Veel
Ülesandeid
Edetabel
Näita rohkem
Näita vähem
See edetabel on praegu privaatne. Selle avalikustamiseks klõpsake käsul
Jaga
.
Materjali omanik on selle edetabeli keelanud.
See edetabel on keelatud, kuna teie valikud erinevad materjali omaniku omadest.
Taasta valikud
Jälitus labürindis
on avatud mall. Sellega ei saa edetabeli punkte.
Sisselogimine on nõutud
Visuaalne stiil
Fondid
Vajalik tellimus
Valikud
AI täiustatud: See tegevus sisaldab tehisintellekti poolt genereeritud sisu.
Lisateave.
Vaheta malli
Näita kõike
Tegevust mängides kuvatakse rohkem vorminguid.
Avatud tulemused
Kopeeri link
QR-kood
Kustuta
Kas taastada automaatselt salvestatud
?