19 questions · from 1 interviews
PwC interview questions
Every question candidates reported from their PwC interviews, most frequently asked first. Each links to the write-up it came from, so you can see the round and how it went.
PwC coding and DSA questions
- 01
C# List Reference Output
what will be the output of this code List<int> intList = new List<int>(); intList.Add(1); intList.Add(2); var intList2 = intList; intList.RemoveAt(0); foreach (var item in intList) { Console.WriteLine(item); } foreach (var item in intList2) {…
- 02
Fix C# List Reference Issue
How we fix above code to get diff list and diff output
PwC system design questions
- 01
Write Update Endpoints
Can you write update endpoints
- 02
HTTP Request Routing to Controller Methods
if there is two methods in diff controller file how http request will follow particular method.
- 03
Update Multiple Customer Details in C#
from c code if we want to update 10 customer details in single task how we can do that.
- 04
Adding Column to Table-Valued Parameter (TVP)
If there is TVP with 5 column what if i want to add one more how we can do that.
- 05
Customer Table: isActive Data Type
Create one table customer table we have some customer active and inactive u want to save inactive what will the data type of isActive variable in C and in query
PwC behavioural and HR questions
- 01
Introduce yourself and projects
Introduce yourself and projects you worked on
PwC other questions
- 01
Difference between .NET Core and .NET Framework
So you have worked in dot net core how its different from dot net
- 02
Dependency Injection in .NET and .NET Core
How dependency Injection is used in Dot Net and Dot Net Core whats diff in diff frameworks.
- 03
Write Dependency Injection Syntax
How you do DI write syntax on notepad.
- 04
Why inject DI in Program.cs
Why we inject it in Program.cs
- 05
- 06
Service Lifetime for new instance every request
What if i want new instance every time the service is requested.
- 07
Real-time scenario for new service instance per request
What is the real time scenario of question number 7.
- 08
Interface Implementation with Duplicate Method Signatures
I have a interface a which having add method and interface b which same method add method how many times add method needed to implemented. I think I didn't understand the question properly but I answered only one time needed. public interface IA { void Add();…
- 09
Method to Return First Name and Last Name
Can you write a method form where I call method it will give two values first name last name form method
- 10
Unit Test Custom Exception in xUnit
How do we unit test a custom Exception in xUnit
- 11
PwC interview questions FAQ
What questions are asked in PwC interviews?
Candidates reported 19 distinct questions across 1 PwC interviews. 2 coding and DSA questions, 5 system design questions, 1 behavioural and HR questions, 11 other questions.