Add office photos
Engaged Employer

Mphasis

3.4
based on 8.4k Reviews
Video summary
Filter interviews by

20+ Hotel New Krishna Palace Interview Questions and Answers

Updated 9 Nov 2024
Popular Designations

Q1. Why Mphasis? What do you know about us?

Ans.

Mphasis is a leading IT solutions provider with a focus on digital transformation.

  • Mphasis has a strong presence in the banking and financial services industry, providing innovative solutions to clients such as Citibank and Standard Chartered.

  • The company has a focus on digital transformation and offers services such as cloud computing, data analytics, and artificial intelligence.

  • Mphasis has won several awards for its work in the IT industry, including the NASSCOM Customer Serv...read more

Add your answer

Q2. Write a program for multiple inheritances?

Ans.

A program for multiple inheritances

  • Create a base class with common attributes and methods

  • Create derived classes that inherit from the base class

  • Use multiple inheritance to inherit from multiple base classes

  • Resolve any naming conflicts using scope resolution operator (::)

  • Example: class Derived: public Base1, public Base2 {}

  • Example: class Derived: public Base1, public Base2 { public: void method() { Base1::method(); Base2::method(); } }

View 1 answer

Q3. What is the difference between structure and union?

Ans.

Structure is a collection of variables of different data types while union is a collection of variables of same data type.

  • Structure allocates memory for all its variables while union allocates memory for only one variable at a time.

  • Structure is used when we need to store different types of data while union is used when we need to store only one type of data.

  • Example of structure: struct student { char name[20]; int age; float marks; };

  • Example of union: union data { int i; floa...read more

View 1 answer

Q4. What is your definition of work-life balance?

Ans.

Work-life balance is the ability to prioritize and manage both work and personal life effectively.

  • It involves setting boundaries and managing time efficiently

  • It allows for time to pursue personal interests and hobbies

  • It reduces stress and burnout

  • Examples include flexible work hours, remote work options, and time off for personal reasons

Add your answer
Discover Hotel New Krishna Palace interview dos and don'ts from real experiences

Q5. C code to perform in-order traversal on a binary tree.

Ans.

C code for in-order traversal on a binary tree.

  • Start at the root node.

  • Traverse the left subtree recursively.

  • Visit the root node.

  • Traverse the right subtree recursively.

  • Repeat until all nodes have been visited.

  • Example code: void inorderTraversal(Node* root) { if(root != NULL) { inorderTraversal(root->left); printf("%d ", root->data); inorderTraversal(root->right); } }

View 1 answer

Q6. Difference between Function overriding and function overloading?

Ans.

Function overriding vs function overloading

  • Function overloading is having multiple functions with the same name but different parameters

  • Function overriding is having a function in a subclass with the same name and parameters as a function in the superclass

  • Function overloading is resolved at compile-time while function overriding is resolved at runtime

Add your answer
Are these interview questions helpful?

Q7. What do you know about process management?

Ans.

Process management involves planning, organizing, executing, and monitoring processes to achieve organizational goals.

  • It includes identifying and defining processes

  • Assigning responsibilities and resources

  • Establishing timelines and milestones

  • Monitoring progress and making adjustments as needed

  • Examples include project management, supply chain management, and quality management

Add your answer

Q8. What is a dangling pointer?

Ans.

A dangling pointer is a pointer that points to a memory location that has been deallocated or freed.

  • Dangling pointers can cause crashes or unexpected behavior when accessed.

  • They can occur when a pointer is not set to NULL after the memory it points to is freed.

  • Example: int *ptr = malloc(sizeof(int)); free(ptr); printf('%d', *ptr);

  • In the above example, ptr becomes a dangling pointer after the memory it points to is freed.

Add your answer
Share interview questions and help millions of jobseekers 🌟

Q9. What is inheritance and type of inheritance

Ans.

Inheritance is a mechanism in OOP where a new class is derived from an existing class.

  • It allows the new class to inherit the properties and methods of the existing class.

  • The existing class is called the parent or base class, and the new class is called the child or derived class.

  • There are different types of inheritance: single, multiple, multilevel, and hierarchical.

  • Example: A car class can be a parent class, and a sedan class can be a child class that inherits the properties...read more

Add your answer

Q10. Explain about OSI model

Ans.

The OSI model is a conceptual model that describes how data is transmitted over a network.

  • OSI stands for Open Systems Interconnection.

  • It has 7 layers: Physical, Data Link, Network, Transport, Session, Presentation, and Application.

  • Each layer has a specific function and communicates with the adjacent layers.

  • Example: When you send an email, the Application layer sends it to the Presentation layer, which formats the data, and then sends it to the Session layer.

  • The Session layer ...read more

Add your answer

Q11. Code for sum of n natural numbers

Ans.

Code for sum of n natural numbers

  • Use a loop to iterate from 1 to n and add each number to a sum variable

  • Return the sum variable

Add your answer

Q12. oops concepts with real time examples

Ans.

Object-oriented programming concepts with real-life examples

  • Encapsulation: A car's engine is encapsulated and hidden from the user, who only interacts with the car's interface.

  • Inheritance: A cat is a subclass of the animal class, inheriting its properties and methods.

  • Polymorphism: A shape class can have different methods for calculating area depending on the shape, such as circle or rectangle.

  • Abstraction: A TV remote control abstracts the complex inner workings of the TV and ...read more

Add your answer

Q13. Company info. Diff between home and house.

Ans.

The question is about company info and the difference between home and house.

  • Company info refers to details about the organization such as its history, mission, and values.

  • Home refers to a place where one lives and feels comfortable, while house refers to a physical structure.

  • A house can be a home, but not all homes are houses. For example, an apartment or a mobile home can also be a home.

  • The difference between home and house is subjective and can vary based on cultural and p...read more

Add your answer

Q14. What are lists and tupples

Ans.

Lists and tuples are data structures in Python used to store collections of items.

  • Lists are mutable and ordered, allowing for easy addition and removal of elements.

  • Tuples are immutable and ordered, making them useful for storing related data that should not be changed.

  • Both can store any type of data, including other lists or tuples.

  • Lists are created using square brackets, while tuples use parentheses.

  • Example: my_list = [1, 'hello', [2, 3]]

  • Example: my_tuple = (4, 'world', (5, ...read more

Add your answer

Q15. Any program which you know.

Ans.

One program I know is a simple calculator program written in Python.

  • The program takes user input for two numbers and an operator (+, -, *, /).

  • It then performs the operation and displays the result.

  • Example: input 5, +, 3 -> output 8

Add your answer

Q16. Diff between handwork and smartwork.

Ans.

Handwork is hard work done manually, while smart work is efficient work done with the use of technology and strategy.

  • Handwork involves physical effort, while smart work involves mental effort.

  • Handwork is time-consuming, while smart work is time-efficient.

  • Handwork may not always yield the desired results, while smart work is focused on achieving specific goals.

  • Examples of handwork include farming, construction, and cleaning, while examples of smart work include automation, dat...read more

Add your answer

Q17. explain Object oriented program

Ans.

Object-oriented programming is a programming paradigm based on the concept of objects, which can contain data and code.

  • Objects are instances of classes, which define the structure and behavior of the objects.

  • Encapsulation allows data to be hidden within objects and only accessed through methods.

  • Inheritance allows classes to inherit attributes and methods from other classes.

  • Polymorphism allows objects to be treated as instances of their parent class, enabling flexibility and r...read more

Add your answer

Q18. abt project and algorithms used

Ans.

I worked on a project that involved developing a recommendation system using collaborative filtering algorithms.

  • Implemented collaborative filtering algorithms like user-based and item-based recommendation systems

  • Utilized cosine similarity and Pearson correlation coefficient for calculating similarity between users/items

  • Used matrix factorization techniques like Singular Value Decomposition (SVD) for recommendation

  • Evaluated the performance of algorithms using metrics like RMSE ...read more

Add your answer

Q19. Projects in Engineering

Ans.

Projects in engineering involve designing, building, and testing systems and structures to solve problems.

  • Identify problem and constraints

  • Design solution and create blueprints

  • Build and test prototype

  • Refine design based on testing results

  • Implement final solution

  • Examples: building a bridge, designing a new software application

Add your answer

Q20. pointers in c

Ans.

Pointers in C are variables that store memory addresses. They are used to manipulate data and create dynamic data structures.

  • Pointers are declared using the * symbol, and can be initialized to the address of another variable.

  • Dereferencing a pointer means accessing the value stored at the memory address it points to, using the * symbol.

  • Pointers can be used to pass variables by reference, allowing functions to modify the original variable.

  • Dynamic memory allocation can be done u...read more

Add your answer

Q21. write code for duplicate array

Ans.

Code to remove duplicates from an array of strings

  • Use a Set to store unique elements

  • Iterate through the array and add each element to the Set

  • Convert the Set back to an array to get the final result

Add your answer

Q22. okay with any location

Ans.

I am open to any location for the job.

  • I am willing to relocate for the job

  • I am flexible with the location

  • I am excited about the opportunity to work in different places

Add your answer

Q23. constructors in java

Ans.

Constructors are special methods used to initialize objects in Java.

  • Constructors have the same name as the class they belong to.

  • They are called automatically when an object is created.

  • Constructors can be overloaded to accept different parameters.

  • Default constructor is provided by Java if no constructor is defined.

  • Constructors can also call other constructors using 'this' keyword.

Add your answer

Q24. Smart works vs hardwork

Ans.

Smart work is the key to success, but hard work is equally important.

  • Smart work involves using your resources efficiently to achieve your goals.

  • Hard work involves putting in a lot of effort and time to achieve your goals.

  • A combination of both smart work and hard work is ideal for success.

  • For example, a student who studies smartly by focusing on important topics and practicing previous year papers along with putting in hard work by studying for long hours is more likely to suc...read more

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

Interview Process at Hotel New Krishna Palace

based on 10 interviews
4 Interview rounds
Resume Shortlist Round
Aptitude Test Round
HR Round - 1
HR Round - 2
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Associate Software Engineer Interview Questions from Similar Companies

3.7
 • 60 Interview Questions
3.9
 • 18 Interview Questions
3.6
 • 16 Interview Questions
4.7
 • 15 Interview Questions
3.7
 • 13 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
75 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions

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