Assignment 1 - Solution Fall 22 03102022 105518am
Assignment 1 - Solution Fall 22 03102022 105518am
Assignment 1 - Solution Fall 22 03102022 105518am
Class: BSCS-0S
Instructions:
Attach the solution file in pdf format.
Copied and plagiarized assignments will be marked as “Zero”.
Assignment 01
Solution:
Multiprocessing is the use of two or more central processing units within a single computer
system. Multiprocessing is a general term that can mean the dynamic assignment of a program
to one of two or more computers working in tandem or can involve multiple computers
working on the same program at the same time (in parallel). With the advent of parallel
processing, multiprocessing is divided into symmetric multiprocessing (SMP) and massively
parallel processing (MPP).
Asymmetric Multiprocessing:
Asymmetric Multiprocessing system is a multiprocessor computer system where not all of the
multiple interconnected central processing units (CPUs) are treated equally. In asymmetric
multiprocessing, only a master processor runs the tasks of the operating system.
For example, AMP can be used in assigning specific tasks to CPU based on priority and
importance of task completion.
Symmetric Multiprocessing:
It involves a multiprocessor computer hardware and software architecture where two or more
identical processors are connected to a single, shared main memory, have full access to all
input and output devices, In other words, Symmetric Multiprocessing is a type of
multiprocessing where each processor is self-scheduling. For example, SMP applies multiple
processors to that one problem, known as parallel programming.
Tasks of the operating system are done by Tasks of the operating system are done
master processor. individual processor
2. Explain the difference between Hard Disk and Solid-State Disk. Also discuss different types of
Non-Volatile Memories.
1. Full Form HDD stands for Hard SSD stands for Solid State
Disk Drive. Drive.
3. R/W Time HDD has longer R/W SSD has shorter R/W time..
time.
5. I/O operations HDD supports fewer I/O SSD supports more I/O
per second operations per second. operations per second.
size.
9. Data Transfer In HDD the data transfer In SSD the data transfer is
is sequential. random access.
11. Cost HDD is cheaper per unit SSD is costlier per unit
storage. storage.
13. Noise HDD can produce noise SSD does not produces
due to mechanical noise.
movements.
17. Long term HDDs are more reliable SSDs are comparatively less
storage for long-term storage. reliable for long-term
storage due to data leaks
S. No. Parameter HDD SSD
18. Access speed The data accessing speed The data accessing speed is
is slower as compared to much higher as compared to
SSD. HDD.
20. Suitable for HDDs are suitable for SSDs are suitable for
Extensive storage Fast data retrieval
Long-term storage Laptop or desktop because
of low power consumption
and size.
3. How do the clustered systems different form multiprocessor systems? What is required for two
Solution:
A clustered system makes use of multiple CPU's to complete a specific task. It consists of
two or more individual systems that are tied together and share the same storage space. They
are also closely attached through a LAN network. On the other hand, a Multiprocessor
system is a kind of processing system where two or more processors work together to process
more than one program at one time. It helps the system to complete work in shorter period of
Multiprocessors are tied together and in clustered system individual systems are tied
together.
LAN networking is used in Clustered system, in Multiprocessing system LAN etc is
not required.
saving.
The processors share common system clock and common data structures.
single system to perform a computational task distributed across the cluster. Multiprocessor
systems on the other hand could be a single physical entity consisting of multiple CPUs. A
clustered system is less tightly couple than a multiprocessor system. Clustered systems use
using shared memory. In order for two machines to provide a highly available service, the state
on the two machines should be replicated and consistently updated. When one of the machines
4. Explain what are the real time embedded systems and multimedia systems.
A general embedded system represents a device that has hardware elements and software specially
designed for this hardware. Such devices aim to perform one or several dedicated functions. They can
work either in isolation or as part of larger systems. The best examples are home appliances (washing
machines), medical devices (blood pressure monitors), monitoring and control sensors in vehicles,
a CPU
microcontrollers
microprocessors
I/O ports
signal converters
computer buses
various peripherals
systems-on-chip (SOC)
systems-on-module (SOM).
Note: all embedded systems have different hardware configurations depending on their purpose. For
example, one device may have a display and a keyboard, while another will do without them.
application software
management software.
programmable. Complex solutions need an operating system, while primitive devices work without it.
GPOS (a general-purpose operating system) is used in personal computers and other systems
that perform common tasks. A GPOS requires high-performance processing power and handles
operations without observing time limits (i.e., the response time is not critical).
RTOS (a real-time operating system) is used in sensors and devices that must complete
operations within strict time constraints (i.e., the response time is critical). An RTOS needs less
A real-time embedded system is a particular version of an embedded system that works on the basis
constraints.
The deadline is above all: meeting the deadline is more important than other performance
characteristics.
Operational failures may lead to catastrophe: if a task does not meet time limits, it negatively
Multimedia Systems:
a bundle of different kinds of data. A multimedia computer system is one that can create, integrate, store,
retrieve delete two or more types of media materials in digital form, such as audio, image, video, and text
information.
To deal with large amount of data, very high processing power is used.
File System:
File system must be efficient to meet the requirements of continuous media. These media files requires
very high-disk bandwidth rates. Disks usually have low transfer rates and high latency rates. To satisfy
the requirements for multimedia data, disk schedulers must reduce the latency time to ensure high
bandwidth.
AVI, MID, WAV, DOC, GIF,PNG, etc. AVI files can contain both audio and video data in a file
container that allows synchronous audio-with-video playback. Like the DVD video format, AVI files
support multiple streaming audio and video. Because of restrictions on the conversion from one format to
the other, the use of the data in a specific format has been limited as well.
Input/Output:
In multimedia applications, the input and output should be continuous and fast. Real-time recording as
well as playback of data are common in most of the multimedia applications which need efficient I/O.
Operating System:
The operating system must provide a fast response time for interactive applications. High throughput for
Multimedia systems require storage for large capacity objects such as video, audio, animation and images.
Depending on the compression scheme and reliability video and audio require large amount of memory.
Network Support:
It includes internet, intranet, LAN, WAN, ATM, Mobile telephony and others. In recent years, there has
been a tremendous growth of multimedia applications on the internet like streaming video, IP telephony,
interactive games, teleconferencing, virtual world, distance learning and so on. These multimedia
networking applications are referred as continuous-media applications and require high communication
latency. Communication Latency is the time it takes for a data packet to be received by the remote
computer.
Software Tools:
For the development of multimedia applications, the various software tools like programming languages,
graphics software’s, multimedia editing software’s scripting languages: authoring tools, design software’s
etc are required. In addition to these the device drivers are required for interfacing the multimedia
peripherals.