Skip to content

Commit

Permalink
CSP-U1L5 Self-checks
Browse files Browse the repository at this point in the history
  • Loading branch information
jkangEDC committed Dec 16, 2024
1 parent de77b56 commit 6f4cc16
Show file tree
Hide file tree
Showing 4 changed files with 89 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,12 @@ <h2>Seguir a otro objeto</h2>
</ol>
</div>

<div class="forYouToDo">
<ol start="9">
<li>(Autoevaluación en español próximamente.)</li>
<li>(Autoevaluación en español próximamente.)</li>
</ol>
</div>

</body>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,89 @@ <h2>Sprite Following a Sprite</h2>
</li>
</ol>
</div>

<div class="forYouToDo">
<ol start="9">
<li>
<!-- Question 1 -->
<div class="assessment-data" type="multiplechoice" identifier="When the code below is executed, which correctly describes how many times the sprite moves 10 steps and why?"
hasinlinefeedback="true" maxchoices="1" responseIdentifier="ri1" shuffle="false">
<div class="prompt">
<div class="ap-standard">AAP-2.K.4</div>
When the code below is executed, which correctly describes how many times the sprite moves 10 steps and why?<br />
<img class="indent" src="/bjc-r/img/1-introduction/1-5-2-less-than.png" alt="point in direction (90); go to x:(0) y:(0); repeat until ((x position)<(0)) {move (10) steps}" title="point in direction (90); go to x:(0) y:(0); repeat until ((x position)<(0)) {move (10) steps}" />
</div>
<div class="choice" identifier="c1">
<div class="text">0 times</div>
<div class="feedback">
The sprite moves because the starting x position is not less than zero.
</div>
</div>
<div class="choice" identifier="c2">
<div class="text">1 time</div>
<div class="feedback">
The sprite moves more than once because the x position will always be greater than zero.
</div>
</div>
<div class="choice" identifier="c3">
<div class="text">10 times</div>
<div class="feedback">
The sprite moves more than ten times because the x position will always be greater than zero.
</div>
</div>
<div class="choice" identifier="c4">
<div class="text">Forever</div>
<div class="feedback">
Correct! The x-position will never be less than zero, so the sprite will continue to move in 10 step increments.
</div>
</div>
<div class="responseDeclaration" identifier="ri1">
<div class="correctResponse" identifier="c4"></div>
</div>
</div>

</li>
<li>
<!-- Question 2 -->
<div class="assessment-data" type="multiplechoice" identifier="When the code below is executed, many times does the sprite move 10 steps?"
hasinlinefeedback="true" maxchoices="1" responseIdentifier="ri2" shuffle="false">
<div class="prompt">
<div class="ap-standard">AAP-2.K.5</div>
When the code below is executed, many times does the sprite move 10 steps?<br />
<img class="indent" src="/bjc-r/img/1-introduction/1-5-2-greater-than.png" alt="point in direction (90); go to x:(100) y:(0); repeat until ((x position)>(0)) {move (10) steps}" title="point in direction (90); go to x:(100) y:(0); repeat until ((x position)>(0)) {move (10) steps}" />
</div>
<div class="choice" identifier="c1">
<div class="text">0 times</div>
<div class="feedback">
Correct! The sprite starts at an x-position greater than zero, so the sprite won’t move at all.
</div>
</div>
<div class="choice" identifier="c2">
<div class="text">1 time</div>
<div class="feedback">
The sprite does not move because it starts at an x-position greater than zero.
</div>
</div>
<div class="choice" identifier="c3">
<div class="text">10 times</div>
<div class="feedback">
The sprite does not move because it starts at an x-position greater than zero.
</div>
</div>
<div class="choice" identifier="c4">
<div class="text">Forever</div>
<div class="feedback">
The sprite does not move because it starts at an x-position greater than zero.
</div>
</div>
<div class="responseDeclaration" identifier="ri2">
<div class="correctResponse" identifier="c1"></div>
</div>
</div>

</li>
</ol>
</div>


</body>
Expand Down
Binary file added img/1-introduction/1-5-2-greater-than.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/1-introduction/1-5-2-less-than.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 6f4cc16

Please sign in to comment.