Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

CS350/SE310 Software Design/Architecture I - Survey/Test System Homework Assignment, Assignments of Computer Science

A three-part homework assignment for a software design/architecture course, where students are required to develop a generic survey/test taking system using java. The system must allow survey/test creation, storage, modification, and taking, with various question types such as true/false, multiple choice, short answer, essay answer, matching, and rank the choices. The system should store surveys in a flat file system and provide a results module to indicate totals for a particular survey.

Typology: Assignments

Pre 2010

Uploaded on 08/19/2009

koofers-user-cxi-2
koofers-user-cxi-2 🇺🇸

10 documents

1 / 4

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
CS350/SE310 Software Design/Software Architcture I
Homework Assignment #1: A Survey/Test System, Fall 2008
DUE DATES ARE TUESDAY NIGHTS:
Three part Assignment: Due Tuesday Oct 14th, Oct 21st, and Oct 28th at 11:55 PM the day its
due!
Requirements:
Your task is to develop a generic survey/test taking system. The system is to be written in JAVA. The
following system requirements must be met.
1) Develop a system that allows a survey/test to be entered, modified, stored, and taken.
2) The survey should be stored in a flat file system, you may use an XML format, but do not have to.
3) Each survey should be stored in an individual file.
4) A survey/test can be composed of any combination of:
a. True/False,
b. Multiple Choice,
c. short answer,
d. essay answer,
e. matching,
f. rank the choices.
5) Each question can accept a single answer or if appropriate, multiple answers.
6) Obviously a True/False question would not accept multiple answers.
7) Some surveys could have correct answers and therefore could be graded.
8) A results module should be developed that indicates the totals for a particular survey.
Three-part Assignments:
This assignment will be given in three parts.
Part I:
The first part is to design and draw your class structure in Dia. You will be graded on the
completeness of your design and your UML.
You also need to submit a 1-page explanation of your design, 12-points, double space. The purpose
is to describe why you design the software as shown in the UML diagram, that is, how concerns are
separated, what commonality among classes is identified, and how variations are encapsulated, etc.
pf3
pf4

Partial preview of the text

Download CS350/SE310 Software Design/Architecture I - Survey/Test System Homework Assignment and more Assignments Computer Science in PDF only on Docsity!

CS350/SE310 Software Design/Software Architcture I

Homework Assignment #1: A Survey/Test System, Fall 2008

DUE DATES ARE TUESDAY NIGHTS:

Three part Assignment: Due Tuesday Oct 14th, Oct 21st, and Oct 28th at 11:55 PM the day its

due!

Requirements:

Your task is to develop a generic survey/test taking system. The system is to be written in JAVA. The following system requirements must be met.

  1. Develop a system that allows a survey/test to be entered, modified, stored, and taken.
  2. The survey should be stored in a flat file system, you may use an XML format, but do not have to.
  3. Each survey should be stored in an individual file.
  4. A survey/test can be composed of any combination of: a. True/False, b. Multiple Choice, c. short answer, d. essay answer, e. matching, f. rank the choices.
  5. Each question can accept a single answer or if appropriate, multiple answers.
  6. Obviously a True/False question would not accept multiple answers.
  7. Some surveys could have correct answers and therefore could be graded.
  8. A results module should be developed that indicates the totals for a particular survey.

Three-part Assignments:

This assignment will be given in three parts.

Part I:

The first part is to design and draw your class structure in Dia. You will be graded on the completeness of your design and your UML.

You also need to submit a 1-page explanation of your design, 12-points, double space. The purpose is to describe why you design the software as shown in the UML diagram, that is, how concerns are separated, what commonality among classes is identified, and how variations are encapsulated, etc.

Part II:

The second part is to develop the system that allows a survey/test to be entered, modified, and

stored, store a correct answer if possible.

Part III:

The third part is to complete the assignment by allowing people to take the survey, get graded if appropriate, and total the results.

Grading Guidelines:

Part I:

(1) Quality and Completeness of Design, includes reasonable use of inheritance and aggregation/composition. (50%). (2) Quality and Completeness of UML, 50%.

Part II:

(1) Entering the survey: 50% a. True/False 5% b. Multiple Choice 5% c. short answer 5% d. essay answer 5% e. rank the choices 5% f. Handles improper input % g. Multiple answers per each question 10% h. Main driver 10% (2) Modifying an existing survey: 25% a. True/False 3% b. Multiple Choice 3% c. short answer 3% d. essay answer 3% e. rank the choices 3% f. matching 3% g. Handles improper input 3% h. Multiple answers per each question part of each section i. Main driver 7% (3) Storing a survey: 15% a. True/False 2% b. Multiple Choice 2% c. short answer 2% d. essay answer 2% e. rank the choices 2%

  1. Can a question, say Matching or Multiple-Multiple choice, be partially right, and if so should partial credit be given for that question proportionate to the percentage correct?

No, keep it simple. All right or all wrong.

  1. Can different questions be weighted differently? e.g. A test has 10 questions, are all always worth 10% each, or can the first 5 be worth 15% and the last 5 be worth 5%? No, keep it simple and all the same.
  2. Also, essays and short answers obviously can't be graded automatically. Should the final score when grading

ignore the essays? e.g. I have a test with 10 questions and 2 additional essays, all 12 are weighted equally. The 10 questions can be graded automatically and are all right. Should the grade displayed be a 100% with a note about needing to grade the essays, or should the grade be an 83.3 with a note about needing to grade the essays?

Short answers can be graded automatically. Don’t grade the essays. Use 100% and a note about the essays.

  1. I was just wondering how you wanted us to set up our classes e.g. have each type of question have its own class. I was thinking about combining some of them. For example, making

a WrittenAnswer class and giving it a max length attribute that defaults to no maximum, or giving the multiple cho ice class a choices attribute that defaults to True/False. Or is there something bad about this I'm not seeing?

You are free to design the assignment however you wish. Just keep in mind that you will be graded on your design.

11.Also, was it decided that more than one choice can be chosen for multiple choice questions, or was that just for ranking/matching?

Multiple choice, short answer, and essays can all have multiple answers.

  1. Who decides the number of questions that should be there in the test/survey? Is it the admin? Admin
  2. How many T/F or MC or other types of questions should be present in both the survey and the test? The admin of the test/survey decided how many questions are added to the survey.
  3. Are we suppose to make up the questions on our own? The program allows the admin to make up any questions they wish.
  4. And exactly what should we display as an output?

The program needs to be menu-based allowing you to access all the functionality discussed. You do not turn in output. You turn in a functional program.