Add office photos
Engaged Employer

KPIT Technologies

3.4
based on 2.7k Reviews
Video summary
Filter interviews by

Karkhana.io Interview Questions and Answers

Updated 5 Feb 2024
Popular Designations

Q1. 1->like what is the process behind storing variables in memory? 2-> What is the need for oops? 3-> what is compile time polymorphism and how is it different from runtime.? 4-> what is DBMS. 5->diff b/w malloc a...

read more
Ans.

Interview questions for Software Developer

  • Variables are stored in memory through a process called memory allocation

  • OOPs is needed for better code organization, reusability, and encapsulation

  • Compile-time polymorphism is achieved through function overloading while runtime polymorphism is achieved through virtual functions

  • DBMS stands for Database Management System and is used to manage and organize data

  • Malloc and calloc are both memory allocation functions in C, but calloc initi...read more

Add your answer

Q2. What is ECU and MCU Configuration

Ans.

ECU and MCU Configuration refers to the setup and programming of electronic control units and microcontroller units in a system.

  • ECU and MCU Configuration involves setting up and programming electronic control units and microcontroller units in a system

  • This configuration is important for ensuring proper functioning of the system

  • Examples of systems that require ECU and MCU Configuration include automobiles, industrial machinery, and medical devices

Add your answer

Q3. Primary vs foreign vs unique key

Ans.

Primary key uniquely identifies a record, foreign key links to a primary key in another table, unique key ensures uniqueness of a column or set of columns.

  • Primary key: uniquely identifies each record in a table (e.g. employee_id in an employees table)

  • Foreign key: links to a primary key in another table to establish a relationship (e.g. department_id in an employees table linking to department_id in a departments table)

  • Unique key: ensures uniqueness of values in a column or se...read more

Add your answer

Q4. Shallow vs deep copy in js

Ans.

Shallow copy creates a new object but references the same nested objects, while deep copy creates a new object with copies of all nested objects.

  • Shallow copy only copies the top-level object, not the nested objects.

  • Deep copy creates new copies of all nested objects, ensuring they are independent.

  • In JavaScript, shallow copy can be achieved using Object.assign or spread operator, while deep copy can be achieved using JSON.parse(JSON.stringify(obj)).

Add your answer
Discover Karkhana.io interview dos and don'ts from real experiences

Q5. Event loop in node js

Ans.

Event loop in Node.js manages asynchronous operations by executing callback functions when certain events occur.

  • Event loop is responsible for handling I/O operations, timers, and callbacks in Node.js

  • It allows Node.js to perform non-blocking operations efficiently

  • Event loop continuously checks the event queue and executes callback functions when events are triggered

Add your answer

Q6. Variable hoisting in js

Ans.

Variable hoisting is a behavior in JavaScript where variable declarations are moved to the top of their scope during compilation.

  • Variable declarations are hoisted to the top of their function or global scope.

  • Only the declarations are hoisted, not the initializations.

  • Hoisting allows you to use a variable before it is declared, but it is best practice to declare variables at the top of the scope.

  • Example: console.log(myVar); var myVar = 10; // Output: undefined

Add your answer

Q7. Function closure in js

Ans.

Function closure in JavaScript allows a function to access variables from its outer scope even after the outer function has finished executing.

  • Function closures occur when a function is defined within another function and the inner function has access to the outer function's variables.

  • Closures are commonly used to create private variables and functions in JavaScript.

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

Add your answer

Q8. ACID properties

Ans.

ACID properties are a set of properties that guarantee database transactions are processed reliably.

  • ACID stands for Atomicity, Consistency, Isolation, Durability

  • Atomicity ensures that all operations in a transaction are completed successfully or none at all

  • Consistency ensures that the database remains in a consistent state before and after the transaction

  • Isolation ensures that transactions are executed independently of each other

  • Durability ensures that once a transaction is c...read more

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

Interview Process at Karkhana.io

based on 20 interviews
2 Interview rounds
Technical Round
HR Round
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Software Developer Interview Questions from Similar Companies

4.0
 • 105 Interview Questions
4.0
 • 49 Interview Questions
3.7
 • 23 Interview Questions
4.1
 • 13 Interview Questions
3.6
 • 12 Interview Questions
4.0
 • 11 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

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