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
Del
Del
Del
af
Mightymrhansen
G8
CS
Rediger indhold
Trykke
Integrere
Mere
Tildelinger
Rangliste
Vis mere
Vis mindre
Denne rangliste er i øjeblikket privat. Klik på
Del
for at gøre det offentligt.
Denne rangliste er deaktiveret af ressourceejeren.
Denne rangliste er deaktiveret, da dine muligheder er forskellige fra ressourceejerens.
Indstillinger for gendannelse
Labyrint jagt
er en åben skabelon. Det genererer ikke resultater for en rangliste.
Log ind påkrævet
Visuel stil
Skrifttyper
Kræver abonnement
Indstillinger
AI-forstærket: Denne aktivitet indeholder indhold genereret af AI.
Lær mere.
Skift skabelon
Vis alle
Der vises flere formater, mens du afspiller aktiviteten.
Åbne resultater
Kopiér link
QR-kode
Slette
Gendan automatisk gemt:
?