Write a pseudo code to evaluate a number to any base given
(2...16) based on the input. Number greater than 9 should be
given as A-F for 10-15.


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Programming Languages AllOther Interview Questions

1) How can u create the table?

0 Answers   IBM,


what is the pl/sql block size in oracle 10g and 11g?

0 Answers  


This is a puzzle question .... The warden meets with 23 new prisoners when they arrive. He tells them, "You may meet today and plan a strategy. But after today, you will be in isolated cells and will have no communication with one another. "In the prison is a switch room, which contains two light switches labeled A and B, each of which can be in either the 'on' or the 'off' position. I am not telling you their present positions. The switches are not connected to anything. "After today, from time to time whenever I feel so inclined, I will select one prisoner at random and escort him to the switch room. This prisoner will select one of the two switches and reverse its position. He must move one, but only one of the switches. He can't move both but he can't move none either. Then he'll be led back to his cell. "No one else will enter the switch room until I lead the next prisoner there, and he'll be instructed to do the same thing. I'm going to choose prisoners at random. I may choose the same guy three times in a row, or I may jump around and come back. "But, given enough time, everyone will eventually visit the switch room as many times as everyone else. At any time anyone of you may declare to me, 'We have all visited the switch room.' and be 100% sure. "If it is true, then you will all be set free. If it is false, and somebody has not yet visited the switch room, you will be fed to the alligators." What is the strategy they come up with so that they can be free?

6 Answers  


What are the Advantages of HashMap over Vector?

1 Answers  


hai i like to do some certifications in programming or any other......... am doing my IT third year......... pls guide me...... mail me ur suggestions to ranjithmaharaj@gmail.com...

1 Answers  






how do find the user exit for selected feild whatis the process and can u plz explain it

0 Answers  


what is meaning of MDM in sap?let me know that meaning

0 Answers  


what is web configuration file

0 Answers   HCL,


What's the difference b/w Table & Templete in Smartform?

0 Answers   Accenture,


what is class module in vb6? what it's use? with example..

0 Answers  


How to get the index of the clicked field in reports in ABAP?

0 Answers   Deloitte,


Given an array of size n+1 which contains all the numbers from 1 to n.Find the number which is repeated in O(n) time.How do you proceed with the same with floating numbers from 0 to 1 instead of 1 to n?

0 Answers   Amazon,


Categories