CTEC3902 Rigorous Systems Assignment

Assignment Help Other Subject
Reference no: EM133191492

CTEC3902 Rigorous Systems - De Montfort University

Section A - Theoretical Part

Exercise 1.
Assessment Indicators:

  • Correctness
  • Conciseness

Give an English and pictorial description of the interval that correspond to each of the following Interval Temporal Logic formulae.

a) ¬P ∧ (fin P) ∧ skip3

b) skip2∧A = 2∧(A gets - A)

c) (skip ∧ fin(A=0)) ; (B=1 ∧ skip)

d) (P ∧ empty) ; skip ; skip2

e) A=1 ∧ (A gets A + 2) ∧ halt(A=7)

f) (len(2)∧"[]" (A=2) );(B=2∧B gets B - 1∧halt(B=0) )

g) len(4)∧(Q ;(skip⇒¬Q)*)

Exercise 2.

Assessment Indicators:
Correctness
Elegance (clarity and conciseness)
Give for each of the following intervals the corresponding Interval Temporal Logic formula.

2242_Logic formula.jpg

 

Exercise 3.
Assessment Indicators:
Correctness
Give the formal semantics of the following Propositional Interval Temporal Logic formula.
(P∧skip);skip

Section B

Practical Part

Exercise 4.
Assessment Indicators:
Clear English
Correctness
Elegance (clarity and conciseness)
Give an English description of the interval that corresponds to the following Tempura formulae
Give an English description of the interval that corresponds to the following Tempura formula.
/* run */ define test1()={
exists I: {halt(I=18) and I=-2 and
chopstar(skip and I:=I+2) and
always output(I)
}
}.

Exercise 5.
Assessment Indicators:
Ability to translate informal textual system description into formal description
Ability to justify system design decisions
Ability to analyse a formal system specification
The following is a description of an airlock system HAL for entering and exiting a space station. HAL consists of sensors, actuators, and a control system. The following sensors and actuators are present:
Doors D0 and D1.
Buttons B0, B1, B2, and B3.
Infrared sensor I.

The procedure for entering the space station is as follows.
Press button B1, if it is safe then door D1 will open and one can enter the airlock via door D1.
Door D1 will close immediately when button B3 is pressed or after 5 seconds when sensor I detects that a person is present in the airlock.
Press buttonΒ0, if it is safe then door D0 will open and one can exit the airlock via door D0.
Door D0 will close immediately when button B2 is pressed or after 10 seconds when I sensor detects that a person is not present in the airlock.
The procedure for exiting the space station is as follows.
Press button B2, the door opens, and one can enter the airlock via door D0.
Door D0 will close immediately when button B0 is pressed or after 7 seconds when sensor I detects a person present in the airlock.
Press button B3, if it is safe then door D1 will open and one can exit the airlock via door D1.
Door D1 will close immediately when button B1 is pressed or after 6 seconds when sensor I detects that a person is not present in the airlock.

Be aware of the following constraints.
The space station has 3 scientists. At any point in time at least 1 astronaut should be in the space station.
There is only space for 1 person in the airlock.
If both doors D0 and D1 are open, then air will escape from space station, this needs to be avoided at all times.
It is possible that more than one button is pressed at the same time, for example, anastronaut in the space station wanting to enter the airlock via door D0 and anastronaut wanting to enter the airlock via door D1. You need to resolve this type of conflict by giving priority to a particular button press. Note: anastronaut in the airlockcannot press simultaneously buttons B0 and B3.
The control system HAL determines whether doors Di are open or closed depending on the state of the infrared sensor and the buttons Bj.
Give a Tempura specification of HAL. A template solution is available on Blackboard. Use the following scenarios to illustrate your answer with output from your Tempura program:

A short visit at space station: Anastronautenters the airlock via D1 using above entering procedure for a short visit at the space station and comes back after 10 minutes and re-exits the space station via the airlock using the exiting procedure.

ii) The enter / exit conflict: Anastronaut is outside in the space and wants to enter the space station via the airlock. At the same time, an astronaut inside the airlock wants to leave it and go out to the space. Note: you need give priority to one astronaut who can use the airlock first.

The following marking scheme will be used

Environment: User/Sensors

Tempura + 2 scenarios           :06-08

Tempura + 1 scenario           :03-05

English                                       :00-02

Controller: HAL    

Tempura + 2 scenarios           :06-08

Tempura +1 scenario           :03-05

English                                       :   00-02

Integration

Tempura                                   :   02-04

English                                      :   00-02

The system that you have specified needs to satisfy certain safety conditions.

Give one example of a safety condition that your system should satisfy and formulate it in ITL/Tempura.

Reference no: EM133191492

Questions Cloud

What other methods do you utilize to prevent virus : If you were an antivirus designer or maker, what other methods do you utilize to prevent virus?
Describe components of conducting comprehensive assessment : Describe the key components of conducting a comprehensive cultural assessment (rationales, interventions and evaluations may be found on the internet).
Security Architecture and Antivirus Software : If the maker of antivirus software wants to be successful, the software has to be as close to bulletproof as the maker can possibly make it.
Discuss the health and societal issues : Assignment - Current Policy - Topic Selection - Discuss the health and societal issues that had an impact on the development
CTEC3902 Rigorous Systems Assignment : CTEC3902 Rigorous Systems Assignment Help and Solution, Deakin University - Assessment Writing Service
Basic telnet of information security : ISOL 534-University of the Cumberlands-The learning objectives focused on the basic telnet of information security,
Multimedia system development : IT 441-Saudi electronic university-Discuss in brief the idea of multi-programming, multiprocessing and multitasking along with some of their advantages.
What areas of social media activity reflect christian values : Based on the analysis of your social media, discuss what areas of your social media activity reflect Christian values as they relate to respecting human value
List types of treatment systems used to treat drinking water : ENVS 446 - University of Idaho - List the eight general types of treatment systems that can be used to treat drinking water within a house.

Reviews

Write a Review

Other Subject Questions & Answers

  Cross-cultural opportunities and conflicts in canada

Short Paper on Cross-cultural Opportunities and Conflicts in Canada.

  Sociology theory questions

Sociology are very fundamental in nature. Role strain and role constraint speak about the duties and responsibilities of the roles of people in society or in a group. A short theory about Darwin and Moths is also answered.

  A book review on unfaithful angels

This review will help the reader understand the social work profession through different concepts giving the glimpse of why the social work profession might have drifted away from its original purpose of serving the poor.

  Disorder paper: schizophrenia

Schizophrenia does not really have just one single cause. It is a possibility that this disorder could be inherited but not all doctors are sure.

  Individual assignment: two models handout and rubric

Individual Assignment : Two Models Handout and Rubric,    This paper will allow you to understand and evaluate two vastly different organizational models and to effectively communicate their differences.

  Developing strategic intent for toyota

The following report includes the description about the organization, its strategies, industry analysis in which it operates and its position in the industry.

  Gasoline powered passenger vehicles

In this study, we examine how gasoline price volatility and income of the consumers impacts consumer's demand for gasoline.

  An aspect of poverty in canada

Economics thesis undergrad 4th year paper to write. it should be about 22 pages in length, literature review, economic analysis and then data or cost benefit analysis.

  Ngn customer satisfaction qos indicator for 3g services

The paper aims to highlight the global trends in countries and regions where 3G has already been introduced and propose an implementation plan to the telecom operators of developing countries.

  Prepare a power point presentation

Prepare the power point presentation for the case: Santa Fe Independent School District

  Information literacy is important in this environment

Information literacy is critically important in this contemporary environment

  Associative property of multiplication

Write a definition for associative property of multiplication.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd