Centre For Railway Information Systems
10+ Prabhat Dairy Interview Questions and Answers
Q1. WHAT SHOULD ONE DO IF ONE DOES'T KNOW THE ANSWER?
Admit lack of knowledge, ask for clarification, research, and seek help.
Admit lack of knowledge and avoid guessing
Ask for clarification or more information
Research the topic using reliable sources
Seek help from colleagues or experts
Offer to follow up with an answer later
Q2. HOW CAN WE EMBED ASSEMBLY LANGUAGE IN C++?
Assembly language can be embedded in C++ using inline assembly or by linking assembly files.
Inline assembly can be used to write assembly code directly in C++ code.
Assembly files can be linked with C++ code using the linker.
Inline assembly can be platform-specific and may require different syntax for different architectures.
Assembly code can be used to optimize critical sections of code for performance.
Debugging assembly code can be difficult and error-prone.
Q3. WHAT IS THE CRUCIAL AGE TO BE MADE IN LIFE?
There is no one crucial age to be made in life as it varies from person to person.
Important decisions should be made based on personal circumstances and goals
Some people may make significant choices in their 20s while others may do so in their 40s or later
It's never too late to make positive changes in life
Q4. HOW DO ONE INDICATE ONE HAD HIS FILL?
To indicate one had his fill, one can use various phrases or gestures.
One can say 'I'm full' or 'I'm stuffed'
One can push their plate away or cover their plate with a napkin
One can decline further offers of food or drink
One can express gratitude for the meal and compliment the food
One can loosen their belt or unbutton their pants
Q5. HOW CAN WE EMBED PYTHON IN C++?
Python can be embedded in C++ using the Python/C API.
Include the Python header files in the C++ code.
Initialize the Python interpreter in the C++ code.
Call Python functions from C++ code using the Python/C API.
Pass data between Python and C++ using Python objects and C++ data types.
Compile the C++ code with the Python library.
Example: Embedding a Python script in a C++ program to perform complex calculations.
Q6. WHO WAS THE PROPONENT OF YOGA IN ACTION?
The proponent of Yoga in Action was Swami Vivekananda.
Swami Vivekananda was a Hindu monk and a key figure in the introduction of Yoga to the Western world.
He believed in the practical application of Yoga in daily life, which he called 'Yoga in Action'.
Swami Vivekananda's teachings on Yoga in Action emphasized the importance of selfless service and the unity of all beings.
He also stressed the need for balance between physical, mental, and spiritual aspects of life.
Swami Viveka...read more
Q7. WHAT ARE MAHATAMA GANDHI 3 MONKEYS?
Mahatma Gandhi's three monkeys are a pictorial maxim embodying the proverbial principle 'see no evil, hear no evil, speak no evil'.
The three monkeys are Mizaru, covering his eyes, Kikazaru, covering his ears, and Iwazaru, covering his mouth.
The maxim is often used to describe a lack of moral responsibility on the part of people who refuse to acknowledge impropriety.
The monkeys are also associated with the Buddhist principle of not dwelling on evil thoughts.
The maxim has been ...read more
Q8. WHAT IS DYNAMIC ARRAY?
Dynamic array is an array that can change its size during runtime.
Dynamic arrays are allocated memory at runtime.
They can be resized as needed.
They are useful when the size of the array is not known beforehand.
Examples include ArrayList in Java and List in Python.
Q9. SHOULD ONE ENABLE STREET FIGHT?
No, street fights should not be enabled.
Street fights can lead to serious injuries or even death
It promotes violence and aggression
It can lead to legal consequences
It goes against the principles of a peaceful society
Q10. WHAT IS LIFE?
Life is the existence of living organisms characterized by growth, reproduction, adaptation, and response to stimuli.
Life is a characteristic that distinguishes physical entities with biological processes from those without such processes.
It involves growth, reproduction, adaptation, and response to stimuli.
Living organisms are made up of cells, which are the basic unit of life.
Life can be found in various forms, from single-celled organisms to complex multicellular organisms...read more
Q11. WHAT IS AHIMSA?
Ahimsa is a principle of non-violence and respect for all living beings in Hinduism, Buddhism, and Jainism.
Ahimsa is a Sanskrit word that means 'non-harming' or 'non-violence'.
It is a fundamental principle of Hinduism, Buddhism, and Jainism.
Ahimsa is not just about refraining from physical violence, but also from mental and emotional harm.
It promotes respect for all living beings, including animals and plants.
Mahatma Gandhi was a strong advocate of ahimsa and used it as a too...read more
Q12. what is a dynamic array
Q13. why we use java
Java is a popular programming language for its platform independence, security, and scalability.
Platform independence allows Java code to run on any device with a JVM
Java's security features prevent unauthorized access to data and resources
Java's scalability allows it to handle large-scale enterprise applications
Java has a vast library of pre-built classes and APIs for easy development
Java is used in various domains such as web development, mobile app development, and game de...read more
Q14. CALL BY REFERENCE IN C
Call by reference in C allows a function to modify the actual value of a variable passed as an argument.
In call by reference, the address of the actual argument is passed to the function.
Changes made to the parameter inside the function affect the original value outside the function.
Example: void swap(int *a, int *b) { int temp = *a; *a = *b; *b = temp; }
Q15. DSA ALGO IN C++
Data Structures and Algorithms in C++
Learn basic data structures like arrays, linked lists, stacks, queues, trees, and graphs
Understand sorting and searching algorithms such as bubble sort, quick sort, binary search, etc.
Practice solving coding problems on platforms like LeetCode or HackerRank
Interview Process at Prabhat Dairy
Top Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month