Assignment #1 3RA3.pdf - CS/SE 3RA3(new deadline...

• Homework Help
• jharwood93
• 4

This preview shows page 1 - 2 out of 4 pages.

We have textbook solutions for you!
The document you are viewing contains questions related to this textbook.
The document you are viewing contains questions related to this textbook.
Chapter 18 / Exercise 8
Understanding Statistics in the Behavioral Sciences
Pagano
Expert Verified
1 CS/SE 3RA3 (new deadline!) Assignment #1. Due October 16 (Thursday), 2014, in class . Start early as this is much more time consuming exercise than you might initially think. If you cannot attend the class, please arrange submission with TA. Do not hesitate to discuss with TA all the problems as soon as you discover them. Almost all questions will refer to an Elevator System described below. The Elevator System is considered a a benchmark for evaluating the applicability of requirements and specification techniques and tools to real life problems. It illustrates the kind of informal specifications that a systems analyst or software engineer must translate to a computable form. ****************************************************************************** ELEVATOR SYSTEM An elevator system is to be installed in a building with m floors. The elevator and the control mechanisms are supplied by the manufacturer. The internal mechanism of these are assumed (given). The problem concerns the logic to move elevators between floors according to the following constrains: a. Each has a set of buttons, one for each floor. These illuminate when pressed and cause the elevator to visit the corresponding floor. The illumination is cancelled when the corresponding floor is visited by the elevator. b. Each floor has two buttons (except the ground and the top floors), one to request an up-elevator and one to request a down-elevator. These buttons illuminate when pressed. The illumination is cancelled when the elevator visits the floor and is either moving in the desired direction, or has no outstanding requests. In the latter case, if both floor requests buttons are pressed, only one should be cancelled. The algorithm to decide which to service first should minimize the waiting time for both requests.
We have textbook solutions for you!
The document you are viewing contains questions related to this textbook.
The document you are viewing contains questions related to this textbook.
Chapter 18 / Exercise 8
Understanding Statistics in the Behavioral Sciences
Pagano
Expert Verified