Eng3201 Module I
Eng3201 Module I
MODULE I
1.1 Recap of Introduction to Computer
Computer is an advanced electronic device that takes raw data as input from the user and processes it
under the control of set of instructions (called program), gives the result (output), and saves it for the
future use.
A computer system is made up of both hardware and software. Software is another term for computer
program. Software controls the computer and makes it do useful work. Without software a computer is
useless. Hardware refers to the physical components that make up a computer system. These include
the computer's processor, memory, monitor, keyboard, mouse, disk drive, printer and so on.
1) High Speed
2) Accuracy
3) Storage Capability
4) Diligence
• Unlike human beings, a computer is free from monotony, tiredness and lack of concentration.
• It can work continuously without any error and boredom.
• It can do repeated work with same speed and accuracy.
1
5) Versatility
6) Reliability
7) Automation
• The use of computers for data processing in an organization leads to reduction in paperwork and
results in speeding up a process.
• As data in electronic files can be retrieved as and when required, the problem of maintenance of
large number of paper files gets reduced.
9) Reduction in Cost
• Though the initial investment for installing a computer is high but it substantially reduces the cost of
each of its transaction.
1.1.2 Disadvantages
1) No I.Q
2) Dependency
2
3) Environment
4) No Feeling
Input Unit
This unit contains devices with the help of which we enter data into computer. This unit makes link
between user and computer. The input devices translate the information into the form understandable by
computer.
CPU is considered as the brain of the computer. CPU performs all types of data processing operations. It
stores data, intermediate results and instructions(program). It controls the operation of all parts of
computer.
Output Unit
Output unit consists of devices with the help of which we get the information from computer. This unit
is a link between computer and users. Output devices translate the computer's output into the form
understandable by users.
3
1.1.4 Types of Computer
As mentioned earlier, a computer system has both hardware and software components. The time taken
by the system to respond to an input and display the required updated information is termed as response
time. The following are the types of Computers broadly classified by their speed and computing power:
2. WorkStation: It is also a single user computer system which is similar to personal computer but have
more powerful microprocessor. It is used for engineering applications (CAD/CAM), desktop
publishing, software development, and other such types of applications which require a moderate
amount of computing power and relatively high-quality graphics capabilities.
4
4. Main Frame: It is a multi-user computer system which is capable of supporting hundreds of users
simultaneously. Software technology is different from minicomputer. It is very large in size and is
an expensive computer capable of supporting hundreds or even thousands of users simultaneously.
Mainframe executes many programs concurrently and supports many simultaneous executions of
programs
Hardware represents the physical and tangible components of a computer i.e. the components that can
be seen and touched.
5
MODULE 2
“An Operating system (OS) is a program that controls the execution of application programs and acts as an
interface between the user of a computer and the computer hardware.” A more common definition is that
the operating system is always the one program running on the computer (usually called the kernel), with
all else being applications programs.
An OS is concerned with the allocation of resources and services, such as memory, processors, devices and
information. It includes programs to manage these resources, such as a traffic controller, a scheduler,
memory management module, I/O programs, and a file system.
• Memory Management: Refers to management of Primary Memory or Main Memory i.e. what part of
it are in use by whom, what part are not in use. In multiprogramming, OS decides which process will get
memory when and how. Allocates the memory when the process requests it to do so and de-allocates the
memory when the process no longer needs it or has been terminated.
• Device Management: OS manages device communication via their respective drivers thereby keeping
track of all devices. Program responsible for this task is known as the I/O controller.
• Decides which process gets the device when and for how much time.
• Allocates the device in the efficient way.
• De-allocates devices.
• File Management: A file system is normally organized into directories for easy navigation and usage.
These directories may contain files and other directions thereby keeping track of information, location,
uses, status etc. The collective facilities are often known as file system.
• Decides who gets the resources.
• Allocates and de-allocates the resources.
• Security: By means of password and similar other techniques, preventing unauthorized access to
programs and data.
• Control over system performance: Recording delays between request for a service and response from
the system.
6
• Job accounting: Keeping track of time and resources used by various jobs and users.
• Error detecting aids: Production of dumps, traces, error messages and other debugging and error
detecting aids.
• Coordination between other software and users: Coordination and assignment of compilers,
interpreters, assemblers and other software to the various users of the computer systems.
Following are few of the important types of operating system which are most used.
1) Batch OS
The users of batch OS do not interact with the computer directly. Each user prepares his job on an off-line
device like punch cards and submits it to the computer operator. To speed up processing, jobs with similar
needs are batched together and run as a group. Thus, the programmers left their programs with the operator.
The operator then sorts programs into batches with similar requirements.
7
3) Distributed Operating System
Distributed systems use multiple central processors to serve multiple real time application and multiple
users. Data processing jobs are distributed among the processors accordingly to which one can perform
each job most efficiently. The processors communicate with one another through various communication
lines (such as high-speed buses or telephone lines). These are referred as loosely coupled systems or
distributed systems. Processors in a distributed system may vary in size and function. These processors
are referred as sites, nodes, and computers and so on.
Real-time operating system has well-defined, fixed time constraints or rigid time requirements
of a processor or the flow of data. Real-time systems can be used as a control device in a dedicated
8
application such as Scientific experiments, medical imaging systems, industrial control systems, weapon
systems, robots, and home-appliance controllers, Air traffic control system etc.
• Hard real-time systems guarantee that critical tasks complete on time. In hard real-time
systems secondary storage is limited or missing with data stored in ROM. In these systems
virtual memory is almost never found.
• Soft real time systems are less restrictive. Critical real-time task gets priority over other tasks
and retains the priority until it completes. Soft real-time systems have limited utility than hard
real-time systems. For example, Multimedia, virtual reality, Advanced Scientific Projects like
undersea exploration and planetary rovers etc.