Add office photos
Employer?
Claim Account for FREE

United Online

3.3
based on 32 Reviews
Filter interviews by

KPMG India Interview Questions and Answers

Updated 5 Feb 2024

Q1. Puzzle-There are N coins out of which x are heads. A blind man has to divide these coins equally into two parts such that each side contain equal number of heads

Ans.

The blind man can divide the coins by randomly selecting coins and checking if they are heads or tails.

  • The blind man can start by randomly selecting a coin and checking if it is a head or a tail.

  • If the selected coin is a head, he can put it in one side and decrease the count of heads remaining.

  • If the selected coin is a tail, he can put it in the other side and decrease the count of tails remaining.

  • He can continue this process until he has divided the coins equally or until he...read more

Add your answer

Q2. What are different types of joins

Ans.

Different types of joins are Inner Join, Left Join, Right Join, and Full Outer Join.

  • Inner Join returns only the matching rows from both tables

  • Left Join returns all the rows from the left table and matching rows from the right table

  • Right Join returns all the rows from the right table and matching rows from the left table

  • Full Outer Join returns all the rows from both tables, with NULL values in the columns where there is no match

Add your answer

Q3. What is a process and how it is executed in os

Ans.

A process is a program in execution. It is executed in OS by allocating resources and managing its execution.

  • A process is a unit of work that can be scheduled and executed by the OS

  • It is created by a parent process and has its own memory space and resources

  • The OS manages the execution of processes by allocating resources such as CPU time and memory

  • Processes can communicate with each other through inter-process communication mechanisms

  • Examples of processes include web browsers...read more

Add your answer

Q4. Explain solutions for the program and algorithm given in the apti

Add your answer
Discover KPMG India interview dos and don'ts from real experiences

Q5. How will you prevent deadlock

Ans.

Preventing deadlock by implementing a resource allocation strategy

  • Implement a resource allocation strategy to ensure resources are not locked by multiple processes

  • Use timeouts to prevent processes from waiting indefinitely for resources

  • Implement a process termination strategy to release resources held by terminated processes

  • Use a deadlock detection algorithm to identify and resolve deadlocks

  • Ensure that processes request resources in a consistent order to prevent circular wait

Add your answer

Q6. Code of strcpy function

Ans.

strcpy function copies a string from source to destination

  • The function is defined in string.h header file

  • The syntax of the function is: char *strcpy(char *destination, const char *source)

  • The function returns the pointer to the destination string

  • The function copies the null character also from source to destination

  • The destination string must have enough space to hold the source string

Add your answer

Q7. ACID properties

Ans.

ACID properties ensure database transactions are reliable and consistent.

  • ACID stands for Atomicity, Consistency, Isolation, and Durability.

  • Atomicity ensures that a transaction is treated as a single, indivisible unit of work.

  • Consistency ensures that a transaction brings the database from one valid state to another.

  • Isolation ensures that concurrent transactions do not interfere with each other.

  • Durability ensures that once a transaction is committed, it will remain committed ev...read more

Add your answer

Q8. Database of Project

Ans.

A database of project information.

  • Includes project name, description, start and end dates, budget, and team members.

  • Can be used to track progress, allocate resources, and analyze performance.

  • May also include project milestones, risks, and issues.

  • Examples: Trello, Asana, Jira, Microsoft Project.

Add your answer
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Interview Questions from Similar Companies

3.6
 • 1.8k Interview Questions
4.2
 • 641 Interview Questions
3.7
 • 257 Interview Questions
4.0
 • 202 Interview Questions
3.9
 • 180 Interview Questions
3.6
 • 139 Interview Questions
View all
Top United Online Interview Questions And Answers
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
70 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions
Get AmbitionBox app

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