Win a copy of AWS Security this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

analitical question

 
Ranch Hand
Posts: 237
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i went for an interview.they ask me there are 9 bolls and one boll's weight is lessthan other eight.And there is a balance also.He ask me to find the less weight boll using two times?

can anyone tell me reference to place find these type of analitical questions?
 
Ranch Hand
Posts: 597
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
3+3+3

left side group1 right side group2
caseI
if both are unequal then you find out group of three which contains target , lets say it is group1.
Now from group left side one , right side one. If they are equal, then remaining one is less weight, otherwise you can see on balance.
caseII. Both are equal, then group3 contains target.
again from group left side one , right side one. If they are equal, then remaining one is less weight, otherwise you can see on balance

 
Marshal
Posts: 69529
277
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This sounds like a puzzle question like "how do you weigh an elephant?" If you have seen it before, it is very easy. Such an interview is as much a test of memory as of intelligence.
 
Sandeep Awasthi
Ranch Hand
Posts: 597
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can call them puzzles but these questions are designed to check how your brain can work in different situations. Not sure.

But in India these questions are asked to entry level developers. I have interest in these puzzles even today because I enjoy solving them.

I agree if you practice, they are easy for anyone.
 
Author
Posts: 6049
2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Campbell Ritchie wrote:This sounds like a puzzle question like "how do you weigh an elephant?" If you have seen it before, it is very easy. Such an interview is as much a test of memory as of intelligence.



It's actually a slightly different family of questions--of course most interviewers aren't competent enough to know the difference.

The weight question is a bounded math problem. You can mathematically express the question and the solution. Similar questions include a knight's tour, tiling problems, river crossing questions, etc.

The elephant question is open ended and tests your ability to work with unbounded problems requiring creativity to find a solution. Similar questions include moving a mountain, lightbulb questions, and to a lesser extent Feynman numbers.

--Mark
 
Ranch Hand
Posts: 91
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have recently been attending a few interviews and had faced such questions in a well know company.

I got the above mentioned question of finding a less wieghing defective ball from 16 balls. I knew the answer.

Another question was to find a date closest to the given date (lesser than given date) which when represented in a string is a palindrome. The given date was 10022001 (02 Oct 2001).When I started writing the logic to program it he told me to ifnd it manually. Even after 15 minutes and a couple of hints I did not get it

The interviewer was kind enough to explain me the answer and it was based on the logic ofelimination.

Fortunately, I managed to just clear it.

P.S : If anyone can provide me links to such questions I would like to try it out.

Regards
 
Bartender
Posts: 6663
5
MyEclipse IDE Firefox Browser Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

P.S : If anyone can provide me links to such questions I would like to try it out.



http://www.careercup.com/
 
Ranch Hand
Posts: 300
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does anyone know any link for solving the questions like - Identifying data structure in a given design.

 
Ranch Hand
Posts: 453
Google Web Toolkit Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

anarkali perera wrote:i went for an interview.they ask me there are 9 bolls and one boll's weight is lessthan other eight.And there is a balance also.He ask me to find the less weight boll using two times?

can anyone tell me reference to place find these type of analitical questions?



you can check out Barron GRE book 12th edition or 13th edition.

avi sinha
 
Campbell Ritchie
Marshal
Posts: 69529
277
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Mark Herschberg wrote:lightbulb questions, and to a lesser extent Feynman numbers.

--Mark

I wouldn't know what a Feynman number is if it bit me in the ankle . . . but in this country "lightbulb questions" means silly riddles of the sort "How many Java programmers does it take to change a lightbulb?"
 
Talk sense to a fool and he calls you foolish. -Euripides A foolish tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic