Shared Flashcard Set

Details

5. ECE 355 Addressing design goals
ECE 355 Addressing design goals
33
Computer Science
Undergraduate 4
04/12/2012

Additional Computer Science Flashcards

 


 

Cards

Term
what does it mean by 2 objects are inherently concurrent?
Definition
two objects can receive events at the same time without interacting
Term
what is source of identification for inherently concurrent?
Definition
objects in a sequence diagram that can simultaneously receive events
Term
what is a thread of control?
Definition
thread
Term
what is race condition?
Definition
flaw in output depends on specific sequence of others
Term
what are two ways to implement concurrent system?
Definition
1. physical concurrency
2. logical concurrency
Term
what are two questions addressed in HW/SW mapping?
Definition
1. how to realize subsystems?
2. map a object to HW or SW?
Term
what is the difference between physical connectivity and logical connectivity?
Definition
physical connectivity describes which component belongs to which HW but logical connectivity describes which component belongs to which subsystem in software
Term
how is UML component represented in UML?
Definition
square with ...
Term
what's purpose of deployment diagram?
Definition
illustrates distribution of components at run time for physical locations
Term
what's purpose of component diagram?
Definition
illustrates dependencies between components at design, compilation, and run time
Term
when should deployment diagram be drawn?
Definition
after subsystem decomposition, concurrency, and HW/SW mapping
Term
how is dependency shown in component diagram?
Definition
use provide and require

provide has ball
require doesn't have ball
Term
what is use of port in component diagram?
Definition
distinct interaction point between components
Term
how is port shown in component diagram?
Definition
square
Term
how is dependency shown in deployment diagram?
Definition
dashed lines and provide/required
Term
how is each class mapped to database?
Definition
each class has own table
Term
how is each class's attributes mapped to database?
Definition
each attribute is a column
Term
if there are many instances which are same class, how are they mapped to DB?
Definition
row
Term
how is one-to-many associations mapped to DB?
Definition
use foreign key
Term
how is many-to-many associations mapped to DB?
Definition
to their own table
junction table
Term
what is global resource handling about?
Definition
access rights for different classes of actors
Term
in access matrix, what does row represent? column represent?
Definition
row: actor
column: access of class
Term
what is access control list?
Definition
list of (actor, operation) pair with each class

basically on the software side, there is a list of who can access
Term
what is capability
Definition
associates (class, operation) pair with actor

basically actor needs to have a ticket to get access
Term
what is software control?
Definition
way to control software
Term
give an example where a system is centralized control
Definition
dispatcher
Term
give an example where a system is decentralized control
Definition
message based system
Term
for distributed computing, centralized control or decentralized control, which one do you prefer? why?
Definition
decentralized control because it's possible to speedup by mapping objects to different computer
Term
what is pro and con of centralized design?
Definition
pro: change in control structure is easy
con: maybe performance bottleneck
Term
what is pro and con of decentralized design?
Definition
pro: good with OO
con: responsibility is spread out
Term
what are 4 boundary conditions?
Definition
1. initialization
2. configuration
3. termination
4. failure
Term
how to find boundary condition in use case model?
Definition
in included or extended
Term
what are 6 system design activities?
Definition
1. concurrency
2. HW/SW mapping
3. database
4. resource control
5. software control
6. boundary condition
Supporting users have an ad free experience!