All Puzzles
-
Consider a list of 2000 statements:
1) Exactly one statement on this list is false.
2) Exactly two statements on this list are false.
3) Exactly three statements on this list are false.
. . .
2000) Exactly 2000 statements on this list are false.
Which statements are true and which are false?What happens if you replace “exactly” with “at least”?
What happens if you replace “exactly” with “at most”?
What happens in all three cases if you replace “false” with “true”?
View SolutionSubmit Solution- 1,087.2K views
- 1 answers
- 0 votes
-
You +your = heart
Then h+a+t+e=?where o is 4View SolutionSubmit Solution- 1,118.1K views
- 1 answers
- 0 votes
-
What will be the output of the following program?
int main() { union { int i; int j; void f() { printf("i=%d, j=%d\n", i, j); } }; i = 3; j = i+++ ++i; f(); return 0; }
View SolutionSubmit Solution- 1,439.1K views
- 3 answers
- 0 votes
-
What will be the output of the program-
print(5);
void print (int n){ if (n>0){ printf(“hello”); print(n-1); } printf(“world”); }
View SolutionSubmit Solution- 1,473.8K views
- 3 answers
- 1 votes
-
In a zoo Peter was in charge of feeding all of the animals in the morning. He had a regular schedule that he followed every day. Can you figure it out from the clues? - The giraffes were fed before the zebras but after the monkeys.
- The bears were fed 15 minutes after the monkeys.
- The lions were fed after the zebras.
View SolutionSubmit Solution- 1,608.0K views
- 1 answers
- 0 votes
-
A man has two ropes of varying thickness (Those two ropes are not identical, they aren’t the same density nor the same length nor the same width). Each rope burns in 60 minutes. He actually wants to measure 45 mins. How can he measure 45 mins using only these two ropes.
He can’t cut the one rope in half because the ropes are non-homogeneous and he can’t be sure how long it will burn.View SolutionSubmit Solution- 1,609.2K views
- 1 answers
- 0 votes
-
You are blindfolded and 10 coins are place in front of you on table.
You are allowed to touch the coins, but can’t tell which way up they are by feel. You are told that there are 5 coins head up, and 5 coins tails up but not which ones are which.
How do you make two piles of coins each with the same number of heads up?
View SolutionSubmit Solution- 1,628.1K views
- 1 answers
- -1 votes