Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question 05: Marks: 101 Formally specify the system in VDM-SL. Consider a system that records the current mode of an industrial robot, which can either

image text in transcribed

Question 05: Marks: 101 Formally specify the system in VDM-SL. Consider a system that records the current mode of an industrial robot, which can either be working, idle or broken. Page 2 of 3 (a) Declare a type, Mode, for use in the specification (b) Write the specification of the state of the system, including an initialization function that ensures that the robot is set to idle when the system first comes into existence. (c) Write specifications for the following operations: i. An operation called setMode that accepts and records a value for the mode of the robot. An operation called gerMode that outputs the current mode of the robot. An operation called isidle that checks whether or not the robot is idle. iv. Modify the set Mode operation so that the mode of a robot cannot be changed directly from broken to working

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

Step: 3

blur-text-image

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 Driven Web Sites

Authors: Joline Morrison, Mike Morrison

2nd Edition

ISBN: ? 061906448X, 978-0619064488

More Books

Students also viewed these Databases questions

Question

Bring out the limitations of planning.

Answered: 1 week ago

Question

Why should a business be socially responsible?

Answered: 1 week ago

Question

Discuss the general principles of management given by Henri Fayol

Answered: 1 week ago

Question

Detailed note on the contributions of F.W.Taylor

Answered: 1 week ago