Download Microsoft.98-382.PracticeTest.2018-05-25.21q.vcex

Download Exam

File Info

Exam Introduction to Programming Using JavaScript
Number 98-382
File Name Microsoft.98-382.PracticeTest.2018-05-25.21q.vcex
Size 2 MB
Posted May 25, 2018
Download Microsoft.98-382.PracticeTest.2018-05-25.21q.vcex

How to open VCEX & EXAM Files?

Files with VCEX & EXAM extensions can be opened by ProfExam Simulator.

Purchase

Coupon: MASTEREXAM
With discount: 20%






Demo Questions

Question 1

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. 
 


Correct answer: To work with this question, an Exam Simulator is required.
Explanation:
References: https://www.w3schools.com/jsref/prop_text_value.asp
References: https://www.w3schools.com/jsref/prop_text_value.asp



Question 2

You evaluate the following code:
   
You need to determine the values of sampleStudent, sampleCourse.name, and sampleCourse.grade that are output by console.log(). 
What are the final values for the three variables? To answer, select the appropriate values in the answer area.  


Correct answer: To work with this question, an Exam Simulator is required.
Explanation:
References: https://www.w3schools.com/js/js_output.asp
References: https://www.w3schools.com/js/js_output.asp



Question 3

A JavaScript array is initialized as follows:
   
You write the following code to manipulate the array:
   
You need to determine the contents of the array. 
Which four elements does the array contain in sequence? To answer, move the appropriate elements from the list of elements to the answer area and arrange them in the correct order.  


Correct answer: To work with this question, an Exam Simulator is required.
Explanation:
References: https://www.bennadel.com/blog/1796-javascript-array-methods-unshift-shift-push-and-pop.htm
References: https://www.bennadel.com/blog/1796-javascript-array-methods-unshift-shift-push-and-pop.htm



Question 4

You need to evaluate the following code segment. Line numbers are included for reference only. 
  
 
Use the drop-down menus to select the answer choice that answers each question based on the information presented in the code segment.   


Correct answer: To work with this question, an Exam Simulator is required.



Question 5

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?


  1.    
  2.    
  3.    
  4.    
Correct answer: C
Explanation:
References: https://www.w3schools.com/jsref/jsref_tofixed.asp
References: https://www.w3schools.com/jsref/jsref_tofixed.asp



Question 6

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


Correct answer: To work with this question, an Exam Simulator is required.



Question 7

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.  


Correct answer: To work with this question, an Exam Simulator is required.
Explanation:
References:https://www.w3schools.com/js/js_dates.asphttps://www.w3schools.com/js/js_date_methods.asphttps://www.w3schools.com/jsref/jsref_setmonth.asp
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



Question 8

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.  


Correct answer: To work with this question, an Exam Simulator is required.
Explanation:
References:https://www.w3schools.com/jsref/jsref_push.asphttps://www.w3schools.com/js/js_arrays.asphttps://stackoverflow.com/questions/9813573/how-to-perform-a-sum-of-an-int-array
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



Question 9

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.  


Correct answer: To work with this question, an Exam Simulator is required.
Explanation:
References: https://www.w3schools.com/js/js_datatypes.asp
References: https://www.w3schools.com/js/js_datatypes.asp



Question 10

You are planning to use the Math object in a JavaScript application. You write the following code to evaluate various Math functions:
   
What are the final values for the three variables? To answer, select the appropriate values in the answer area. 
NOTE: Each correct selection is worth one point.  


Correct answer: To work with this question, an Exam Simulator is required.
Explanation:
References: https://www.w3schools.com/js/js_math.asp
References: https://www.w3schools.com/js/js_math.asp









CONNECT US

Facebook

Twitter

PROFEXAM WITH A 20% DISCOUNT

You can buy ProfExam with a 20% discount!



HOW TO OPEN VCEX FILES

Use ProfExam Simulator to open VCEX files