最新的Microsoft Introduction to Programming Using Block-Based Languages (Touch Develop) - 98-380免費考試真題
HOTSPOT
You want to allow a user to choose a picture from his or her device.
Which library includes a function that will accomplish this goal? To answer, select the appropriate library in the answer area.

You want to allow a user to choose a picture from his or her device.
Which library includes a function that will accomplish this goal? To answer, select the appropriate library in the answer area.

正確答案:

Explanation:

References: https://www.touchdevelop.com/docs/how-to-search
HOTSPOT
You have a basket of eight apples.
You want to give one of the apples to your best friend Jo Berry. You decide to pick the one that weighs the most.
You need to analyze the following methods and determine whether that method can be used to consistently achieve your goal.
Method 1:
For each apple, measure its weight using a scale. Write down the weight on a sticky note.
Put the sticky note on the apple. Ensure that the same unit of measure (e.g. ounce, gram, or kilogram) is consistently used. Once all apples have been measured, find the apple with the largest number on its sticky note.
Method 2:
Divide the apples into two lots. Each lot should have four apples. Compare the weight of the two lots using a balance scale. Put the lighter lot aside. Divide the remaining apples into two lots of two apples. Compare the weight of the two lots using a balance scale. Put the lighter lot aside. Compare the weight of the two remaining apples. The heavier apple is the one that weighs the most.
Method 3:
Take two apples from the basket. Use a balance scale to compare them. Keep replacing the lighter apple on the balance scale with another apple from the basket until the basket is empty. The heavier apple remaining on the scale is the one that weighs the most.
For each of the methods, select Yes if the method can consistently achieve your goal.
Otherwise, select No.
NOTE: Each correct selection is worth one point.

You have a basket of eight apples.
You want to give one of the apples to your best friend Jo Berry. You decide to pick the one that weighs the most.
You need to analyze the following methods and determine whether that method can be used to consistently achieve your goal.
Method 1:
For each apple, measure its weight using a scale. Write down the weight on a sticky note.
Put the sticky note on the apple. Ensure that the same unit of measure (e.g. ounce, gram, or kilogram) is consistently used. Once all apples have been measured, find the apple with the largest number on its sticky note.
Method 2:
Divide the apples into two lots. Each lot should have four apples. Compare the weight of the two lots using a balance scale. Put the lighter lot aside. Divide the remaining apples into two lots of two apples. Compare the weight of the two lots using a balance scale. Put the lighter lot aside. Compare the weight of the two remaining apples. The heavier apple is the one that weighs the most.
Method 3:
Take two apples from the basket. Use a balance scale to compare them. Keep replacing the lighter apple on the balance scale with another apple from the basket until the basket is empty. The heavier apple remaining on the scale is the one that weighs the most.
For each of the methods, select Yes if the method can consistently achieve your goal.
Otherwise, select No.
NOTE: Each correct selection is worth one point.

正確答案:

HOTSPOT
You are creating an algorithm that moves a sprite from its current position to a new position represented by x and y, where x is the new horizontal position and y is the new vertical position. You will use the hypotenuse of a right triangle to calculate the sprite's path, as shown in the following illustration.

You need to move the sprite to its new location along a straight line at a speed of 100 pixels per second.
How should you complete the algorithm? To answer, select the appropriate pseudocode segments in the answer area.
NOTE: Each correct selection is worth one point.

You are creating an algorithm that moves a sprite from its current position to a new position represented by x and y, where x is the new horizontal position and y is the new vertical position. You will use the hypotenuse of a right triangle to calculate the sprite's path, as shown in the following illustration.

You need to move the sprite to its new location along a straight line at a speed of 100 pixels per second.
How should you complete the algorithm? To answer, select the appropriate pseudocode segments in the answer area.
NOTE: Each correct selection is worth one point.

正確答案:

HOTSPOT
You are a volunteer for a local charity. You collaborate with other volunteers to build an app for the charity.
Before publishing the app to the general public, you want to make sure it meets the quality standards defined by the charity's board members.
You need to identify the appropriate approaches to control the quality of the app.
For each of the situations, select Yes if the approach is appropriate. Otherwise, select No.

You are a volunteer for a local charity. You collaborate with other volunteers to build an app for the charity.
Before publishing the app to the general public, you want to make sure it meets the quality standards defined by the charity's board members.
You need to identify the appropriate approaches to control the quality of the app.
For each of the situations, select Yes if the approach is appropriate. Otherwise, select No.

正確答案:

DRAG DROP
You are writing the algorithmic steps to draw a rectangle of a random length and width, calculate the area of the rectangle, and output the calculated area to the screen beneath the rectangle. The width of the rectangle must be greater than its length.
Which five pseudocode segments should you use to develop the solution? To answer, move the appropriate pseudocode segments from the list of pseudocode 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 the algorithmic steps to draw a rectangle of a random length and width, calculate the area of the rectangle, and output the calculated area to the screen beneath the rectangle. The width of the rectangle must be greater than its length.
Which five pseudocode segments should you use to develop the solution? To answer, move the appropriate pseudocode segments from the list of pseudocode 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.

正確答案:

HOTSPOT
You are creating an app for teenage drivers that will include a trip calculator. The trip calculator will prompt the user for the following information:
*
the number of miles for a trip
*
the vehicle's miles per gallon (mpg)
*
the price of gas per gallon
Variables defined and described in the following table.

The program will output data in the following format:
"Your trip of _____miles will cost a total of_____when the gas price is___."
Use the drop-down menus to select the answer choice that answers each question based on the information presented in the table.

You are creating an app for teenage drivers that will include a trip calculator. The trip calculator will prompt the user for the following information:
*
the number of miles for a trip
*
the vehicle's miles per gallon (mpg)
*
the price of gas per gallon
Variables defined and described in the following table.

The program will output data in the following format:
"Your trip of _____miles will cost a total of_____when the gas price is___."
Use the drop-down menus to select the answer choice that answers each question based on the information presented in the table.

正確答案:

This question requires that you evaluate the underlined text to determine if it is correct.
Information travels across the Internet in small segments of data known as bits.
Review the underlined text. If it makes the statement correct, select "No change is needed."
If the statement is incorrect, select the answer choice that makes the statement correct.
Information travels across the Internet in small segments of data known as bits.
Review the underlined text. If it makes the statement correct, select "No change is needed."
If the statement is incorrect, select the answer choice that makes the statement correct.
正確答案: C
說明:(僅 Fast2test 成員可見)
CORRECT TEXT
You are creating a physics simulation by using Touch Develop.
You need to move a spaceship upward against gravity at a net acceleration of 100 pixels per second squared.
How should you complete the code? To answer, select the appropriate code segments in the answer area.
NOTE: Each correct selection is worth one point.

You are creating a physics simulation by using Touch Develop.
You need to move a spaceship upward against gravity at a net acceleration of 100 pixels per second squared.
How should you complete the code? To answer, select the appropriate code segments in the answer area.
NOTE: Each correct selection is worth one point.

正確答案:

References: https://www.touchdevelop.com/docs/sprite