1.With respect to UML: What is a state transition? What is an event? (In 100 wor
ID: 3778215 • Letter: 1
Question
1.With respect to UML: What is a state transition? What is an event?(In 100 words)
2. List the different computing architectures (note: not computer architectures – make sure you read your book and our lecture notes before you answer this question) described in our lectures and readings. Give a real-world example of each type of architecture. (In 100 words)
3. In your own words, explain the Liskov Substitution Principle. Do you think Object Orientation makes testing more complex? Why or why not? (In 100 words)
Explanation / Answer
events
An event is an occurence at a point in time
there are 3 types of events
1)signal events:A signal is an explicit one way transmission of informaion from one object to other.The event of sending and receiving the signal is signal event.
2)change event: A change event is an event of satisfaction of an boolean expression
eg:when(furnacetemp<totalthresholdtemp)
3)time event:time event is an event caused by the occurence of an absolute time or elapse of a time interval
eg:when(date= 28 november 2016)
after (5 seconds)
state transition:It is a transition or movement from one state to another.This is instantaneous in nature
2) computer architecture is a set of rules and methods that describe the functionality, organization, and implementation of computer systems.It describes only the capabilities and programming model of a computer .It does not describe any sort of implementation. various types of computer architecture involves
instruction set architecture :Also called as ISA which defines the machine code that a processor reads and acts upon as well as the word size, memory address modes, processor registers, and data type.
microarchitecture :describes how a particular processor will implement the ISA.size of process does not matter here
system design:system design involves two things
some other kinds of architecture which are used in advanced and latest processors are
1)macro architecture
2)assembly set instruction architecture
3)programmer visible macro architecture
4)pin architecture
5)microcode architecture
3)liskov substitution principle:This principle states that in OOP or Object Oriented Programming functions that use pointers or references to base classes must be able to use objects of derived classes without knowing it.Object orientation makes all forms of testing very easy.we can test individual modules. Here huge programs are an integration of modules where modules are generally typical functionalities.so ambiguities in specific functionality will help us easily in finding where an inconsistancy or error has occured during testing.so object orientation does not make testing complex,whereas it removes the complicability or reduces it by a great factor.
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.