BCE
BCE
Developed using electronic and other Developed writing using instructions using a
materials programming language
When damaged, it can be replaced with a new When damaged it can be installed once more
component using a backup copy
Hardware is physical in nature and hence one The software cannot be physically touched but
can touch and see hardware still can be used and seen
Hardware will physically wear out over time Software does not wear out but it can be
affected by bugs and glitches
Output Devices
A device which is used to display results from a computer is called an output device.
1. Plotters
● A plotter is a printer that interprets commands from a computer to make line drawings on
paper with one or more automated pens.
● the plotter can draw continuous point-to-point lines directly from vector graphics files or
commands.
● Plotters were the first type of printer that could print with color and render graphics and
full-size engineering drawings.
● plotters are much more expensive than printers. They are most frequently used for CAE
(computer-aided engineering) applications, such as CAD (computer-aided design) and CAM
(computer-aided manufacturing).
2. Monitors
● Monitor commonly called a Visual Display Unit (VDU) is the main output device of a
computer.
● It forms images from tiny dots, called pixels that are arranged in a rectangular form. The
sharpness of the image depends upon the no. of the pixels.
There are two kinds of viewing screens used for monitors.
● Cathode-Ray Tube (CRT)
● Liquid Crystal Display (LCD)
● Plasma Display
3. Printers
Printer is the most important output device, which is used to print information on paper.
There are two types of printers
● Impact Printers
● Non-Impact Printers
Impact Printers
The printers that print the characters by striking against the ribbon and onto the paper are called
impact printers.
These printers are of two types
● Character printers
● Line printers
Character Printers:Character Printers are printers which print one character at a time.
Example of Character Printer
● Dot Matrix Printer(DMP)
● Daisy Wheel
Line Printers: Line printers are printers which print one line at a time.
Example of Character Printer
Drum Printer
Chain Printer
Non-impact Printers
The printers that print the characters without striking against the ribbon and onto the paper, are
called Non-impact Printers. These printers print a complete page at a time, also called Page
Printers.
These printers are of two types
● Laser Printers
● Inkjet Printers
Laser Printers: These are non-impact page printers. They use laser lights to produce the dots
needed to form the characters to be printed on a page.
Inkjet Printers: Inkjet printers are non-impact character printers based on a relatively new
technology. They print characters by spraying small drops of ink onto paper. Inkjet printers
produce high quality output with presentable features.
4. Speakers
● A device through which we can listen to a sound as an outcome of what we command a
computer to do is called a speaker
● Speakers are attached with a computer system and also are a hardware device which can be
attached separately
● With the advancement in technology, speakers are now available which are wireless and can
be connected using BlueTooth or other applications
5. Projector
● An optical device which presents an image or moving images onto a projection screen is
called a projector
● Most commonly these projectors are used in auditoriums and movie theatres for the display of
the videos or lighting
● If a projector is connected to a computer, then the image/video displayed on the screen is the
same as the one displayed on the computer screen
6. Headphones
● They perform the same function as a speaker, the only difference is the frequency of sound
● Using speakers, the sound can be heard over a larger area and using headphones, the sound is
only audible to the person using them
● Also known as earphones or headset
ROM (Read Only Memory): Read-only memory (ROM) is a type of storage medium that
permanently stores data on personal computers (PCs) and other electronic devices. It contains the
programming needed to start a PC, which is essential for boot-up; it performs major input/output
tasks and holds programs or software instructions. It is permanent and non-volatile, meaning it
also holds its memory Data even when power is removed.
Types of ROM memory
● Programmable Read-Only Memory (PROM)
● Electrically Programmable Read-Only Memory (EPROM)
● Electrically Erasable Programmable Read-Only Memory (EEPROM)
1. Programmable Read-Only Memory (PROM): It is one type of ROM (read-only memory).
The data in them is permanent and cannot be changed. It has not come pre-recorded by the
manufacturer. Programs are recorded by user or programmer by using a special tool.
2. Erasable Programmable Read-Only Memory (EPROM): a read-only memory whose
contents can be erased by ultraviolet light or other means and reprogrammed using a pulsed
voltage.
3. Electrical Erasable Programmable Read-Only Memory (PROM): EEPROM is a special
type of PROM that can be erased by exposing it to an electrical charge. That can be erased and
reprogrammed (written to) repeatedly through the application of higher than normal electrical
voltage.
1 Definition RAM stands for Random Access ROM stands for Read Only Memory.
Memory.
3 Data RAM data can be read, erased or ROM data is read only.
Access modified.
4 Usage RAM is used to store data that the ROM is used to store data that is
CPU needs for current instruction needed to bootstrap the computer.
processing.
5 Speed RAM speed is quite high. ROM speed is slower than RAM.
6 CPU The CPU can access data stored on Data to be copied from ROM to
Access RAM. RAM so that the CPU can access its
data.
7 Capacity RAM memory is large and high ROM is generally small and of low
capacity. capacity.
Question 2 Write differences between low level and high level programming languages.
Answer: Differences between low level and high level programming languages.
Low level language High level language
They are faster than high level languages. They are comparatively slower.
Low level languages are memory High level languages are not memory
efficient. efficient.
Low level languages are difficult to learn. High level languages are easy to learn.
Programming at a low level requires Programming at a high level does not require
additional knowledge of computer any additional knowledge of computer
architecture. architecture.
They are machine dependent and are not They are machine independent and portable.
portable.
They provide less or no abstraction from They provide high abstraction from the
the hardware. hardware.
They are more error prone. They are less error prone.
Debugging and maintenance is difficult. Debugging and maintenance is
comparatively easier.
They are generally used for developing They are used to develop a variety of
system software’s (Operating systems) applications such as – desktop applications,
and embedded applications. websites, mobile software etc.
Compiler –
The language processor that reads the complete source program written in high level language as a
whole in one go and translates it into an equivalent program in machine language is called a
Compiler.
Example: C, C++, C#, Java
In a compiler, the source code is translated to object code successfully if it is free of errors. The
compiler specifies the errors at the end of compilation with line numbers when there are any errors
in the source code. The errors must be removed before the compiler can successfully recompile
the source code again.
Assembler –
The Assembler is used to translate the program written in Assembly language into machine code.
The source program is an input of assembler that contains assembly language instructions. The
output generated by assembler is the object code or machine code understandable by the computer.
A compiler is a program which converts the entire interpreter takes a source program
source code of a programming language into and runs it line by line, translating
executable machine code for a CPU. each line as it comes to it.
Compiler takes a large amount of time to analyze Interpreter takes less time to
the entire source code but the overall execution analyze the source code but the
time of the program is comparatively faster. overall execution time of the
program is slower.
Compiler generates the error message only after Its Debugging is easier as it
scanning the whole program, so debugging is continues translating the program
comparatively hard as the error can be present until the error is met
anywhere in the program.