United Online
KPMG India Interview Questions and Answers
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
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
Q2. What are different types of joins
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
Q3. What is a process and how it is executed in os
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
Q4. Explain solutions for the program and algorithm given in the apti
Q5. How will you prevent deadlock
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
Q6. Code of strcpy function
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
Q7. ACID properties
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
Q8. Database of Project
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.
Top HR Questions asked in KPMG India
Top Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month