98-382 試験問題を無料オンラインアクセス
試験コード: | 98-382 |
試験名称: | Introduction to Programming Using JavaScript |
認定資格: | Microsoft |
無料問題数: | 40 |
更新日: | 2025-08-26 |
You are writing an engineering application. You need to create a function that will round numbers to 3 or more decimal places.
You need to create a function that receives the following two parameters:
* The value parameter is the number to be formatted
* The digits parameter is the number of digits to display
The function must return the value with the number of digits specified.
Which function should you use?
You are creating a web page that allows customers to choose how hot their spice is. If they choose spicy, a warning should be displayed.
You create the following form. Line numbers are included for reference only.
You create the following JavaScript code to display the warning.
When you choose spicy and click Order, the warning fails to display.
You need to solve this problem.
What should you do?
DRAG DROP
You are creating a web page that tests a user's ability to accurately type text. The validation should be case-insensitive.
How should you complete the code? To answer, drag appropriate functions to the correct locations. Each function may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.
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?
DRAG DROP
You need to write a loop that will traverse the length of an array to find the value orange. If an array element value is null, the code should immediately go to the next element. When the value is found, the loop should exit.
How should you complete the code? To answer, drag appropriate keywords to the correct locations. Each keyword may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.