09Testing-QE

09Testing-QE - COMP 211 I NTRODUC ON TO TI S OFTWARE ENGI...

Info iconThis preview shows pages 1–5. Sign up to view the full content.

View Full Document Right Arrow Icon
COMP 211 COMP 211 TESTING TESTING 1 TESTING TESTING Questions and Examples Questions and Examples COMP 211 INTRODUCTION TO SOFTWARE ENGINEERING
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
COMP 211 COMP 211 TESTING TESTING 2 ASU Course Registration ASU Course Registration White Box Testing White Box Testing Basis Path Testing Basis Path Testing
Background image of page 2
COMP 211 COMP 211 TESTING TESTING 3 ASU — checkRegistration PROCEDURE ASU — checkRegistration PROCEDURE A student can register for a course if he has taken the prerequisites. However, he may not register for a course if he has already taken a course that is an exclusion. A student who does not have the prerequisites can register for a course if he is currently registered in the prerequisite course and has the permission of the instructor. Notwithstanding the preceding, the instructor may waive the prerequisite for a student. checkRegistration If (enrollment is open) AND (student does not have exclusions) AND ((student has prerequisites) OR (student has permission)) Register return(success) Else return(failure) Endif
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
COMP 211 TESTING TESTING 4 ASU — checkRegistration PROCEDURE ASU — checkRegistration PROCEDURE checkRegistration 1. If (enrollment is open) 2. If (student does not have exclusions) 3. If (student has prerequisites) 4. Register 5. return(success) 6. Else 7. If (student has permission) 8. Register 9. return(success) 10. Else 11. return(failure)
Background image of page 4
Image of page 5
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 04/14/2010 for the course COMP 211 taught by Professor Nil during the Spring '02 term at HKUST.

Page1 / 12

09Testing-QE - COMP 211 I NTRODUC ON TO TI S OFTWARE ENGI...

This preview shows document pages 1 - 5. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online