[Year 12 SofDev] More fun
Mark Kelly
kel at mckinnonsc.vic.edu.au
Tue Mar 13 17:08:26 EST 2007
Thanks. It's fun converting decimal to/from binary or hex. Can be an
interesting path to bitwise operations.
Dr Paul Chandler wrote:
> ... To which we could add a few more:
>
> - conversion of a number in one base to any other (using the 'division
> method')
> - digit-by-digit addition
> - digit-by-digit subtraction using decomposition method
> - digit-by-digit subtraction using equal additions method
> - demonstration of long division
> - derivation of square roots (manual method, similar to long division)
>
> -----Original Message-----
> From: sofdev-bounces at edulists.com.au
> [mailto:sofdev-bounces at edulists.com.au] On Behalf Of Mark Kelly
> Sent: Tuesday, March 13, 2007 3:10 PM
> To: sod
> Subject: [Year 12 SofDev] More fun - and a fix
>
> Fixed Fun #6 - given a price including 10% GST, give the ex-tax price
> and the tax component, e.g. $11 inc = $10 ex + $1 GST.
>
> New Fun #10 - given an integer number of dollars, calculate what notes
> or coins need to be given as change from $100. e.g. $67 = 1 x $20, 1 x
> $10, 1 x $2, 1 x $1.
>
> --
> Mark Kelly
> Manager - Information Systems
> McKinnon Secondary College
> McKinnon Rd McKinnon 3204, Victoria, Australia Direct line / Voicemail:
> 8520 9085 School Phone +613 8520 9000 << new number!
> School Fax +613 9578 9253
>
> Webmaster - http://www.mckinnonsc.vic.edu.au IT Lecture notes:
> http://vceit.com
> Moderator: IPM Mailing List
>
> Doctor - We must all face reality sooner or later.
> Dowd - I wrestled with reality for 35 years, doctor, and I'm happy to
> say I won out over it. ('Harvey', 1950)
>
>
> _______________________________________________
> http://www.edulists.com.au
> IT Software Development Mailing List kindly supported by
> http://www.vcaa.vic.edu.au - Victorian Curriculum and Assessment
> Authority and http://www.vitta.org.au - VITTA Victorian Information
> Technology Teachers Association Inc
>
> DISCLAIMER:
> This email and any files transmitted with it are confidential and intended solely for the use of the individual to whom they are addressed.
>
> If you have received this email in error, please notify the sender immediately by return email and then delete this message.
>
> Any views expressed in this email are those of the individual sender and may not necessarily reflect the views of Yarra Valley Grammar.
>
>
>
>
> YVG Mail security - Checked
>
> _______________________________________________
> http://www.edulists.com.au
> IT Software Development Mailing List kindly supported by
> http://www.vcaa.vic.edu.au - Victorian Curriculum and Assessment Authority and
> http://www.vitta.org.au - VITTA Victorian Information Technology Teachers Association Inc
>
>
--
Mark Kelly
Manager - Information Systems
McKinnon Secondary College
McKinnon Rd McKinnon 3204, Victoria, Australia
Direct line / Voicemail: 8520 9085
School Phone +613 8520 9000 << new number!
School Fax +613 9578 9253
Webmaster - http://www.mckinnonsc.vic.edu.au
IT Lecture notes: http://vceit.com
Moderator: IPM Mailing List
Doctor - We must all face reality sooner or later.
Dowd - I wrestled with reality for 35 years, doctor, and I'm happy to
say I won out over it. ('Harvey', 1950)
More information about the sofdev
mailing list