Rate this post

[2023年05月03日]CRT-600試験問題集でリアル試験と100%同じ問題と解答

CRT-600テストエンジン問題集トレーニングには225問あります

76、Refer to following code block:
Let array = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11,];
Let output =0;
For (let num of array){
if (output >0){
Break;
}
if(num % 2 == 0){
Continue;
}
Output +=num;
What is the value of output after the code executes?

 
 
 
 

77、A developer needs to debug a Node.js web server because a runtime error keeps occurring at one of the endpoints.
The developer wants to test the endpoint on a local machine and make the request against a local server to look at the behavior. In the source code, the server, js file will start the server. the developer wants to debug the Node.js server only using the terminal.
Which command can the developer use to open the CLI debugger in their current terminal window?

 
 
 
 

78、Refer to the following object:
const cat ={
firstName: ‘Fancy’,
lastName: ‘ Whiskers’,
Get fullName() {
return this.firstName + ‘ ‘ + this.lastName;
}
};
How can a developer access the fullName property for cat?

 
 
 
 

79、Given the code below:
const delay = sync delay => {
Return new Promise((resolve, reject) => {
setTimeout (resolve, delay);});};
const callDelay =async () =>{
const yup =await delay(1000);
console.log(1);
What is logged to the console?

 
 
 
 

80、developer has a web server running with Node.js. The command to start the web server is node server,js. The web server started having latency issues. Instead of a one second turn around for web requests, the developer now sees a five second turnaround, Which command can the web developer run to see what the module is doing during the latency period?

 
 
 
 

81、A developer creates an object where its properties should be immutable and prevent properties from being added or modified.
Which method should be used to execute this business requirement ?

 
 
 
 

82、A developer creates a simple webpage with an input field. When a user enters text in the input field and clicks the button, the actual value of the field must be displayed in the console.
Here is the HTML file content:
<input type =” text” value=”Hello” name =”input”>
<button type =”button” >Display </button>
The developer wrote the javascript code below:
Const button = document.querySelector(‘button’);
button.addEvenListener(‘click’, () => (
Const input = document.querySelector(‘input’);
console.log(input.getAttribute(‘value’));
When the user clicks the button, the output is always “Hello”.
What needs to be done make this code work as expected?

 
 
 
 

83、Consider type coercion, what does the following expression evaluate to?
True + 3 + ‘100’ + null

 
 
 
 

84、Given the following code:
Let x =null;
console.log(typeof x);
What is the output of the line 02?

 
 
 
 

85、Universal Containers recently launched its new landing page to host a crowd-funding campaign. The page uses an external library to display some third-party ads. Once the page is fully loaded, it creates more than 50 new HTML items placed randomly inside the DOM, like the one in the code below:

All the elements includes the same ad-library-item class, They are hidden by default, and they are randomly displayed while the user navigates through the page.

 
 
 
 

86、Which option is true about the strict mode in imported modules?

 
 
 
 

87、Cloud Kicks has a class to represent items for sale in an online store, as shown below:
Class Item{
constructor (name, price){
this.name = name;
this.price = price;
}
formattedPrice(){
return ‘s’ + String(this.price);}}
A new business requirement comes in that requests a ClothingItem class that should have all of the properties and methods of the Item class but will also have properties that are specific to clothes.
Which line of code properly declares the clothingItem class such that it inherits from Item?

 
 
 
 

88、What are two unique features of functions defined with a fat arrow as compared to normal function definition?
Choose 2 answers

 
 
 
 

89、A developer writes the code below to return a message to a user attempting to register a new username. If the username is available, a variable named nag is declared and assigned a value on line 03.

What is the value of msg when getAvailableabilityMessage (“newUserName”) is executed and get Availability (“newUserName”) returns true?

 
 
 
 

90、A developer has two ways to write a function:
Option A:
function Monster(){
this.growl = ()=>{
console.log(‘Grr!’);
}
}
Option B:
function Monster(){};
Monster.prototype.growl = ()=>{
console.log(‘Grr!’);
}
After deciding on an option, the developer creates 1000 monster objects.
How many growl methods are created with Option A and Option B?

 
 
 
 

91、Why would a developer specify a package.jason as a developed forge instead of a dependency ?

 
 
 
 

92、Given the following code:
Counter = 0;
const logCounter = () => {
console.log(counter);
);
logCounter();
setTimeout(logCOunter, 1100);
setInterval(() => {
Counter++
logCounter();
}, 1000);
What is logged by the first four log statements?

 
 
 
 

93、Refer to the code snippet below:
Let array = [1, 2, 3, 4, 4, 5, 4, 4];
For (let i =0; i < array.length; i++)
if (array[i] === 4) {
array.splice(i, 1);
}
}
What is the value of array after the code executes?

 
 
 
 

Salesforce CRT-600 認定試験の出題範囲:

トピック 出題範囲
トピック 1
  • JavaScript Basics
  • Working with Strings, Numbers, and Dates
トピック 2
  • Type Conversion (explicit and implicit)
  • Working with JSON
  • Data Types and Variables
トピック 3
  • Creating Objects, Object Prototypes, Defining Functions
トピック 4
  • Objects, Functions, and Classes
  • Using JavaScript Modules
  • Declaring Classes
トピック 5
  • Debugging and Error Handling
  • Throwing and Catching Errors
  • Working with the Console
トピック 6
  • Asynchronous Programming
  • Callback Functions
  • Promises and Async
  • Await
トピック 7
  • Browser and Events
  • Document Object Model
  • Browser Dev Tools

 

CRT-600練習テストPDF試験材料:https://www.goshiken.com/Salesforce/CRT-600-mondaishu.html