Wipro
UltraTech Cement Interview Questions and Answers
Q1. Have you worked on Telecom domain, as they are our clients
Yes, I have worked on Telecom domain in my previous role.
I have experience developing software solutions for telecom companies to improve network performance and customer experience.
I have worked on projects involving billing systems, network management, and customer relationship management.
I have knowledge of telecom protocols such as SIP, VoIP, and SS7.
I have collaborated with telecom engineers to integrate software solutions with telecom infrastructure.
Q2. What is difference between callable and runnable interface
Callable interface can return a result and can throw a checked exception, while Runnable interface cannot return a result or throw a checked exception.
Callable interface is a part of java.util.concurrent package, while Runnable interface is a part of java.lang package.
Callable interface has a method call() that returns a result and can throw a checked exception, while Runnable interface has a method run() that does not return a result or throw a checked exception.
Callable int...read more
Q3. ORM Frameworks in details- JPA queries
JPA is a Java ORM framework that allows developers to interact with databases using object-oriented programming.
JPA stands for Java Persistence API
It provides a set of Java classes and interfaces for managing relational data
JPA queries can be written using JPQL (Java Persistence Query Language)
JPA supports various annotations like @Entity, @Table, @Id, @Column, etc.
JPA can be used with different ORM frameworks like Hibernate, EclipseLink, etc.
Q4. write code for producer consumer problem
Implement producer consumer problem using code
Use a shared buffer to store data produced by producer and consumed by consumer
Implement synchronization mechanisms like mutex or semaphore to control access to the buffer
Ensure proper handling of buffer full and buffer empty conditions to avoid race conditions
Q5. How you will takle esculation
I will tackle escalations by first understanding the issue, prioritizing tasks, communicating effectively, and seeking help from senior team members if needed.
Understand the root cause of the escalation
Prioritize tasks based on urgency and impact
Communicate effectively with stakeholders
Seek help from senior team members if needed
Q6. Communication between microservices
Communication between microservices is typically done through APIs, message queues, or event-driven architecture.
Use RESTful APIs for synchronous communication between microservices
Implement message queues like RabbitMQ or Kafka for asynchronous communication
Utilize event-driven architecture with tools like Apache Kafka or AWS SNS/SQS
Consider gRPC for high-performance communication between microservices
Q7. What is dead lock
Deadlock is a situation in which two or more processes are unable to proceed because each is waiting for the other to release a resource.
Occurs in multitasking environments
Caused by a circular wait condition
Can be resolved using techniques like deadlock prevention, deadlock avoidance, and deadlock detection
Example: Process A holds Resource 1 and waits for Resource 2, while Process B holds Resource 2 and waits for Resource 1
Q8. Hash map internal working
Hash map is a data structure that stores key-value pairs and uses a hash function to map keys to their corresponding values.
Hash map uses a hash function to determine the index of the key-value pair in the underlying array.
Collisions can occur when multiple keys hash to the same index, which can be resolved using techniques like chaining or open addressing.
Hash maps have O(1) average time complexity for insertion, deletion, and lookup operations.
Q9. Explain inhertitance
Inheritance is a concept in object-oriented programming where a class inherits properties and behaviors from another class.
Allows a class to reuse code from another class
Creates a parent-child relationship between classes
Derived class inherits attributes and methods from base class
Example: Class 'Car' can inherit from class 'Vehicle'
Interview Process at UltraTech Cement
Top Senior Software Developer Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month