Unit 1
Unit 1
1. INPUT UNIT
Used to receive data and instruction from users
Converts the data and instructions to machine readable code.
Common input devices are keyboard, mouse, joystick, scanner,
etc.
3. OUTPUT UNIT
Computer provides information and results of computation to the
outside world through output unit.
The output unit consists of one or more output devices.
Some output devices are: Monitor, Printer, Speaker
Data Vs Information
DATA: Data are the raw bits and pieces of information with no context. If I
told you, “15, 23, 14, 85,” you would not have learned anything. But I would
have given you data. Data can be quantitative or qualitative.
Once we have put our data into context, aggregated and analyzed it, we can
use it to make decisions for our organization. We can say that this
consumption of information produces knowledge. This knowledge can be
used to make decisions, set policies, and even spark innovation.
Difference between Data and Information
Data Information
Data is an individual unit that contains raw Information is a group of data that
materials which do not carry any specific collectively carries a logical meaning.
meaning.
Raw data alone is insufficient for decision Information is sufficient for decision
making making
An example of data is a student’s test score The average score of a class is the
information derived from the given data.
Operating Systems
An Operating System performs all the basic tasks like managing files,
processes, and memory. Thus operating system acts as the manager of all
the resources, i.e. resource manager. Thus, the operating system becomes
an interface between user and machine.
Reliability problem
One must have to take care of the security and integrity of user
programs and data
Failure of one will not affect the other network communication, as all
systems are independent from each other
Electronic mail increases the data exchange speed
Since resources are being shared, computation is highly fast and
durable
Load on host computer reduces
These systems are easily scalable as many systems can be easily
added to the network
Delay in data processing reduces
Real-time systems are used when there are time requirements that are
very strict like missile systems, air traffic control systems, robots, etc.
Soft Real-Time Systems: These OSs are for applications where for
time-constraint is less strict.
Advantages of RTOS:
Task Shifting: The time assigned for shifting tasks in these systems
are very less. For example, in older systems, it takes about 10
microseconds in shifting one task to another, and in the latest systems,
it takes 3 microseconds.
Focus on Application: Focus on running applications and less
importance to applications which are in the queue.
Disadvantages of RTOS:
Limited Tasks: Very few tasks run at the same time and their
concentration is very less on few applications to avoid errors.
Types of Computers
A computer is a device that transforms data into meaningful information.
It processes the input according to the set of instructions provided to it by
the user and gives the desired output. Computers are of various types
and they can be categorized in two ways on the basis of size and on the
basis of data handling capabilities.
1. Supercomputer
2. Mainframe computer
3. Minicomputer
4. PC (Personal Computer)
And on the basis of data handling capabilities, there are three types of
computer:
1. Analogue Computer
2. Digital Computer
3. Hybrid Computer
1. Supercomputer:
When we talk about speed, then the first name that comes to mind when
thinking of computers is supercomputers. They are the biggest and
fastest computers (in terms of speed of processing data). Supercomputers
are designed such that they can process a huge amount of data, like
processing trillions of instructions or data just in a second. This is because
of the thousands of interconnected processors in supercomputers. It is
basically used in scientific and engineering applications such as weather
forecasting, scientific simulations, and nuclear energy research. It was
first developed by Roger Cray in 1976.
Characteristics of supercomputers:
Supercomputers are the computers which are the fastest and they are
also very expensive.
2. Mainframe computer:
3. Minicomputer:
Characteristics of minicomputer:
It is fast.
4. PC (Personal Computer):
It is smallest in size.
It is easy to use.
5. Analogue Computer:
6. Digital Computer:
Digital computers are designed in such a way that it can easily perform
calculations and logical operations at high speed. It takes raw data as an
input and processes it with programs stored in its memory to produce the
final output. It only understands the binary input 0 and 1, so the raw input
data is converted to 0 and 1 by the computer and then it is processed by
the computer to produce the result or final output. All modern computers,
like laptops, desktops including smartphones are digital computers.
7. Hybrid Computer:
Computer Languages
1. Low-Level Languages
Low-level computer languages are either machine codes or are very close
to them. A computer cannot understand instructions given to it in high-
level languages or in English. It can only understand and execute
instructions given in the form of machine language, i.e. binary. There are
two types of low-level languages:
Machine language makes fast and efficient All operation codes have to be
use of the computer. remembered
Advantages Disadvantages
2. High-Level Languages
High-level computer languages use formats that are similar to English. The purpose
of developing high-level languages was to enable people to write programs easily in
their own native language environment (English).
Advantages Disadvantages
They are similar to English and The object code generated by a translator might
use English vocabulary and well- be inefficient compared to an equivalent
known symbols assembly language program
Examples include:
BASIC (Beginners All Purpose Symbolic Instruction Code)
These languages are best able to maintain data processing procedures and
problems involved in handling files. Some examples include:
These are used for string manipulation, including search patterns and
inserting and deleting characters. Examples are:
C++
Java
Memory/Storage devices
Memory is the electronic holding place for the instructions and data a
computer needs to reach quickly. It's where information is stored for
immediate use. Memory is one of the basic functions of a computer, because
without it, a computer would not be able to function properly. Memory is also
used by a computer's operating system, hardware and software.