[DAYONE ASIA] - Full-stack Developer Pre-screening Quiz
6 Questions
1 Views

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to Lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

In programming, what is the purpose of a "closure"?

  • To encapsulate data within a function. (correct)
  • To prevent code from executing until a condition is met.
  • To pass arguments to a function by reference.
  • To create parallel execution of code blocks.

Which of the following JavaScript data types is not considered a primitive type?

  • String
  • Number
  • Boolean
  • Array (correct)

What is the difference between "null" and "undefined" in JavaScript?

  • They are essentially the same and can be used interchangeably.
  • "Null" indicates the absence of a value, while "undefined" means a variable has been declared but not assigned a value. (correct)
  • "Null" is a primitive data type, while "undefined" is an object.
  • "Undefined" is a keyword used for function parameters, while "null" is used for variable declarations.

In CSS, what is the purpose of the "z-index" property?

<p>To control the vertical stacking order of elements that overlap. (B)</p> Signup and view all the answers

In SQL, what does the "JOIN" clause do? A. B. C. D.

<p>Combines rows from two or more tables based on a related column between them. (A)</p> Signup and view all the answers

In Node.js, what is the purpose of the "cluster" module?

<p>To manage and distribute tasks across multiple CPU cores for improved performance. (A)</p> Signup and view all the answers

More Like This

Use Quizgecko on...
Browser
Browser