ASE
30+ ASE Interview Questions and Answers

Asked in TCS

Q. Given N gold wires, each wire has a length associated with it. At a time, only two adjacent small wires are assembled at the end of a large wire and the cost of forming is the sum of their length. Find the mini...
read moreGiven N gold wires with lengths, find minimum cost to assemble all wires into a single wire.
Only two adjacent small wires can be assembled at a time
Cost of forming is the sum of their length
Use dynamic programming to find minimum cost
Example: N=4, lengths=[2,3,4,5], minimum cost=29

Asked in Accenture

Q. In a certain code 'MISSIONS' is written as 'MSIISNOS'. How is 'ONLINE' written in that code?
Decode the given code to find the code for 'ONLINE'.
Identify the pattern in the given code
Rearrange the letters of 'ONLINE' accordingly
Replace each letter with its corresponding code
ASE Interview Questions and Answers for Freshers

Asked in IBM

Q. What is Data Structure? why we use Data Structure?what is Array?Difference between array and variable. Difference between array and Data structure.
Data structure is a way of organizing and storing data in a computer so that it can be accessed and used efficiently.
Data structure is used to manage and manipulate data effectively.
Array is a type of data structure that stores a fixed-size sequential collection of elements of the same type.
Variables are used to store a single value, while arrays can store multiple values of the same type.
Data structure is a broader term that includes arrays and other types of structures like...read more

Asked in LTIMindtree

Q. Write a program to list all prime numbers within a specified range.
Program to print all prime numbers in a given range.
Take input for the range of numbers
Loop through the range and check if each number is prime
If a number is prime, print it
A number is prime if it is only divisible by 1 and itself

Asked in TCS

Q. Explain the difference between modular programming languages and object-oriented programming languages, considering C, C++, and Java.
Modular programming focuses on dividing code into modules, while OOP emphasizes objects and classes for data encapsulation.
Modular programming in C uses functions and files to organize code, e.g., using header files for declarations.
C++ supports both modular and OOP paradigms, allowing for function-based and class-based designs, e.g., using classes for encapsulation.
Java is purely object-oriented, where everything is an object, promoting code reuse and inheritance, e.g., usin...read more

Asked in TCS

Q. What is oops, and what’s the difference between object oriented programming and other
OOPs stands for Object Oriented Programming. It is a programming paradigm based on the concept of objects.
OOPs focuses on creating objects that contain data and methods to manipulate that data.
In OOPs, objects can interact with each other through methods.
OOPs promotes concepts like inheritance, encapsulation, and polymorphism.
Other programming paradigms like procedural programming focus on procedures or functions.
In procedural programming, data and functions are separate enti...read more

Asked in LTIMindtree

Q. Tell me about a deadlock algorithm.
One deadlock algorithm is the Banker's algorithm.
Banker's algorithm is used to avoid deadlock in a multi-process system.
It works by checking if a request for resources will leave the system in a safe state.
If the request will not leave the system in a safe state, it is denied.
The algorithm keeps track of available resources and the maximum resources each process can request.
It also keeps track of the resources currently allocated to each process.
If a process requests resource...read more

Asked in Accenture

Q. How to crack the Accenture interview?
Prepare thoroughly, showcase skills, and demonstrate cultural fit to succeed in an Accenture interview.
Research Accenture's values and recent projects to align your answers with their mission.
Practice common interview questions like 'Tell me about yourself' and 'Why Accenture?'.
Prepare examples of your past experiences using the STAR method (Situation, Task, Action, Result).
Demonstrate your problem-solving skills through case studies or situational questions.
Show enthusiasm f...read more
Share interview questions and help millions of jobseekers 🌟

Asked in LTIMindtree

Q. What does deadlock mean?
Deadlock is a situation where two or more processes are unable to proceed because they are waiting for each other to release resources.
Occurs in multi-process systems
Processes are stuck in a circular wait
Can lead to system crashes or freezes
Prevented by proper resource allocation and scheduling
Example: Process A holds resource X and waits for resource Y, while process B holds resource Y and waits for resource X

Asked in Mphasis

Q. What is polymorphism? Difference between union and structure
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 overloading and method overriding.
Example: A parent class Animal can have child classes like Dog, Cat, and Bird. Each child class can have its own implementation of the method 'makeSound', but they can all be called using the same method name.
A structure is a collection of variables of diff...read more

Asked in Mars International India

Q. How will you build a brand image?
To build brand image, it is important to create a strong brand identity, establish a positive reputation, engage with customers, and deliver consistent brand messaging.
Create a strong brand identity by defining your brand's values, mission, and unique selling proposition.
Establish a positive reputation by providing high-quality products or services and delivering exceptional customer experiences.
Engage with customers through various channels such as social media, email market...read more

Asked in TCS

Q. What is a foreign key?
A foreign key is a column or set of columns in a database table that refers to the primary key of another table.
It establishes a link between two tables.
It ensures referential integrity.
It helps in maintaining data consistency.
It can be used to join tables in a query.
Example: A 'customer' table may have a foreign key that refers to the 'order' table's primary key.

Asked in IBM

Q. C and Java. oops concepts and it's types.
C and Java both support OOP concepts like inheritance, polymorphism, encapsulation, and abstraction.
Inheritance allows a class to inherit properties and methods from another class.
Polymorphism allows objects to take on multiple forms.
Encapsulation hides the implementation details of a class from other classes.
Abstraction allows us to focus on the essential features of an object.
Examples of OOP concepts in Java include interfaces, abstract classes, and access modifiers.
Example...read more

Asked in Mars International India

Q. How do you market a push brand?
To sell a push brand, focus on creating a sense of urgency and highlighting the unique benefits of the product.
Emphasize the immediate need for the product
Highlight the unique features and benefits
Offer limited-time promotions or discounts
Use persuasive language and visuals in marketing materials
Leverage social proof through customer testimonials or endorsements

Asked in Accenture

Q. How would you handle a situation involving conflict?
I would address the conflict by actively listening, seeking to understand all perspectives, and finding a mutually beneficial solution.
Listen to all parties involved to understand their perspectives
Communicate openly and honestly to address any misunderstandings
Seek common ground and work towards a mutually beneficial solution
Stay calm and composed to de-escalate the situation
Involve a mediator if necessary to facilitate resolution

Asked in Tekion

Q. Design BookMyShow: Low-Level Design
Design a low-level architecture for a ticket booking platform like Book My Show.
Define core entities: User, Event, Venue, Ticket, Booking.
User can search for events by date, genre, or location.
Events have attributes like name, date, time, venue, and available tickets.
Implement a booking system that handles seat selection and payment processing.
Consider scalability: use microservices for user management, event management, and payment processing.
Use a database to store user pro...read more

Asked in Accenture

Q. Tell me about your activities outside of academics.
I engage in various extracurricular activities that enhance my skills and contribute to my personal growth.
Volunteered at a local hospital, assisting with patient care and gaining insights into the healthcare system.
Participated in a coding bootcamp, improving my programming skills and collaborating on projects with peers.
Joined a debate club, enhancing my public speaking and critical thinking abilities through regular practice and competitions.
Engaged in community service pr...read more

Asked in Precision

Q. What is a subnet?
A subnet is a smaller network within a larger network that shares a common address space.
Subnets are created by dividing a larger network into smaller ones.
Each subnet has its own unique IP address range.
Subnets can improve network performance and security.
Examples of subnets include a company's departments or a home network's devices.

Asked in HDFC Bank

Q. What is the difference between hard work and smart work?
Hard work is putting in effort and time, while smart work involves finding efficient ways to achieve goals.
Hard work involves putting in a lot of time and effort towards a task or goal.
Smart work focuses on finding efficient ways to achieve the same task or goal in less time and with less effort.
Hard work may lead to burnout if not balanced with smart work.
Smart work involves strategic planning, prioritizing tasks, and utilizing resources effectively.
Example: A student who st...read more

Asked in TCS

Q. What are exceptions?
Exceptions are unexpected events that occur during program execution.
Exceptions are used to handle errors and prevent program crashes.
They can be caused by a variety of factors, such as invalid input or resource exhaustion.
Examples of exceptions include NullPointerException, ArrayIndexOutOfBoundsException, and IOException.
Exception handling involves catching and handling exceptions using try-catch blocks.
Unchecked exceptions do not need to be declared in the method signature,...read more

Asked in TCS

Q. What is inheritance?
Inheritance is a mechanism in object-oriented programming where a new class is created by inheriting properties of an existing class.
Inheritance allows for code reuse and promotes a hierarchical organization of classes.
The existing class is called the superclass or parent class, while the new class is called the subclass or child class.
The subclass inherits all the properties and methods of the superclass, and can also add new properties and methods or override existing ones....read more

Asked in C H Robinson Worldwide Freight

Q. Pls tell me about Salesforce Marketing Cloud
Salesforce Marketing Cloud is a platform that allows businesses to manage and automate their marketing campaigns.
Salesforce Marketing Cloud provides tools for email marketing, social media marketing, mobile marketing, and advertising.
It allows businesses to create personalized and targeted marketing campaigns.
The platform offers features like email templates, automation workflows, social media listening, and analytics.
Salesforce Marketing Cloud integrates with other Salesforc...read more

Asked in Tekion

Q. Given the root of a binary tree, calculate the vertical order traversal of the binary tree.
Vertical Order Traversal of a tree
Vertical order traversal is a way to traverse a binary tree from top to bottom, left to right
Nodes are printed in order of their horizontal distance from the root node
If two nodes have the same horizontal distance, they are printed in the order they appear in the tree

Asked in IBM

Q. How do you feel you align with IBM's culture?
Culture fit is crucial to align with IBM's values and work environment.
Research IBM's core values and company culture to understand what they are looking for in a candidate
Highlight any experiences or qualities that demonstrate alignment with IBM's culture
Be prepared to discuss how you can contribute to and thrive in IBM's unique work environment

Asked in Jio

Q. How will you add value?
I will add value by leveraging my skills and experience to contribute to the success of the team and organization.
Bringing a fresh perspective and new ideas to the table
Collaborating with team members to achieve common goals
Applying my expertise to solve complex problems
Continuously learning and improving to stay ahead of industry trends
Delivering high-quality work that exceeds expectations

Asked in Tekion

Q. Describe the low-level design of Twitter.
Low level design of Twitter involves various components like servers, databases, APIs, and algorithms.
Twitter uses a distributed system architecture with multiple servers for handling user requests and data storage.
The system uses a combination of relational and NoSQL databases for storing user data and tweets.
APIs are used for communication between different components of the system and for providing access to third-party developers.
Twitter uses various algorithms for tasks ...read more

Asked in TCS

Q. What is the purpose of the 'finally' keyword?
finally keyword is used in try-catch block to execute a block of code regardless of the exception thrown or not.
finally block is optional and can be used after catch block
It is used to release resources like database connections, file handles, etc.
It is executed even if there is a return statement in try or catch block
Example: try { //code } catch(Exception e) { //code } finally { //code }

Asked in Accenture

Q. Explain the concept of Binary Search and provide a scenario where it would be most effective.
Binary search is an efficient algorithm for finding an item from a sorted list of items.
Binary search works on sorted arrays or lists.
It repeatedly divides the search interval in half.
If the value of the search key is less than the item in the middle, it narrows the interval to the lower half.
If the value is greater, it narrows to the upper half.
Example: In a sorted array [1, 2, 3, 4, 5], searching for 3 would check the middle (3) and find it immediately.

Asked in Capgemini Engineering

Q. Write an SQL query to join two tables.
SQL query to join 2 tables
Use the JOIN keyword to combine rows from two tables based on a related column between them
Specify the columns to be selected from each table
Use ON keyword to specify the join condition

Asked in Vishal Mega Mart

Q. How would you increase sales?
Boosting sales involves strategic marketing, customer engagement, and optimizing product offerings to meet market demands.
Enhance online presence through social media marketing; for example, use Instagram to showcase products.
Implement loyalty programs to encourage repeat purchases, like offering discounts for returning customers.
Utilize data analytics to understand customer behavior and tailor marketing strategies accordingly.
Expand product offerings based on customer feedba...read more
Interview Experiences of Popular Companies






Calculate your in-hand salary
Confused about how your in-hand salary is calculated? Enter your annual salary (CTC) and get your in-hand salary


Reviews
Interviews
Salaries
Users

