Lab 4: Making Decisions
CS 141: Introduction to Programming , Fall 2017


This lab is due Friday, Sept 29, by the end of the lab,

Pair Programming

We will be using Pair Programming. You will be assigned a partner to work with. If you don't recall the process, please re-read the instructions from Lab 2

Writing an Expert System

In class, we will go through the process of creating a medical diagnosis expert system.

For this lab, you and your partner will create your own expert system on a topic of your choice. The topic should be somewhat different from the medical diagnosis expert system done in class. Once you have selected a topic, carefully follow the directions:

Lab 4 Instructions (pdf)

Each team will test another team's code. The instructions above include a questionaire that you must fill out while testing the other team's code. If you would like to answer the Software Testing questions electronically, you may save, fill out, and print the questions here (docx).

Deliverables

To receive full credit on this lab, you need to:

  1. Make sure that your Java code:

  2. Software Testing: work with another team to test both of your programs. You will be giving them your decision diagram and they will check that all paths work properly (see instructions).

  3. Demonstrate your program to the instructor or lab assistant during the lab on the due date. You will be asked to display your commented/formatted code and to run the code on a few inputs.

  4. Submit your 2 Java classes (not the .class files!) as attachments to Lab 4 in WISE:

  5. Submit your decision diagram along with the software testing questions completed by the other team.