Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

please comple that all questions Exercise 4.3 The following is an extract from the specification of a financial system. Convert it to predicate calculus. 1.

image text in transcribed

please comple that all questions

Exercise 4.3 The following is an extract from the specification of a financial system. Convert it to predicate calculus. 1. The system is to process a number of transactions stored in an update file. There will never be more than 100 transactions in the file. 2. There are two types of transactions: account transactions and report transac- tions. The account transaction will never contain more than five fields unless the first field contains an integer 1; in this case the transaction will contain between five and 10 fields. The report transaction will contain either two or three fields. 3. If the update file contains more than 80 transactions, then a warningi message should be sent to the operator's VDU. If the update file contains more than 90 transactions, then a warning2 message should be sent to the operator's VDU. 4. If a transaction contains more than the allowable number of fields, then a warnings message is sent to the operator's VDU. Exercise 4.3 The following is an extract from the specification of a financial system. Convert it to predicate calculus. 1. The system is to process a number of transactions stored in an update file. There will never be more than 100 transactions in the file. 2. There are two types of transactions: account transactions and report transac- tions. The account transaction will never contain more than five fields unless the first field contains an integer 1; in this case the transaction will contain between five and 10 fields. The report transaction will contain either two or three fields. 3. If the update file contains more than 80 transactions, then a warningi message should be sent to the operator's VDU. If the update file contains more than 90 transactions, then a warning2 message should be sent to the operator's VDU. 4. If a transaction contains more than the allowable number of fields, then a warnings message is sent to the operator's VDU

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

Fundamentals of Investing

Authors: Scott B. Smart, Lawrence J. Gitman, Michael D. Joehnk

12th edition

978-0133075403, 133075354, 9780133423938, 133075400, 013342393X, 978-0133075359

More Books

Students also viewed these Finance questions