Microsoft
98-380 Introduction to Programming with Block-Based Languages
http://killexams.com/exam-detail/98-380
define the process? To answer, move all actions from the list of actions to the answer area and arrange them in the correct order.
Answer: Exhibit
QUESTION: 65 HOTSPOT You are building a treasure hunt game. When the player opens a treasure box, a random prize might be awarded with the following probabilities: . Gold Prize 2% . Silver Prize 5% . Bronze Prize 20% You are designing an algorithm to decide the prize using the random function. The random(limit) function returns a random integer between 1 and limit, including limit. For example, if the limit is 20, the function returns a value between 1 and 20.
Answer: Exhibit
QUESTION: 66 HOTSPOT You are writing a function to return a value from the following sequence: 3, 6, 12, 24, 48, 96, 192, etc. You must create a function that will accept a parameter N and return the value at the Nth position in the sequence. For example, if N is 4, the value 24 should be returned. You need to complete the algorithm to find the Nth number in the sequence. To answer, select the appropriate pseudocode segments in the answer area. NOTE: Each correct selection is worth one point.
Answer: Exhibit
QUESTION: 67 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. A. No change is needed. B. packets C. envelops D. chunks Answer: B QUESTION: 68 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.) A. The symbol for “of” will be output once. B. The word “of” will appear in the dictionary once. C. The symbol for “of” will be output three times. D. The word “of” will appear in the dictionary three times. Answer: B, C QUESTION: 69 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.
Answer: Exhibit
QUESTION: 70 HOTSPOT Which scenarios are implemented using an event? For each of the following statements, select Yes if the statement is true. Otherwise, select No.
Answer: Exhibit
QUESTION: 71 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.
Answer: Exhibit
QUESTION: 72 DRAG DROP You are mentoring a group of school students who are creating games for a project. The
game must display feedback as it is played, as described in the following table.
You need to help the student group create this code. Which three 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.
Answer: Exhibit
For More exams visit https://killexams.com
Kill your exam at First Attempt....Guaranteed!
For More exams visit https://killexams.com/vendors-exam-list