Exam Details

  • Exam Code
    :98-382
  • Exam Name
    :Introduction to Programming Using JavaScript
  • Certification
    :Microsoft Certifications
  • Vendor
    :Microsoft
  • Total Questions
    :39 Q&As
  • Last Updated
    :Mar 24, 2025

Microsoft Microsoft Certifications 98-382 Questions & Answers

  • Question 11:

    HOTSPOT

    For each of the following segments, select Yes if the statement is true. Otherwise, select No.

    NOTE: Each correct selection is worth one point.

    Hot Area:

  • Question 12:

    HOTSPOT

    You evaluate the following code:

    You need to determine the values of sampleStudent, sampleCourse.name, and sampleCourse.grade that are output by console.log(). What are the final values for the three variables? To answer, select the appropriate values in the answer area.

    Hot Area:

  • Question 13:

    HOTSPOT

    You need to evaluate the following code segment. Line numbers are included for reference only.

    Use the drop-down menus to select the answer choice that answers each question based on the information presented in the code segment.

    Hot Area:

  • Question 14:

    HOTSPOT

    You analyze the following code fragment. Line numbers are included for reference only.

    Hot Area:

  • Question 15:

    HOTSPOT

    You are creating a JavaScript function that returns a date the specified number of months in the future of the current date.

    The function must meet the following requirements:

    Accept a number that represents the number of months to add or subtract from the current date.

    Return the current data adjusted by the number of months passed into the function.

    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.

    Hot Area:

  • Question 16:

    HOTSPOT

    You work as a JavaScript developer for Adventure Works. You are writing a simple script that performs the following actions: Declares and initializes an array Fills the array with 10 random integers Adds every other number starting with the first element

    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.

    Hot Area:

  • Question 17:

    HOTSPOT

    You are writing a JavaScript program for Blue Yonder Airlines. The program stores various information about the airline's flights.

    The program has initialized the following variables:

    You need to determine the data type of the code segment based on initialization and the assignment of the variables. Use the drop-down menus to select the answer choice that answers each question based on the information presented in the code segment.

    NOTE: Each correct selection is worth one point.

    Hot Area:

  • Question 18:

    HOTSPOT

    You are planning to use the Math object in a JavaScript application. You write the following code to evaluate various Math functions:

    What are the final values for the three variables? To answer, select the appropriate values in the answer area. NOTE: Each correct selection is worth one point.

    Hot Area:

  • Question 19:

    HOTSPOT

    You are creating JavaScript code that manipulates dates. You want to initialize a Date object with the date January 1, 2017 by using the year, month, and date parameters.

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

    Hot Area:

  • Question 20:

    HOTSPOT

    Your instructor has asked you to write a program that uses simple rules to help determine if a person should take the train, drive their car, or ride a bike, depending on the conditions of the weather and the amount of gas in the car's tank.

    The program has the following requirements:

    When the temperature is above 65 degrees and it is not raining, the person should be told to ride their bike.

    When it is raining, the person should be told to drive their car.

    If their car has half a tank of gas or less, they should be told to take the train.

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

    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-382 exam preparations and Microsoft certification application, do not hesitate to visit our Vcedump.com to find your solutions here.