Xoriant
10+ Tracxn Interview Questions and Answers
Q1. How would you manage multi role login system?
Multi role login system can be managed by assigning different access levels to each role.
Create a database table for roles and their access levels
Assign each user a role with corresponding access level
Implement role-based access control (RBAC) to restrict access to certain features
Use session management to keep track of user roles
Provide an admin panel to manage roles and access levels
Q2. CSS methods to fixed positions of headers and footers?
CSS methods for fixed headers and footers
Use position: fixed property
Set top or bottom property to 0 for fixed header/footer
Add z-index property to ensure header/footer is on top
Consider using padding or margin to avoid overlapping content
Q3. What Data binding in angular?
Data binding in Angular is a way to establish a connection between the UI and the application's data.
Data binding allows automatic synchronization of data between the model and the view.
It eliminates the need for manual DOM manipulation.
There are different types of data binding in Angular, such as interpolation, property binding, event binding, and two-way binding.
Interpolation: {{ data }}
Property binding: [property]='data'
Event binding: (event)='handler()'
Two-way binding: [(...read more
Q4. What is polymorphism in object oriented programming?
Polymorphism is the ability of an object to take on many forms.
Polymorphism allows objects of different classes to be treated as if they are of the same class.
It is achieved through method overriding and method overloading.
Example: A parent class Animal can have child classes like Dog, Cat, and Cow, each with their own unique implementation of the method 'makeSound'.
Polymorphism makes code more flexible and reusable.
Q5. Return a sorted array given multiple multiple sorted array
Merge multiple sorted arrays into one sorted array
Merge all arrays into one array
Sort the merged array
Return the sorted array
Q6. What is static service in angular?
Static service in Angular is used to share data between components and persists data even after the component is destroyed.
Static service is a singleton service that can be injected into any component.
It is used to share data between components.
Data persists even after the component is destroyed.
It is useful for sharing data between sibling components.
Example: a shopping cart service that persists the cart data across different pages.
Q7. Software development life cycle?
Software development life cycle is a process followed by software developers to design, develop and maintain software.
SDLC consists of several phases such as planning, analysis, design, implementation, testing, deployment, and maintenance.
Each phase has its own set of activities and deliverables.
SDLC models include Waterfall, Agile, and DevOps.
SDLC helps in ensuring that the software is developed efficiently, meets the requirements, and is of high quality.
SDLC also helps in r...read more
Q8. What are OOps concepts?
Object-oriented programming concepts that help in organizing and designing code for reusability and maintainability.
Encapsulation: Bundling data and methods that operate on the data into a single unit (class).
Inheritance: Ability of a class to inherit properties and behavior from another class.
Polymorphism: Ability to present the same interface for different data types.
Abstraction: Hiding the complex implementation details and showing only the necessary features to the user.
Q9. What are ACID property?
ACID properties are a set of properties that guarantee the reliability of database transactions.
ACID stands for Atomicity, Consistency, Isolation, and 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 multiple transactions can run concurrently without affecting each other
Durability ensures that once ...read more
Q10. What is Nested List with example
A nested list is a list that contains other lists as its elements.
Nested lists can be created using square brackets and separating the elements with commas.
Elements of a nested list can be accessed using indexing and slicing.
Example: my_list = [[1, 2, 3], [4, 5, 6], [7, 8, 9]]
Accessing element 5: my_list[1][1]
Q11. What is Interface ?
An interface in software engineering is a contract that defines the methods that a class must implement.
Interfaces in Java are used to achieve abstraction and multiple inheritance.
Interfaces contain only method signatures, not method bodies.
Classes can implement multiple interfaces in Java.
Interfaces are used to define the behavior of a class without specifying how that behavior is implemented.
Q12. What is queue , explain with example
A queue is a data structure that follows the First In First Out (FIFO) principle.
Elements are added to the back of the queue and removed from the front.
Example: A line of people waiting for a movie ticket.
Operations: Enqueue (add element to back), Dequeue (remove element from front), Peek (view front element)
Q13. What is angular, javascript
Angular is a popular front-end framework for building dynamic web applications, while JavaScript is a programming language commonly used for web development.
Angular is a front-end framework developed by Google for building single-page applications
JavaScript is a programming language used for adding interactivity to web pages
Angular uses TypeScript, a superset of JavaScript, for development
JavaScript is widely used for client-side scripting and server-side development with Nod...read more
Q14. fibbonacci series optimal solution
The optimal solution for generating Fibonacci series efficiently.
Use dynamic programming to store previously calculated values to avoid redundant calculations.
Implement a recursive function with memoization to store and reuse calculated values.
Iterate through the series using a loop to generate Fibonacci numbers efficiently.
Q15. prime number program
A prime number program checks if a given number is only divisible by 1 and itself.
Check if the number is greater than 1
Iterate from 2 to the square root of the number and check for divisibility
If no divisors found, the number is prime
More about working at Xoriant
Interview Process at Tracxn
Top Software Engineer Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month