Date post: | 07-Sep-2015 |
Category: |
Documents |
Upload: | suprajagaddam52 |
View: | 55 times |
Download: | 12 times |
5/24/2015 AMCATProgrammingProgramQuestionwithSolutionsPage3
http://www.m4maths.com/placementpuzzles.php?ISSOLVED=&page=3&LPP=30&SOURCE=AMCAT&MYPUZZLE=&UID=&TOPIC=Programming&SUB_ 1/6
I'd Like to Add you to My Professional Network. 30Follow 19 : 58
Advertisements
PlacementQuestions > AMCAT > Programming >
AMCATPLACEMENTPAPERS
ACIO (109) AIEEE (324) AMCAT (1617) CAT (871)
CMAT (82) ELITMUS (1976) GATE (553) GMAT (92)
GMATE (25) GRE (279) IITJEE (468) ITC (25)
MATHSOLYMPIAD (191) MBA (3453) MCA (29) OTHER (110)
RSAT (81) SELF (68)
CATEGORY (337)
HRINTERVIEW (12)
Interview (7)
LOGICALREASONING (320)
BloodRelations (27) CodingDecoding (35) Cryptography (4)
DecisionMakingandProblemSolving (37) DirectionSense (15) GeneralMentalAbility (15)
LetterArrangement (8) LetterSeries (3) LogicalSequences (22)
MathematicalReasoning (8) MissingCharacter (2) NumberSeries (51)
SeatingArrangement (9)
NUMERICALABILITY (531)
AgeProblem (18) Algebra (30) AreaandVolume (9)
Arithmetic (47) Averages (8) ClocksandCalendars (6)
Coordinategeometry (1) DataInterpretation (2) DataSufficiency (2)
Geometry (4) LCMandHCF (32) LogandAntilog (43)
NumberSystem (41) Percentage (32) PermutationandCombination (44)
Probability (54) ProfitandLoss (35) RatioandProportion (9)
SequenceandSeries (4) Simple&CompoundInterest (12) StockandShares (1)
TimeandWork (33) TimeDistanceandSpeed (23) Trigonometry (3)
PROGRAMMING (274)
Database (26) Definition (33) Program (62)
Technical (117)
VERBALABILITY (136)
Antonyms (27) Miscellaneous (16) OneWordSubstitution (20)
SentenceArrangement (7) SentenceCompletion (17) SpottingErrors (19)
Synonyms (15)
AMCATQuestionTopics
KeepanEYE(4) InterViewExperience(121)
AMCATProgramming>ProgramSolvedQuestion(4) AMCATProgramming>ProgramUnSolvedQuestion(58)
Pages:3 First Prev 1 2 3
PerPage 10 20 30
Ques:ChoosethecorrectanswerAnkitatakesasinput2integernumbers,aandb,whosevaluecanbebetween0and31.Hestoresthemas5bitnumbers.Hewritesthefollowingcodetoprocessthesenumberstoproduceathirdnumberc.
Program
0
0
0
Edit Picture
No Try
10
M4 Score 0
Last Day Points
Total Points
Points 20
s.durgadeviIndiaTamil NaduTime: 00:00:43
WELCOME ASK PUZZLE
G.Pulla Reddy Engg college
INVITE FRIENDS
Refrel Approved
Refrel Pending
Total Refrel URL Send
My Refrel URLSend refrel url to get bonus points.
http://www.m4maths.com/index.php?refId=MTM3Nzgz
Friend email addressEg. [email protected],[email protected] (Emailsshould be Comma separated)
INVITE
UPDATE SCORE
Not Updated yet
Invite Friends
Edit Profile
User Notification
In mathematics you don't understand things.You just get used to them.
Johann von Neumann
"Mathematics is just a game of greatest fun soevery one should play it "
EXAM
KEEP AN EYE (#M40031700) AMCAT QUESTION
SPONSORED LINKS
CHALLENGER OF THE DAY
MATHS QUOTES
Notification | View Details
Unread Over All
RESULT TODAY'S PUZZLE DISCUSSION BOARD MATHS TRICKS PLACEMENT PAPERS WALKINS TRAINING GADDAMNAGASUPRA
5/24/2015 AMCATProgrammingProgramQuestionwithSolutionsPage3
http://www.m4maths.com/placementpuzzles.php?ISSOLVED=&page=3&LPP=30&SOURCE=AMCAT&MYPUZZLE=&UID=&TOPIC=Programming&SUB_ 2/6
c=2*(ab)
InhowmanyminimumbitsshouldAnkitastorec?Option1:6bitsOption2:7bitsOption3:8bitsOption4:9bits
AskedInAMCAT Aashu(1yearago)
Unsolved ReadSolution(9)
IsthisPuzzlehelpful? Yes (5) No (2) SubmitYourSolutionProgram
c=2*(ab)lowestnumberwillbegeneratedwhena=0andb=31c=2*(031)=64highestnumberwillbegeneratedwhena=31andb=0c=2*(310)=64range=64to64bitsrequired=7
IsthissolutionHelpfull?Yes(36)|No(4)
ANKITGUPTA(8MONTHSAGO)
Option1sinceoverflowofonly1biti.e.5+1=6
IsthissolutionHelpfull?Yes(19)|No(14)
AJAYYADAV(1YEARAGO)
ans:6bits.2power5=32maxvalueofab=31.2*31=62.2power6=64so6bitswillbetheanswer.
IsthissolutionHelpfull?Yes(19)|No(9)
VIPUL(1YEARAGO)
7bitsa=0b=31c=621bitwillbrequiredtostorethe""andtostorethenumber626bitswillbrequired.
IsthissolutionHelpfull?Yes(13)|No(4)
MANAVAGGARWAL(10MONTHSAGO)
option2isthecorrectanswerbczc=2*32=64means2^6bitsrequired..sowehavetoadd1bitasasignbitsototal6+1=7
IsthissolutionHelpfull?Yes(4)|No
GOWRI(5MONTHSAGO)
c=2*(ab)Forlowestnumberwhena=0andb=31c=2*(031)=62
Forhighestnumberwhena=31andb=0c=2*(310)=62range=62to62
SoItwillfiton(64to63)i.e2^7BitsRequired=7
IsthissolutionHelpfull?Yes(2)|No(1)
SURAJ(6MONTHSAGO)
AMITGUPTA(8MONTHSAGO)
Jass
Thanks m4maths got selected in IBM..thank you very much.
Baljinder Singh3 Days ago
Finally Placed, IBM...Thank you very muchM4maths.I prepared all questions from this site only,
Now waiting for the offer letter.Thanks once again for fulfilling my dream,greatwork Keep it up.
Satya Roy14 Days ago
SPONSORED LINKS
PLACED USER COMMENTS
SEARCH FOR THIS PAGE
SEE ALSO
FRESHER JOBS OPENING
jobsby
x
5/24/2015 AMCATProgrammingProgramQuestionwithSolutionsPage3
http://www.m4maths.com/placementpuzzles.php?ISSOLVED=&page=3&LPP=30&SOURCE=AMCAT&MYPUZZLE=&UID=&TOPIC=Programming&SUB_ 3/6
2*(310)=622*(031)=6262to62arerangebetweenthe2pow6=64bitsatifiedthebitansis6
IsthissolutionHelpfull?Yes(1)|No(4)
Ithink2*(031)=62Soweneedtostorethemnearestdatabitslike64,128,256.rightSofor62thebestoptionis64,64wecanwrittenitas2^6.Sotherequiredbitsare6.letmesuggestforthebetterAns
IsthissolutionHelpfull?Yes|No
TRINADH(4MONTHSAGO)
Adminplscanuexplainmethisquestionalongwiththeanswer..
IsthissolutionHelpfull?Yes|No
ANTARAROY(3MONTHSAGO)
Ques:ChoosethecorrectanswerPrashanttakesasinput2integernumbers,aandb,whosevaluecanbebetween0and127.Hestoresthemas7bitnumbers.Hewritesthefollowingcodetoprocessthesenumberstoproduceathirdnumberc.
c=ab
InhowmanyminimumbitsshouldPrashantstorec?Option1:6bitsOption2:7bitsOption3:8bitsOption4:9bits
AskedInAMCAT Aashu(1yearago)
Unsolved ReadSolution(10)
IsthisPuzzlehelpful? Yes (10) No (5) SubmitYourSolutionProgram
MAXc=127(Whena=127&b=0)MINc=127(Whena=0&b=127)ToStore127,WeRequire"7Bits"&AccordingtoSignMagnitudeRepresentation"1ExtraBit"isRequired(forveValues)Therefore,inall7+1=8bitsistheAnswer.
IsthissolutionHelpfull?Yes(32)|No(2)
ANKITJAIN(1YEARAGO)
Option3=8bitsincemaximumvalueofc=127andminimumvalue=127hence8bitswillbeusedd
IsthissolutionHelpfull?Yes(29)|No(5)
AJAYYADAV(1YEARAGO)
Intheaboveproblemhedidnotmentionedanyvevaluesandvaluesbetween0to127.Maxvalueofc=1270=127.so2^7=128.Butincasec=0127=127.Sotostorethisvaluewewant8bytes.
IsthissolutionHelpfull?Yes(15)|No(2)
ANILREDDY(1YEARAGO)
2^7=128,ithink7bits.minvalueofccanbe127andmaxwillbe+127.
IsthissolutionHelpfull?Yes(6)|No(2)
AVIGYAN(1YEARAGO)
VERTIKASRIVASTAV(11MONTHSAGO)
KEEP AN EYE (#M40031699) AMCAT QUESTION
5/24/2015 AMCATProgrammingProgramQuestionwithSolutionsPage3
http://www.m4maths.com/placementpuzzles.php?ISSOLVED=&page=3&LPP=30&SOURCE=AMCAT&MYPUZZLE=&UID=&TOPIC=Programming&SUB_ 4/6
wecanttake0and1asquessaysb/wthem............guysjustseetoit
IsthissolutionHelpfull?Yes(2)|No(5)
VERTIKASRIVASTAV(11MONTHSAGO)
pleasetellmethecorrectreason
IsthissolutionHelpfull?Yes(1)|No
MAHESH(6MONTHSAGO)
127(127)=254(oneofthepossiblecases)forstoring256werequire8bitswhichistheanswer
IsthissolutionHelpfull?Yes(1)|No
VIRJESHPATEL(2MONTHSAGO)
Inquestionitisgiven
whosevaluecanbebetween0and127.not127to127so2^7=128ansis7
IsthissolutionHelpfull?Yes(1)|No(1)
MR.X(2MONTHSAGO)
Whyiseveryonesayingmaxtobe127wudntitbe127+127=254.soshuoudnttheanswerbe9bits.1forsignedbitand8bitfor254
IsthissolutionHelpfull?Yes|No
SURBHIJAIN(2MONTHSAGO)
maxvalueofc=127ndminvalueofc=127totalvalue=127(127)=2542^7
IsthissolutionHelpfull?Yes|No
PUSHPANK(1MONTHAGO)
Advertisements
KeepanEYE(4) InterViewExperience(121)
AMCATProgramming>ProgramSolvedQuestion(4) AMCATProgramming>ProgramUnSolvedQuestion(58)
Pages:3 First Prev 1 2 3
PerPage 10 20 30
3801Comments Sortby
KarthickEswaranDr.SivanthiAditanarCollegeofEngineeringbutfor6min1minlosssototally36minloss.LikeReply13hrs
KarthickEswaranDr.SivanthiAditanarCollegeofEngineering30minuteslastLikeReply14hrs
RamKrishnaPaulEstudanteatTeerthankerMahaveerUniversityanyonehaveNMDCquestionpapers?pleasesendmetokrishna199310@gmail.comLikeReply23hrs
HarithaPappuWorksatStudentcananybodytellmetheinterviewprocessforASEIToperationsinaccentureimmediatelyplsssLikeReplyMay22,20157:28pm
Newest
Addacomment...
5/24/2015 AMCATProgrammingProgramQuestionwithSolutionsPage3
http://www.m4maths.com/placementpuzzles.php?ISSOLVED=&page=3&LPP=30&SOURCE=AMCAT&MYPUZZLE=&UID=&TOPIC=Programming&SUB_ 5/6
TOP JOB CATEGORYFresher jobsBPO JobsData Entry JobsTelecom Jobs
Sales JobsEntry Level / InternshipsMarketing JobsTeaching JobsAccounting / Finance Jobs
HR Administration Jobs IT SOFTWARE JOBSJava DeveloperC, C++ Programming.net DeveloperPhp / Mysql Web Developer
Web DesignerQA and TestingERP / CRMAndroid DeveloperIOS Developer
585K+
Registerd user
410K+
Engineers
175K+
MBA Asprirant
3K+
Enginnering College
250+
Company Exam
40K+
Interview Questions
SITE LINKS USEFUL INFO PLACEMENT PAPERS
AkhilKatiyarWorksatStudentyesLikeReply18hrs
SivaPrasadWorksatIntellEngineeringCollege,Anantapur3rounds:1.GD2.Voice&Accent3.HR
AllthebestHarithaLikeReply16hrs
ShashankSharmaEngineeratStudentadminmustansallthesequestionotherwiseitisnothelpfulinanymanner.soplzworkforitLikeReplyMay22,20153:29am
YogeshKumbhalkarTraineeatInternetAcademyBhilaiInstituteyoLikeReplyMay21,20155:55am
WaseemAkramWorksat31Bengal(Bn)NCCgoodLikeReplyMay20,20158:23pm
NasibAkhtar?plssendssolvedaptipaperofibminnasib76akhtar@gmail.com.itsurgntfrndforATOprofileLikeReplyMay19,20158:52pm
JohnsonGrayHospitalHello,ThisistoinformthegeneralpublicMaleorFemalewhoarehealthyand100%seriousinsellingtheirkidneyshouldurgentlycontactDAVEGRAYHOSPITAL.Aswehavealotofpatientswhoarehereforkidneytransplant,Areyouseekingforanopportunitytosellyourkidneyformoneyduetofinancialbreakdownandweshallofferyou$220,000.00USDforyourKidney.MynameisDoctorDaveGray,iamaNephrologyinIndiaSurgicalHospital.OurhospitalisspecializedinKidneySurgery/transplantandotherorgantreatment,wealsodealwithbuyingandtransplantationofkidneyswitha... SeeMoreLikeReplyMay18,20151:28pm
SuvradattaJenaITER,SOAUniversity,BhubaneswarWHATWILLBETHETECHNICALQUSTIONOFIBMATOLikeReplyMay18,20152:16am
FacebookCommentsPlugin
Load10morecomments
job title, keywords or company name city, state or zip code Find Job
5/24/2015 AMCATProgrammingProgramQuestionwithSolutionsPage3
http://www.m4maths.com/placementpuzzles.php?ISSOLVED=&page=3&LPP=30&SOURCE=AMCAT&MYPUZZLE=&UID=&TOPIC=Programming&SUB_ 6/6
HomeResultToday's PuzzleDiscussion BoardMaths TricksAdvertise with usContact Us
Maths QuotesPrevious PuzzlesPrizePrivacy PolicyDisclaimer and CopyrightReport a problemSitemap
TCS Placement PaperHCL Placement PaperINFOSYS Placement PaperIBM Placement PaperSYNTEL Placement PaperTECHNICAL InterviewHR Interview
M4maths
177,142peoplelikeM4maths.
Facebooksocialplugin
Like
All rights are reserved to @m4maths.com