Add office photos
Employer?
Claim Account for FREE

Praeclarum Tech

4.9
based on 25 Reviews
Filter interviews by

Diksha Advertising & Printing Interview Questions and Answers

Updated 16 Dec 2024

Q1. Tell me difference between Let, Var, Cost and

Ans.

Let, var, and const are used to declare variables in JavaScript, with differences in scope and mutability.

  • let: block-scoped, can be reassigned

  • var: function-scoped, can be reassigned

  • const: block-scoped, cannot be reassigned

Add your answer

Q2. what is react js?

Ans.

React JS is a JavaScript library for building user interfaces.

  • React JS is a declarative, efficient, and flexible JavaScript library for building user interfaces.

  • It allows developers to create reusable UI components.

  • React uses a virtual DOM for better performance by updating only the necessary parts of the actual DOM.

  • React follows a unidirectional data flow, making it easier to understand and debug.

  • React can be used to build single-page applications, mobile apps, and even serv...read more

Add your answer

Q3. what is node js?

Ans.

Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine that allows developers to run JavaScript code outside of a web browser.

  • Node.js is used for building server-side applications.

  • It allows developers to use JavaScript for both client-side and server-side development.

  • Node.js has a large ecosystem of open-source libraries and frameworks, such as Express.js.

  • Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient.

  • Node.js can b...read more

Add your answer

Q4. What is closure

Ans.

Closure is the combination of a function bundled together with references to its surrounding state.

  • Closure allows a function to access variables from its outer scope even after the outer function has finished executing.

  • It is created whenever a function is defined within another function, and the inner function has access to the outer function's variables.

  • Closure helps in maintaining the state of a function and allows for data encapsulation.

Add your answer
Discover Diksha Advertising & Printing interview dos and don'ts from real experiences

Q5. Define let var const

Ans.

let, var, and const are used to declare variables in JavaScript with different scoping rules.

  • let: block-scoped variable, can be reassigned

  • var: function-scoped variable, can be reassigned

  • const: block-scoped variable, cannot be reassigned, but its properties can be modified

Add your answer

Q6. Define Closure

Ans.

Closure is a function that has access to its own scope, as well as the scope in which it was defined.

  • A closure allows a function to access variables from an outer function even after the outer function has finished executing.

  • Closures are commonly used in event handlers, callbacks, and in functional programming.

  • Example: function outerFunction() { let outerVar = 'I am outer'; return function innerFunction() { console.log(outerVar); }; }

Add your answer
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos

Interview Process at Diksha Advertising & Printing

based on 3 interviews in the last 1 year
Interview experience
3.7
Good
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top React Js Frontend Developer Interview Questions from Similar Companies

3.9
 • 21 Interview Questions
3.7
 • 15 Interview Questions
3.8
 • 15 Interview Questions
3.8
 • 14 Interview Questions
3.8
 • 12 Interview Questions
4.0
 • 12 Interview Questions
View all
Share an Interview
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
70 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions
Get AmbitionBox app

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter