Interview Questions Answers.ORG
Interviewer And Interviewee Guide
Interviews
Quizzes
Home
Quizzes
Interviews DB Oracle Interviews:Concepts and ArchitectureData AccessDatabase ArchitectureDatabase ManagementDatabase Security OracleDistributed ProcessingFlexfieldForms ReportsGeneral OracleMemory ManagementMTO-SAP Financial AccountingOCIOracle AOLOracle AROracle Backup RecoveryOracle D2KOracle DatabaseOracle Database DeveloperOracle DB OptimizationOracle DBAOracle DeveloperOracle ETLOracle Forms 3.0Oracle Forms 4.0Oracle GLOracle PL-SQLOracle RMANOracle ScenariosOracle SecurityOracle SQLOracle System ArchitectureOracle Technology Network (OTN)Programmatic ConstructsRAC (Real Application Clusters)SQL Plus
Copyright © 2018. All Rights Reserved
MTO-SAP Financial Accounting Interview Question:
If you have 12 balls. All of them are identical except one, which is either heavier or lighter than the rest. The odd ball is either hollow while the rest are solid, or solid while the rest are hollow. You have a scale, and are permitted three weighing. Can you identify the odd ball, and determine whether it is hollow or solid?
Submitted by: AdministratorThis is a pretty complex question, and there are actually multiple solutions. First, we'll examine what thought processes an interviewer is looking for, and then we'll discuss one solution.
Start with the simplest of observations. The number of balls you weigh against each other must be equal. Yeah, it's obvious, but why? Because if you weigh, say three balls against five, you are not receiving any information. In a problem like this, you are trying to receive as much information as possible with each weighing.
For example, one of the first mistakes people make when examining this problem is that they believe the first weighing should involve all of the balls (six against six). This weighing involves all of the balls, but what type of information does this give you? It actually gives you no new information. You already know that one of the sides will be heavier than the other, and by weighing six against six, you will simply confirm this knowledge. Still, you want to gain information about as many balls as possible (so weighing one against one is obviously not a good idea). Thus the best first weighing is four against four.
Submitted by:
Start with the simplest of observations. The number of balls you weigh against each other must be equal. Yeah, it's obvious, but why? Because if you weigh, say three balls against five, you are not receiving any information. In a problem like this, you are trying to receive as much information as possible with each weighing.
For example, one of the first mistakes people make when examining this problem is that they believe the first weighing should involve all of the balls (six against six). This weighing involves all of the balls, but what type of information does this give you? It actually gives you no new information. You already know that one of the sides will be heavier than the other, and by weighing six against six, you will simply confirm this knowledge. Still, you want to gain information about as many balls as possible (so weighing one against one is obviously not a good idea). Thus the best first weighing is four against four.
Submitted by:
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.
https://InterviewQuestionsAnswers.ORG.