Exam Code: 98-382
Exam Name: Introduction to Programming Using JavaScript
Updated: Dec 15, 2024
Q&As: 39
At Passcerty.com, we pride ourselves on the comprehensive nature of our 98-382 exam dumps, designed meticulously to encompass all key topics and nuances you might encounter during the real examination. Regular updates are a cornerstone of our service, ensuring that our dedicated users always have their hands on the most recent and relevant Q&A dumps. Behind every meticulously curated question and answer lies the hard work of our seasoned team of experts, who bring years of experience and knowledge into crafting these premium materials. And while we are invested in offering top-notch content, we also believe in empowering our community. As a token of our commitment to your success, we're delighted to offer a substantial portion of our resources for free practice. We invite you to make the most of the following content, and wish you every success in your endeavors.
Experience Passcerty.com exam material in PDF version.
Simply submit your e-mail address below to get started with our PDF real exam demo of your Microsoft 98-382 exam.
Instant download
Latest update demo according to real exam
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:
HOTSPOT
You are using JavaScript to write a safe root math utility that has the following requirements:
Given the function safeRoot(a, b):
If the radicand (a) is non-negative, return Math.pow (a, 1/b);
Otherwise,
If the index (b) is divisible by 2, then return text indicating the result is imaginary.
Otherwise return -Math.pow (-a, 1/b)
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:
DRAG DROP
You are creating a web page that requests a username.
You create the following HTML form:
You need to write a function that retrieves the username from the form.
How should you complete the code? To answer, drag the appropriate code segments 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.
NOTE: Each correct selection is worth one point.
Select and Place:
DRAG DROP
Your instructor has asked you to implement code that would display a two-dimensional array of any size inside a
You write the following code:
You need to complete the code.
Which three segments should you use to develop the solution? To answer, move the appropriate code segments from the list of code segments to the answer area and arrange them in the correct order.
Select and Place:
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?
A. Change line 07 to
B. Change line 07 to
C. Change line 10 to var option.value = document.forms.orderForm["heatIndex"];
D. Change line 10 to var option = document.forms.orderForm["heatIndex"].value;
Viewing Page 1 of 3 pages. Download PDF or Software version with 39 questions