Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Q1] [40 points] Use state-transition testing to solve the following testing problem. In a course registration system, students can register for a given course when

Q1] [40 points] Use state-transition testing to solve the following testing problem. In a course registration system, students can register for a given course when the course is in the open state. At the end of the registration period, the course transitions to the closed state and the semester officially begins. After the close of the registration period, the course will transition to the cancelled state if the minimum number of students have not registered for the course. The course transitions to pending cancellation state if the instructor resigns during the semester, and it remains in this state until a new instructor is found and assigned to teach the course. If a new instructor is assigned to teach the course, the course reverts to the closed state. If a new instructor is not assigned to teach the course, the course is cancelled. At the end of the semester, after the instructor has submitted the students grades, the course transitions to the completed state. 1. Create a state-transition diagram for this problem 2. Use the state-transition diagram to derive/create: a. The minimum number of test cases needed to achieve state coverage without looping b. The minimum number of test cases needed to achieve transition coverage c. One test case to include two iterations of a loop (exclude loops on self-transition states, i.e. transitions whose source and target states are the same). 3. Construct a state-transition table showing the current state, event, action and next state.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Machine Performance Modeling Methodologies And Evaluation Strategies Lncs 257

Authors: Francesca Cesarini ,Silvio Salza

1st Edition

3540179429, 978-3540179429

More Books

Students also viewed these Databases questions