Forum Rules 

Due to inappropriate SPAM postings, our forums are now being monitored for inappropriate content. This will cause your post to not appear publicly until it has been approved by a forum moderator. We apologize for the delay this may cause in your response, but have found it the best way to control inappropriate posts.

Copyright Notice:

Please do NOT post any copyrighted question banks on this forum.
This forum is designed for instructors to share their own questions that are in the public domain.
FSCreations, Inc. is not responsible for the quality or accuracy of questions posted within the Question Bank Exchange forum.

  Reply to this topicStart new topic

> Prefix/unit Conversions
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 )
Attached File  Prefix_Conversions.tst
PMEmail PosterUsers Website
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 )
Attached File  Prefix_Conversion_Modified.tst
PMEmail Poster
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:

Reply to this topic Start new topic


Copyright 1998-2008 eInstruction Corp. All rights reserved.