Search Header Logo

Hackathon_NodeJs_Exam

Authored by Minh (hungnm5)

Education

1st - 5th Grade

Used 1+ times

Hackathon_NodeJs_Exam
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When a javaScript function is invoked (called) in Node, where is a new frame placed?

the call stack

the event loop

the poll phase

the events queue

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a core module in Node?

webpack

crypto

request

chalk

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following Buffer class methods returns an uninitialized buffer?

allocUnsafe

  • concat

  • from

  • alloc

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following modules is NOT a built-in module in Node?

  • events

  • http2

  • dgram

  • ftp

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which fs module method can be used to read the content of a file without buffering it in memory?

  • read

  • readFile

  • createReadStream

  • readFileSync

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following DNS module methods uses the underlying OS facilities and does not necessarily perform any network communication?

  • lookup

  • resolve

  • resolve4

  • reverse

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you check that a value is a date object in Node?

  • util.types.isDate(value)

  • assert.isDate(value)

  • console.isDate(value)

  • util.date(value)

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?