update quizzes
This commit is contained in:
@ -10,7 +10,7 @@ Answers will vary. In general, for loop refers to the code that repeats for a fi
|
||||
|
||||
## 2. Consider the following code
|
||||
|
||||
```
|
||||
```blocks
|
||||
for (let i = 0; i < 5; i++) {
|
||||
for (let j = 0; j < 5; j++) {
|
||||
led.plot(i, j)
|
||||
@ -30,7 +30,7 @@ This code turns on specific LED. Plot turns on the specified LED on the LED scre
|
||||
|
||||
## 3. Consider the following code
|
||||
|
||||
```
|
||||
```blocks
|
||||
for (let i1 = 0; i1 < 3; i1++) {
|
||||
for (let j1 = 0; j1 < 3; j1++) {
|
||||
led.plot(i1, j1)
|
||||
@ -50,7 +50,7 @@ This code turns on specific LED. Plot turns on the specified LED on the LED scre
|
||||
|
||||
## 4. Consider the following code
|
||||
|
||||
```
|
||||
```blocks
|
||||
for (let i2 = 0; i2 < 2; i2++) {
|
||||
for (let j2 = 0; j2 < 2; j2++) {
|
||||
led.plot(i2, j2)
|
||||
|
Reference in New Issue
Block a user