Intern

1000+ Intern Interview Questions and Answers for Freshers

Updated 16 Dec 2024

Popular Companies

search-icon

Q1. Case. There is a housing society “The wasteful society”, you collect all the household garbage and sell it to 5 different businesses. Determine what price you will pay to the society members in Rs/kg, given you...

read more
Ans.

Determining the price to pay to a housing society for their garbage collection and sale to 5 different vendors while making a 20% profit.

  • Calculate the cost of collecting and transporting the garbage

  • Research the market prices for each type of waste material

  • Determine the profit margin required

  • Calculate the selling price to each vendor based on market prices and profit margin

  • Determine the price to pay to the society members based on the cost and profit margin

  • Consider negotiating...read more

Q2. Which programming language you are comfortable with?

Ans.

I am comfortable with multiple programming languages including Java, Python, and JavaScript.

  • Proficient in Java for backend development

  • Experienced in Python for data analysis and machine learning

  • Skilled in JavaScript for frontend development

  • Familiar with SQL for database management

  • Comfortable with C++ for competitive programming

Q3. Huffman Coding

You are given an array 'ARR' of Integers having 'N' elements. The array contains an encoded message. For each index 'i', 'ARR[i]' denotes the frequency of the 'i'th' character in the message. The ...read more

Q4. A marketing strategy case. Client is a perfume seller in Jaipur. The perfumes he sells are not to be found anywhere else in the world. The product has not been tried by people elsewhere apart from the city. Tou...

read more
Ans.

Create a digital marketing campaign targeting tourists and potential customers outside Jaipur.

  • Create a website and social media pages to showcase the unique perfumes and their ingredients.

  • Partner with local hotels and travel agencies to promote the perfumes to tourists.

  • Offer discounts or promotions for customers who refer their friends and family.

  • Create a loyalty program to incentivize repeat customers.

  • Consider expanding the product line to include other unique scents.

  • Collect...read more

Are these interview questions helpful?
Q5. Count Subsequences

You have been given an integer array/list 'ARR' of size 'N'. Your task is to return the total number of those subsequences of the array in which all the elements are equal.

A subsequence of a ...read more

Ans.

The task is to count the number of subsequences in an array where all elements are equal.

  • Iterate through the array and count the frequency of each element.

  • For each element, calculate the number of subsequences using the formula (2^frequency - 1).

  • Multiply the counts for each element to get the total number of subsequences.

  • Print the result modulo 10^9 + 7.

Q6. Case : I am a US based company and I sell 3 products A, B, C (I don’t rem exact name) and I am having losses. I assume the reason for facing losses can be either economic downturn, new competitors, or internal ...

read more
Ans.

The exact reason for facing losses cannot be determined without further analysis.

  • Further analysis is needed to identify the root cause of the losses.

  • Economic downturn, new competitors, and internal problems are all potential factors.

  • Examples of internal problems could include poor management, inefficient processes, or high overhead costs.

Share interview questions and help millions of jobseekers 🌟

man-with-laptop
Q7. Unique Element In Sorted Array

Nobita wants to impress Shizuka by guessing her lucky number.

Shizuka gave Nobita a sorted list of ‘N’ numbers such that every number occurred twice in the list except Shizuka’s lu...read more

Q8. Ways To Make Coin Change

You are given an infinite supply of coins of each of denominations D = {D0, D1, D2, D3, ...... Dn-1}. You need to figure out the total number of ways W, in which you can make a change fo...read more

Frequently asked in,

Intern Jobs

BULK Hiring For International/ Domestic Process. 0-5 years
Ienergizer
4.7
₹ 2 L/yr - ₹ 6 L/yr
Noida
international gaming chat process 0-2 years
iEnergizer
4.7
₹ 3 L/yr - ₹ 4 L/yr
Noida
International Chat Executive 1-3 years
Ienergizer
4.7
₹ 5 L/yr - ₹ 6 L/yr
Noida
Q9. Maximum Difference

You are given an array 'ARR' of the 'N' element. Your task is to find the maximum difference between any of the two elements from 'ARR'.

If the maximum difference is even print “EVEN” without ...read more

Q10. Number of Mismatching Bits

Given two integers "first" and "second". Find the number of bits that do not match in the binary representation of the given numbers.

For example, let "first" be 11 and "second" be 15...read more

Q11. BST Delete

You are given a binary search tree (BST) and a key value 'K'. You need to delete the node with value 'K'. It is guaranteed that a node has the value 'K'.

A binary search tree (BST), also called an ord...read more

Q12. Check If Linked List Is Palindrome

You are given a Singly Linked List of integers. You have to find if the given linked list is palindrome or not.

A List is a palindrome if it reads the same from the left to the...read more

Q13. You own an e-commerce website which sells jewellery, fashion products and apparel majorly for women. You have spent a good amount on marketing the site but still are in losses. Now you have to make a strategy t...

read more
Ans.

Suggested innovative ideas to increase revenues for an e-commerce website selling jewellery, fashion products and apparel majorly for women.

  • Introduce a loyalty program to retain customers and encourage repeat purchases

  • Collaborate with social media influencers to promote the products and increase brand awareness

  • Offer personalized styling services to customers to enhance their shopping experience

  • Expand the product range to include men's fashion and accessories

  • Implement a referr...read more

Q14. Print Nodes at Distance K From a Given Node

You are given an arbitrary binary tree, a node of the tree, and an integer 'K'. You need to find all such nodes which have a distance K from the given node and return ...read more

Q15. Case : Company A manufactures beer bottles and has only 1 customer B. A sells 50 lakhs bottles per annum. B might raise the demand to 1 crore “after a month” in case IPL takes place this year. A has to decide “...

read more
Ans.

Company A has to decide whether to produce 1 crore beer bottles for customer B in case of increased demand due to IPL.

  • Consider the cost of producing extra bottles versus the cost of buying from a third party.

  • Evaluate the risk of buying a new machine that may be defective.

  • Assess the probability of increased demand from customer B due to IPL.

  • Analyze the potential impact on profits and market share.

  • Consider the long-term implications of the decision on the company's growth and s...read more

Q16. Inorder Sucessor

You have been given an arbitrary binary tree and a node of this tree. You need to find the inorder successor of this node in the tree.

The inorder successor of a node in a binary tree is that no...read more

Q17. Given a sorted array of integers, find the frequency of 2 in the array in log(n) time.

Ans.

Find frequency of 2 in sorted array of integers in log(n) time.

  • Use binary search to find first and last occurrence of 2 in array.

  • Calculate frequency by subtracting last index from first index and adding 1.

  • Time complexity is O(log(n)).

Q18. Remove BST keys outside the given range

Given a Binary Search Tree (BST) and a range [min, max], remove all keys which are outside the given range. The modified tree should also be BST.

Input format:

The first l...read more
Q19. Bubble sort

Bubble Sort is one of the sorting algorithms that works by repeatedly swapping the adjacent elements of the array if they are not in sorted order.

You are given an unsorted array consisting of N non-...read more

Q20. Given an array of numbers, for each index of the array, find the maximum frequency integer to the right of the array.

Ans.

Find the maximum frequency integer to the right of each index in an array of numbers.

  • Create a frequency map of the array.

  • Iterate through the array and for each index, find the maximum frequency integer to the right using the frequency map.

  • If there are no integers to the right, return -1.

Q21. Where do you rate your programming skills on a scale of 1 to 10?

Ans.

I rate my programming skills at 8 out of 10.

  • I have experience in multiple programming languages such as Java, Python, and C++.

  • I have completed several projects including a web application and a mobile app.

  • I am constantly learning and improving my skills through online courses and personal projects.

Q22. A pharma company is in phase-1 trials of a first of it’s kind drug in the world that can cure baldness permanently. Should it go ahead and sell this formula and rights to a potential buyer and if yes, for what ...

read more
Ans.

Yes, the pharma company should go ahead and sell the formula and rights to a potential buyer.

  • Selling the formula and rights can generate significant revenue for the company.

  • The potential buyer can further invest in research and development to bring the drug to market faster.

  • The company can focus on other drug development projects with the funds obtained from the sale.

  • The buyer may have the necessary resources and expertise to successfully market and distribute the drug global...read more

Q23. What is Debt Market ?

Ans.

Debt market refers to the financial market where investors buy and sell debt securities, such as bonds and loans.

  • Debt market is a part of the capital market where debt securities are traded.

  • It provides a platform for companies, governments, and individuals to borrow or lend money.

  • Debt securities include bonds, treasury bills, commercial papers, and mortgage-backed securities.

  • Investors in the debt market earn interest on their investments.

  • Debt market helps in raising capital f...read more

Q24. I have a piece of land. Should I sell off the land or build a school on it. For this guesstimate, you need to ask a lot of questions and calculate the cost of establishing a school on the land and calculate the...

read more
Ans.

Calculate cost of building a school on land vs selling the land by estimating cash flows in 10 years.

  • Calculate cost of land, construction, staffing, and maintenance for school

  • Estimate revenue from tuition fees and other sources for 10 years

  • Compare cash flows with future worth of selling price of land

  • Consider long-term benefits of building a school for community development

  • Evaluate risks and uncertainties in both options

Q25. OS Questions

Semaphore is simply a variable that is non-negative and shared between threads. A semaphore is a signaling mechanism, and a thread that is waiting on a semaphore can be signaled by another thread. I...read more

Q26. How many Indians have health insurance? What percent of them use health insurance for conservative treatment solutions?

Ans.

The number of Indians with health insurance and the percentage using it for conservative treatment solutions is not available.

  • Data on the number of Indians with health insurance is not available.

  • Data on the percentage of Indians using health insurance for conservative treatment solutions is not available.

  • No specific examples or statistics can be provided without the available data.

Q27. Tell me about OOPS concepts in python.

Ans.

OOPS concepts in Python include inheritance, encapsulation, polymorphism, and abstraction.

  • Inheritance allows a class to inherit properties and methods from a parent class.

  • Encapsulation refers to the practice of hiding implementation details from the user.

  • Polymorphism allows objects to take on multiple forms or behaviors.

  • Abstraction involves creating a simplified representation of complex real-world objects.

  • Python supports all four OOPS concepts and allows for easy implementat...read more

Q28. What do you think about the current inflation and exchange rate of our economy?

Ans.

The current inflation and exchange rate of our economy is concerning.

  • The inflation rate has been steadily increasing over the past few months.

  • The exchange rate has been fluctuating a lot, making it difficult for businesses to plan ahead.

  • The government needs to take steps to stabilize the economy and prevent further damage.

  • Rising inflation and a weak exchange rate can lead to a decrease in purchasing power and a decrease in foreign investment.

Q29. What is the difference between pneumatic and hydraulic?

Ans.

Pneumatic systems use compressed air to transmit power, while hydraulic systems use fluid to transmit power.

  • Pneumatic systems use air as the working fluid, while hydraulic systems use liquid.

  • Pneumatic systems are typically used for lighter loads and faster movements, while hydraulic systems are used for heavier loads and slower movements.

  • Pneumatic systems are generally less expensive and easier to maintain compared to hydraulic systems.

  • Examples of pneumatic systems include ai...read more

Q30. A 20-25 slide PPT. The client is a Dairy farming corp. based out of Western Europe. Its current market is almost saturated. The client wants to expand its existing operations. It has several markets within dair...

read more
Ans.

Evaluate prospects for expansion of a saturated Dairy farming corp. based in Western Europe with several markets under consideration.

  • Analyze the potential demand for dairy products in the new markets

  • Assess the competition in the new markets

  • Evaluate the feasibility of production and distribution in the new markets

  • Consider the regulatory environment in the new markets

  • Develop a comprehensive marketing strategy for the new markets

Q31. What is Stack? What are the applications of Stack? Fibonacci Series code.

Ans.

A stack is a linear data structure that follows the Last-In-First-Out (LIFO) principle.

  • Applications include function call stack, undo-redo operations, infix to postfix conversion, and backtracking algorithms.

  • Push and pop operations are used to add and remove elements from the stack, respectively.

  • Fibonacci series can be implemented using a stack or recursion.

  • Stacks can be implemented using arrays or linked lists.

Q32. How will you print the address of a variable without using a pointer?

Ans.

Printing the address of a variable without using a pointer can be done by using the & operator.

  • Use the & operator before the variable name to print its address

  • Example: int num = 10; printf("%p", &num);

  • This will print the address of the variable num

Q33. A person owns a single screen cinema hall in Mumbai which is in losses. Find out problems and suggest ways to turnaround the same

Ans.

Identify problems and suggest solutions to turnaround a single screen cinema hall in Mumbai.

  • Analyze the current financial situation and identify the main reasons for the losses

  • Evaluate the competition and market trends in the cinema industry

  • Improve the cinema hall's infrastructure and amenities to attract more customers

  • Implement effective marketing strategies to increase footfall and ticket sales

  • Diversify revenue streams by hosting events, film festivals, or partnering with l...read more

Q34. What are some of the things that can be improved to promote business?

Ans.

Improving infrastructure, reducing bureaucracy, and providing incentives can promote business.

  • Investing in better transportation, communication, and energy systems can improve business operations and attract investors.

  • Streamlining bureaucratic processes and reducing red tape can make it easier for businesses to start and operate.

  • Providing tax breaks, subsidies, and other incentives can encourage businesses to invest and expand.

  • Encouraging innovation and entrepreneurship throu...read more

Q35. How do you decide a location of a warehouse in a distribution network?

Ans.

The location of a warehouse in a distribution network is decided based on factors like proximity to suppliers and customers, transportation infrastructure, labor availability, and cost considerations.

  • Consider proximity to suppliers and customers to reduce transportation costs and lead times

  • Evaluate transportation infrastructure to ensure efficient movement of goods

  • Assess labor availability in the area to meet staffing needs

  • Factor in cost considerations such as land prices, ta...read more

Q36. How do you implement multi threading in java? Two ways.

Ans.

Multi threading in Java can be implemented using two ways: extending the Thread class or implementing the Runnable interface.

  • Extend the Thread class and override the run() method.

  • Implement the Runnable interface and provide the implementation for the run() method.

  • Create an instance of the Thread class and pass an instance of the class implementing Runnable as a parameter.

  • Start the thread using the start() method.

  • Example: 1. class MyThread extends Thread { public void run() { ...read more

Q37. Reverse the order of words in a given sentence(an array of characters)

Ans.

To reverse the order of words in a given sentence, we need to split the sentence into words and then reverse the order of the resulting array.

  • Split the sentence into words using a delimiter like space or comma

  • Reverse the resulting array of words

  • Join the reversed array of words using a delimiter to form the reversed sentence

Q38. What is the impact of Supreme Court's decision on documentation required before deduction could be allowed for write-off of debts?

Ans.

Supreme Court's decision on documentation for debt write-off impacts deduction eligibility.

  • Supreme Court's decision requires documentation to prove debt write-off eligibility for deduction.

  • Lack of proper documentation may result in disqualification for deduction.

  • This decision aims to prevent fraudulent claims for debt write-off deductions.

  • Examples of required documentation include loan agreements, repayment schedules, and evidence of default.

  • The impact of this decision is exp...read more

Q39. What is Die and how many types of dies are there?

Ans.

A die is a tool used to shape or cut materials. There are various types of dies used in different industries.

  • Dies are used in manufacturing to cut, shape, or form materials such as metal, plastic, and paper.

  • Some common types of dies include cutting dies, forming dies, and drawing dies.

  • Cutting dies are used to cut materials into specific shapes, while forming dies are used to bend or shape materials.

  • Drawing dies are used to reduce the diameter of a material by pulling it throu...read more

Q40. If the employe completed 35 percent of his work in first 10 days of month means what is the predicted month end Target?

Ans.

Predicted month end target based on 35% work completed in first 10 days.

  • Assuming the employee works at a consistent pace throughout the month

  • Calculate the remaining work as 65% of the total work

  • Divide the remaining work by the remaining days in the month

  • Add the result to the 35% already completed

  • This gives the predicted month end target

  • For example, if the total work is 100 units, and 35 units are completed in the first 10 days, then 65 units remain

  • If there are 20 days remaini...read more

Q41. What is the current scenario of the pharma market in India?

Ans.

The pharma market in India is growing rapidly with increasing demand for healthcare products and a favorable regulatory environment.

  • The Indian pharmaceutical market is one of the largest in the world, valued at over $20 billion.

  • The market is expected to grow at a CAGR of 15.92% from 2020 to 2025.

  • India is a major exporter of generic drugs and supplies a significant portion of the global demand.

  • The government's initiatives like 'Make in India' and 'Pharma Vision 2020' have boos...read more

Q42. Which subject did you like the most in first term?Explain economies of scale? Why does the cost increase after certain volume? How can that be avoided?

Ans.

I enjoyed studying economics the most in my first term. Economies of scale occur when production costs decrease as output increases. However, after a certain volume, costs increase due to diminishing returns.

  • Economies of scale refer to the cost advantages that a business can achieve by increasing production output.

  • As production increases, fixed costs are spread over a larger output, resulting in lower average costs.

  • However, after a certain point, the benefits of economies of ...read more

Q43. Three ants are at the corner of the triangle. Find the probability that they will never meet.

Ans.

The probability that three ants at the corner of a triangle will never meet.

  • The ants can move randomly in any direction.

  • The probability depends on the shape and size of the triangle.

  • The probability can be calculated using geometric probability or simulation.

  • Assumptions need to be made about the ants' movement patterns.

Q44. List out the differences between Generalization and Specialization in DBMS

Ans.

Generalization and Specialization are two important concepts in DBMS.

  • Generalization is the process of combining two or more entities into a higher-level entity.

  • Specialization is the process of dividing a higher-level entity into two or more lower-level entities.

  • Generalization is a top-down approach while specialization is a bottom-up approach.

  • Generalization is used to represent a group of entities that share common attributes and relationships.

  • Specialization is used to repres...read more

Q45. What exactly is index hunting, and how does it aid query performance?

Ans.

Index hunting is the process of finding the best index for a query to improve its performance.

  • Index hunting involves analyzing the query and the database schema to determine the most efficient index to use.

  • It can involve creating new indexes or modifying existing ones.

  • For example, if a query frequently searches for a specific column, creating an index on that column can significantly improve performance.

  • Index hunting is an important part of database optimization and can great...read more

Q46. How are you fetching data through api in your project.And how machine learning is working in your project

Ans.

Data is fetched through RESTful APIs using Python requests library. Machine learning is used for predictive analysis.

  • API data is retrieved using HTTP GET requests

  • Python requests library is used to handle API requests and responses

  • Data is parsed using JSON library

  • Machine learning models are trained on historical data to predict future outcomes

  • Scikit-learn library is used for machine learning tasks

Q47. Case : Single screen cinema suffering losses in Listed all the revenue and cost streams. It was a cost side problem as everything was done internally with 100 employees for food vending, maintenance etc

Ans.

The single screen cinema is facing losses due to internal cost issues.

  • Revenue streams: ticket sales, concessions (food and beverages), advertising

  • Cost streams: employee salaries, food vending expenses, maintenance costs

  • Examples of revenue streams: ticket sales revenue, revenue from selling food and beverages, revenue from advertising partnerships

  • Examples of cost streams: salaries of employees involved in food vending and maintenance, expenses for purchasing food and beverages...read more

Q48. Qualitative case: How would you reduce the setup cost of a hotel company?

Ans.

To reduce setup cost of a hotel company, focus on optimizing procurement, outsourcing non-core activities, and utilizing technology.

  • Optimize procurement by negotiating better deals with suppliers and using bulk purchasing

  • Outsource non-core activities such as laundry, landscaping, and maintenance to reduce staffing costs

  • Utilize technology to automate processes and reduce manual labor, such as implementing self-check-in kiosks

  • Consider modular construction techniques to reduce c...read more

Q49. What do you think about the online education system in India?

Ans.

Online education system in India has great potential but needs improvement.

  • Online education has become more popular due to the pandemic.

  • There is a lack of infrastructure and resources for online education in rural areas.

  • Online education can be more affordable and accessible than traditional education.

  • There is a need for better quality control and accreditation for online courses.

  • Online education can provide opportunities for upskilling and reskilling.

  • Online education can be a...read more

Q50. A person accesses and inserts data into Database. What should he do so that his changes are visible to others?

Ans.

The person should commit the changes to the database and refresh the view for others to see.

  • Commit the changes to the database

  • Refresh the view for others to see

  • Ensure proper permissions are set for others to access the data

1
2
3
4
5
6
7
Next
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Interview experiences of popular companies

3.7
 • 10k Interviews
3.9
 • 7.8k Interviews
3.7
 • 7.3k Interviews
3.8
 • 5.4k Interviews
4.1
 • 4.9k Interviews
3.8
 • 2.8k Interviews
4.4
 • 811 Interviews
4.2
 • 265 Interviews
View all

Calculate your in-hand salary

Confused about how your in-hand salary is calculated? Enter your annual salary (CTC) and get your in-hand salary

Intern Interview Questions
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
65 L+

Reviews

4 L+

Interviews

4 Cr+

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