SWE 637 Homework 10
Fall 2006
Web Application: Due 12/5
Due Sunday 12/10, submit via email
Colorless green ideas sleep furiously.
- Chomsky (semantics/syntax)
Answer the following questions.
Bring hardcopies of your answers to class,
hand written or printouts.
All homeworks are due before class on the due date.
Please remember that the GMU Honor Code
is in effect:
You may discuss the assignment with each other,
the professor, or the GTA,
but each homework should be done individually.
Use the servlet program
calculate
to answer the following questions.
- (8 pts)
Analyze the inputs for
calculate
and determine and write the grammar for the inputs.
You can express the grammar in BNF, an XML schema,
or another form if you think it's appropriate.
Submit your grammar.
- (8 pts)
Use the mutation ideas in section 5.5 to generate tests for
calculate.
Submit all tests;
be sure to include expected outputs.
- (4 pts)
Run all your tests on
calculate.
Submit screen printouts of any anomalous behavior.
The tool
HttpUnit
can help you automate your tests,
but you are not required to use it.
- Agitar Bonus.
There is no Agitar bonus.
You must be tired of Agitar by now.