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
Jaa
Jaa
Jaa
tekijä
Mightymrhansen
G8
CS
Muokkaa sisältöä
Tulosta
Upota
Lisää
Tehtäviä
Tulostaulu
Näytä enemmän
Näytä vähemmän
Tämä tulostaulu on tällä hetkellä yksityinen. Jos haluat tehdä siitä julkisen, valitse
Jaa
.
Tehtävän omistaja on poistanut tämän tulostaulun käytöstä.
Tämä tulostaulu on poistettu käytöstä, koska vaihtoehdot eroavat tehtävän omistajan vaihtoehtoista.
Palauta Optiot
Sokkelojahti
on avoin malli. Se ei luo tulostaululle pisteitä.
SIsäänkirjautuminen vaaditaan
Visuaalinen tyyli
Fontit
Tilaus vaaditaan
Vaihtoehdot
Tekoälyn parannettu: Tämä toiminta sisältää tekoälyn tuottamaa sisältöä.
Opi lisää.
Vaihda mallia
Näytä kaikki
Saat lisää muotoiluasetuksia pelin aikana.
Avoimet tulokset
Kopioi linkki
QR-koodi
Poista
Säilytetäänkö automaattisesti tallennettu tehtävä
?