Chapter 1197
Chapter 1197
in
Business Accounting
Rasananda Mohanty
(MBA, TCP, ICB & TDL Certified),
Visiting Faculty,
Ravenshaw University, Cuttack,
Xavier University, Bhubaneswar, Odisha.
Published by : Mrs. Meena Pandey for Himalaya Publishing House Pvt. Ltd.,
“Ramdoot”, Dr. Bhalerao Marg, Girgaon, Mumbai - 400 004.
Phone: 022-23860170/23863863, Fax: 022-23877178
E-mail: [email protected]; Website: www.himpub.com
Branch Offices :
New Delhi : “Pooja Apartments”, 4-B, Murari Lal Street, Ansari Road, Darya Ganj,
New Delhi - 110 002. Phone: 011-23270392, 23278631; Fax: 011-23256286
Nagpur : Kundanlal Chandak Industrial Estate, Ghat Road, Nagpur - 440 018.
Phone: 0712-2738731, 3296733; Telefax: 0712-2721216
Bengaluru : No. 16/1 (Old 12/1), 1st Floor, Next to Hotel Highlands, Madhava Nagar,
Race Course Road, Bengaluru - 560 001.
Phone: 080-22286611, 22385461, 4113 8821, 22281541
Hyderabad : No. 3-4-184, Lingampally, Besides Raghavendra Swamy Matham, Kachiguda,
Hyderabad - 500 027. Phone: 040-27560041, 27550139
Chennai : New-20, Old-59, Thirumalai Pillai Road, T. Nagar, Chennai - 600 017.
Mobile: 9380460419
Pune : First Floor, "Laksha" Apartment, No. 527, Mehunpura, Shaniwarpeth
(Near Prabhat Theatre), Pune - 411 030. Phone: 020-24496323/24496333;
Mobile: 09370579333
Lucknow : House No 731, Shekhupura Colony, Near B.D. Convent School, Aliganj,
Lucknow - 226 022. Phone: 0522-4012353; Mobile: 09307501549
Ahmedabad : 114, “SHAIL”, 1st Floor, Opp. Madhu Sudan House, C.G. Road, Navrang Pura,
Ahmedabad - 380 009. Phone: 079-26560126; Mobile: 09377088847
Ernakulam : 39/176 (New No: 60/251) 1st Floor, Karikkamuri Road, Ernakulam,
Kochi – 682011. Phone: 0484-2378012, 2378016 Mobile: 09387122121
Bhubaneswar : 5 Station Square, Bhubaneswar - 751 001 (Odisha).
Phone: 0674-2532129, Mobile: 09338746007
Kolkata : 108/4, Beliaghata Main Road, Near ID Hospital, Opp. SBI Bank,
Kolkata - 700 010, Phone: 033-32449649, Mobile: 7439040301
Guwahati : House No. 15, Behind Pragjyotish College, Near Sharma Printing Press,
P.O. Bharalumukh, Guwahati - 781009, (Assam).
Mobile: 09883055590, 08486355289, 7439040301
DTP by : Asha
Printed at : M/s. Aditya Offset Process (I) Pvt. Ltd., Hyderabad. On behalf of HPH.
Dedicated to
My Loving & Respected Grandfather
Rasananda Mohanty
Dr. Sanjay Kumar Satapathy
Contents
1. Familiarizing with Personal Computer, Computer Architecture, 1 - 39
Components
6. TDS, Banking, Tally Audit, Statutory Return, e-Return, Remote 230 - 263
Access, Accounting and Inventory Reports, Statutory Reports,
Security Control, Data Split, Printing Utility
Keyboard Monitor
CPU
Mouse Printer
Ram
Other input Other output
HDD CD
Memory
The above picture represents the complete architecture about the working of a computer. Readers
are advised to keep the blue print of this picture till the completion of first unit. The components
described are explained in detail later on.
Computer
A personal computer (PC) is usually a microcomputer whose price, size, and capabilities make it
suitable for personal usage. The term was popularized by IBM marketing. A computer is a general
purpose device which can be programmed to carry out a finite set of arithmetic or logical operations.
Since a sequence of operations can be readily changed, the computers can solve more than one kind of
problem. Conventionally a computer consists of at least one processing element and some form of
memory. The processing element carries out arithmetic and logic operations, and sequencing and a
control unit that can change the order of operation based on stored information. Roughly a computer
consists of input device, output device, processing device, communicating and storage device. Most
people assume computer as a calculating device in earlier days but it is much more than that in present
scenario. Now a day we feel the presence of computer in each of our day to day activity. The
technological enhancement has made the use of computer and computer literacy more familiar. The
business complexity and competition, the statutory obligations and the profit maximization objective
have created a strong platform for the information technology to be considered as an important tool. In
present scenario taking right decision in short time is a tough challenge for the entrepreneurs. So it is
very much important for every entrepreneur to know the importance of computer and the business
management software available in market.
A computer may be defined as a machine that can solve problems by accepting input data from
the user, performing certain operations and presenting the results of those operations according to the
direction or command or set of instructions. Computer science is the study of the operating principles
of computers, computer programming languages and algorithms for solving theoretical as well as
practical problems. It involves the development and use of devices for processing information.
Familiarizing with Personal Computer, Computer Architecture, Components 3
Abacus
This is the first recorded computer, whose existence dates back 2500 B.C. The mechanical
calculating device Abacus was principally used to add and subtract. Nearly 5,000 years ago the abacus
emerged in Asia Minor. The abacus may be considered the first computer.
Pascalein
In 1642, Blaise Pascal invented Pascaline, it is a brass rectangular box, used eight movable dials
to add sums up to eight figures long. But it was only capable of performing additions and subtractions.
Multiplication and division operations were carried out in terms of addition and subtraction.
Difference Engine
A young genius named Charles Babbage, an English mathematician gave much thought to the
design of a device that used the differences between previous values in a table to produce new values.
In 1822, he constructed the “Difference Engine”.
Analytical Engine
In 1833, Charles Babbage developed the Analytical Engine. This machine consisted of five
functional units such as Input unit, Memory unit, Arithmetic unit, Control unit and Output unit and
hence, Charles Babbage is called the Father of Computers.
Generation of Computers
A generation refers to the state of improvement in the development of the product. This term is
also used in different advancements of computer technology. The generations of computers are
broadly classified into:
1. Non-electronic Generation
2. Electronic Generation
Non-electronic Generation
This generation is also called as Zero Generation of Computers. These are made up of wooden or
mechanical components. Ex: Abacus, Napier’s bones etc…
4 Computer Application in Business Accounting
Electronic Generation
Computers built with electronic circuitry are called the electronic generation of computers. They
are divided into 5 generations.
First Generation of Computers
These were developed during 1940-1956, and were built with Vacuum tubes. Some authors
assumed the developed period as 1951-1959. First generation computers relied on machine language
understood by computers, to perform operations, and they could only solve one problem at a time.
Input was based on punched cards and paper tape, and output was displayed on printouts. The
UNIVAC and ENIAC computers are examples of first-generation computing devices. These
computers used vacuum tubes joined with copper wires. These computers were very bulky and
required huge electric power, maintenance and space for their installation. The first generation
computers were of low capacity and internal storage.
Second Generation of Computers
These were developed during 1956-1963, and were built with Transistors. The transistor was far
superior to the vacuum tube, allowing computers to become smaller, faster, cheaper, and more reliable.
Second-generation computers moved from machine language to assembly, languages, which allowed
programmers to specify instructions in words. High-level programming languages were also being
developed at this time. The use of transistors made these computers more reliable than first generation
computers. The use of magnetic cores as the primary internal storage medium and the introduction of
removable magnetic disk pack were other major developments of the second generation computers.
Data transmission from one computer to another computer was possible in this generation.
Third Generation of Computers
These were developed during 1964-1971, and were built with Integrated Circuits (ICs). The
development of the integrated circuit was the hallmark of the third generation of computers. Instead of
punched cards and printouts, users interacted with third generation computers through keyboards and
monitors and interfaced with an operating system. Computers for the first time became accessible to
normal users because they were smaller and cheaper. The integrated circuits enhanced the processing
capability, improved the speed of the computer. The technology of Small-scale Integration (SSI) and
Middle Scale Integration (MSI) were incorporated in this generation. The first commercially available
minicomputer was introduced in 1965. High level programming languages were used by these
computers.
Fourth Generation of Computers
These were developed during 1972-1990 and were built with Micro Processors. The development
of the microprocessor chip, which contains an entire Central Processing Unit (CPU) on a single silicon
chip led to the mushrooming growth of inexpensive computers. New powerful languages were
developed to broaden the use of multiprogramming and multiprocessing which brought about a major
shift from batch processing to online processing as well as remote interactive processing. In 1981 IBM
introduced its first computer for the home user. As these small computers became more powerful, they
could be linked together to form networks, which eventually led to the development of the Internet.
Fourth generation computers also saw the development of GUIs, the mouse and handheld devices. The
Familiarizing with Personal Computer, Computer Architecture, Components 5
use of Very Large Integrated Circuits (VLIC) had made the fourth generation (micro) computers very
compact, much less expensive, faster, more reliable and with a much greater data processing capacity
than third generation computers.
Fifth Generation of Computers
These were developed since 1998. The development of super computers was the key motivation
of the fifth generation computers. The goal of fifth-generation computing is to develop devices that
respond to natural language input and are capable of learning and self-organization. The concept of
“Artificial Intelligence” is being used in these computers and the Japanese called them “Knowledge
Processors”. Automatic programming, computational logic, pattern recognition and control of robots
(robotics), the processes needing skill and intelligence are examples of artificial intelligence. These
computers processed data in billions per second.
Classification
The computers are classified based on following parameters. They are classified on the basis of:
1. Data Handling
2. Purpose
3. Size/Application
4. Generation/Technology (Discussed above)
The hybrid system provides the good precision that can be attained with analog computers and
the greater control is possible with digital computers, plus the ability to accept the input data in either
form.
Based on Purpose
Computers are classified into following types on the basis of purpose.
1. General Purpose Computers
2. Specific Purpose Computers
General Purpose Computers
General purpose computers are designed to solve a large variety of problems. The different
programs can be used to solve many problems. Most digital computers are general purpose computers
and used in business and commercial data processing.
Specific Purpose Computers
A computer designed for machine control or process control would be different than a general
purpose computer. The special purpose computers are designed to solve specific problems. The
computer program for solving a specific problem is built right into the computer. Most analog
computers are special purpose computers. These special purpose computers are widely used in
industrial robotics.
Based on Size/Application
Computers are classified into following types according to size.
1. Super Computers
2. Mainframe Computers
3. Mini Computers
4. Microcomputers
Super Computers
Supercomputers are the fastest computers available at any given time and are normally used to
solve problems, which require intensive numerical computations. Weather forecasting, nuclear
research, fluid dynamics, scientific research, astrophysics are the areas of application of
supercomputers. These computers are extremely expensive and its speed is measured in billions of
instructions per second or floating point operations per second.
Mainframe Computers
Mainframes are the second largest of the computer family. These computers are capable of
handling and processing large amounts of data quickly. They are capable of supporting large volumes
of data processing, on line transaction processing, high volume of database management, Govt. Sector,
Banks, Insurance, Airways, Railway, Medical, etc. Their speed is measured in millions of instruction
per second.
Familiarizing with Personal Computer, Computer Architecture, Components 7
Mini-computers
These computers fall in between mainframe and microcomputers. These computers have less
storage capacity with low speed of processing. These are capable of supporting 4 to 200 users
simultaneously. They are used in research organization, universities, etc.
Micro-computers
A microcomputer is the smallest, least expensive among all the computers. The difference
between microcomputers and mainframe or minicomputers is that microcomputers have smallest
memory and less power, physically smaller and permit fewer peripherals to be attached. Examples -
Desktop, laptop, PDA, tablet PC, Smartphone, Palmtop, etc. A microcomputer is the smallest, least
expensive of all the computers.
Servers and Workstations
Server is a physical computer dedicated to run one or more such services to serve the needs of
users of other computers on network. The server may be a Database server, file server, mail server,
print server, web server etc. A workstation is a high end microcomputer designed for technical or
scientific applications. High performance graphics card, Powerful CPUs and a large number of
memory are present in server machines.
Characteristics
A few notable characteristics of computers are as follows.
Speed: The computer was initially invented as a very high speed calculator. The speed varies
from a few microseconds (millionth of a second) to nanoseconds (billionth of a second).
Millisecond (KHZ) - a thousandth of a second. (Kilo Hertz)
Microsecond (10-6 Sec, MHZ) - a millionth of a second. (Mega Hertz)
Nanosecond (10-9 Sec, GHZ) - a billionth of a second. (Giga Hertz)
Picosecond (THZ) - a trillionth of a second. (Tera Hertz)
Storage: Computer has mass storage section where we can store large volume of data for future
work. Such data can easily be retrieved from the secondary storage devices like floppy disk (Fdd),
hard disk (Hdd), compact disk (CD), Digital Versatile Disk (DVD), Blue Rays, memory card and pen
drive etc.
Accuracy: Though the computer does its work with a very high speed, it does not make any
mistake unless the user gives it a wrong instruction. Computers are 100% accurate. But if we feed
wrong data to the computer, it returns the same wrong output or information called GIGO (Garbage in
garbage out).
Reliability: Since computer can do its work very fast, without making any mistake and without
taking rest and is able to store data for future use, it is a very reliable or trustworthy machine.
Versatility: It means the capacity to perform completely different type of work. You may use
your computer to prepare payroll slips. Next moment you may use it for inventory management or to
prepare electric bills.
8 Computer Application in Business Accounting
Diligence: Computers can work for many hours continuously without taking any rest and without
decreasing its speed, accuracy and efficiency. It is free from tiredness, lack of concentration, fatigue. If
millions of calculations are to be performed, a computer will perform every calculation with the same
accuracy.
Limitations
The followings are the limitations of computers.
1. They are failure prone. A failure in a nuclear power station or defense or airlines can
endanger many lives and resources.
2. They don’t have their own thinking power.
3. The output generated is solely dependent on the mode and genuineness of the input.
4. Discarded computers are real junk and consume a lot of space.
Application of Computer
Today computer has become essential part of life. In every job the involvement of computer may
be directly or indirectly is felt. The followings are the areas where computer is used to get the
maximum benefit.
1. Education and Research Work
2. Medicine and Health Care
3. Business and Industry
4. Production and Marketing
5. E-Governance
6. Internet, Online Shopping and Cloud Computing
7. Entertainment, Movie, Sound, Animation
8. Railway, Transport, Airway
9. Banking & Insurance
10. Legal Practice, Audit and Law Enforcement
11. Defence and Nuclear Space Research
12. Traffic Control, Sports and Astrology
Hardware
The term hardware refers to the physical parts of the computer which we can see, touch and feel
the existence. The hardware components occupy certain space. The hardware can be divided into
following types
1. Input devices
2. Output devices
3. Processing devices and Memory
4. Storage devices
Input Devices
The input devices allow the user to communicate with the computer. Input devices accept the
instructions or data from the user in different formats. Examples of input devices are keyboard, mouse,
scanner, trackball, joystick, light pen, touchpad, etc. When we are connecting any input devices to the
computer we should ensure the specific driver required to run the device. Besides the above input
devices we may find other devices used to receive the data as input from the user. Logitech, I ball and
Microsoft are the leading manufacturers of input devices.
Output Devices
The output devices allow the user to display or to print the output generated by the computer.
Examples of output devices are monitors or VDU, printers, plotters, speakers, speech synthesizers etc.
There are different types of monitors in different sizes are available. The monitors are classified
according to the display mode, e.g., CRT, TFT, LCD and LED. In the present scenario, the CRT
monitors are discarded. Printers are used to produce the hard copy of the output. There are different
types of printers are available like dot matrix printers, inkjet printers, laser printers, DeskJet printers,
thermal printers, etc.
Processing Devices and Memory
The processing devices perform all processing activities by taking the input instruction from the
user and generate the output. Central processing Unit, registers are considered as processing devices.
Main memory unit, RAM, ROM are different types of memory which holds the processed data
temporarily.
Storage Devices
The storage devices hold the processed data permanently. Hard Disk, Pen drive, memory card,
DVD, Memory card are the examples of different storage devices. The capacity of the storage devices
are measures in GB (gigabyte). Hard disk is internal storage device. HDDs were introduced in 1956 as
data storage for an IBM real time transaction processing computer and were developed for use with
general-purpose mainframe and minicomputers. The first IBM drive, the 350 RAMAC, was
approximately the size of two refrigerators and stored five million six-bit characters (3.75 megabytes)
on a stack of 50 disks. The top hard drive manufacturers are Western Digital, Seagate Technology,
Toshiba, Hitachi, G Technology, etc.
10 Computer Application in Business Accounting
Power
Connector
Jumper Block
Actuator LAN Card
IDE Connector
Hard Disk
Software
As you know computer cannot do anything on its own and has to be guided by the user. In order
to do any specific job you have to give a sequence of instructions to the computer. This set of
instructions is called a computer program. Software refers to the set of computer programs, procedures
Familiarizing with Personal Computer, Computer Architecture, Components 11
that describe the programs and how they are to be used. We can say that it is the collection of
programs, which increases the capabilities of the hardware. Software guides the computer at every step
where to start and stop during a particular job. The process of software development is called
programming. You should keep in mind that software and hardware are complementary to each other.
Both have to work together to produce meaningful result. Another important point you should know
that developing software is difficult, time consuming and expensive. Computer software is normally
classified into three broad categories.
Application Software
System Software
Utility Software
Application Software: Application software is a set of programs, which are written to perform
specific tasks of the users of computers such as Accounts, Stores, Payroll, etc. These software are
developed in high level language to help the user to get the computer perform the tasks. MS offices,
page maker, coral draw, Photoshop are few examples of application software. You can develop a
package to print mark sheet of every student of your college or generate accounts or to maintain
inventory of a company etc. Application software can be classified into two types: (a) Customized
Packages (b) Generalized Packages. Customized Packages: These are developed especially for the
user by a program using high-level computer languages to fulfill individual requirements. For example,
when you develop a package to prepare a status report of your college i.e., name of the students, their
addresses, Parent’s name, Fee paid, marks obtained, etc., you are developing a customized package
because the package developed for your institution may not be of any use for other institution.
Generalized Package: These packages are written for the people who have to perform common task
on a computer system. Winamp, team viewer, Oracle, MS Office, Opera, VLC player, etc., are the
names of the Generalized Packages. Any person can use these packages because they can be used for
specific application and purposes. These are meant for mass and common use. Another example of
application software is programming language.
System Software: This software is used by the computer system for functioning. When you
switch on the computer the programs stored or written in ROM is executed which activates different
units of your computer and makes it ready for you to work on it. This set of program can be called
System Software. Therefore, system software may be defined as a set of one or more programs
designed to control the operations of computer system. System Software are general purpose programs
designed for performing tasks such as controlling all operations required to move data into and out of
the computer. It communicates with keyboard, printer, card reader, disk, tapes, etc. It also monitors the
use of various hardware like memory, CPU, etc. System software acts as an interface between
hardware and application software. System software allows application packages to be run on the
computer with less time and effort. It is not possible to run application software without system
software, operating systems, device drivers, linker software are good examples of system software.
Utility Software: Utility software is system software designed to help analyze, configure,
optimize or maintain a computer. Utility software usually focuses on how the computer infrastructure
including hardware, operating system, software and data storage operates. It functions as system
software and performs the activity of application software. Antivirus, archivers, clipboard managers,
data compression, disk defragmenters, disk cleaners, registry cleaner are different categories of utility
software.
12 Computer Application in Business Accounting
Programming Language
Language is a system of communication between two persons. Some of the basic natural
languages that we are familiar with are English, Hindi, Oriya, etc. These are the languages used to
communicate among various categories of persons. But how will you communicate with your
computer. Your computer will not understand any of these natural languages for transfer of data and
instruction. So there are computer-programming languages specially developed so that you could pass
your data and instructions to the computer to do specific job. You must have heard names like
FORTRAN, BASIC, COBOL, C, C++ etc. These are programming languages. So instructions for
performing a task are written in a particular computer programming language based on the type of
output. As an example, for scientific application FORTRAN and C languages are used. On the other
hand, COBOL is used mainly for business application.
Types: There are two major types of programming languages. These are Low Level Languages
and High Level Languages. Low Level languages are further divided into Machine language and
Assembly language.
Low Level Languages
The term low level means closeness to the way in which the machine has been built. Low Level
languages are machine-oriented and require extensive knowledge of computer hardware and its
configuration.
The low level languages are:
Machine Language: Machine Language is the language of the computer and is the only
language that is directly understood by the computer. We also call it machine code and it is written as
strings of 1’s and 0’s. It is on this basis that the computer is designed. When this sequence of codes is
fed to the computer, it recognizes the codes and converts it in to electrical signals needed to run it. For
example, a program instruction may look like this: 1011000111101. It is not an easy language for you
to learn because of its complexity as it consists of 1’s and 0’s. It is most efficient for the computer as
the instructions are directly executed. It is considered to the first generation language. It is also
difficult to debug the program written in this language.
Advantage:
The only advantage is that program of machine language run very fast because no translation
program is required for the CPU.
Disadvantages:
1. It is very difficult to program in machine language. The programmer has to know details of
hardware to write program.
2. Machine language is hardware dependent.
3. The programmer has to remember a lot of codes to write a program, which results in
program errors.
4. It is difficult to debug the program.
Assembly Language: It is the first step to improve the programming structure. In this language,
the machine codes comprising of 1’s and 0’s are substituted by symbolic codes (called mnemonic
codes) to improve their understanding. The set of symbols and letters forms the assembly language
and a translator program (called Assembler) is required to translate the programs written in assembly
Familiarizing with Personal Computer, Computer Architecture, Components 13
language into machine language for execution by the computer. It is considered to be a second-
generation language.
Advantages:
1. The symbolic programming of Assembly Language is easier to understand and saves a lot of
time and effort of the programmer.
2. It is relatively easier to correct errors and modify program instructions.
3. Assembly Language has almost the same efficiency of execution as the machine level
language because this is one-to-one translator between assembly language program and its
corresponding machine language program.
Disadvantages:
One of the major disadvantages is that assembly language is machine dependent. A program
written for one computer might not run on other computers with different hardware configuration.
High Level Languages
You know that assembly language and machine language require extensive knowledge of
computer hardware. To overcome this limitation, a user writes the instructions in English like
sentences to perform the logic of the problem irrespective of the type of computer you are using. The
language used for this is referred to as high-level language. High-level languages are simple language
that use English and mathematical symbols like +, -, %, /, etc. for its program construction. You
should know that any higher-level language has to be converted to machine language for the computer
to understand. Higher-level languages are problem-oriented languages because the instructions are
suitable for solving a particular problem. For example COBOL (Common Business Oriented
Language) is mostly suitable for business-oriented language where there is very little processing and
huge output. There are mathematical-oriented languages like FORTRAN (Formula Translation) and
BASIC (Beginners All-purpose Symbolic Instructions Code) where very large processing is required.
Nowadays Python, C#, PHP, Java are commonly used high level languages. Advantages of High
Level Languages are higher-level languages are easy to learn and use. It is because that they are
similar to the languages used by us in our day-to-day life. The programs can easily be debugged and
are machine independent.
Compiler
It is a program that translates the instructions of higher-level languages to machine language. It is
called compiler because it compiles every program instruction given in higher-level languages into
machine language. Thus compiler is a program translator like assembler but more sophisticated. It
scans the entire program first and then translates it into machine code. The program written by the
programmer in higher-level language is called source program. After this program is converted to
machine language by the compiler it is called object program. A compiler can translate only those
source programs, which have been written in that language for which the compiler is meant for. For
example, FORTRAN compiler will not compile source code written in COBOL language. Object
program generated by compiler is machine dependent. It means programs compiled for one type of
machine will not run in another type. Therefore, every type of machine must have its personal
compiler for a particular language. Machine independence is achieved by using standard higher-level
language on different machines and converting them for use on specific machines through a compiler.
14 Computer Application in Business Accounting
Interpreter
An interpreter is another type of program translator used for translating higher-level language
instructions into machine language instructions. It takes one statement of higher-level language at a
time, translates it into machine language and executes it immediately. Translation and execution are
carried out for each statement. It differs from compiler, which translate the entire source program into
machine code and then involve in its execution. The advantage of interpreter compared to compiler is
its fast response to changes in source program. It eliminates the need for a separate compilation after
changes to each program. Interpreters are easy to write and do not require large memory in computer.
The disadvantage of interpreter is that it is time-consuming method because each time a statement in a
program is executed, it is first translated. Thus compiled machine language program runs much faster
than an interpreted program.
Data
Data are the raw formats of information. Data may be in any format. The data is given as input to
the system. ASCII – American Standard Code for Information Interchange.
User
Users involved in computing process can be broadly classified into end users, power users and
professionals or super users. People who operate the computers are called users or end users. The
power users are the people who work on specified task. These users have more knowledge than end
users. They customize the application according to the requirement and to generate desired output. The
professionals have in depth knowledge about the system and the architecture. They work on specific
high end application platform and they take care the performance and the efficiency of the system as
well as the software.
In a compact sense operating system is an interface between the hardware of a computer and the
user that facilitates the execution of other programs and the access to hardware and software and to
manage the resources.
Application
(MS Word)
Hardware
End User
Programmer
Application Programs
Operating
system
Designer
Utilities
Operating System
Computer Hardware
Familiarizing with Personal Computer, Computer Architecture, Components 17
Characteristics of OS
Microkernel Architecture: Assigns only a few essential functions to the kernel, including
address spaces, inter process communication, and basic scheduling.
Multithreading: The process is divided into threads that can run simultaneously.
Thread: Unit of work. It includes a processor context program counter and stack pointer and its
own data storage for the stack. It executes sequentially and is interruptible.
Process: collection of one or more threads and associated system resources.
Symmetric Multiprocessing: Stand-alone computer with multiple processors that share the same
memory and I/O facilities connected by a communication bus. All processors can perform the same
functions.
Distributed Operating Systems provide the illusion of a single main memory and single
secondary memory space. Used for distributed file system.
Object-oriented Design are used for adding modular extensions to a small kernel. Enables
programmers to customize an operating system without disrupting system integrity.
2. Storage Management
Operating System controls all the storage operations mean how the data or files are stored into
the computers and how the files will be accessed by the users, etc. All the operations those are
responsible for storing and accessing the files is determined by the operating system Operating system
also allows us creation of files, creation of directories and reading and writing the data of files and
directories and also copy the contents of the files and the directories from one place to another place.
3. Process Management
The operating system also does the process management means all the processes those are given
by the user or the system‘s own processes are handled by the operating system. The operating system
will create the priorities for the user and also starts or stops the execution of the process and also
makes the child process after dividing the large processes into the small processes.
18 Computer Application in Business Accounting
4. Memory Management
Operating System also manages the memory of the computer system means provides the memory
to the process and also distributes the memory from the process. Virtual memory allocation and paging
are also two main activities of operating system.
5. Extended Machine
Operating System also behaves like an extended machine means operating system allows sharing
of files between multiple users, also provides some graphical environments and also provides various
languages for communications and also provides many complex operations like handling multiple
hardware and software.
6. File Management
A File system is normally organized into directories for easy navigation and usage. These
directories may contain files and other directions. Operating System does the following activities for
file management. Operating System keeps track of information, location, uses, status, etc. The
collective facilities are often known as file system.
7. Mastermind
Besides the above functions operating system also performs many functions and for those reasons
we can say that Operating System is a Mastermind. Without an operating system the system can’t run.
It provides facility to increase the logical memory of the computer system by using the physical
memory of the computer system and also provides various types of formats like NTFS and FAT File
Systems. And Operating System also controls the errors those have been occurred into the program
and also provides recovery of the system when the system gets damaged. When due to some hardware
failure, if system doesn’t work properly then operating system recovers the system and also corrects
the system and also provides the backup facility. System access permission, network user management,
firewall are also some of the functions of operating system.
8. Error Handling
Error can occur anytime and anywhere. Error may occur in CPU, in I/O devices or in the memory
hardware. Following are the major activities of an operating SYSTEM with respect to error handling.
OS constantly remains aware of possible ERRORS. OS takes the appropriate action to ensure correct
and consistent computing.
6. Multiprocessing
Generally a computer has a single processor, meaning a computer has just one CPU for
processing the instructions. But if we are running multiple jobs, then this will decrease the speed of
CPU. For increasing the speed of processing then we use the multiprocessing, in the Multiprocessing
there are two or more CPU in a Single Operating System if one CPU will fail, then other CPU is used
for providing backup for the first CPU. With the help of Multiprocessing, we can execute many jobs at
a time. All the operations are divided into the number of CPUs. if first CPU completed its work before
the second CPU, then the work of second CPU will be divided into the first and second.
64-bit Processor
The 64-bit computer has been around since 1961 when IBM created the IBM 7030 Stretch
supercomputer. However, it was not put into use in home computers until the early 2000s. Microsoft
released a 64-bit version of Windows XP to be used on computers with a 64-bit processor. Windows
Vista, Windows 7, and Windows 8 also come in 64-bit versions. Other software has been developed
22 Computer Application in Business Accounting
that is designed to run on a 64-bit computer, which is 64-bit based as well, in that they work with data
units that are 64 bits wide.
Note: 1. A computer with a 64-bit processor can have a 64-bit or 32-bit version of an operating system
installed. However, with a 32-bit operating system, the 64-bit processor would not run at its
full capability.
2. On a computer with a 64-bit processor, you cannot run a 16-bit legacy program. Many 32-bit
programs will work with a 64-bit processor and operating system, but some older 32-bit
programs may not function properly, or at all, due to limited or no compatibility.
Control Unit
The CU (control unit) is the second part of the CPU, enabling step-by-step program execution
and branching. The control unit interprets any instruction it receives from memory and directs the
sequences of events necessary to execute the instruction. Control unit uses a system clock which
synchronizes all tasks by sending out electrical pulses. The clock speed (the number of pulses or
cycles per second) is measured in megahertz now in gigahertz and is the main element in determining
the speed of the processor. The central register used in the CU is the program counter. The program
counter addresses the memory in order to load opcodes and operands (immediate data or memory
Familiarizing with Personal Computer, Computer Architecture, Components 23
addresses) from memory. The control unit communicates with other parts of computer hardware. It
sends data and instruction from secondary storage to memory as needed.
CONTROL UNIT
ARITHMETIC-LOGIC UNIT
Makes
Sends data to processed
the central Central processing unit
information
processing unit available
Control Arithmetic/
Input unit logic unit Output
Memory
Processing
Registers
The registers are known as single storage locations present within the CPU used for particular
purpose. They are used to hold binary value temporarily. Each register is wired within the CPU
directly (no address needed) for specific function. They hold data, instruction being processed. The
memory or input output addresses being accessed. The registers are of two types i.e. general purpose
registers, specific purpose registers.
Program Counter
A dedicated register in the CPU
Contains the address in memory of the current instruction being executed.
Incremented automatically after each instruction.
May be forced to change
Usually initialized to zero when machine starts, or is reset.
Accumulator
A dedicated register or set of registers in the CPU used for the actual manipulation of data
Usually contains results of arithmetic or logical operations.
Memory
26 Computer Application in Business Accounting
Before an instruction can be executed, program instructions and data must be placed into memory
from an input device or a secondary storage device (the process is further complicated by the fact that,
as we noted earlier, the data will probably make a temporary stop in a register). As the Figure shows,
one the necessary data and instruction are in memory, the central processing unit performs the
following four steps for each instruction:
The control unit fetches (gets) the instruction from memory.
1. The control unit decodes the instruction (decides what it means) and directs that the
necessary data be moved from memory to the arithmetic/logic unit. These first two steps
together are called instruction time, or I-time.
2. The arithmetic/logic unit executes the arithmetic or logical instruction. That is, the ALU is
given control and performs the actual operation on the data.
3. The arithmetic/logic unit stores the result of this operation in memory or in a register. Steps
3 and 4 together are called execution time, or E-time.
E-time
Execution: Control Unit moves the data from memory to registers in the ALU. Then ALU is
given control and executes the instruction. After that control returns to the Control unit. CU stores the
result of the operation in memory or in a register.
The control unit eventually directs memory to release the result to an output device or a
secondary storage device. The combination of I-time and E-time is called the machine cycle.
It is one thing to have instructions and data somewhere in memory and quite another for the
control unit to be able to find them. How does it do this?
The location in memory for each instruction and each piece of data is identified by an address.
That is, each location has an address number, like the mailboxes in front of an apartment house. And,
like the mailboxes, the address numbers of the locations remain the same, but the contents
(instructions and data) of the locations may change. That is, new instructions or new data may be
placed in the locations when the old contents no longer need to be stored in memory. Unlike a mailbox,
however, a memory location can hold only a fixed amount of data; an address can hold only a fixed
number of bytes - often two bytes in a modern computer.
Familiarizing with Personal Computer, Computer Architecture, Components 27
Figure shows how a program manipulates data in memory. A payroll program, for example, may
give instructions to put the rate of pay in location 3 and the number of hours worked in location 6. To
compute the employee’s salary, then, instructions tell the computer to multiply the data in location 3
by the data in location 6 and move the result to location 8. The choice of locations is arbitrary - any
locations that are not already spoken for can be used. Programmers using programming languages,
however, do not have to worry about the actual address numbers, because each data address is referred
to by a name. The name is called a symbolic address. In this example, the symbolic address names are
Rate, Hours, and Salary.
System Clock
System clock produces pulses at a fixed rate
Each pulse is one Machine Cycle
One program instruction may actually be several instructions to the CPU
Each CPU instruction will take one pulse
CPU has an instruction set – instructions that it can understand and process
of high speed memory is required, such as processor caches and I/O buffers. Printers and liquid crystal
displays (LCDs) often use SRAM to buffer images. SRAM is also widely used in networking devices,
such as routers, switches, and cable modems, to buffer transmitted information.
Feature DRAM SRAM
Storage Circuit Capacitors Flip flops
Transfer Speed Slower than CPU Same as CPU
Access Time High Low
Density High Low
Power Consumption Low High
Cost Cheap Expensive
RAM ROM
Definition Random Access Memory or RAM is a form of data Read-only memory or ROM is
storage that can be accessed randomly at any time, in also a form of data storage that
any order and from any physical location., allowing can not be easily altered or
quick access and manipulation. reprogrammed.Stores instuctions
that are not nescesary for re-
booting up to make the
computer operate when it is
switched off.They are
hardwired.
Stands for Random Access Memory Read-only memory
Use RAM allows the computer to read data quickly to run ROM stores the program
applications. It allows reading and writing. required to initially boot the
computer. It only allows
reading.
Volatility RAM is volatile i.e. its contents are lost when the It is non-volatile i.e. its contents
device is powered off. are retained even when the
device is powered off.
Types The two main types of RAM are static RAM and The types of ROM include
dynamic RAM. PROM, EPROM and EEPROM.
Cache Memory
Cache memory is faster than main memory, but slower than the CPU and its registers. Cache
memory, which is normally small in size, is placed between the CPU and main memory. CPU requests
contents of memory location. Cache is checked for this data. If present, get from cache (fast). If not
present, read required block from main memory to cache. Then deliver from cache to CPU. Cache
includes tags to identify which block(s) of main memory are in the cache. Cache memory is of three
types viz. Direct Cache Memory, Associate Cache Memory, Set Associative cache memory.
Virtual Memory
As we know a computer is designed for performing multiple tasks at a time and for this some
memory is also used by the computer for executing the instructions those are given by the user. But
when there is a situation when the memory (RAM) which is required by the user is high from the
available memory then the concept of Virtual Memory comes. In the Virtual Memory the Physical
Familiarizing with Personal Computer, Computer Architecture, Components 31
Memory (Hard Disk) will be treated as the Logical Memory. It means with the help of virtual Memory
we can also increase the size of Logical Memory as from the Physical Memory. In other word when
the primary memory, i.e., RAM is fully consumed by the programs ready for execution then the
operating system creates some space in the secondary storage device, i.e., hard disk and transfers some
idle programs from RAM. As a result some free space is created to hold the current or new programs
given by the user. This process of shifting idle programs to virtual memory is known as paging. The
various benefits of the virtual Memory are:
1. Unused Address Space: With the help of unused address space a user can execute any
number of programs because all the actual addresses will be treated as the logical addresses.
All the programs those are given by the user will be stored into the disk space and all the
programs will be stored into the physical address space but they will treat as they are stored
into the logical address space.
2. Increased Degree of Multiprogramming: With the help of virtual memory we can execute
many programs at a time because many programs can be fit in the physical memory So that
more programs can be stored into the memory but this will not increase the response time of
the CPU means this will not affect on the execution of the programs.
3. Decrease Number of I/O Operations: There will be less operations those are to be used for
performing the swapping of the processes. All the programs will be automatically will be
loaded into the memory when they are needed.
Microprocessor
A microprocessor chip — also known as a central processing unit (CPU) — is a complete
computation engine of computers, embedded systems or other electronic devices. A chip is also called
an integrated circuit, which can contain millions of transistors. Someone who processes things is a
processor. It is the part of a computer that does all data processing. A microprocessor or processor is
the heart of the computer and it performs all the computational tasks, calculations and data processing
etc. inside the computer. Microprocessor is the brain of the computer. In the computers, the most
popular type of the processor is the Intel Pentium chip. A microprocessor chip — also known as a
central processing unit (CPU) — is a complete computation engine of computers, embedded systems
or other electronic devices. A chip is also called an integrated circuit, which can contain millions of
transistors. Computers CPUs (processors) are composed of thin layers of thousands of transistors.
Transistors are tiny, nearly microscopic bits of material that will block electricity when the electricity
is only a weak charge, but will allow the electricity pass through when the electricity is strong enough.
The first microprocessor was the Intel 4004, introduced in 1971. The first microprocessor used in
home computer was Intel 8080 a complete 8 bit computer on one chip, introduced in 1974. A
microprocessor executes a collection of machine instructions that tell the processor what to do. Based
on the instructions, a microprocessor does three basic things:
Performs mathematical operations and modern microprocessors contain complete floating
point processors that can perform extremely sophisticated operations on large floating point
numbers.
Moves data from one memory location to another.
Makes decisions and jump to a new set of instructions based on those decisions.
The Microprocessor’s Power
The power of a microprocessor is measured in bits. The more bits, the more information (data)
the microprocessor is capable of bandying about and, therefore, the more powerful the microprocessor.
Specifically, an 8-bit CPU can add/subtract/multiply/etc. two 8-bit numbers, while a 32-bit ALU can
manipulate 32-bit numbers. An 8-bit arithmetic logic unit (ALU) would have to execute four
instructions to add two 32-bit numbers, while a 32-bit ALU can do it in one instruction.In a way, the
number of bits can be compared to lanes on a freeway: If you have only two lanes, too many cars
congest traffic, and things slow down. A six-lane freeway, however, has plenty of room for lots of cars,
and traffic flows smoothly. With more bits, just as with more lanes on a freeway, the microprocessor
can do more powerful programming, operations and processes.
34 Computer Application in Business Accounting
Microprocessor Speed
Technically, microprocessor speed is measured in hertz, or cycles per second. Microprocessors
are capable of doing billions of things in one second. Therefore, their speed is measured in gigahertz
(GHz). A microprocessor that can do 1 billion things per second is rated at 1.0 GHz. A microprocessor
that can do 3.66 billion things per second is rated at 3.66 GHz. This rate is much faster than 1.0 GHz.
The higher the speed value, the faster the chip. And, naturally, the faster the chip, the more you can do
in a given amount of time.
Trends
The trend in processor design has primarily been toward full 32-bit ALU with fast floating point
processors built in and pipelined execution with multiple instruction streams. The ARM architecture
(previously, the Advanced RISC Machine) is a 32-bit RISC processor architecture developed by ARM
Limited that is widely used in a number of embedded designs. Because of their power saving features,
ARM CPUs are dominant in the electronics market where low power consumption is a critical design
goal. Today, the ARM family accounts for over 75% of all 32-bit embedded CPUs, making it one of
the most prolific 32-bit architectures in the world.
Digital Signal Processor (DSP)
In many applications, general-purpose microprocessors (such as the 32-bit ARM) and a digital
signal processor (DSP) have distinct roles. The microprocessor and memory takes care of
mathematical operations, housekeeping tasks for communications with host and interface with other
peripherals. The DSP receives input signals and performs tasks that enhance the performance and
quality of the system and data such as reflective phase analysis, filtering, noise reduction, modulation,
demodulation, encryption, decoding and encoding.
A DSP is a specialized microprocessor designed specifically for digital signal processing,
generally in real time computing. These process signals are generally purpose-designed application-
specific integrated circuits (ASICs). When flexibility and rapid development are important at high
volume, DSP algorithms may also be implemented using field-programmable gate arrays (FPGAs).
Since many applications require rapid processing and feedback, engineers often choose DSPs for
their speed. Relevant real time applications that benefit from DSPs include weather forecasting, flood
warning, digital image processing, digital communications, data acquisition, control and industrial
processes.
composed of millions (and soon billions) of transistors. Because CPU’s are so small, they are often
referred to as microprocessors. So, the terms processor, microprocessor and CPU are interchangeable.
Microprocessor Organization
Although microprocessors are becoming increasingly complex, at root its operation can be
summed up as the repeated sequence of simple tasks: Fetch an instruction; Decode the instruction;
Execute the instruction. Each microprocessor recognizes a unique set of binary instructions which
have been predefined and stored permanently in the chip. When the CPU receives an instruction it
passes it to a unit known as the Decode unit which contains a sequence of operations which must be
performed to complete the operation. The Decode unit passes the sequence of instructions to the
Control Unit which holds tiny programs known as microcode for each operation the microprocessor
had been designed to carry out.
The actual work of the microprocessor is carried out in the Arithmetic Logic Unit. Most of these
operations are in fact performed by addition. To perform subtraction, the CPU first finds the
complement of the number to be subtracted and then adds the two numbers. Multiplication and
division can be performed by carrying out multiple addition or subtraction operations. To compare two
numbers, the CPU will subtract them and then check to see if there is a remainder, and so on. In order
to carry out its operations, the processor has storage locations, called registers, for the numbers and
instructions it is operating on. For example, to add two numbers, the first number may be loaded into
Register A, the second into Register B and the result stored in Register C. To speed up the operations
of the processor, the Prefetch unit looks ahead in the program to find the next instructions and preloads
them into registers, to cut down on time wasted waiting for the next instruction.
The microprocessor connects to the external components of the computer via “buses”: sets of
parallel conductors used to move data in the form of electrical pulses. There are three types of buses:
the data bus carries the binary-coded information and instructions; the address bus carries binary-
coded numbers which identify storage locations in main memory, much like the postal code on a letter;
the control bus carries timing signals, read-write signals, interrupt requests and similar signals between
the microprocessor and external devices.
Familiarizing with Personal Computer, Computer Architecture, Components 37
To manage the flow of data into and out of the CPU, two other units are required: the Memory
Management Unit, and the Bus Management Unit. To summarize, the essential sections of a
microprocessor are:
Arithmetic Logic Unit executes all logic and arithmetic operations as specified by the
instruction set
Control Unit contains the microcode that tells the ALU how to function.
Decode Unit translates instruction into control signals and microcode directions then queues
them until requested by the Control Unit.
Prefetch Unit queues instruction to assure that the microprocessor is in continuous operation.
Memory Management Unit converts internal logic addresses into external memory
addresses.
Bus Management Unit manages the flow of information between the microprocessor and
data storage locations (main disk, CD-ROM, etc.) and peripherals (printer, monitor, etc.)
CPU Manufacturers
American Micro Devices (AMD)
Intel
IBM
Motorola
Cyrix
Texas Instruments
38 Computer Application in Business Accounting
Control Unit
Add Instruction
Step 1
Move instruction to
the control unit.
Step 3
The control unit
Let X = N1 + N2
signals the ALU to
perform “addition” on
Memory the two numbers and
locations to store the result in
Number 1 (N1) the accumulator.
Number 2 (N2)
Step 2
Result X The two
numbers are
Memory Unit brought from
memory and Number 1
placed in the
ALU.
Number 2
Result
Step 4
Put result in (Accumulator)
memory.
A/L Unit
Sample Questions
1. Make a comparison study of different generations of computer.
2. How Computers are classified ? Brief the classification based on application.
3. Write short notes on
(a) General purpose Computer
(b) Specific purpose Computer
(c) Super Computer
(d) Hybrid Computer
(e) Fourth Generation of computers
4. Elucidate the characteristics, applications and limitations of computers.
5. Write short notes on
Familiarizing with Personal Computer, Computer Architecture, Components 39
(a) Hardware
(b) Software
6. Make a comparison study of Application software and system software.
7. What is an operating system? What are the different types of operating systems? Explain the
functions of an Operating system.
8. Briefly discuss what are the different types of operating system are present
9. Write short notes on
(a) Machine Language
(b) Assembly Language
10. Write short notes on
(a) Arithmetic Logic Unit
(b) Control Unit
11. What is Random Access Memory? Brief different types of RAMs are available.
12. Distinguish between
(a) RAM and ROM.
(b) Cache Memory & Virtual Memory
13. Brief on microprocessor and its architecture
14. What are 32bit & 64 bit processors? How they are different from each other?
15. Briefly explain how an instruction is processed by microprocessor.