Add office photos
Engaged Employer

Tata Elxsi

3.9
based on 2k Reviews
Filter interviews by

Interview Questions and Answers

Updated 10 Nov 2024
Popular Designations

Q1. What design pattern you used

Ans.

I have used the Singleton design pattern in my previous projects.

  • Used to ensure a class has only one instance and provides a global point of access to it

  • Helps in managing global resources efficiently

  • Example: Database connection manager in a web application

Add your answer

Q2. What is primary key

Ans.

Primary key is a unique identifier for each record in a database table.

  • Primary key ensures each record in a table is unique

  • It can be a single column or a combination of columns

  • Primary key values cannot be NULL

  • Example: 'ID' column in a 'Users' table

Add your answer

Q3. What is foreign key

Ans.

Foreign key is a field in a database table that links to a primary key in another table.

  • Foreign key ensures referential integrity between related tables

  • It helps maintain relationships between tables

  • Foreign key constraints can be used to enforce data integrity

Add your answer

Q4. What is unique key

Ans.

A unique key is a field or combination of fields in a database table that uniquely identifies each record in the table.

  • A unique key ensures that no two records in a table have the same values for the specified key fields.

  • It can be a single field or a combination of multiple fields.

  • Unique keys are used to enforce data integrity and prevent duplicate records.

  • Examples: Primary key, Unique constraint

Add your answer
Discover null interview dos and don'ts from real experiences

Q5. Different types of dbs

Ans.

Different types of databases include relational, NoSQL, graph, and document databases.

  • Relational databases store data in tables with rows and columns (e.g. MySQL, PostgreSQL)

  • NoSQL databases are non-relational and can handle unstructured data (e.g. MongoDB, Cassandra)

  • Graph databases use graph structures for semantic queries (e.g. Neo4j, Amazon Neptune)

  • Document databases store data in documents (e.g. Couchbase, Firebase)

Add your answer

Q6. process and thread difference

Ans.

Processes are independent entities while threads are lightweight sub-processes within a process.

  • Processes have their own memory space while threads share the same memory space within a process.

  • Processes are heavyweight in terms of resources while threads are lightweight.

  • Processes communicate with each other through inter-process communication mechanisms like pipes or sockets, while threads can communicate directly through shared memory.

  • Example: A web browser running multiple ...read more

Add your answer

Q7. Explaining oops

Ans.

OOPs (Object-Oriented Programming) is a programming paradigm based on the concept of objects, which can contain data and code.

  • OOPs focuses on creating objects that interact with each other to solve complex problems

  • Key principles of OOPs include encapsulation, inheritance, and polymorphism

  • Encapsulation allows objects to hide their internal state and require all interaction to be performed through an object's methods

  • Inheritance allows objects to inherit attributes and methods f...read more

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

Interview Process at null

based on 4 interviews in the last 1 year
1 Interview rounds
Technical Round
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Technical Lead Interview Questions from Similar Companies

3.7
 • 75 Interview Questions
3.9
 • 18 Interview Questions
3.6
 • 17 Interview Questions
3.4
 • 16 Interview Questions
3.6
 • 11 Interview Questions
4.2
 • 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
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