Block 1 PDF
Block 1 PDF
DBA-203/BBA-203
BLOCK 1:
BASICS OF COMPUTER
AND DATA PROCESSING
Author
Prof. Sanjay Thapar
Language Editor
Prof. Jaipal Gaikwad
Acknowledgment
Every attempt has been made to trace the copyright holders of material reproduced
in this book. Should an infringement have occurred, we apologize for the same and
will be pleased to make necessary correction/amendment in future edition of this
book.
The content is developed by taking reference of online and print publications that
are mentioned in Bibliography. The content developed represents the breadth of
research excellence in this multidisciplinary academic field. Some of the
information, illustrations and examples are taken "as is" and as available in the
references mentioned in Bibliography for academic purpose and better
understanding by learner.'
ROLE OF SELF INSTRUCTIONAL MATERIAL IN DISTANCE LEARNING
UNIT 1 MS-WORD
Introduction, Starting Microsoft WORD, Basic Features of word,
Preview and Print Documents
UNIT 2 SPREADSHEETS
Introduction, Starting Microsoft Excel, Entering Excel Formulae and
Formatting Data, Creating Charts
UNIT 3 WORKING WITH PRESENTATION
Introduction, Starting PowerPoint XP, Create new Slides, Create an
Outline, Add Animations, Add Transitions, Print
BLOCK 3: PROGRAMMING PRINCIPLES, COMMUNICATION AND
NETWORKING
COMPUTER APPLICATION
UNIT 1
COMPUTER FUNDAMENTALS 03
UNIT 2
INTRODUCTION TO OPERATING SYSTEM 16
UNIT 3
DATA PROCESSING CONCEPTS 29
BLOCK 1: BASICS OF COMPUTER AND
DATA PROCESSING
Block Introduction
In simple words, a computer is defined as an electronic device that accepts
data from an input device, processes it, stores it in a disk and finally displays it on
an output device such as a monitor. Usage of the assembly language requires
knowledge of the assembly language and computer hardware. It is more
convenient to write a program in a High level language, which comprises of
instructions in simple English. Operating system directs the flow of instructions,
data and results from one part of a computer system to another, working in much
the same way as a waiter in a restaurant.
In this block, the students will be given an idea about evolution and block
arrangement of Computer and its necessary features. The user will be made aware
of knowledge about Programming languages and Batch processing technology.
The block explains about different file access system like Sequential Access and
Random Access with their working characteristics.
The students will be able to understand about data organisation which will
cover fields, records and files with their different file structure. The information
about operating system with types of O/S and their utilities are highlighted. By
reading this block, students will be trained diagrammatically with required
illustrations. After reading this block students will gain knowledge about
computer organisation with knowledge on directory and folders.
Block Objective
After learning this block, you will be able to understand:
1
Basics of The concepts related to data processing.
Computer
About data hierarchy and file structures.
and Data
Processing About Application portfolio management.
Block Structure
Unit 1: Computer Fundamentals
2
UNIT 1: COMPUTER FUNDAMENTALS
Unit Structure
1.0 Learning Objectives
1.1 Introduction
1.10 Glossary
1.11 Assignment
1.12 Activities
Advantages of computers.
3
Basics of 1.1 Introduction
Computer
and Data In the 21st century, the lifestyle of a human being has been amazingly
Processing changed by the arrival of computers. Computers are an important influence on our
lifestyle today and are found at offices, homes, schools, colleges, hotels, shops
etc. This change in lifestyle has made our lives easy and comfortable. For
instance, we can perform a number of activities using computer based systems -
we can write a draft on word processor and email it, make calculations using an
electronic spread sheet and incorporate graphics, create a database of friends with
their phone number, address and e-mail id etc. It is difficult to perform these
activities using existing traditional systems.
The computer can also be used for other tasks such as word processing,
designing, web site development, database management etc. Therefore, the
computer should be referred to as a ‘data processor’.
In a later period, the scientist named Pascal developed a machine that could
perform mathematical calculations. This machine comprised of a number of gears.
The movement of gear mechanism was used to perform some calculations. He
named the machine PASCALINE.
4
The real applications of computers began in the late fifties. The computers Computer
were used in the United States for various applications such as census, defence, Fundamentals
R&D, universities etc.
As shown in Fig 1.1 there are four main building blocks of a computer
organisation- input, processor, output and memory. The data is entered through
input devices like the Keyboard, Disks or Mouse. These input devices translate
data and programs that the human being can understand into the form that the
computer can process.
The data received from the keyboard is processed by the CPU, i.e. the
Central Processing Unit. The CPU controls and manipulates the data that produce
5
Basics of information. The CPU is usually housed within the protective cartridge. The
Computer processed data is either stored in the memory or sent to the output device, as per
and Data the command given by the user. The memory unit holds data and program
Processing instructions for processing data.
Output devices translate the processed information from the computer into
the form that a person can understand.
a. Keyboard c. Mouse
b. Disks d. Monitor
High Accuracy
User-friendly Features
Portability
Platform independence
6
1.5 Programming Languages Computer
Fundamentals
The computer performs activities based on the instructions given by the
user. The set of such instructions written for a particular task is known as a
computer program.
Program is the instruction that tells the computer how to process the data
into the form that the user wants.
7
Basics of High level language, which comprises of instructions in simple English. Examples
Computer of High level language are BASIC, FORTRAN and COBOL etc. Compiler is the
and Data internal program that translates High level language to Machine language.
Processing
'Software' is another name for program. In most cases, the terms ‘software’
and ‘program’ are interchangeable. There are two types of software - system
software and application/ utility software.
Application software: is the end user software. The programs written under
application software are designed for general purpose and special purpose
applications. An example of application software is Microsoft Internet Explorer.
8
Computer
Fundamentals
a. Z-80 c. 8086
Analog Computers
The computers that process analog signals are known as Analog Computers.
The analog signal is a continuous signal. For example, sine wave is an analog
signal. The analog quantities are based on decimal number systems. Examples of
Analog computers are the slide rule, ABACUS etc.
The operational amplifiers are widely used in the construction of analog
computers when the analog electrical signal is to be processed. For example, a
differentiator is the op amp circuit that differentiates input signal. If the input
signal V sin is given to analog computer, the output would be V cos.
9
Basics of Accordingly, the analog computer that generates the second order differential
Computer equation can be drawn as
and Data
Processing
Digital Computers
Computers that process digital signals are known as Digital Computers. The
Digital signal is a discrete signal with two states 0 and 1. In practice, the digital
computers are used and not analog.
Supercompute rs
Are the most powerful computers in terms of speed of execution and large
storage capacity. NASA uses supercomputers to track and control space
explorations.
Mainframe Computers
Minicomputers
These computers are also known as midrange computers. These are desk-
sized machines and are used in medium scale applications. For example,
10
production departments use mini-computers to monitor various manufacturing Computer
processes and assembly- line operations. Fundamentals
Microcomputers
Personal Computer
PC is the term referred to the computer that is designed for use by a single
person. PCs are also called microcontrollers because these are smaller when
compared to mainframes and minicomputers. The term ‘PC’ is often used to refer
to desktop computers. Although PCs are used by individuals, they can also be
used in computer networks.
Laptops - Are also called notebook computers. These are the portable computers.
They have a size of 8.5 x 11 inch and weigh about three-to-four kilos.
11
Basics of Palmtops - Palmtops are also called handheld computers. These are the
Computer computing devices small enough to fit into your palm. The size of a palmtop is
and Data like an appointment book. The palmtops are generally kept for personal use such
Processing as taking notes, developing a list of friends, keeping track of dates, agendas etc.
The Palmtop can also be connected to a PC for downloading data. It also provides
value-added features such as voice input, internet, cell phone, camera, movie
player and GPS.
Personal Digital Assistant (PDA) - PDA is the palm type computer. It combines
pen input, writing recognition, personal organizational tools and communication
capabilities in a small package.
a. Supercomputer c. Minicomputer
12
Check your progress 6 Computer
Fundamentals
1. Computers are used in:
a. School c. Work
Answers: (1-c)
Answers: (1-d)
13
Basics of Check your progress 3
Computer
and Data Answers: (1-a)
Processing
Check your progress 4
Answers: (1-d)
Answers: (1-b)
Answers: (1-d)
1.10 Glossary
1. Computer - It is an electronic machine which performs calculation.
1.11 Assignment
List down the advantages of using a computer as compared to traditional
systems.
1.12 Activities
Collect information on basic computer organization and prepare a report on
the same.
14
1.13 Case Study Computer
Fundamentals
Prepare a report on the evolution of computer technology in your own
words.
15
Basics of UNIT 2: INTRODUCTION TO OPERATING
Computer
and Data SYSTEM
Processing
Unit Structure
2.0 Learning Objectives
2.1 Introduction
2.2 Functions of an Operating System
2.12 Glossary
2.13 Assignment
2.14 Activities
16
Introduction to
2.1 Introduction
Operating
Think for a while. If a computer is to be instructed for everything, then how System
does it know what it is supposed to execute? What it is instructed to do? The
answer is simple. The computer must be programmed in the design stage itself to
listen to the user for instruction and to execute the same.
Executing a program given by the user involves many things. First the
machine has to accept the user’s instruction and data choose a location in the main
memory to keep it, remember the starting point of the program and give message
to the user in case some faults have occurred or if the user has made a mistake.
The computer also has to find out the empty locations for keeping the next set of
date or instruction. If these tasks are analysed, this comprises a lot of work and
can be done only by a large software program-operating system. An operating
system is the main control program of a computer that manages all other programs
in a computer.
Resource management
File management
Security management
Program execution
Error detection
17
Basics of An operating system (often referred to as OS) is an integrated set of programs
Computer that controls the resources (the CPU, memory, I/O devices etc.) of a computer
and Data system and provides its users with an interface or virtual machine that is more
Processing convenient to use than the bare machine. According to this definition, the two
primary objectives of an operating system are:
a. Resource management
18
2.3 Types of Operating System Introduction to
Operating
There are basically three types of operating systems available: System
a. four c. two
b. three d. five
Single user operating systems can also provide multitasking capabilities, i.e.
a user can work on several programs at a time. Examples of this type of operating
systems are DOS (Disk Operating System), Windows.
a. one c. three
b. two d. many
19
Basics of 2.5 Multi User Operating System
Computer
and Data In this type of operating system, several users can work on a single system
Processing and each user is protected by a log-in name and password. This operating system
can also be called as multi user multi-tasking operating system, where every user
is specifying his log-in name and a code word called password and can carry out
his work, which is protected from any sort of mishandling. The access to the work
of any particular user always requires a password without which a work can be
termed as illegal.
a. one c. three
b. two d. many
Ex. Windows NT, Windows 2003 Server, Internet, LAN (Local Area Network)
20
2.7 Booting Procedure Introduction to
Operating
Every operating system has its starting procedure called booting procedure. System
As soon as we start a computer the operating system gets loaded from disk to the
computer's memory. The various steps involved in loading the operating system
into the computer's memory are given below:
Time-sharing
Information gathering
b. Installing memory
d. Time-sharing
21
Basics of 2.8 Basic System Configuration
Computer
and Data The details regarding the configuration are contained in a file called
Processing config.sys. It contains special commands, which configure your computer’s
hardware components so that the OS and applications can use them. When OS
starts, it carries out the commands in config.sys file after loading two system files
of OS: IO.SYS and MS-DOS.sys. Typically the config.sys file is loaded in the
root directory of drive C.
a. config.sys c. MS-DOS.sys
This is the space or location where we can store the information. It is the
representation for the secondary storage devices such as floppy disks, hard disks,
CD-ROM etc.
Ex.
A: (called as A drive) or
D: drive or other drives can be used for compact disks (CD) depending on the
partition of the hard disk.
2. File
File is a collection of related information. Every file has a name, its data and
attributes. The name of a file uniquely identifies it in the system and is used by its
users to access it. A file’s data is its contents. The contents of a file are a sequence
of bits, bytes, lines or records whose meaning is defined by the file’s creator and
user.
22
The attributes of a file contain other information about the file, such as the Introduction to
date and time of its creation, date and time of last access, date and time of last Operating
update, its current size, its protection features (who can access the file and in what System
way) etc. The list of attributes maintained for a file varies considerably from one
system to another.
The two commonly supported file access methods at operating system level are:
Sequential Access Files: Sequential access files are normally used with
sequential access storage media, such as magnetic tape. Information stored
in a sequential access file can be accessed only sequentially, i.e. a process
can read the bytes or records in the file in the order in which they are stored,
starting at the beginning. Reading of bytes or records randomly or out of
order is not possible. A sequential file can, however, be rewound and read as
often as needed.
Random Access Files: Random access files are normally used with random
access storage media, such as magnetic or optical disks. Unlike a sequential
access file, information stored in a random access file can be accessed
randomly, irrespective of the order in which the bytes or records are stored.
For example, a specific byte/record of the file can be directly accessed
without the need to read all the bytes/records before it.
Random access files are essential for many applications. For example, in a
railway reservation system, the information about all the tickets booked on a
particular train may be stored in a single file. If a customer wants to cancel
an already booked seat, the reservation program must be able to access the
specific record for that seat without having to read the record for hundreds
of other booked seats first, so that the booking service can be fast enough.
23
Basics of 4. Volume Label: Every storage device such as floppy, hard disk or CD can
Computer be given a specific name, which can be called as volume label.
and Data
For example, if a floppy drive is given a label My Floppy then it is
Processing
represented as My Floppy A:
24
example, a user can perform a spell check in a word document and Introduction to
simultaneously print another word document. Operating
System
7. Multiprocessing: Multiprocessing involves the use of multiple processors
(more than one CPU) to simultaneously execute multiple program. The
inclusion of multiple CPU’s in a single computer system improves the
performance to a large extent.
a. Drive c. Floppy
b. File d. Memory
It is found that an Operating system directs the flow of instructions, data and
results from one part of a computer system to another, working in much the same
way as a waiter in a restaurant.
25
Basics of It is seen that the main working of an operating system is in Resource
Computer management, Secondary storage management, File management, Security
and Data management, Management of input/output devices, Program execution and in
Processing Error detection.
Answers: (1-d)
Answers: (1-b)
Answers: (1-a)
Answers: (1-d)
Answers: (1-c)
26
Check your progress 6 Introduction to
Operating
System
Answers: (1-b)
Answers: (1-a)
Answers: (1-b)
2.12 Glossary
1. Sequential Access Files - Files which are used with sequential access
storage media like magnetic tape.
2. Random Access Files - File used with random access storage media like
magnetic or optical disks.
2.13 Assignment
Explain the evolution of operating systems.
2.14 Activities
Discuss various types of operating systems.
27
Basics of 2.16 Further Readings
Computer
and Data 1. Computing Essentials, Timothy J. O’Leary, Linda O’Leary, MKCL
Processing Publishing, 2008.
28
UNIT 3: DATA PROCESSING CONCEPTS
Unit Structure
3.0 Learning Objectives
3.1 Introduction
3.11 Glossary
3.12 Assignment
3.13 Activities
29
Basics of 3.1 Introduction
Computer
and Data Computer data processing is any process that uses a computer program to
Processing enter data and summarise, analyse or otherwise convert data into usable
information. The process may be automated and run on a computer. It involves
recording, analysing, sorting, summarising, calculating, disseminating and storing
data.
This unit throws light on steps involved in data processing; right from
understanding of concepts to data hierarchy and data file structures. For those who
do not have even the slightest idea about the term 'data', the present unit is an
enlightened.
The word "data" is the plural of datum, which means facts, observations,
occurrence and observations. Data are representations of facts pertaining to
people, things, ideas and events. Data are represented by symbols such as
alphabets, numerals or special symbols.
Data Processing
30
Information Data Processing
Concepts
Information can be defined as 'data transformed into useful and meaningful
form for specific purpose'. Thus, data is not useful until it is organised and
manipulated because after that only data becomes information.
a. data c. information
a. paper c. typewriter
31
Basics of 1. Input: The term input refers to the activities required to record data and to
Computer make it available for processing. The input can also include the steps
and Data necessary to check, verify and validate data contents.
Processing
2. Processing: The term processing denotes the actual data manipulation
techniques such as classifying, sorting, calculating, summarising,
comparing, etc. that convert data into information.
32
3.5 Data Hierarchy Data Processing
Concepts
It shows arrangement of data in hierarchical form having following fields,
records, files and so on.
In case of data storage, data fields have bytes which consist of bits.
a. fields c. records
b. memory d. files
Generality
It is seen that there are certain file formats which are used to store only
particular type of data. The formats such as JPEG are used to store static
photographic images while GIF format is used to store images and animations.
Apart from this, QuickTime format stores certain types of multimedia.
33
Basics of Specifications
Computer
Many file formats, including some of the most well-known file formats,
and Data
often have a published specification document (often with a reference
Processing
implementation) that describes exactly how the data is to be encoded and which
can be used to determine whether or not a particular program treats a particular
file format correctly.
Filename extension
For example, a company logo may be needed in both .tif format (for
publishing) and .gif format (for web sites). With the extensions visible, these
would appear as the unique filenames "CompanyLogo.tif" and
"CompanyLogo.gif". With the extensions hidden, these would both appear to have
the identical filename "Company Logo", making it more difficult to determine,
which one to select for a particular application.
34
have such an extension (for example, all JPEG images will have ".jpg" or ".jpeg" Data Processing
at the end of their name). Concepts
Internal metadata
File header
First, the meta-data contained in a file header are not necessarily stored only
at the beginning of it but might be present in other areas too, often including the
end of the file that depends on the file format or the type of data it contains.
Character-based (text) files have character-based human-readable headers,
whereas binary formats usually feature binary headers, although that is not a rule;
a human-readable file header may require more bytes but is easily discernable
with simple text or hexadecimal editors. File headers may not only contain the
information required by algorithms to identify the file format alone but also real
metadata about the file and its contents.
External metadata
A good way to store a file format is to store the information about format in
file system instead of keeping within the file itself. Such idea not only keeps the
metadata away from main data and name but also not very safe as compared to
either file extensions.
Mac OS type-codes
Mac OS File System will able to store codes for creator and types that
serves as part of directory entry for each file. They are called as OS Types or
HyperCard stack file. Type of code will show the format of file, while creator
code specifies default program to run.
35
Basics of OS/2 Extended Attributes
Computer
It found that HPFS, FAT12 and FAT16 file systems allows storage of
and Data
extended attributes with files which contains an arbitrary set of triplets with name,
Processing
coded type for value and a value having different names.
On UNIX and Unix-like systems, ext2, ext3, ReiserFS version 3, XFS, JFS,
FFS and HFS+ file systems allow storage of extended attributes with files.
MIME types
File format identifiers is also a way to find file formats as per their origin
and file category. It has several digits which are of form NNNNNNNNN-XX-
YYYYYYY, where NNNNNNNN shows organisation origin/maintainer as per
company/standards organisation database and XX and YYYYYYY shows file
type in hexadecimal.
It is another way of finding file format by way of file contents that shows
distinguishable patterns.
a. Quick time
b. JPEG
c. PNG
d. GIF
36
3.7 Application Portfolio Management Data Processing
Concepts
Application Portfolio Management is a system which is applied in medium
to large size Information Technology organisations. Such system uses lessons of
financial portfolio management in order to verify financial benefits of application
to be compared with costs of the application maintenance and operations.
Portfolio
With the view of using such idea from investment management, certain
players of APM collects information about every application which are to be
utilized for business or organisation which contains construction and maintenance
cost, business values, quality of the application.
Definition of an application
Inclusions
To provide three web services: Invoice Create, Invoice Search and Invoice
Detail Get.
To have a legacy system having rich client, server-based middle tier and
database.
To pull data from database using website publishing system and publishes it
to HTML format as sub-site on public URL.
Exclusions
HTML website
Having database which is not part of series of steps for business values.
37
Basics of Web service which is incapable of being set of steps.
Computer
Having a stand-alone batch script which compares contents of databases by
and Data
making calls.
Processing
Composites
It contains set of reusable services and user interface which carries such
services.
In this, a legacy client-server app writes database to store data with excels
spread sheet which uses macros that will read data from database.
Executing queries
38
Data Processing
Check your progress 7
Concepts
1. The database abstraction class does:
a. joining to database
d. all of these
Further we see that class has several functions which can be used for
connecting database, executing queries, converting results to associative array,
achieving selected and affected rows, getting last insert id, getting number of
executed queries, getting execution time of queries along with error messages and
codes.
Answers: (1-b)
Answers: (1-d)
39
Basics of Check your progress 3
Computer
and Data Answers: (1-d)
Processing
Check your progress 4
Answers: (1-b)
Answers: (1-a)
Answers: (1-d)
Answers: (1-d)
3.11 Glossary
1. Data - It is related to facts, observations, occurrence of information.
3.12 Assignment
Elaborate the data hierarchy structure in detail.
3.13 Activities
Explain several types of ways to structure data in a file.
40
3.14 Case Study Data Processing
Concepts
Discuss micro data base manager.
2. Computers, Concepts and Uses Ed. 2, Summer M., Englewood Cliffs, New
Jersey, Prentice Hall Inc, 1988.
41
Basics of Block Summary
Computer
and Data In this block, students will be detailed with various programming languages
Processing along with idea on building blocks of a computer organisation. The concept about
directory and folder with knowledge related to Sequential and Random Access are
well explained.
After reading this block the student will acquire necessary knowledge about
Application Portfolio Management and batch processing concept. The concept of
data organisation with working of fields and records are so explained that it
becomes easy for students to understand the concept. The concept of data file
structures and various file formats are explained which becomes easy for user to
gather and work on information and data.
42
Block Assignment
Short Answer Questions
1. What is the last step in booting process?
43
Basics of Enrolment No.
Computer
1. How many hours did you need for studying the units?
and Data
Processing
Unit No 1 2 3 4
Nos of Hrs
2. Please give your reactions to the following items based on your reading of the
block:
………………………………………………………………………………………
………………………………………………………………………………………
………………………………………………………………………………………
………………………………………………………………………………………
………………………………………………………………………………………
………………………………………………………………………………………
………………………………………………………………………………………
………………………………………………………………………………………
………………………………………………………………………………………
………………………………………………………………………………………
……
44
Education is something
which ought to be
brought within
the reach of every one.
- Dr. B. R. Ambedkar