1st Think of how you would do a hex to decimal conversion on paper.  
2nd  ""                         decimal to base 2
Then think of what were the common operations in translating one base to another. 

Don't even think in code , yet. Write the process out in words.

Fininsh this and come back.
--- Tim Nicholson <[EMAIL PROTECTED]> wrote:
> Jason,
> 
> I understand what you are saying but *I* do not understand how to do these
> problems. I have read over  them and I do not know how to do them. And I am
> a beginner. These problems may well be for advanced programmers or someone
> with more experience than me.
> 
> I do not know how to do them myself so I am kindly asking if someone can
> help me with them. I don't think that is too unreasonable to ask ?
> 
> 
> 
> ----- Original Message -----
> From: "Jason Bell" <[EMAIL PROTECTED]>
> To: "JDJList" <[EMAIL PROTECTED]>
> Sent: Wednesday, September 25, 2002 8:36 PM
> Subject: [jdjlist] Re: two exercises I am trying to solve at the moment....
> 
> 
> > Tim
> >
> > you may notice that in your programming questions it says "your program
> > will"..... may i put some emphasis on the words "your" and "program".
> >
> > homework is there to make you think about the problem and then code a
> > solution.  not to skim across a problem and then ask someone else to code
> > the solution for you.
> >
> > sounds harsh i know, but it's the truth
> >
> > regards
> > jase
> >
> >
> > -----Original Message-----
> > From: Tim Nicholson [mailto:[EMAIL PROTECTED]]
> > Sent: 25 September 2002 12:15
> > To: JDJList
> > Subject: [jdjlist] Re: two exercises I am trying to solve at the
> > moment....
> >
> >
> > Are you saying that you actually got programming questions when you were
> in
> > grade 9 ?
> >
> > >From where i come from, it is unheard of to have done any sort of
> > programming until you reach university level.
> >
> > So are you suggesting that you studied programming while you were still at
> > high school ?
> > I would be very interested to hear about that....?
> >
> > Joseph, is it possible to provide some coded solution segments for these 2
> > problems ? Particularly the ones to do with the computer saying in words
> > what you type in as an int.
> >
> > I would much appreciate if you  could possibly provide a solution that I
> can
> > then study myself and see what sort of things you were doing in them so
> that
> > I can learn from the solution ?
> >
> > I would appreciate your help ?
> >
> >
> > ----- Original Message -----
> > From: "Joseph B. Ottinger" <[EMAIL PROTECTED]>
> > To: "JDJList" <[EMAIL PROTECTED]>
> > Sent: Wednesday, September 25, 2002 8:12 PM
> > Subject: [jdjlist] Re: two exercises I am trying to solve at the
> moment....
> >
> >
> > > RE: [jdjlist] Re: J2MEWell, Tim, the first step is to read the
> suggestions
> > > made by your coursework. Start small; write functions that do the simple
> > > stuff first. Break the problems down (although most of the work has been
> > > done for you already.) Man, these questions have gotten easier since *I*
> > was
> > > in grade 9.
> > >
> > > ----- Original Message -----
> > > From: Tim Nicholson
> > > To: JDJList
> > > Sent: Wednesday, September 25, 2002 4:09 AM
> > > Subject: [jdjlist] two exercises I am trying to solve at the moment....
> > >
> > >
> > > Hi everyone again,
> > >
> > > this is in addition to the previous email that I sent but this is on a
> > > rather different topic.
> > >
> > > I am trying to work through some problems/exercises and I was wondering
> if
> > > anyone might be able to suggest how I might be able to solve these
> > problems
> > > ?
> > >
> > > Like I said before, this email is on a different topic to the email that
> I
> > > sent before.
> > >
> > > The 1st problem I was wondering if anyone could help me on is as follows
> > :-
> > >
> > > ========================================================================
> > >
> > > Design and implement a program that allows the user to input a number in
> > any
> > > base (2..16) as a string of digits (0..9, A..F) and the base that the
> > number
> > > is in and displays the value in decimal of the input number.
> > > Your program must have two function methods that respectively return:
> > > the value of one digit character; and
> > > the value of a whole string of digits in a given base.
> > > Hint: The first of those functions makes it easier to write the second.
> > > Your program may have a BreezySwing or text-only interface
> > >
> > > ========================================================================
> > > ========================================================================
> > > And the second one is like this :-
> > > =======================================================================
> > > Write a program that allows the user to input any int value and outputs
> > that
> > > number in words.
> > > Examples:
> > > inputoutput
> > > 0zero
> > > 3three
> > > 13thirteen
> > > 23twenty-three
> > > 223223two hundred and twenty-three thousand, two hundred and
> twenty-three
> > > 223223223two hundred and twenty-three million, two hundred and
> > twenty-three
> > > thousand, two hundred and twenty-three
> > > >2147483647two billion, one hundred and forty-seven million, four
> hundred
> > > and eighty-three thousand, six hundred and forty-seven
> > > -1minus one
> > >
> > > Your program must have three function methods that respectively return:
> > > a value between 1 and 9 in words;
> > > a value between 1 and 999 in words; and
> > > any int value in words.
> > > Hint: The first of those functions makes it easier to write the second
> and
> > > writing the second will help write the third.
> > > Good solutions may have even more functions.
> > >
> =========================================================================
> > > ========================================================================
> > > I really don't have a clue how to solve these so any help as to what
> sort
> > of
> > > algorithm and java code implementation that I could use, would be very
> > much
> > > appreciated.
> > >
> > >
> > > To change your JDJList options, please visit:
> > > http://www.sys-con.com/java/list.cfm
> > >
> > > To change your JDJList options, please visit:
> > http://www.sys-con.com/java/list.cfm
> > >
> >
> >
> >
> > To change your JDJList options, please visit:
> > http://www.sys-con.com/java/list.cfm
> >
> >
> > To change your JDJList options, please visit:
> http://www.sys-con.com/java/list.cfm
> 
> 
> 
> To change your JDJList options, please visit: http://www.sys-con.com/java/list.cfm


=====

Mark Zawadzki Performance Engineer/DBA/Programmer extraordinaire� [EMAIL PROTECTED] 
[EMAIL PROTECTED]

 "Democracies die behind closed doors," - Judge Damon Keith


__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com

To change your JDJList options, please visit: http://www.sys-con.com/java/list.cfm

Reply via email to