• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
Front

How to study your flashcards.

Right/Left arrow keys: Navigate between flashcards.right arrow keyleft arrow key

Up/Down arrow keys: Flip the card between the front and back.down keyup key

H key: Show hint (3rd side).h key

image

PLAY BUTTON

image

PLAY BUTTON

image

Progress

1/17

Click to flip

17 Cards in this Set

  • Front
  • Back
  • 3rd side (hint)
Given a rectangular (cuboidal for the puritans) cake with a rectangular piece removed (any size or orientation), how would you cut the remainder of the cake into two equal halves with one straight cut of a knife?
Join the centers of the original and the removed rectangle. It works for cuboids too! BTW, I have been getting many questions asking why a horizontal slice across the middle will not do. Please note the "any size or orientation" in the question! Don't get boxed in by the way you cut your birthday cake :) Think out of the box.
There are 3 baskets. one of them have apples, one has oranges only and the other has mixture of apples and oranges. The labels on their baskets always lie. (i.e. if the label says oranges, you are sure that it doesn't have oranges only, it could be a mixture) The task is to pick one basket and pick only one fruit from it and then correctly label all the three baskets.
HINT. There are only two combinations of distributions in which ALL the baskets have wrong labels. By picking a fruit from the one labeled MIXTURE, it is possible to tell what the other two baskets have.
Why is a manhole cover round?
Round covers can be transported by one person, because they can be rolled on their edge. A round cover doesn't need to be rotated to fit over a hole and also won't fall in.
One train leaves Los Angeles at 15mph heading for New York. Another train leaves from New York at 20mph heading for Los Angeles on the same track. If a bird, flying at 25mph, leaves from Los Angeles at the same time as the train and flies back and forth between the two trains until they collide, how far will the bird have traveled?
Think relative speed of the trains.
You have 5 jars of pills. Each pill weighs 10 gram, except for contaminated pills contained in one jar, where each pill weighs 9 gm. Given a scale, how could you tell which jar had the contaminated pills in just one measurement?
1. Mark the jars with numbers 1, 2, 3, 4, and 5.

2. Take 1 pill from jar 1, take 2 pills from jar 2, take 3 pills from jar 3, take 4 pills from jar 4 and take 5 pills from jar 5.

3. Put all of them on the scale at once and take the measurement.

4. Now, subtract the measurement from 150 ( 1*10 + 2*10 + 3*10 + 4*10 + 5*10)

5. The result will give you the jar number which has contaminated pill.
There are four dogs/ants/people at four corners of a square of unit distance. At the same instant all of them start running with unit speed towards the person on their clockwise direction and will always run towards that target. How long does it take for them to meet and where?
HINT. They will meet in the center and the distance covered by them is independent of the path they actually take (a spiral).
If you had an infinite supply of water and a 5 quart and 3 quart pail, how would you measure exactly 4 quarts?
This is actually about getting 2 quarts in the 3 quart pail so you can pour off exactly 1 quart from the 5 quart pail, leaving 4.

The entire process:
Fill the 5 quart pail then fill the 3 quart pail from the 5 quart pail. You now have 2 quarts in the 5 quart pail. Empty the 3 quart pail and transfer the 2 quarts from the 5 quart pail to the 3 quart pail. Lastly, fill the 5 quart pail then pour off the extra quart into the 3 quart pail until it is full. What remains in the 5 quart pail is 4 quarts.

As the two jug sizes are relatively prime (i.e., have no common prime factors), you can find a pour sequence for any value between 1 and the sum of the jug sizes.
You have a bucket of jelly beans. Some are red, some are blue, and some green. With your eyes closed, pick out 2 of a like color. How many do you have to grab to be sure you have 2 of the same?
Haven't figured this out yet.
Which way should the key turn in a car door to unlock it?
Haven't figured this out yet.
If you could remove any of the 50 states, which state would it be and why?
Haven't figured this out yet.
How many cars are there in the USA?
Haven't figured this out yet.
You have 8 balls. One of them is defective and weighs less than others. You have a balance to measure balls against each other. In 2 weightings how do you find the defective one?
Haven't figured this out yet.
You've got someone working for you for seven days and a gold bar to pay them. The gold bar is segmented into seven connected pieces. You must give them a piece of gold at the end of every day. If you are only allowed to make two breaks in the gold bar, how do you pay your worker?
Haven't figured this out yet.
You have two jars, 50 red marbles and 50 blue marbles. A jar will be picked at random, and then a marble will be picked from the jar. Placing all of the marbles in the jars, how can you maximize the chances of a red marble being picked?
What are the exact odds of getting a red marble using your scheme?
Haven't figured this out yet.
Imagine you are standing in front of a mirror, facing it. Raise your left hand. Raise your right hand. Look at your reflection. When you raise your left hand your reflection raises what appears to be his right hand. But when you tilt your head up, your reflection does too, and does not appear to tilt his/her head down. Why is it that the mirror appears to reverse left and right, but not up and down?
Haven't figured this out yet.
You have a crossroads with 2 streets with two-way traffic on them. There are traffic sensors and street lights. Write some pseudo code to get the cars through safely.
Work in progress.
Write a program that prints the numbers from 1 to 100. But for multiples of three print “Fizz” instead of the number and for the multiples of five print “Buzz.” For numbers which are multiples of both three and five print “FizzBuzz.”
Work in progress
StringBuilder builder;

for (int i = 1; i 101; i++)
{
builder = new StringBuilder();

if ((i % 3) == 0) builder.append("Fizz");

if ((i % 5) == 0) builder.append("Buzz");

System.out.println(builder.toString());

}