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

HOTSPOT
The ABC company offers a mid-week discount of 10% on Wednesdays.
You need to write a JavaScript function that meets the following requirements:
* Accepts the day of the week as a string
* Returns the appropriate discount
You create the following code. Line numbers are included for reference only.

You must complete the code at lines 03, 04, and 07.
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_switch.asp
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.
正解:

Explanation:

References: https://www.w3schools.com/js/js_datatypes.asp
HOTSPOT
You analyze the following code fragment. Line numbers are included for reference only.

正解:
HOTSPOT
You are designing a web page that contains a list of animals. The web page includes a script that outputs animals from a list.
You create the following HTML to test the script:

You need to create a function that will display the list of animals, including any formatting, in the div 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:

Box 1: getElementsByTagName("ul")
Box 2: getElementsByTagName("li")
Box 3: innerHTML
Box 4: innerText
References: https://www.w3schools.com/jsref/met_element_getelementsbytagname.asp

弊社を連絡する

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

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

サポート:現在連絡