Geometric
20+ Dhanuka Agritech Interview Questions and Answers
Q1. There are 9 balls each weighing 100 gm but one of them is not of 100gm. Also there is a Balance having two pans attached to it.By making use of that Balance find that ball( which does not weigh 100 gm) in at th...
read moreFind the odd ball among 9 balls using a balance in 3 trials.
Divide the balls into 3 groups of 3 balls each.
Weigh any two groups on the balance.
If the two groups weigh the same, the odd ball is in the third group.
If one group is heavier, weigh two balls from that group to find the odd ball.
If the two balls weigh the same, the odd ball is the remaining one.
If one ball is heavier, that is the odd ball.
Repeat the process with the remaining groups if needed.
Q2. “There are Men, Wolf, Goat, Cabbages on one end of the river. Man has to take all of them to the other side of the river in a boat. Boat can carry max 2 of them at a time. Wolf will eat goat and goat will eat c...
read moreMan, wolf, goat, and cabbages puzzle where boat can carry max 2 at a time.
Man takes goat first and leaves it on the other side
Man goes back and takes wolf to the other side, leaving it there with the goat
Man takes cabbage to the other side and leaves it with the wolf
Man goes back and takes the goat to the other side
All are now on the other side
Q3. One boiled egg and one normal egg, Which one is heavier?
Both eggs weigh the same.
The weight of an egg is determined by its size and contents, not its cooking method.
Boiling an egg does not change its mass.
The difference in weight between a boiled egg and a raw egg is negligible.
The weight of an egg can vary depending on the breed of chicken that laid it.
Q4. “1 kg of iron and 1 kg of cotton which one is heavier??”
Both are of the same weight, 1 kg.
Both weigh the same as they are 1 kg each.
The question is a trick question as it assumes one is heavier than the other.
The weight of an object is determined by its mass and not its material.
The question tests the candidate's ability to identify trick questions.
Q5. Proof of ”Angle made by two chords meeting at a point on the circle is half of the sector created by them
The angle made by two chords meeting at a point on the circle is half of the sector created by them.
The angle is formed by two chords that intersect at a point on the circle.
The sector is the region enclosed by the two radii and the arc between them.
The angle is half of the sector, which means it is equal to half of the central angle of the sector.
This theorem is known as the 'Angle-Sector Theorem'.
Q6. Proof of “Angle inscribed in a semi circle is 90 degree”
An angle inscribed in a semi-circle is always a right angle.
A semi-circle is a 180-degree angle.
An inscribed angle is half the measure of the intercepted arc.
The intercepted arc of a semi-circle is 180 degrees.
Therefore, the inscribed angle is 90 degrees.
Q7. What are ur strenghts??(Tell this very carefully)
My strengths include problem-solving, attention to detail, and a strong work ethic.
Strong problem-solving skills
Attention to detail
Strong work ethic
Ability to work well under pressure
Excellent communication skills
Ability to learn quickly
Flexibility and adaptability
Team player
Q8. What are ur weeknesses??
I tend to overthink and sometimes struggle with time management.
Overthinking can lead to analysis paralysis, so I try to focus on taking action.
I use time management tools like calendars and to-do lists to stay organized.
I also prioritize tasks and delegate when possible to ensure I meet deadlines.
For example, I once struggled with a project deadline but learned to break it down into smaller tasks and delegate some of the work to my team.
Q9. Memorable incident of ur life??
The day I received my first job offer as a software developer.
I had been searching for a job for months and was feeling discouraged.
I received the offer via email and was ecstatic.
I immediately called my family and friends to share the news.
It was a turning point in my career and life.
I felt grateful for the opportunity and excited for the future.
Q10. What is Geometric??
Geometric refers to the branch of mathematics that deals with the study of shapes, sizes, and positions of objects.
Geometric shapes include circles, squares, triangles, and rectangles.
Geometric concepts are used in fields such as architecture, engineering, and computer graphics.
Geometric formulas are used to calculate area, volume, and other measurements of shapes.
Geometric transformations involve moving, rotating, or scaling shapes.
Euclidean geometry is a type of geometry th...read more
Q11. Exception handling in Java
Exception handling is a mechanism to handle runtime errors in Java programs.
Exceptions are objects that represent an abnormal condition in the program.
try-catch block is used to handle exceptions.
finally block is used to execute code regardless of whether an exception is thrown or not.
Java provides built-in exceptions like ArithmeticException, NullPointerException, etc.
Custom exceptions can also be created by extending the Exception class.
Q12. Java and C++ differences
Java and C++ are both object-oriented programming languages, but differ in syntax, memory management, and platform compatibility.
Java is platform-independent, while C++ is platform-dependent
Java uses automatic garbage collection, while C++ requires manual memory management
Java has a simpler syntax and is easier to learn, while C++ has a more complex syntax and is more difficult to master
Java is better suited for web development and enterprise applications, while C++ is better...read more
Q13. Garbage collection in Java
Garbage collection in Java is an automatic memory management process.
Garbage collection is responsible for freeing up memory that is no longer being used by the program.
Java uses a mark-and-sweep algorithm for garbage collection.
Garbage collection can cause performance issues if not managed properly.
Developers can manually trigger garbage collection using System.gc() method.
Q14. Sorting an array
Sorting an array of strings
Use built-in sorting functions like sort() in JavaScript
Implement sorting algorithms like bubble sort or quicksort
Consider the time complexity of the sorting algorithm used
Ensure the sorting is case-sensitive or case-insensitive based on requirements
Q15. When would the angle between minute and hour hands of the clock be 180 degrees from 1:00pm to 2:00pm?
The angle between the minute and hour hands of the clock would be 180 degrees at 1:30pm.
The minute hand moves 6 degrees per minute, while the hour hand moves 0.5 degrees per minute.
At 1:00pm, the minute hand is at 0 degrees and the hour hand is at 30 degrees.
Between 1:00pm and 2:00pm, the minute hand moves 30 degrees and the hour hand moves 30 degrees.
At 1:30pm, the minute hand is at 180 degrees and the hour hand is at 195 degrees.
Therefore, the angle between the minute and h...read more
Q16. State the maximum number of trees that can be planted such that all the trees are equidistant from one another
The maximum number of trees that can be planted such that all the trees are equidistant from one another is infinite.
In an infinite space, trees can be planted at any distance from each other and still be equidistant.
In a finite space, the maximum number of trees that can be planted depends on the size of the space and the desired distance between trees.
For example, if the space is a straight line of length L and the desired distance between trees is D, the maximum number of ...read more
Q17. ISO-OSI model.purpose of various layers, protocols in various layers, TCP vs UDP
ISO-OSI model and purpose of layers, protocols, TCP vs UDP
ISO-OSI model has 7 layers each with a specific purpose
Physical layer deals with physical transmission of data
Data link layer provides error-free transmission of data
Network layer handles routing and addressing
Transport layer provides end-to-end communication and flow control
Session layer manages sessions between applications
Presentation layer deals with data representation and encryption
Application layer provides serv...read more
Q18. what is java, how is it is executed on command prompt
Java is a high-level programming language that is platform-independent and object-oriented. It is executed on command prompt using the 'java' command.
Java is a high-level programming language known for its portability and versatility.
To execute a Java program on command prompt, first compile the program using the 'javac' command to generate a .class file.
Then, use the 'java' command followed by the name of the class containing the main method to run the program.
For example, t...read more
Q19. pre-processor directives, C vs C++ vs Java
Pre-processor directives differ in C, C++, and Java.
C and C++ use #include, #define, #ifdef, #ifndef, #else, #endif, #pragma, etc.
Java does not have pre-processor directives, but uses annotations and reflection.
C++ also has templates, which are not pre-processor directives but are often used like them.
Q20. What is Virtualization, Cloud?
Virtualization is the creation of a virtual version of something, such as an operating system, a server, a storage device, or network resources. Cloud computing is the delivery of computing services—including servers, storage, databases, networking, software, analytics, and intelligence—over the Internet (“the cloud”) to offer faster innovation, flexible resources, and economies of scale.
Virtualization is the process of creating a virtual version of something, such as an oper...read more
Top HR Questions asked in Dhanuka Agritech
Top Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month