Intern
1000+ Intern Interview Questions and Answers
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 moreDetermining 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?
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
Intern Interview Questions and Answers for Freshers
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 moreCreate 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
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
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 moreThe 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 🌟
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
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
Intern Jobs
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
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
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
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 moreSuggested 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
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 moreCompany 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
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.
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)).
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. What is your current locatuon? My current location is Varanasi, Lanka, Uttar Pradesh
I am currently located in Varanasi, Lanka, Uttar Pradesh.
I am residing in the historic city of Varanasi, also known as Kashi.
Lanka is a locality within Varanasi, situated on the banks of the river Ganges.
Uttar Pradesh is a state in northern India, known for its rich cultural heritage.
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
You are given an integer 'N'. For a given 'N' x 'N' chessboard, find a way to place 'N' queens such that no queen can attack any other queen on the chessboard.
A queen can be killed when it lies in the ...read more
Q22. What is your strong point in terms of technical knowledge?Like C,Java. What is Pointer?What are the looping statements?What is array? Some logic of the programs were asked.And Most of the questions were asked b...
read moreMy strong point in technical knowledge is programming languages like C, Java, and Python. I have experience with pointers, looping statements, and arrays.
I have a strong understanding of pointers in C and how they are used to store memory addresses.
I have experience using pointers in Java to manipulate objects and data structures.
I have used pointers in Python to create efficient algorithms for data processing.
I am familiar with the concept of null pointers and how to handle ...read more
Q23. Given an array of numbers, for each index of the array, find the maximum frequency integer to the right of the array.
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.
Q24. How do you find out whether a system is compromised or vulnerable?
To determine if a system is compromised or vulnerable, conduct regular vulnerability scans and penetration testing.
Perform regular vulnerability scans using tools like Nessus or OpenVAS
Conduct penetration testing to simulate attacks and identify vulnerabilities
Monitor system logs for suspicious activity
Stay up-to-date with security patches and updates
Use intrusion detection and prevention systems
Perform code reviews and security audits
Educate employees on security best practi...read more
Q25. Where do you rate your programming skills on a scale of 1 to 10?
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.
Q26. 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 moreYes, 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
Q27. What is Debt Market ?
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
Q28. 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 moreCalculate 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
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
Q30. How many Indians have health insurance? What percent of them use health insurance for conservative treatment solutions?
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.
Q31. 3. What does CIA stand for in cyber security?
CIA stands for Confidentiality, Integrity, and Availability in cyber security.
Confidentiality refers to protecting sensitive information from unauthorized access.
Integrity ensures that data remains accurate, complete, and unaltered.
Availability ensures that systems and data are accessible and usable when needed.
These three principles form the foundation of a secure cyber environment.
Example: Encrypting data to maintain confidentiality, implementing access controls to ensure i...read more
Q32. Tell me about OOPS concepts in python.
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
Q33. What do you think about the current inflation and exchange rate of our economy?
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.
Q34. What is the difference between pneumatic and hydraulic?
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
Q35. 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 moreEvaluate 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
Q36. What is Stack? What are the applications of Stack? Fibonacci Series code.
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.
Q37. How will you print the address of a variable without using a pointer?
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
Q38. A person owns a single screen cinema hall in Mumbai which is in losses. Find out problems and suggest ways to turnaround the same
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
Q39. What are some of the things that can be improved to promote business?
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
Q40. How do you decide a location of a warehouse in a distribution network?
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
Q41. How do you implement multi threading in java? Two ways.
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
Q42. Reverse the order of words in a given sentence(an array of characters)
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
Q43. Name some standard tools used in assessing the security of a system.
Standard tools for assessing system security
Vulnerability scanners (e.g. Nessus, OpenVAS)
Penetration testing tools (e.g. Metasploit, Nmap)
Network analyzers (e.g. Wireshark, tcpdump)
Log analysis tools (e.g. Splunk, ELK Stack)
Firewall and intrusion detection systems (e.g. Snort, Suricata)
Q44. What is the impact of Supreme Court's decision on documentation required before deduction could be allowed for write-off of debts?
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
Q45. What do you understand by Three way handshake ?
Three way handshake is a method used in TCP/IP communication to establish a connection between a client and a server.
Three way handshake involves three steps: SYN, SYN-ACK, and ACK.
The client sends a SYN packet to the server to initiate the connection.
The server responds with a SYN-ACK packet, acknowledging the client's request.
Finally, the client sends an ACK packet to the server, confirming the connection establishment.
This process ensures reliable and synchronized communic...read more
Q46. What is Die and how many types of dies are there?
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
Q47. write a program to find loop in linked list and find the strating node of linked list where loop is strating
Program to find loop in linked list and starting node of the loop
Use Floyd's cycle detection algorithm to find the loop
Once loop is detected, use two pointers to find the starting node of the loop
One pointer starts from the head and the other starts from the meeting point of the two pointers in the loop
Move both pointers one node at a time until they meet again, which is the starting node of the loop
Q48. If the employe completed 35 percent of his work in first 10 days of month means what is the predicted month end Target?
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
Q49. What is the current scenario of the pharma market in India?
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
Q50. 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?
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
Interview Questions of Similar Designations
Top Interview Questions for Intern Related Skills
Interview experiences of popular companies
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
Reviews
Interviews
Salaries
Users/Month