Bạn đang kiểm tra C4 Blockchain: Basics and Applications >> Fundamentals of Node.js

Là một phần trong chương trình thạc sĩ của mình, tôi đã tạo bài kiểm tra này với một tập hợp các câu hỏi trắc nghiệm được thiết kế để giúp tôi và các bạn cùng lớp ôn lại kiến thức về module "Fundamentals of Node.js" từ "Course 4 Blockchain: Basics and Applications".
Dưới đây là 9 câu hỏi được chọn ngẫu nhiên từ bài kiểm tra kiến thức C4 Blockchain: Basics and Applications >> Fundamentals of Node.js. Là người dùng chưa được xác thực, bạn có quyền truy cập vào một nhóm giới hạn gồm 9 trong số 198 câu hỏi và bạn sẽ không thể xem câu trả lời chính xác cho những câu hỏi đó.
Nếu bạn muốn làm bài kiểm tra và xem câu trả lời, vui lòng CLICK VÀO ĐÂY để đăng nhập.
1/198: Can Node be used for server-side applications?

  1. No, Node is only used for client-side applications.
  2. Node can be used for both server-side and client-side applications.
  3. Yes, Node is specifically designed for server-side applications.
  4. Node can only be used for mobile applications.
2/198: Can you pass any type of data to the JSON.stringify() method?

  1. Yes
  2. No
3/198: How can you create a namespace in Node.js?

  1. By declaring a function with a special name
  2. By using a special keyword
  3. By creating a new object and adding properties and methods to it
4/198: Which of the following is an example of using __filename?

  1. console.log(__filename)
  2. console.log('__filename')
  3. console.log('_filename')
5/198: What is the observer pattern?

  1. A pattern for creating custom events
  2. A pattern for handling asynchronous code
  3. A pattern where objects register themselves to be notified of an event when it occurs
6/198: What are objects called that register themselves to be notified of an event when it occurs?

  1. Listeners
  2. Observers
  3. Subscribers
7/198: What is the command to open REPL for Node.js in the Terminal?

  1. js
  2. npm
  3. node
  4. repl
8/198: What happens if the file specified in fs.writeFile does not exist?

  1. The file is created in read-only mode.
  2. A new file is created with the specified name.
  3. An error is thrown.
9/198: How can you export constructs declared in a module in Node.js?

  1. By using the require property of the object module.
  2. By using the module.exports property of the object exports.
  3. By using the exports property of the object module.
Nếu bạn muốn làm bài kiểm tra và xem câu trả lời, vui lòng CLICK VÀO ĐÂY để đăng nhập.
Chúng tôi rất vui được chia sẻ rằng trang web của chúng tôi hoàn toàn miễn phí sử dụng và chúng tôi tận tâm cung cấp các tài nguyên hữu ích cho người dùng của mình.
Nếu bạn thấy trang web của chúng tôi hữu ích và muốn hỗ trợ chúng tôi, bây giờ bạn có thể chuyển khoản ủng hộ. Các khoản đóng góp được chuyển trực tiếp vào tài khoản ngân hàng của chúng tôi và giúp chúng tôi tiếp tục cung cấp nội dung chất lượng.
Cảm ơn sự hỗ trợ của bạn!
Vui lòng Đăng nhập để đăng bình luận.

Blog của Vũ Lê Huân
Blog của Vũ Lê Huân