Online Access Free 98-382 Exam Questions

Exam Code:98-382
Exam Name:Introduction to Programming Using JavaScript
Certification Provider:Microsoft
Free Question Number:40
Posted:Sep 03, 2025
Rating
100%

Question 1

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.

Question 2

You are writing an application that uses the sqrt function. The program must reference the
function using the name squareRoot.
You need to import the function.
Which code segment should you use?

Question 3

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.

Question 4

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

Question 5

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.

Add Comments

Your email address will not be published. Required fields are marked *

insert code
Type the characters from the picture.