i
Devkraft Technologies
Filter interviews by
I applied via Referral and was interviewed in Aug 2021. There were 4 interview rounds.
React component life cycle includes mounting, updating, and unmounting.
Mounting: when a component is created and inserted into the DOM
Updating: when a component is updated due to changes in props or state
Unmounting: when a component is removed from the DOM
Methods like componentDidMount, componentDidUpdate, and componentWillUnmount are used to manage the life cycle
Example: componentDidMount is called after a component i...
let, var, and const are JavaScript keywords used for declaring variables with different scoping and mutability.
let and const were introduced in ES6 while var has been used since the beginning of JavaScript.
let and const have block-level scoping while var has function-level scoping.
let and var are mutable while const is immutable.
let can be reassigned while const cannot be reassigned.
const must be initialized during dec...
Top trending discussions
ES6 introduced several new features and improvements to JavaScript, making it more powerful and efficient.
Arrow functions for more concise syntax
Let and const for block-scoped variables
Classes for easier object-oriented programming
Template literals for easier string interpolation
Default parameters and rest parameters for function arguments
Destructuring assignment for easier data extraction
Promises for asynchronous prog
Yes, let and const variables are hoisted but not initialized.
let and const variables are hoisted to the top of their block scope, but they are not initialized until the actual line of code is executed.
This means that you cannot access a let or const variable before it is declared in the code.
For example, trying to access a let variable before it is declared will result in a ReferenceError.
Global context refers to the overall environment or setting in which something exists or operates.
Global context encompasses all variables, functions, and objects that are accessible throughout an entire program.
It can be thought of as the 'big picture' view of a program's execution.
In web development, global context includes the window object in JavaScript.
Temporal dead zone is a period during the variable creation process where accessing the variable results in a ReferenceError.
Occurs when trying to access a variable before it has been declared with let or const
Happens due to the variable being in the temporal dead zone until it is declared
Example: accessing a variable before its declaration will result in a ReferenceError
Modules in Node.js are reusable blocks of code that encapsulate related functionality.
Modules in Node.js can be built-in modules like fs (file system) or third-party modules like express.
Modules help in organizing code into separate files for better maintainability and reusability.
Modules can be imported using the require() function in Node.js.
Indexes in MongoDB improve query performance by allowing the database to quickly locate and retrieve specific documents.
Indexes help to speed up query performance by allowing the database to quickly locate specific documents based on the indexed fields.
Without indexes, MongoDB would have to perform a collection scan, which can be slow and resource-intensive.
Indexes can be created on single fields or compound fields to ...
Hooks are a feature in React that allow you to use state and other React features in functional components. useRef is a hook that allows you to create a mutable object that persists for the lifetime of the component.
Hooks are used to add state and lifecycle methods to functional components in React
useRef is used to create a mutable reference that persists between renders
useRef can be used to access DOM elements directl
Mongoose is an Object Data Modeling (ODM) library for MongoDB that provides a higher level of abstraction and simplifies interactions with the database.
Mongoose provides schema validation which helps maintain data integrity.
Mongoose simplifies querying and data manipulation with built-in functions.
Mongoose supports middleware functions for pre and post processing of data operations.
Aptitude questions were easy and basics
posted on 6 Aug 2024
Kafka is a distributed streaming platform used for building real-time data pipelines and streaming applications.
Kafka is used for building real-time data pipelines and streaming applications in a distributed environment.
It provides high-throughput, fault-tolerant, and scalable messaging system.
Kafka uses topics to categorize messages, which are then stored in partitions for distribution across multiple nodes.
Producers ...
Java is a popular programming language known for its platform independence, object-oriented features, and robust standard library.
Platform independence: Java programs can run on any platform that has a Java Virtual Machine (JVM)
Object-oriented: Java supports the principles of encapsulation, inheritance, and polymorphism
Robust standard library: Java provides a rich set of APIs for tasks like networking, I/O, and GUI dev
I was interviewed in Sep 2024.
Couple of MCQ, Two Coding Questions. One medium, One hard.
I applied via Referral and was interviewed in Dec 2023. There were 2 interview rounds.
posted on 25 Nov 2022
I applied via LinkedIn and was interviewed in Oct 2022. There were 3 interview rounds.
based on 3 reviews
Rating in categories
Software Engineer
41
salaries
| ₹4.5 L/yr - ₹9.5 L/yr |
Senior Software Engineer
23
salaries
| ₹7.5 L/yr - ₹18 L/yr |
Program Manager
10
salaries
| ₹7 L/yr - ₹10.4 L/yr |
Engineering Manager
5
salaries
| ₹19 L/yr - ₹36 L/yr |
Softwaretest Engineer
4
salaries
| ₹5 L/yr - ₹6.2 L/yr |
TCS
Infosys
Wipro
HCLTech