Publishers of technology books, eBooks, and videos for creative people

Home > Articles > Web Design & Development > Adobe Dreamweaver

Inserting a Multiple Choice Interaction

The first interaction you'll try is in the Multiple Choice category. There are six different types of multiple-choice questions listed in Table 10.2.

Table 10.2 Multiple Choice Category Interactions

Icon

Interaction Name

Description

True/False

Two radio buttons enabling the learner to select true or false as an answer.

Radio buttons

Multiple radio buttons enabling the learner to select a single answer.

Image radio buttons

Multiple button images that act like radio buttons, enabling the learner to select a single answer.

Image buttons

Multiple button images enabling the learner to select multiple correct answers.

Check box buttons

Multiple check boxes enabling the learner to select multiple correct answers.

Image check box buttons

Multiple button images that act like check boxes, enabling the learner to select multiple correct answers.


The Multiple Choice interaction can be sorted into two groups: answer selections that act like radio buttons and answer selections that act like check boxes. These two common form elements function in slightly different ways. Radio buttons act as a group, presenting mutually exclusive values. You should use radio buttons when a question has a single answer. Check boxes function independently, with each check box toggling an answer value on and off. You should use check boxes when a question has multiple answers.

Follow these steps to insert a CourseBuilder interaction into the Web page you created earlier, 1.html in the Quiz directory:

  1. Place the cursor in the Content layer on the left side of the Document window.

  2. Click the CourseBuilder object in the Learning tab of the Insert bar, or use the CourseBuilder interaction command (Insert, CourseBuilder Interaction). The CourseBuilder Gallery appears.

  3. Be sure 4.0+ Browsers is selected as the Target.

  4. Select the Image Radio Buttons multiple choice interaction.

After you select the interaction in the Gallery, the General, Choices, and Action Manager tabs appear along the bottom of the CourseBuilder Interaction dialog box. You can also see the question inserted into the Document window behind the CourseBuilder Interaction dialog box (you might have to move the dialog box out of the way). Usually, you can see the updates you make in the CourseBuilder Interaction dialog box as you set up the interaction.

NOTE

The name of the icon appears when you place the cursor over the interaction icon in the Gallery.

Using the General Tab

All CourseBuilder interactions have a General tab where you set the question stem, when the interaction will be judged, when the answer is correct, and whether you want to limit the time or tries for the question. The General tab also has an option to turn on Knowledge Track, the automatic tracking on the interaction to a learning management system (LMS). You'll learn more about this option in Chapter 15, "Using a Learning Management System."

Select the General tab in the CourseBuilder Interaction dialog box to display the General tab options, shown in Figure 10.7.

Figure 10.7 Each CourseBuilder interaction has General tab options containing the base items necessary for the interaction.

To configure the General tab for this multiple-choice question, follow these steps:

  1. Leave the default name in the Interaction Name text box. This name is used only by CourseBuilder.

  2. Enter the text for the question in the Question Text text box.

  3. In this interaction, select the When the User Clicks a Button Labeled radio button, and enter Check Answer as the button label. The other settings in the Judge Interaction radio buttons enable you to judge the question when the user clicks a button, immediately when the user clicks a choice, or on some other event. The other event might be after an animation finishes or when the user places the cursor in a certain area of the screen.

  4. The Correct When drop-down list box enables you to specify whether the user must select all the correct answers when there are multiple correct answers. For example, if you asked the question "What regions of the world grow coffee?" you could have the following possible answers: Africa, Antarctica, Greenland, and Indonesia. Both Africa and Indonesia are correct answers. Will you require the learner to select both answers or just one to have the question marked as correct?

  5. For this interaction, you have only a single correct answer, so you can select either choice from the Correct When drop-down list box. Both All Correct and None Incorrect or Any Correct and None Incorrect will cause the interaction to be scored correctly.

  6. 5You can skip the Knowledge Track check box for now. You'll deal with this in Chapter 15.

  7. In the Tries Are list box, select Limited To, and type 2 in the Tries text box. In the Time Is list box, select Limited To, and type 15 into the Time text box.

  8. Select the check box next to Reset to add a reset button to the interaction. This button resets the interaction to its original state.

  9. Leave the Layer check box unchecked. This interaction is already contained in a layer. If it was not, however, it's good to choose this setting so that you can easily position the interaction. Be sure you always consult the compatibility guidelines in Table 10.1, as some interactions do not work when placed in layers.

Don't click the OK button yet! You will go on and set up the next two tabs before exiting the CourseBuilder Interaction dialog box and testing the interaction.

Using the Choices Tab

The Choices tab enables you to set up the answer choices, consisting of the correct answer or answers and the incorrect answers (distractors). This tab, shown in Figure 10.8, is divided into an upper and a lower half. The upper half is a list of all the available choices. The lower half displays the attributes (choice options) of the choice selected in the upper half.

Figure 10.8 The Choices tab enables you to set up the attributes of the correct and incorrect answer choices.

If you receive an error message warning you that CourseBuilder can't find button images, it's because you moved the location of the CourseBuilder images from their default spot. You'll be able to browse for the image files when you are setting up the choices.

Follow these steps to configure the Choices tab for this multiple-choice question:

  1. CourseBuilder displays four choices. Click the Add button to add additional answer choices, and click the Delete button to delete extra choices. You can also rearrange the choice with the Up and Down button.

  2. Select the first choice, choice1. The Choice options appear in the lower half of the dialog box. You can leave the default name in the Name text box as choice1.

  3. You can have text or an image as an answer choice, or you can have both. Enter the answer text in the Text text box and enter the path to an image (if available) in the Image File text box.

  4. Select the type of button in the Appearance drop-down list box. Selecting one of the button images displays a sample of the button to the right of the drop-down list.

  5. Set whether the current answer choice is correct or incorrect in the Choice Is drop-down list box. Set the score for this answer in the Score text box.

  6. Repeat these steps for each of the other three choices. All the choices should have the same button appearance.

Using the Action Manager Tab

The Action Manager tab contains the "brain" of the CourseBuilder interaction. In this chapter, you do not modify the Action Manager because you'll explore that function extensively in the next chapter. In this section, you simply look at the Action Manager and familiarize yourself with its functionality.

Click on the Action Manager tab. The logic of the Action Manager, shown in Figure 10.9, controls the functionality of the CourseBuilder interaction. The logic is divided into three sections, called segments, in this type of interaction. The Check Time segment controls the time limit functionality, the Check Tries segment controls the tries limit functionality, and the Correctness segment directs what happens if the question is answered correctly or incorrectly.

Figure 10.9 The Action Manager tab controls the logic behind the CourseBuilder interaction.

If a segment is collapsed, you see a plus sign beside the segment name. To see the logic contained in the segment, select the segment name and click the + button. The lines of code in the Action Manager are written in something close to real language—statements that can be understood.

You can see that the default feedback for a correct or incorrect answer is a pop-up message. The pop-up message used in the Action Manager is the same Popup Message behavior you used in Chapter 8, "Creating Interactivity with Behaviors and Animations." Also, notice that when the Check Tries or Check Time segments are triggered, CourseBuilder disables the interaction. Again, you'll learn about editing and inserting this type of functionality into Action Manager in Chapter 11.

Click the OK button to save the CourseBuilder interaction. Preview the Web page in a browser and check the page's functionality. Check that the buttons appear and work the way you expected (only one can be selected at a time). Also, check the Time limit and Tries limit functionality. Be sure you check that the correct answer works and the incorrect answers behave as expected. In the next section, you'll change the generic feedback that CourseBuilder inserts.

Editing an Interaction

When you insert a CourseBuilder interaction into a Web page, the CourseBuilder icon appears if you have invisible elements set as visible (View, Visual Aids, Invisible Elements). You can select this icon to edit an existing CourseBuilder interaction. Sometimes, because of where the CourseBuilder icon is located in the Document window, you cannot see the icon even if invisible elements are showing. You'll learn two additional methods to edit an interaction when that is the case.

TIP

Until you close and save the interaction settings during the initial setup, you can always go back to the Gallery and change the type of CourseBuilder interaction you want to use. After you've closed the CourseBuilder dialog box, you can no longer change the type of interaction because the Gallery tab no longer appears in the CourseBuilder dialog box.

When you select the CourseBuilder icon, the Property inspector displays the CourseBuilder interaction attributes, shown in Figure 10.10. Click the Edit button in the Property inspector to display the CourseBuilder Interaction dialog box, where you edit settings for the interaction.

Figure 10.10 When the CourseBuilder interaction is selected, the Property inspector displays interaction attributes.

Dreamweaver uses the <interaction> tag to identify CourseBuilder interactions. You can see this tag in the tag selector when you place the cursor anywhere within the CourseBuilder Interaction elements in the Web page. This tag is Dreamweaver specific, is not recognized by the browser, and is simply ignored when the Web page is displayed in the browser. To use the second editing method, select the <interaction> tag in the tag selector to display the CourseBuilder Interaction Edit button in the Property inspector.

The third editing method is to again place the cursor anywhere within the interaction elements. Select the Edit Interaction command (Modify, CourseBuilder, Edit Interaction) to open the CourseBuilder Interaction dialog box. This technique can be tricky when there is more than one interaction in a Web page.

You haven't yet created a Web page with multiple CourseBuilder interactions, but when you do, you can select and edit a specific interaction in the Name drop-down list in the Property inspector, as shown in Figure 10.11.

Figure 10.11 The Name drop-down list enables you to pick a CourseBuilder interaction to edit when there are multiple interactions in a Web page.

Peachpit Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from Peachpit and its family of brands. I can unsubscribe at any time.

Overview


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about Peachpit products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information


To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.

Surveys

Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites; develop new products and services; conduct educational research; and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.

Newsletters

If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email ask@peachpit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information


Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.

Security


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.

Children


This site is not directed to children under the age of 13.

Marketing


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information


If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.

Choice/Opt-out


Users can always make an informed choice as to whether they should proceed with certain services offered by Adobe Press. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.peachpit.com/u.aspx.

Sale of Personal Information


Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents


California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure


Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.

Links


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact


Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice


We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020