オンライン問題で最適なJavaScript-Developer-I試験練習問題(最新の225問題)
練習問題JavaScript-Developer-I素晴らしい練習用のSalesforce Certified JavaScript Developer I Examテスト問題
Salesforce Certified JavaScript Developer Iになるためには、JavaScript-Developer-I試験に合格する必要があります。この試験は、105分以内に完了する必要がある60問の多肢選択問題から構成されています。この試験は、Salesforceプラットフォーム上でのJavaScript開発の知識と、カスタムアプリケーションの設計、開発、およびメンテナンスの能力を評価するために設計されています。合格するためには、68%以上の合格点を取得する必要があります。認定を受けると、開発者はSalesforceプラットフォームでのJavaScript開発の専門知識を証明し、潜在的な雇用主やクライアントにとってより価値がある存在になります。
Salesforce Certified JavaScript Developer I 認定を取得することで、個人は Salesforce プラットフォーム上で JavaScript を使用してカスタムアプリケーションを開発する専門知識を示すことができます。この認定は、開発者のキャリア機会を向上させ、彼らを組織にとってより価値のある資産にすることができます。さらに、Salesforce Certified JavaScript Developer I 認定保持者は、業界から専門家として認められ、Salesforce の公式ウェブサイトに認定プロフェッショナルとしてリストされます。
質問 # 40
Refer to the code below:
Const pi = 3.1415326,
What is the data type of pi?
- A. Number
- B. Decimal
- C. Float
- D. Double
正解:A
質問 # 41
Refer to the code below:
In which sequence will the number be logged?
- A. 0 2 4 1 3
- B. 0 2 4 3 1
- C. 1 3 0 2 4
- D. 0 1 2 3 4
正解:B
質問 # 42
Refer to HTML below:
<div id ="main">
<div id = " card-00">This card is smaller.</div>
<div id = "card-01">The width and height of this card is determined by its contents.</div>
</div>
Which expression outputs the screen width of the element with the ID card-01?
- A. document.getElementById(' card-01 ').getBoundingClientRest().width
- B. document.getElementById(' card-01 ').style.width
- C. document.getElementById(' card-01 ').width
- D. document.getElementById(' card-01 ').innerHTML.lenght*e
正解:A
質問 # 43
Refer to the code below:
Let foodMenu1 = ['pizza', 'burger', 'French fries'];
Let finalMenu = foodMenu1;
finalMenu.push('Garlic bread');
What is the value of foodMenu1 after the code executes?
- A. [ 'Garlic bread']
- B. [ 'Garlic bread' , 'pizza','Burger', 'French fires' ]
- C. [ 'pizza','Burger', 'French fires']
- D. [ 'pizza','Burger', 'French fires', 'Garlic bread']
正解:C
質問 # 44
Refer to the following array:
Let arr = [1, 2, 3, 4, 5];
Which three options result in x evaluating as [1, 2]?
Choose 3 answer
- A. let x =arr.splice(0, 2);
- B. let x = arr. slice (2);
- C. let x arr.filter((a) => (return a <= 2 });
- D. let x = arr.filter ((a) => 2 }) ;
- E. let x = arr. slice (0, 2);
正解:A、C、E
質問 # 45
The developer has a function that prints "Hello" to an input name. To test this, thedeveloper created a function that returns "World". However the following snippet does not print " Hello World".
What can the developer do to change the code to print "Hello World" ?
- A. Change line 2 to console.log('Hello' , name() );
- B. Change line 7 to ) () ;
- C. Change line 5 to function world ( ) {
- D. Change line 9 to sayHello(world) ();
正解:A
質問 # 46
A developer wants to set up a secure web server with Node.js. The developer create a directory locally called app-server, and the first file is app-server/index, js.
Without using any third-party libraries, what should the developer add to index, js to create the secure web server?
- A. Const http = require ('http');
- B. Const server = require ( 'secure-server') ;
- C. Const http = require ('https') ;
- D. Const tls = require ('tls') ;
正解:C
質問 # 47
Universal containers (UC) just launched a new landing page, but users complain that the website is slow, A developer found some functions that cause this problem, To verify this, the developer decides to execute everything and log the time each of these suspicious function consumes.
Which function can then developer use to obtain the time spent by every one of the three functions?
- A. Console.timeLog ( )
- B. Console.getTime ( )
- C. Console, timestamp
- D. Console,trace ( )
正解:B
質問 # 48
In which situation should a developer include a try... catch block around their function call?
- A. The function results in an out of memory issue.
- B. The function has an error that should not be silenced.
- C. The function might raise a runtime error that needs to be handled.
- D. The function contains scheduled code.
正解:C
質問 # 49
Refer to the code below:
function foo () {
const a =2;
function bat() {
console.log(a);
}
return bar;
}
Why does the function bar have access to variable a ?
- A. Hoisting
- B. Inner function's scope
- C. Outer function's scope
- D. Prototype chain
正解:C
質問 # 50
Refer to the code below:
Const searchTest = 'Yay! Salesforce is amazing!" ;
Let result1 = searchText.search(/sales/i);
Let result 21 = searchText.search(/sales/i);
console.log(result1);
console.log(result2);
After running this code, which result is displayed on the console?
- A. > true > false
- B. > 5 >undefined
- C. > 5 > -1
- D. > 5 > 0
正解:B
解説:
質問 # 51
Refer to the code below:
const addBy = ?
const addByEight =addBy(8);
const sum = addBYEight(50);
Which two functions can replace line 01 and return 58 to sum?
Choose 2 answers
- A. const addBy = function(num1){
return function(num2){
return num1 + num2;
} - B. const addBY = (num1) => (num2) => num1 + num2;
- C. const addBy = function(num1){
return num1 + num2;
} - D. const addBy = (num1) => num1 + num2 ;
正解:A、B
質問 # 52
Refer to the following code that performs a basic mathematical operation on a provided
input:
function calculate(num) {
Return (num +10) / 3;
}
How should line 02 be written to ensure that x evaluates to 6 in the line below?
Let x = calculate (8);
- A. Return Integer(num +10) /3;
- B. Return Number((num +10) /3 );
- C. Return (Number (num +10 ) / 3;
- D. Return Number(num + 10) / 3;
正解:C
質問 # 53
A developer has the following array of student test grades:
Let arr = [ 7, 8, 5, 8, 9 ];
The Teacher wants to double each score and then see an array of the students who scored more than 15 points.
How should the developer implement the request?
- A. Let arr1 = arr.mapBy (( num) => ( return num *2 )) .filterBy (( val ) => return val > 15 )) ;
- B. Let arr1 = arr.filter(( val) => ( return val > 15 )) .map (( num) => ( return num *2 ))
- C. Let arr1 = arr.map((num) => num*2). Filter (( val) => val > 15);
- D. Let arr1 = arr.map((num) => ( num *2)).filterBy((val) => ( val >15 ));
正解:C
質問 # 54
Given the code below:
Const copy = JSON.stringify((new String ('false') , new Bolean(false) undefined)); What is the value of copy?
- A. -- [\''false\'', false, null]" "
- B. --[ false, ()]-
- C. -- [\''false\", ()""
- D. -- [ \'false\'', false, undefined]'' ''
正解:A
質問 # 55
developer creates a new web server that uses Node.js. It imports a server library that uses events and callbacks for handling server functionality.
The server library is imported with require and is made available to the code by a variable named server. The developer wants to log any issues that the server has while booting up.
Given the code and the information the developer has, which code logs an error at boost with an event?
- A. Try{
server.start();
} catch(error) {
console.log('ERROR', error);
} - B. Server.on ('error', (error) => {
console.log('ERROR', error);
}); - C. Server.catch ((server) => {
console.log('ERROR', error);
}); - D. Server.error ((server) => {
console.log('ERROR', error);
});
正解:B
質問 # 56
A developer copied a JavaScript object:
How does the developer access dan's forstName,lastName? Choose 2 answers
- A. dan,name ( )
- B. dan,name
- C. dan, firstName = dan.lastName
- D. dan,firstname ( ) + dan, lastName ( )
正解:A、C
質問 # 57
Refer to the code below:
let timeFunction =() => {
console.log('Timer called.");
};
let timerId = setTimeout (timedFunction, 1000);
Which statement allows a developer to cancel the scheduled timed function?
- A. removeTimeout(timerId);
- B. clearTimeout(timedFunction);
- C. removeTimeout(timedFunction);
- D. clearTimeout(timerId);
正解:D
質問 # 58
Refer to the code below:
Const myFunction = arr => {
Return arr.reduce((result, current) =>{
Return result = current;
}, 10};
}
What is the output of this function when called with an empty array ?
- A. Returns 10
- B. Returns 0
- C. Returns NaN
- D. Throws an error
正解:C
質問 # 59
......
リアルなJavaScript-Developer-I試験別格な練習試験問題:https://www.jpntest.com/shiken/JavaScript-Developer-I-mondaishu
100%合格率でリアルなJavaScript-Developer-I試験成功ゲット:https://drive.google.com/open?id=1EHvKe2xTzxWIpTZc2s52g0QNWWzHdrYA