Additional Questions
Additional Questions
DBMS RDBMS
Relational Database Management
Database Management System
System
Stores data as files Stores data in tables (rows & columns)
Relationship between data is not Relationships are maintained using
compulsory keys
Less secure More secure
Supports small applications Supports large enterprise applications
Example: File system, XML DB Example: MySQL, Oracle Database
Answer:
“I prefer Python because it is simple, readable, and beginner-friendly. It helps in faster
development and has strong libraries for web development, AI, machine learning, and data
analysis. I used Python in academic projects because it reduced coding complexity and
improved productivity.”
Answer:
“I know basics of other languages too, but I feel more comfortable with Python because of
its simplicity and faster implementation.”
3) OOPS 4 Pillars with Real-World Example
(1) Encapsulation
Definition
Real-World Example
ATM machine — user cannot directly access bank details; only allowed operations are
shown.
Interview Answer
“Encapsulation means wrapping data and functions together and restricting direct access
using access modifiers. Example: ATM machine.”
(2) Abstraction
Definition
Real-World Example
Driving a car — we use steering and brakes without knowing engine internals.
Interview Answer
“Abstraction means hiding internal implementation and showing only essential features.
Example: driving a car.”
(3) Inheritance
Definition
Real-World Example
Interview Answer
“Inheritance allows one class to reuse properties and methods of another class, improving
code reusability.”
(4) Polymorphism
Definition
Real-World Example
Interview Answer
“Polymorphism means one method can perform different actions based on context.”
“Yes, I have used Microsoft Excel for academic and personal work such as organizing data,
calculations, filtering, sorting, and creating tables. I’m comfortable with basic formulas
and willing to learn advanced features if required.”
=SUM(A1:A5)
AVERAGE
Finds average.
=AVERAGE(A1:A5)
COUNT
Counts numeric cells.
=COUNT(A1:A5)
MAX / MIN
Find largest/smallest value.
=MAX(A1:A5)
=MIN(A1:A5)
IF Formula
Conditional checking.
=IF(A1>50,"Pass","Fail")
=VLOOKUP(101,A1:C10,2,FALSE)
“I know basic Excel formulas like SUM, AVERAGE, IF, COUNT, and basic data filtering.”
Instead say:
Best Answer
“I have theoretical knowledge of SQL concepts like tables, queries, primary keys, and joins
through academics, but I haven’t worked extensively on real-time projects yet. I’m
currently improving my practical skills.”
“DELETE removes data from a table, whereas DROP removes the entire table structure.”
Q: What is JOIN?
Answer:
“JOIN is used to combine data from multiple tables based on a related column.”
Option 1
Option 2
Option 3
Option 4
1) What is SMTP?
SMTP stands for:
“SMTP stands for Simple Mail Transfer Protocol. It is used for sending emails from a sender
to a receiver through mail servers.”
Real Example
When you send an email using Gmail or Outlook, SMTP is used behind the scenes.
nterview Answer
Q: Difference between C and Java?
Answer:
“C is a procedural programming language mainly focused on functions, whereas Java is an
object-oriented language focused on classes and objects. Java is platform independent
because of JVM, while C is platform dependent.”
Real-World Example
A person behaves differently:
• With friends
• With teachers
• With parents
• Draws circle
• Draws rectangle
• Draws triangle
Types of Polymorphism
Method overloading.
add(int a, int b)
add(int a, int b, int c)
Method overriding.
Interview Answer
“Polymorphism means one method can perform different actions depending on the
situation. It improves flexibility and code reusability.”
4) Difference Between CHAR and
VARCHAR in DBMS
CHAR VARCHAR
Fixed-length data type Variable-length data type
Wastes memory if data is small Uses memory efficiently
Faster Slightly slower
Example: CHAR(10) always stores 10 VARCHAR(10) stores only required
characters characters
Example
CHAR
CHAR(10)
If value is "Ann"
Remaining spaces are filled automatically.
VARCHAR
VARCHAR(10)
If value is "Ann"
Only 3 characters are stored.
Interview Answer
“CHAR stores fixed-length data, whereas VARCHAR stores variable-length data. VARCHAR
is more memory efficient because it stores only the required number of characters.”
Bonus SQL Question From Your Image
The query in the image finds:
Short Answer
“This query retrieves customers who have placed more than 3 orders using a subquery and
COUNT function.”
Q1. Explain the difference between a primary key and a foreign key.
Sample Answer:
A primary key is a unique identifier for each record in a table, ensuring that no two rows
have the same primary key value. It cannot have NULL values and must be unique across
the entire table.
A foreign key, on the other hand, is a field (or a set of fields) in one table that links to the
primary key in another table. It creates a relationship between the two tables. A foreign key
can contain NULL values and does not need to be unique.
Q2. What are the advantages of using Python for data analytics?
Sample Answer:
Python is a popular choice for data analytics because it’s simple, versatile, and powerful.
Its libraries like Pandas and NumPy make data manipulation and analysis much easier.
Python also excels in data cleaning and transformation, which is crucial when working with
raw data. Its clean syntax makes it beginner-friendly, and it’s scalable, so whether I’m
working with small datasets or handling big data, Python works well. Additionally, it
integrates seamlessly with other tools, making it great for end-to-end analytics.
Sample Answer:
A stack follows the LIFO (Last In, First Out) principle, where the last element added is the
first one to be removed. A queue follows FIFO (First In, First Out), where the first element
added is the first one to be removed.
Sample Answer:
Binary search is a divide-and-conquer algorithm used to find the position of a target value
within a sorted array. It repeatedly divides the search interval in half, checking whether the
target is in the left or right half.
Sample Answer:
AI has the potential to greatly impact the consulting industry by enabling faster and more
accurate data analysis, automating repetitive tasks, and providing predictive insights. It
allows consultants to focus on higher-value tasks like strategy and client engagement.
However, AI will never fully replace human expertise, especially in complex decision-
making and client relationships. The future of consulting will likely combine AI’s
capabilities with human intuition.
Sample Answer:
I would say my greatest strength is my ability to adapt quickly to new situations. Whether
it’s learning a new technology or adjusting to a new work environment, I’m always open to
change and willing to take on new challenges. I also pride myself on being a problem-
solver, using my critical thinking skills to analyze situations and come up with effective
solutions.
Q9: Tell me about a situation where you acted as a leader when a problem arose.
Answer:
“During my final-year COPD project, our team faced confusion because different
members were using different datasets and preprocessing methods, which affected the
results. I took the initiative to organize a discussion, standardize the workflow, and divide
tasks clearly among the team. This helped us complete the project on time and improved
coordination. The experience taught me the importance of communication and teamwork
in solving problems.”
Answer:
I want to work at Deloitte because it is one of the world’s leading professional services
firms with a strong reputation in consulting, technology, audit, and innovation. I am
especially interested in how Deloitte is investing in future technologies like blockchain,
cloud services, and AI consulting.
Another reason is Deloitte’s strong work culture and focus on diversity, collaboration, and
continuous learning. As a fresher, I want to start my career in an environment where I can
learn from experienced professionals, work on impactful projects, and grow both
technically and professionally.
I also admire Deloitte’s strong global presence and client impact. Working there would give
me exposure to real-world business challenges and opportunities to improve my skills.
The company works with businesses across different industries and helps clients solve
business and technology problems.”
Important:
Say “professional services firm,” not just “accounting company.”
• Integrity
• Outstanding value to clients
• Commitment to each other
• Strength from cultural diversity
Simple explanation:
“Integrity is important because Deloitte works with major companies and clients who trust
their services. Maintaining ethical standards and professionalism is essential for building
trust and reputation.”
“Diversity brings different perspectives and ideas, which improves innovation and
teamwork. Working with people from different backgrounds also helps employees grow
professionally and personally.”
• Microsoft
• Boeing
• MetLife
10. Approximately how many countries
does Deloitte operate in?
Answer:
• Consulting
• Audit & Assurance
• Tax
• Risk Advisory
• Financial Advisory
13. What do you know about Deloitte’s
work culture?
Answer:
“Deloitte is known for teamwork, collaboration, diversity, and continuous learning. The
company also focuses on employee development and maintaining a positive work
environment.”
“Good work-life balance improves employee well-being, productivity, motivation, and job
satisfaction.”
“Professional ethics are the moral principles and standards that guide behavior in the
workplace, such as honesty, responsibility, confidentiality, and integrity.”
“I respect different opinions and communication styles. I believe diversity helps teams
become more creative and effective.”
19. What do you know about emerging
technologies Deloitte works with?
Answer:
“Deloitte works with technologies like AI, cloud computing, blockchain, analytics,
cybersecurity, and digital transformation solutions.”
“My short-term goal is to build strong technical and professional skills. Long-term, I want
to grow into a role where I can contribute to impactful projects and take more
responsibilities.”
“I’m Ann Maria, a Computer Science graduate. During my academics, I worked on projects
related to AI and healthcare, including a COPD severity detection project using
spectrograms and deep learning concepts.
I’m interested in technology, problem-solving, and continuous learning. I’m now looking for
an opportunity where I can start my professional career, improve my technical skills, and
contribute effectively as part of a team.”
“Deloitte focuses heavily on technology consulting and innovation. The company works in
areas like AI, cloud services, cybersecurity, blockchain, and business analytics to help
organizations improve their operations.”
Method overloading means the same method name can perform different tasks based on
different parameters.
Python does not support true method overloading like Java, but we can achieve similar
behavior using default arguments.
Real-life Example
Example in Python
class Calculator:
obj = Calculator()
print([Link](2, 3)) # 5
print([Link](2, 3, 4)) # 9
Here:
Method overriding happens when a child class provides its own version of a method
already present in the parent class.
Real-life Example
• Dog → bark
• Cat → meow
Example in Python
class Animal:
def sound(self):
print("Animal makes sound")
class Dog(Animal):
def sound(self):
print("Dog barks")
class Cat(Animal):
def sound(self):
print("Cat meows")
d = Dog()
c = Cat()
[Link]()
[Link]()
Output
Dog barks
Cat meows
Example
Department Salary
HR 30000
HR 35000
IT 50000
IT 60000
GROUP BY
HAVING
3. Types of Joins
A) INNER JOIN
Returns only matching records from both tables.
Real-life Example
Example
B) OUTER JOIN
Returns matching records plus non-matching records.
Types:
LEFT JOIN
Real-life Example
C) SELF JOIN
A table joins with itself.
Real-life Example
Query
Output
Example:
• __add__()
• __sub__()
• __mul__()
Example Program
class Student:
# Overloading + operator
def __add__(self, other):
return [Link] + [Link]
s1 = Student(85)
s2 = Student(90)
result = s1 + s2
Output
Explanation
When we write:
s1 + s2
s1.__add__(s2)
As a fresher, I may not know everything yet, but I learn quickly and adapt to new
technologies. Instead of seeing AI as competition, I see it as a tool that can help me work
more efficiently. I can combine technical knowledge, teamwork, and problem-solving with
AI tools to deliver better results.
2. “If you had the power to solve one problem using AI,
what would you choose?”
Answer:
I would use AI in healthcare, especially for early disease detection in rural areas where
doctors are not always available.
For example, AI systems can help identify diseases early through medical images or
patient data, which can save lives and reduce treatment costs. Since I also worked on a
COPD-related project, I became interested in how AI can support healthcare professionals
and improve accessibility.
I believe technology will change roles, but it will also create new opportunities. Instead of
resisting change, I would continuously upgrade my skills and learn emerging technologies.
People who adapt and learn will always remain valuable. I would focus on skills like
problem-solving, communication, teamwork, and understanding business needs, because
those are difficult to fully replace.
4. “Imagine your team misses a deadline because one
member did not complete their work. What would you
do?”
Answer:
First, I would avoid blaming the person immediately and understand the reason behind the
delay. Then I would discuss with the team how we can divide the remaining work and
complete the critical tasks first.
If needed, I would inform the project lead honestly about the situation and provide a
realistic updated timeline. I believe solving the problem calmly is more important than
blaming people.
I would first speak to both members individually to understand their perspectives. Then I
would arrange a discussion focused on the project goal rather than personal differences.
I would first make sure I fully understand the task and why it is being asked. If I still feel it is
unethical or harmful, I would respectfully communicate my concern with valid reasons.
I believe professionalism includes honesty and responsibility. I would try to find an
alternative solution instead of simply refusing emotionally.
I would first analyze what went wrong and identify the lessons from the failure. Instead of
getting discouraged, I would focus on improving the process and avoiding the same
mistakes in future projects.
I would prioritize tasks based on urgency and importance. I would divide the work into
smaller steps, create a schedule, and focus on completing high-priority tasks first.
If needed, I would also communicate early with the team or manager rather than waiting
until the last moment.
I would first handle it professionally and avoid reacting emotionally. I would speak privately
with the teammate and clarify the situation respectfully.
I believe teamwork is important, but proper recognition also matters. If the issue
continues, I would discuss it calmly with the team lead.
10. “If you could automate one daily activity using AI,
what would it be?”
Answer:
I would automate repetitive documentation and scheduling tasks because they consume a
lot of time in many organizations.
During my academic project, we faced issues with integrating different modules properly.
Instead of panicking, we divided the problem into smaller parts, identified where the issue
was occurring, and tested each module step by step.
By coordinating as a team and communicating regularly, we were able to fix the issue and
complete the project successfully.
12. “If your teammate is weaker than others, how will you
work with them?”
Answer:
I would support them instead of ignoring them because team success is more important
than individual performance.
I would help clarify tasks, share resources if needed, and encourage collaboration.
Everyone learns at different speeds, and a supportive environment improves overall
productivity.
13. “You are given a task you have never done before.
What will you do?”
Answer:
I would first understand the requirements clearly, then research and learn the necessary
concepts. I am comfortable learning independently and asking for guidance when needed.
I believe adaptability and willingness to learn are very important for freshers.
I believe both are important, but the priority depends on the situation.
For critical tasks, accuracy is more important because small mistakes can create bigger
problems. However, in fast-moving environments, maintaining a balance between speed
and quality is necessary.
AI is powerful in processing data and automation, but humans bring creativity, emotional
intelligence, ethical judgment, leadership, and real-world understanding.
The best results come when humans and AI work together rather than replacing each other
completely.
1. Linear Search
Linear search checks elements one by one until the target is found.
Example:
Array = [10, 20, 30, 40]
Searching for 30:
• Check 10
• Check 20
• Check 30 → found
Time Complexity
Use Case:
Used when data is unsorted or small.
2. Binary Search
Example:
Array = [10, 20, 30, 40, 50]
Searching for 30:
Time Complexity
Use Case:
Efficient for large sorted datasets.
3. Merge Sort
Steps:
Example:
[4,2,1,3]
Split:
Sort:
Merge:
• [1,2,3,4]
Time Complexity
Advantages
• Stable sorting
• Good for large datasets
Disadvantage
BFS Example
Graph traversal:
DFS Example
Array
Example:
[10,20,30]
Linked List
Example:
10 → 20 → 30
1. Insertion Sort
Insertion sort places each element in its correct position, similar to arranging playing cards
in hand.
Example:
Array = [5, 3, 4, 1]
Steps:
Time Complexity
Advantages
• Simple
• Efficient for small datasets
Disadvantage
Example:
Array = [64, 25, 12, 22]
Steps:
Time Complexity
Advantages
• Simple
• Performs fewer swaps
Disadvantage
3. Quick Sort
Quick sort uses Divide and Conquer.
Example:
Array = [6, 3, 8, 5, 2]
Choose pivot = 5
After partition:
[3,2] 5 [6,8]
Time Complexity
Advantages
Disadvantage