Quiz
Javascript quiz
This quiz has question types that open in the usual player.
Questions in this quiz (5)
1What color will the background be in the code below?

- Ared
- Byellow
- Cpurple
2What color will the rectangle be in the code below?

- Ared
- Byellow
- Cpurple
3for([blank_start]let i = 0;[blank_end] [blank_start]i < 10;[blank_end] [blank_start]i++[blank_end]) [blank_start]{[blank_end]
console.log(i);
[blank_start]}[blank_end]- Alet i = 0;
- Bi < 10;
- Ci++
- D}
- E{
4Finish the if statement in the code so that when the x position is greater than the width of the canvas, it goes back to 0.

- Athis.x > width
- Bx > width
- Cthis.x < width
- Dx++
- Ethis.x = 0;
- Fthis.x > 0;
5Label the for loop so that it would look like the image when run.

- Alet i = 0
- Blength
- Ci++
- D{
- EcolorChoices[i]
- F}
Information
- Description
- 7th grade Learning Technology Quiz on Javascript quiz, created by Jess Peters on 21/11/2022.
- Author
- Jess Peters
- Language
- English
- Views
- 49
- History
- Created on 21 Nov 2022 · updated on 21 Nov 2022
- Tags
- Rating
- No ratings yet Rate this quiz