Download Microsoft.Real-exams.98-382.2018-05-08.1e.21q.vcex

Microsoft.Real-exams.98-382.2018-05-08.1e.21q.vcexMicrosoft.Real-exams.98-382.2018-05-08.1e.21q.vcexMicrosoft.Real-exams.98-382.2018-05-08.1e.21q.vcexMicrosoft.Real-exams.98-382.2018-05-08.1e.21q.vcexMicrosoft.Real-exams.98-382.2018-05-08.1e.21q.vcexMicrosoft.Real-exams.98-382.2018-05-08.1e.21q.vcex
Exam Introduction to Programming Using JavaScript
Number 98-382
File Name Microsoft.Real-exams.98-382.2018-05-08.1e.21q.vcex
Size 1.82 Mb
Posted May 12, 2018

Download




How to open VCEX & EXAM Files?

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

Purchase
Coupon: EXAMFILESCOM

Coupon: EXAMFILESCOM
With discount: 20%






Demo Questions

Question 1

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. 


Question 2

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?


  • A:
      
  • B:
      
  • C:
      
  • D:
      
Question 3

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


Question 4

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.


Question 5

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.


Question 6

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.


Question 7

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.


Question 8

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. 


Question 9

Your instructor has asked you to write a program that uses simple rules to help determine if a person should take the train, drive their car, or ride a bike, depending on the conditions of the weather and the amount of gas in the car’s tank. 
The program has the following requirements:
When the temperature is above 65 degrees and it is not raining, the person should be told to ride their bike. 
When it is raining, the person should be told to drive their car. 
If their car has half a tank of gas or less, they should be told to take the train. 
How should you complete the code? To answer, select the appropriate code segments in the answer area.  


Question 10

You are using JavaScript to create a function that calculates admission price. 
The function must meet the following requirements:
The function accepts the age of the customer as a parameter 
A customer who is less than 5 years old gets in free 
A customer who is 65 years old or older gets in free 
A customer who is 5 years old to 17 years old, pays $10 USD 
All other customers pay $20 USD 
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.





Comments