Microsoft Introduction to Programming Using Block-Based Languages (Touch Develop) - 98-380 Exam Practice Test
Humberto wants to create a Touch Develop game that he can play with his friends competing for the highest score. Because Humberto's friends live out of state, he needs to create a game that can be played on different devices with each player's score being saved and compared to the other friend's scores. He needs help determining the right type of variable to store the highest player's score for use in his game.
You need to give Humberto advice on the correct type of variable he needs to create for his game.
Which variable type should you recommend?
You need to give Humberto advice on the correct type of variable he needs to create for his game.
Which variable type should you recommend?
Correct Answer: A
Explanation: Only visible for ExamsLabs members. You can sign-up / login (it's free).
DRAG DROP
Adventure Works is writing an application in TouchDevelop using a sprite named football3.
You set the following variables to determine the dimensions of the board:

When the user clicks the football, it must move to a random location and bounce repeatedly off the bottom of the game board.
You need to write the code to move and bounce the football.
How should you complete the code? To answer, drag the appropriate code segments to the correct location. Each segment may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.
NOTE: More than one answer choice combinations is correct. You will receive credit for any of the correct combinations you select.
NOTE: Each correct selection is worth one point.

Adventure Works is writing an application in TouchDevelop using a sprite named football3.
You set the following variables to determine the dimensions of the board:

When the user clicks the football, it must move to a random location and bounce repeatedly off the bottom of the game board.
You need to write the code to move and bounce the football.
How should you complete the code? To answer, drag the appropriate code segments to the correct location. Each segment may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.
NOTE: More than one answer choice combinations is correct. You will receive credit for any of the correct combinations you select.
NOTE: Each correct selection is worth one point.

Correct Answer:

DRAG DROP
You are writing code to draw the following illustration by using the Turtle object.

The Turtle starts in the center of the screen. You declare a variable named Steps and initialize it to 1.
Which four pseudocode segments should you use to develop the solution? To answer, move the appropriate code segments from the list of code segments to the answer area and arrange them in the correct order.
NOTE: More than one order of answer choices is correct. You will receive credit for any of the correct orders you select.

You are writing code to draw the following illustration by using the Turtle object.

The Turtle starts in the center of the screen. You declare a variable named Steps and initialize it to 1.
Which four pseudocode segments should you use to develop the solution? To answer, move the appropriate code segments from the list of code segments to the answer area and arrange them in the correct order.
NOTE: More than one order of answer choices is correct. You will receive credit for any of the correct orders you select.

Correct Answer:

HOTSPOT
You write the following code.

What can you tell about the variable pic? To answer, select the appropriate options in the answer area.

You write the following code.

What can you tell about the variable pic? To answer, select the appropriate options in the answer area.

Correct Answer:

DRAG DROP
You are writing code for a game that uses a random number function to determine actions within the game. The actions are described in the following table.

You need to implement the code.
Which four code segments should you use to develop the solution? To answer, move the appropriate code segments from the list of code segments to the answer area and arrange them in the correct order.

You are writing code for a game that uses a random number function to determine actions within the game. The actions are described in the following table.

You need to implement the code.
Which four code segments should you use to develop the solution? To answer, move the appropriate code segments from the list of code segments to the answer area and arrange them in the correct order.

Correct Answer:

Explanation:

References: https://www.touchdevelop.com/docs/if
HOTSPOT
You are a tutor at a company college. You write the following function to provide overall feedback based on the mark of each assignment:

You need to evaluate the code.
For each of the following statements, select Yes if the statement is true. Otherwise, select
No.
NOTE: Each correct selection is worth one point.

You are a tutor at a company college. You write the following function to provide overall feedback based on the mark of each assignment:

You need to evaluate the code.
For each of the following statements, select Yes if the statement is true. Otherwise, select
No.
NOTE: Each correct selection is worth one point.

Correct Answer:

HOTSPOT
You are creating an app for teenage drivers that will include games and a chat window.
You need to determine if Internet-based cloud computing is appropriate for the development of the app.
For each of the following statements, select Yes if the statement is true. Otherwise, select
No.

You are creating an app for teenage drivers that will include games and a chat window.
You need to determine if Internet-based cloud computing is appropriate for the development of the app.
For each of the following statements, select Yes if the statement is true. Otherwise, select
No.

Correct Answer:

You create a function by using Touch Develop. When you test the function, the following error occurs.

What should you do to correct the error?


What should you do to correct the error?

Correct Answer: D