98-380 Exam Details

  • Exam Code
    :98-380
  • Exam Name
    :Introduction to Programming Using Block-Based Languages (Touch Develop)
  • Certification
    :Microsoft Certifications
  • Vendor
    :Microsoft
  • Total Questions
    :72 Q&As
  • Last Updated
    :Dec 07, 2021

Microsoft 98-380 Online Questions & Answers

  • Question 31:

    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:

    1. the number of miles for a trip

    2. the vehicle's miles per gallon (mpg)

    3. 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.

    Hot Area:

  • Question 32:

    You work as a game developer at Tailspin Toys.

    Your colleague created a script to display an animation using the following sprite sheet and Touch Develop code.

    How will many times the animation play?

    A. The animation will play once.
    B. The animation will not play.
    C. The animation will play twenty times.
    D. The animation will play infinitely.

  • Question 33:

    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.

    Select and Place:

  • Question 34:

    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?

    A. Table
    B. Global
    C. Local
    D. Cloud

  • Question 35:

    You write the following Touch Develop code: You run the code and enter a value of 12. What is the result?

    A. The loop never terminates.
    B. The following values are output to the wall:1 1.0909090909091 1.2 1.333333333333333 1.5 1.714285714285714 2.4
    C. The loop never executes.
    D. The following values are output to the wall: 0.5

  • Question 36:

    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.

    Hot Area:

  • Question 37:

    HOTSPOT

    You store a collection of strings in a variable named menu.

    You need to add the string Cookies as the fourth item in the collection.

    How should you complete the code? To answer, select the appropriate code segments in the answer area.

    Hot Area:

  • Question 38:

    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.)

    A. show s
    B. display s
    C. For var s in players = 1 to 4
    D. While var s in players
    E. For each var s in players

  • Question 39:

    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 player's 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:

    1. The player will lose one life.

    2. An animation will play

    3. 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.

    Hot Area:

  • Question 40:

    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.

    Hot Area:

Tips on How to Prepare for the Exams

Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only Microsoft exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your 98-380 exam preparations and Microsoft certification application, do not hesitate to visit our Vcedump.com to find your solutions here.