Introduction to Programming Using Block-Based Languages (Touch Develop) 試験
Question No : 1
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.
Question No : 2
You are creating a program for Blue Yonder Airlines that will run on an automated boarding pass scanner. The program will track the number of passengers who have boarded a 60-seat airplane. The program will display the appropriate message on the boarding pass scanner.
In the past, this has been a manual process. You receive the following table as an example of the process.
You need to create the WHILE loop that will allow Blue Yonder Airlines to track their passengers and display the correct screen message.
Which five pseudocode segments should you use to develop the solution? To answer, move the appropriate pseudocode segments from the list of code segments to the answer area and arrange them in the correct order.
Question No : 3
As a part of Jim’s duties at Fourth Coffee, he is responsible for creating company procedures for the various activities that employees perform in their daily jobs.
You are helping Jim document the procedures in the latest version of the employee manual.
You need define the process for taking a customer’s order.
How should you define the process? To answer, move all actions from the list of actions to the answer area and arrange them in the correct order.
Question No : 4
You are designing an algorithm for a survey company. The call center wants you to call participants to gather their views on an upcoming event. You receive a call list that contains all the participants to be called. If a participant answers the phone, you must not call that participant again. If a participant does not answer the phone, you must call that participant again until the participant answers.
Which four actions should you perform in sequence to make the calls? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.
Question No : 5
This question requires that you evaluate the underlined text to determine if it is correct.
Sunny, Rainy, and Cloudy control the weather of a magic kingdom.
Citizens of the kingdom are not happy with their service because the weather changes too rapidly. To make the citizens happy, Sunny, Rainy, and Cloudy agree that only one of them will control the weather at a time. To determine who controls the weather next, they design a game to solve the problem.
Sunny, Rainy, and Cloudy play the game every few hours. Because Sunny is the youngest of the three. Rainy always lets Sunny move first. The winner gets the right to control the weather. If there is no winner between Sunny and Rainy, Cloudy controls the weather. The game play for all three conditions is shown in the exhibits. (Click the Sunny wins tab, the Rainy wins tab and the Neither wins tab to view the exhibits.)
You create the following algorithm to define the game play:
This algorithm will produce the correct result.
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.
Question No : 6
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.
Question No : 7
What are the principles of user experience design?
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
Question No : 8
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.
Question No : 9
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.
Question No : 10
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?
Question No : 11
Your friend Erin created the following algorithm:
You apply the algorithm to the following sentence:
The treasure chest contains 100 pieces of gold, 50 pieces of silver, and a handful of rubies.
What are the two outcomes? (Choose two.)
Question No : 12
You are creating a graphic that illustrates an overview of the entire software development life cycle.
Which order correctly describes the steps that occur prior to release and deployment? To answer, drag the appropriate step to the correct position in the life cycle. Each action 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.
Question No : 13
You are creating a game for AdventureWorks.
You write the following code:
When you test the code, the monster moves across the screen horizontally. You want the monster to bounce up and down in the center of the screen.
How should you correct the code? To answer, select the appropriate code segments in the answer area.
Question No : 14
You are creating a calculator app. The Power function must calculate the result of raising a number by a positive exponent value.
You create the following pseudocode:
Function Power (number, exponent)
You need to complete the pseudocode for the function.
Which pseudocode should you use?
Question No : 15
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.)