98-382 無料問題集「Microsoft Introduction to Programming Using JavaScript」

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.
正解:

Explanation:

References:
https://www.w3schools.com/jsref/jsref_push.asp
https://www.w3schools.com/js/js_arrays.asp
https://stackoverflow.com/questions/9813573/how-to-perform-a-sum-of-an-int-array
HOTSPOT
You are creating a function named countdown. The function accepts a single parameter, start, and displays a countdown from that number down to zero in increments of one.
How should you complete the code? To answer, select the appropriate code segments in the answer area.
正解:

Explanation:

References: https://www.w3schools.com/js/js_operators.asp
HOTSPOT
You are evaluating a colleague's code to ensure it meets best practices.
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.
正解:

Explanation:

References: https://www.w3schools.com/js/js_conventions.asp
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.
正解:

Explanation:

References:
https://www.w3schools.com/js/js_dates.asp
https://www.w3schools.com/js/js_date_methods.asp
https://www.w3schools.com/jsref/jsref_setmonth.asp

弊社を連絡する

我々は12時間以内ですべてのお問い合わせを答えます。

オンラインサポート時間:( UTC+9 ) 9:00-24:00
月曜日から土曜日まで

サポート:現在連絡