
![]() |
Welcome Guest ( Log In | Register ) ![]() |
![]() ![]() |
DroopyPawn |
Posted: Jan 25 2007, 07:30 PM
|
![]() |
This program converts between units.
It goes all the way from yoctoUnits (10 to the -24th power) to YottaUnits (10 to the +24th power). If you don't want that many units you can change the MaximumExponent and MinimumExponent values to restric the possible units. For example, if you want units no larger than KILO grams (10 to the 3rd power) then set MaximumExponent to 3. To allow units no larger than TERA Bytes, you would set MaximumExponent to 12, because the Tera prefix means 10 to the 12th power. Similarly, setting the MinimumExponent variable to -3 would make Milli Whatevers the smallest unit and setting MinimumExponent to -9 would mean nano somethings are the smallest units that would be dinamically created. I showed the correct answer 3 different ways. There seems to be a bug either in ExamView or in Windows, my AMD CPU or whatever because there are rounding erros with some answers. Try setting the variable y (the correct answer) to a number with 20 decimals and you'll see what I mean. Maybe the nice ExamView folks can fix this because it would make reading the answers much easier if they could be displayed in Metric form. 0.000 000 001 is easier to read than 0.000000001 Let me know if you find any errors in this file so I can fix it. Attached File ( Number of downloads: 2379 ) ![]() |
gbc65 |
Posted: Oct 3 2007, 07:20 PM
|
![]() |
i realize the age of post above but being new to ExamView, i'm putting in my 2 cents worth!
1) nicely done, although i always change the font to arial, ( i feel that times new roman has a sloppy look to it, especially when you get into adding equations and symbols.) 2) the variable "yScientific" IMO should have been formated to scientific, with 8 decimal places ( due to the range of X ). this way you don't get rounding of the correct answer. 3) making the questions bimodal gives the test builder the choice of multiple choice or short answer. now the trick is to come up with logical WRONG answers for the multiple choice version. i've attached a modified version of your file DroopyPawn. This post has been edited by gbc65 on Oct 3 2007, 07:21 PM Attached File ( Number of downloads: 2253 ) ![]() |
![]() ![]() |