Question: Deliverables: Problem # 1 : You are given the following Z - language state schema for a Union Office. [ NAME | TEL ] Messages

Deliverables:
Problem # 1: You are given the following Z-language state schema for a Union Office.
[NAME|TEL]
Messages AlreadxaExist | Dota Found |Insufficient_Fund[Notsodember]
\cline {2-3}( Members: \mathbb{P} NAME \ ExecutiveMembers: \mathbb{P} NAME \ Manager: NAME \ UnionBank: NAME \rightarrow \mathbb{N}\ Dir: NAME \leftrightarrow TEL \\hline Manager \in Members \ ExecutiveMember \subseteq Members \ Members=dom UnionBank \ Members=dom Dir \\hline\end{array})
Write Z-language specification for the following Operation. Make all these operations robust by addressing all possible error states and provide a response! Message after each operation execution.
\table[[,Schema Name,Specification],[1.,AddMember,\table[[This operation schema takes a member name and telephone number to],[be added to the system. Every new member starts with zero bank],[account.]]],[2.,NewExecutixe,This operation promotes a member to become an executive member.],[3.,NewPresident,\table[[This operation schema takes an executive member name and promote],[it to be the union president.]]],[4.,WithdrawMonex,\table[[This operation schema takes a member name to withdraw sufficient],[amount from his balance.]]],[5.,AddMonex,\table[[This operation schema adds a positive amount of money to the],[member's account.]]],[6,GetBalance,Returns the balance of a given member],[7,UpdateTelephone,This operation schema updates a member's telepnone number],[8,GetTelephone,This operations return the telephone number of a given member name],[9,PrintMembersList,This operation returns the list of members names],[10,PrintExcutiveList.,This operation returns the list of Executive members names]]
Deliverables: Problem # 1 : You are given the

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 Programming Questions!