Units 1 & 2 Flashcards
One central processing unit
can only do one thing at a time until the operating system has loaded
Embedded systems
form part of a larger system
typically have to control and monitor many devices at once
Real-time systems
must guarantee to respond correctly to inputs within a specified time
Sequential system
one activity must finish before the next can begin
Parallel system
several activities can be executing at the same time
Pseudo parallel system
processor is allocated to each activity in turn for a short period of time
each activity can make some progress without waiting for others to complete
Uniprocessor
number of activities share a single processor
Multiprocessor
each activity has its own processor on a centralised system
One processor, three activities
Concurrent but not parallel
the activities can share one processor in a pseudo parallel fashion
Three processors, two activies
Parallel and therefore concurrent
each activity can progress simultaneously on one processor, with one idle
Three processors, five activities
A mixture of parallel and pseudo parallel
some processors must share one or more processors
Two processors, one activity
No concurrency or parallelism is possible as there is only one activity
Distributed system
contains a number of distinct components at different locations
each component is considered a computer system itself
components can communicate with one another via some form of network
Transparency
distributed system should appear to its users as a single coherent system
users may not know, or need to know, that the system is distributed
Benefits of concurrent systems
efficient use of hardware
increased responsiveness to the user
increased speed of computation
Drawbacks of concurrent systems
increased complexity
new ways for systems to fail
Deadlock
whole system stops because tow or more components are waiting for each other to continue (so they never do)
Benefits of distributed systems
sharing of resources
scalable
fault tolerant
interoperability
Drawbacks of distributed systems
new ways for the system to fail
security
Ubiquitous computing
small, highly portable computing devices are everywhere in our environment and integrated into everyday life
Benefits of mobile systems
can communicate and access the other parts of the distributed system from a wider variety of locations
can be wireless
Drawbacks of mobile systems
increased security risk
more easily stolen or lost
Enterprise systems
systems needed for enterprise organisations that typically have many employees and located at many different sites
will require many different types of application such as accountancy and ecommerce
Characteristics of enterprise systems
Availability - accessible from many locations at all times
Scalability - capability to deal with high fluctuating loads
Reliability - maintaining correctness of operations and data even when a fault occurs
Security = controlling access to the system and its data to prevent possible attacks
Task
a sequence of instructions treated as an element of work
Process
the ability to execute tasks concurrently
Platfrom
a particular combination of hardware and operating system
Multitasking
the execution of more than one task at the same time
Requirements of multitasking systems
to keep hardware busy (maximise their use)
to keep users productive (system responsive and ‘fair’ to each user)
to mediate access to shared resources (ensure that users see a consistent view of the data)
Cooperative multitasking
applications have to be coded so that they allow other programs to run from time to time
Pre-emptive multitasking
operating system can require one process to give way to another to allow sharing of resources
Translation of machine code using compilation
all the source code is translated to machine code before any instructions are executed
Translation of machine code is interpreted
the translation is done in steps