Computers

version 5 by Emily Short

  • Home page
  • Beginning
  • Previous
  • Next



  • Section 3 - Multiple Choice Programs

    [A multiple-choice program allows the user to pick among several options: as with the search engine, the topic

    An options table for a multiple-choice program should have the form

    Table of GUI Options
    topic title effect
    "microsoft/word" or "microsoft word" "Microsoft Word" open-Word rule
    "adobe illustrator" or "adobe/illustrator" "Adobe Illustrator" open-Illustrator rule

    where the index will be filled in with numbers as appropriate, the title will label each numbered action, and the effect will be executed when the number is selected.]

    A multiple-choice program is a kind of software.
        A multiple-choice program has a table-name called the options table.
        A multiple-choice program has some text called the out of bounds response. The out of bounds response is usually "Your selection, '[topic understood]', is not one of the available choices."

    The description of a multiple-choice program is usually "[options-list of the item described]".

    To say options-list of (chosen program - a multiple-choice program):
        say "The following options are visible on the screen:[paragraph break]";
        repeat through the options table of the chosen program:
            say "[title entry][line break]";
        say "[run paragraph on]".