Question: Besides their syntactical differences, what do you think are the main differences and similarities in writing a Z specication and a Java program of the

Besides their syntactical differences, what do you think are the main differences and similarities in writing a Z specication and a Java program of the Class Managers Assistant system. And why?

A Class Managers Assistant

[Student] A given set of students.

size : N The maximum size of a class.

Response ::= success | notenrolled | nocert | cert | alreadyenrolled | alreadytested | noroom

Possible responses of the program.

The State

Class enrolled, tested : P Student

#enrolled size

tested enrolled

enrolled is the set of all students enrolled in the class.

tested is the set of those students who have passes the test.

The initial state ClassInit == [Class0 | enrolled0 = ]

Like this Enroll a student, remove the student, test the student if he pass or fail.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!