12 Questions
What is the main purpose of using a 'closure' in programming?
To create parallel execution of code blocks
Which JavaScript data type is not classified as a primitive type?
Array
What distinguishes 'null' from 'undefined' in JavaScript?
"Null" indicates the absence of a value, while "undefined" means a variable has been declared but not assigned a value
What does the 'z-index' property in CSS primarily control?
To control the vertical stacking order of elements that overlap
Why do programming languages utilize 'closures'?
To establish private variables and functions within functions
When styling web elements, what does the 'display' property in CSS help control?
The layout and rendering behavior of elements
What is the purpose of the 'JOIN' clause in SQL?
Combines rows from two or more tables based on a related column between them
What does the 'cluster' module in Node.js primarily do?
To manage and distribute tasks across multiple CPU cores for improved performance
In JavaScript, what does the 'this' keyword primarily refer to?
To refer to the current object context within a function or method
What is the main function of the 'GROUP BY' clause in SQL?
Groups rows with the same values into summary rows
In React, what does 'props drilling' refer to and how can it be addressed?
Props drilling refers to passing data through multiple layers of components, and it can be mitigated using context or Redux for state management
What is the role of 'async' and 'await' keywords in JavaScript?
To define asynchronous functions and handle asynchronous operations more elegantly
Get help in generating a PDF file with questions and answers. Learn how to create a PDF file using word processing software or a PDF editor.
Make Your Own Quizzes and Flashcards
Convert your notes into interactive study material.
Get started for free