UrbanPro
true

Learn Software Testing from the Best Tutors

  • Affordable fees
  • 1-1 or Group class
  • Flexible Timings
  • Verified Tutors

Search in

Puzzle : There is a pond, and you have 2 container of 5 and 3 liters. You need to provide me 4 liters of water. How would you do that?

Atul Bansal
26/12/2016 0 0

Puzzle : There is a pond, and you have 2 container of 5 and 3 liters. You need to provide me 4 liters of water. How would you do that.

Note: You need to provide water to me out of those 2 containers, extra container is not allowed.

Solution:-

Step-1 -- Put water in 5 ltr jar.
step-2 -- Pour 3 ltr water in 3 ltr jar from 5 ltr of jar.
Step-3 -- Now 5 ltr jar having 2 Ltr Water.
Step-4 -- Now pour 2 ltr of water from 5 ltr jar to 3 ltr water.
step-5 -- Fill full of water 5 ltr jar.
step-6 -- Pour 1 lter water from 5ltr jar to 3 ltr jar.

Now 5 ltr jar haing 4 ltr water.

0 Dislike
Follow 0

Please Enter a comment

Submit

Other Lessons for You

Priority in TestNG
public class Priority { @Test (priority=1)public void login() {System.out.println("login");} @Testpublic void email1() {System.out.println("email1");} @Test (priority=-2)public void email2() {System.out.println("email2");} //I...
S

Sarthak C.

0 0
0

TestNG Annotations and its sequence
public class TestNGAnnotations { @BeforeMethod public void beforeM() { System.out.println("Before Method"); } @AfterMethod public void afterMethod() { System.out.println("After Method"); } @BeforeClass...
S

Sarthak C.

0 0
0

WHAT IS TESTING?
Checking anything with certain requirements & other feasible conditions, if user’s requirement is fulfilled customer will be satisfied otherwise opt for other options. Ex: Purchasing new...

Software Testing Course
Software testing course. Software testing training course What is software testing? Why is testing necessary? Testing Participants Testing Principles Best Practices in Testing Skills For Testing Software...

Overview on Auto IT and use in selenium webdriver
AutoIt v3 is a freeware BASIC-like scripting languages designed for automating the windows GUI and general scripting. It used a combination of simulated keystrokes, mouse movements and window/control manipulation...
S
X

Looking for Software Testing Classes?

The best tutors for Software Testing Classes are on UrbanPro

  • Select the best Tutor
  • Book & Attend a Free Demo
  • Pay and start Learning

Learn Software Testing with the Best Tutors

The best Tutors for Software Testing Classes are on UrbanPro

This website uses cookies

We use cookies to improve user experience. Choose what cookies you allow us to use. You can read more about our Cookie Policy in our Privacy Policy

Accept All
Decline All

UrbanPro.com is India's largest network of most trusted tutors and institutes. Over 55 lakh students rely on UrbanPro.com, to fulfill their learning requirements across 1,000+ categories. Using UrbanPro.com, parents, and students can compare multiple Tutors and Institutes and choose the one that best suits their requirements. More than 7.5 lakh verified Tutors and Institutes are helping millions of students every day and growing their tutoring business on UrbanPro.com. Whether you are looking for a tutor to learn mathematics, a German language trainer to brush up your German language skills or an institute to upgrade your IT skills, we have got the best selection of Tutors and Training Institutes for you. Read more