Add office photos
Employer?
Claim Account for FREE

HARMAN

3.7
based on 2.8k Reviews
Video summary
Filter interviews by

PwC Interview Questions and Answers

Updated 24 Jun 2024
Popular Designations

Q1. What is copy constructor? Write Syntax? Why there's const and & in the syntax of copy constructor.

Ans.

Copy constructor creates a new object by copying an existing object.

  • Copy constructor is used to create a new object by copying an existing object.

  • Syntax: ClassName(const ClassName& obj)

  • The const keyword ensures that the original object is not modified.

  • The & symbol is used to pass the object by reference, which is more efficient than passing by value.

  • Copy constructor is automatically called when a new object is created from an existing object.

Add your answer

Q2. A sequence of number is given, Find one of the given number by providing optimum solution? You need to ask the interviewer if the it is sorted or not and then discussion on different types of sorts.

Ans.

Ask if the sequence is sorted and discuss different types of sorts to find the given number.

  • Ask if the sequence is sorted to determine the best approach.

  • Discuss different types of sorts like bubble sort, selection sort, insertion sort, merge sort, quick sort, etc.

  • Choose the most efficient sorting algorithm based on the size of the sequence and the given number.

Add your answer

Q3. What are the Design PAtterns wou have used with explanation ?

Ans.

Design patterns are reusable solutions to common problems in software design. Some commonly used patterns include Singleton, Factory, Observer, and Strategy.

  • Singleton pattern ensures a class has only one instance and provides a global point of access to it.

  • Factory pattern creates objects without specifying the exact class of object that will be created.

  • Observer pattern defines a one-to-many dependency between objects so that when one object changes state, all its dependents a...read more

Add your answer

Q4. What platform you worked on? Linux, Windows? System configuration?

Ans.

I have worked on both Linux and Windows platforms with various system configurations.

  • Proficient in Linux command line interface and shell scripting

  • Experience in Windows Server administration and Active Directory management

  • Familiarity with virtualization technologies such as VMware and VirtualBox

  • Knowledge of system configuration management tools like Ansible and Puppet

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

Q5. Casting Operators in C++, dynamic_cast when it is used?

Ans.

dynamic_cast is used in C++ to perform safe downcasting of polymorphic types.

  • dynamic_cast is used to convert a pointer/reference of a base class to a pointer/reference of a derived class.

  • It is used when we want to access a derived class member function or variable using a base class pointer/reference.

  • If the conversion is not possible, dynamic_cast returns a null pointer for pointers or throws a bad_cast exception for references.

Add your answer

Q6. Connect statement in Qt qnd it's parameters? MOC compiler in Qt?

Ans.

Connect statement is used to connect signals and slots in Qt. MOC compiler generates meta-object code for Qt classes.

  • Connect statement connects a signal to a slot or a signal to another signal.

  • Parameters of connect statement include sender object, signal name, receiver object, slot name, and optional connection type.

  • MOC compiler generates meta-object code for Qt classes which enables features like signals and slots, introspection, and dynamic properties.

Add your answer

Q7. Major Pillar of OOPS, Abstraction vs Encapsulation

Ans.

Abstraction and Encapsulation are two major pillars of OOPS.

  • Abstraction is the process of hiding complex implementation details and showing only the necessary information to the user.

  • Encapsulation is the process of wrapping data and methods into a single unit and restricting access to the data from outside the unit.

  • Abstraction is achieved through abstract classes and interfaces.

  • Encapsulation is achieved through access modifiers like public, private, and protected.

  • Abstraction ...read more

Add your answer

Q8. What is Q_Object Macro in Qt?

Ans.

Q_Object Macro is a Qt macro used to declare a class as a QObject.

  • Q_Object Macro is used to enable signals and slots mechanism in a class.

  • It is used to declare a class as a QObject and to inherit from QObject.

  • It is used to enable the use of Qt's meta-object system in a class.

  • It is used to enable dynamic properties and object names in a class.

Add your answer

Q9. Discussion on previous technologies used ?

Ans.

Discussed previous technologies used in product development including CAD software, simulation tools, and prototyping methods.

  • Utilized CAD software such as SolidWorks for 3D modeling and design

  • Employed simulation tools like ANSYS for analyzing structural integrity and performance

  • Utilized rapid prototyping methods such as 3D printing to create physical prototypes for testing

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

Interview Process at PwC

based on 3 interviews
1 Interview rounds
Technical Round
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories
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