LTIMindtree
10+ Uplers Interview Questions and Answers
Q1. Explain Python Data Structures and advantages and some differences in each
Python data structures are containers that hold data in an organized manner, each with its own advantages and differences.
Python lists are versatile and can hold different data types.
Tuples are immutable and can be used as keys in dictionaries.
Sets are unordered and eliminate duplicate elements.
Dictionaries store data in key-value pairs for efficient retrieval.
Q2. List - Stores all types of elements Array - Stores one type of element and in sequential memory blocks hence faster access
An array stores one type of element in sequential memory blocks for faster access.
Arrays are useful for storing and accessing data in a specific order.
They can be used to store numbers, characters, or other data types.
Arrays can be multidimensional, allowing for more complex data structures.
Accessing elements in an array is done using an index, starting at 0.
Arrays can be resized dynamically in some programming languages.
Q3. Generators and Decorators implementation in Python
Generators and decorators are powerful features in Python for creating iterable objects and modifying functions respectively.
Generators are functions that use the yield keyword to return a sequence of values lazily.
They are memory efficient as they generate values on the fly instead of storing them in memory.
Decorators are functions that modify the behavior of other functions without changing their source code.
They are used to add functionality to functions, such as logging, ...read more
Q4. Diff btw list and array?
List is dynamic and can be modified while array is fixed in size and cannot be modified.
List can grow or shrink dynamically while array has a fixed size.
List can contain elements of different data types while array can only contain elements of the same data type.
List uses more memory than array due to its dynamic nature.
Array is faster than list for accessing elements by index.
Example: List - [1, 'hello', True], Array - [1, 2, 3]
Example: List - ['apple', 'banana', 'orange'], ...read more
Q5. Implement Database concepts through python
Python provides various libraries and modules to interact with databases, such as SQLite, MySQL, and PostgreSQL.
Python's standard library includes the sqlite3 module for working with SQLite databases.
For MySQL, the popular library is mysql-connector-python, which provides an interface to interact with MySQL databases.
psycopg2 is a widely used library for connecting to PostgreSQL databases in Python.
ORM (Object-Relational Mapping) libraries like SQLAlchemy can be used to abstr...read more
Q6. What is MDM?
MDM stands for Master Data Management. It is a process that ensures the consistency and accuracy of an organization's critical data.
MDM is a method of managing and organizing data to create a single, reliable source of truth.
It involves creating and maintaining a central repository of master data, which includes information about customers, products, suppliers, etc.
MDM helps in eliminating data duplication, improving data quality, and providing a unified view of data across d...read more
Q7. Any one Object Oriented Database
MongoDB is an open-source document database that provides high performance, scalability, and flexibility.
MongoDB is a NoSQL database that stores data in flexible, JSON-like documents.
It supports a rich query language and provides features like indexing, replication, and sharding.
MongoDB is widely used in web applications, big data processing, and real-time analytics.
Example: MongoDB is used by companies like Uber, Airbnb, and LinkedIn.
Q8. What is routing,hooks,service, directives.
Routing, hooks, service, and directives are all important concepts in software engineering.
Routing refers to the process of determining how an application responds to a client request.
Hooks are functions that allow developers to tap into the lifecycle of a component or application.
Services are reusable pieces of code that provide functionality to an application.
Directives are markers on a DOM element that tell AngularJS to attach a specified behavior to that element.
Q9. Dunder Methods in Python?
Dunder methods are special methods in Python that start and end with double underscores.
Dunder methods are also known as magic methods or special methods.
They are used to define behavior for built-in Python operations.
Examples include __init__ for object initialization and __str__ for string representation.
Dunder methods can be used to customize classes and objects in Python.
Q10. Difference between Transient, Scoped and Singleton
Transient, Scoped, and Singleton are different types of dependency injection lifetimes in software engineering.
Transient: New instance is created every time it is requested. Suitable for lightweight objects with no shared state.
Scoped: Instance is created once per request within the scope. Suitable for objects that are shared within a single request.
Singleton: Single instance is created and shared throughout the application. Suitable for objects that are expensive to create o...read more
Q11. Joins in SQL
Joins in SQL are used to combine rows from two or more tables based on related columns.
Joins are used to retrieve data from multiple tables in a single query.
Common types of joins include inner join, left join, right join, and full outer join.
Joins are performed using the JOIN keyword and specifying the join condition.
Example: SELECT * FROM table1 JOIN table2 ON table1.column = table2.column;
Q12. Explain any ML model
A machine learning model is a mathematical algorithm that learns from data to make predictions or decisions.
ML models can be supervised, unsupervised, or semi-supervised
Examples include linear regression, decision trees, neural networks, and support vector machines
Models can be used for classification, regression, clustering, and anomaly detection
Q13. Promise in JavaScript
Promises in JavaScript are objects representing the eventual completion or failure of an asynchronous operation.
Promises are used to handle asynchronous operations in JavaScript.
They can be in one of three states: pending, fulfilled, or rejected.
Promises can be chained using .then() method to handle success and failure.
Example: const myPromise = new Promise((resolve, reject) => { ... });
More about working at LTIMindtree
Top HR Questions asked in Uplers
Interview Process at Uplers
Reviews
Interviews
Salaries
Users/Month