Title: Pass Introduction to Programming with Block-Based Languages 98-380 Exam with Guarantee
1IT Certification leaders in simulated test
engines guides
Frav
o
Get Certified Secure your Future
Introduction to Programming with Block-Based
Languages Exam 98-380 Demo Edition
2- QUESTION 1
- You create a collection named players in
TouchDevelop. You add four names to the
collection. You need to display each of the names
on the wall. - Which two lines of code should you use? (Choose
two.) - show s
- display s
- For var s in players 1 to 4
- While var s in players
- For each var s in players
- Answer A, E
- QUESTION 2 DRAG DROP
- You are preparing to teach a class on using
loops. You write the following pseudocode
You need to test the pseudocode using different
values. Match the final values of the variable
result to the corresponding initial values of
variables a and b. To answer, drag the
appropriate result value from the column on the
left to the initial values on the right. Each
value may be used once, more than once, or not
at all. NOTE Each correct match is worth one
point.
Answer Exhibit
3QUESTION 3 HOTSPOT You write the following code.
What can you tell about the variable pic? To
answer, select the appropriate options in the
answer area.
Answer Exhibit
4QUESTION 4 HOTSPOT You are creating an app for
Alpine Ski House. Players will move a skier
between pairs of flags as the skier moves down
the slope. The number of flag pairs that a user
must successfully pass is three times the
players level. Flag1 is displayed on the left
and Flag2 is displayed on the right, as shown in
the exhibit. (Click the Exhibit tab.) When the
skier outside the flags, the skier will crash
into an obstacle and the following actions will
occur . The player will lose one life. . An
animation will play . A sound will play. The
player starts the game with 10 lives. If the
player's life becomes 0 before the skier reaches
the bottom, the skier crashes and the game ends.
If the skier reaches the bottom the player gains
one level. You need to design the
algorithm. Which pseudocode should you use? To
answer, select the appropriate pseudocode
segments in the answer area. NOTE Each correct
selection is worth one point.
Answer Exhibit
5QUESTION 5 DRAG DROP You are creating a drawing
app that uses the Touch Develop turtle object.
You have written the code to draw a blue square
and change the pen color to red. The turtle is
positioned at the top left corner of the square,
facing north. You need to draw the red lines
shown in the following graphic.
Which four code segments should you use? To
answer, move the appropriate code segments from
the list of code segments to the answer area and
arrange them in the correct order.
6Answer Exhibit
7(No Transcript)