Sad Unit 2
Sad Unit 2
• The purpose of code is to make the easy for identification and retrieval of items of
information.
• When there are many items in the same group, it becomes difficult to distinguish any
particular item from another item only by description of the item.
• Hence in any computer system, data to be processed have codes so that sorting,
retrieving, storing etc will become more efficient.
➢ Data is simplified and standardized. Hence the numbers of mistakes are reduced to
the extent possible.
➢ Normally, in data processing, code numbers are in data processing, code numbers are
referred to as key fields on transactions and records.
➢ Compactness: - The length of the code should be as possible. However codes alone are
not sufficient for easy identification and verification.
Example: - The codes M and F can be used for males and females respectively.
➢ Expansibility: - The code structure should allow growth. Enough elbow room should
he width provided in the construction itself for accommodating possible future e
expansion.
➢ Simplicity: - The code should be simple to use and easy to understand by each user
even with minimum experience.
➢ Clarification: - For the user sorted output data in a predetermined format is valuable.
Although, data must be sorted and collated, its representative code does not needed to
be in sortable form. This can be achieved by correlating the representative code does not
needed to be in sortable form. This can be achieved by correlating the representative
code with another code which is sortable.
Types of Code:-
Significant Codes
• In significant codes, digits or letters may describe measurable or identifiable
characteristics of the item.
• In coding electric bulbs for inventory purpose, the following coding may be used
1) Product Classification:-
Bulbs:-
❖ Automobile
❖ Domestic use
❖ Clinical use
2) Color:-
1 digit code can be used.
❖ Colorless - 1
❖ Milky - 2
❖ Yellow – 3
❖ Red – 4
❖ Green -5 etc.
3) Wattage:-
5 digit codes occupying 3rd to 7th positions can be used.
❖ 25w. - 00025
❖ 40w. - 00040
❖ 100w. - 00100
❖ 1000w. - 01000
❖ 10000w. – 10000
Example: - The domestic use bulb of the color red can be coded as D400100.
Logical Codes
• In logical codes the individual values are derived in conjunction with a
conjunction with a consistent, well defined rate or procedure.
Example:-
• Each student will have a unique number for all matters related to
university.
Weight 65432
6 5 4 3 2
Numbers * Weight = 24 10 20 24 12
• 4 2 5 8 6 9
• Let us see how the check digit program will find out whether the
permanent registration number entered is correct or not.
6 5 4 3 2
Number * weight = 30 10 20 24 12
2) Matrix code:
Asst. Prof. Jignesh Amala Page :-4
You Can Download Material From:- https://bcastudymaterialhngu.blogspot.com/
• The code is based on the X-Y coordinate locations. It is useful in
coding relationships between two entities.
Example:-
• The following matrix gives the Distance between the cities (In
kms).
1. IDAR
2. HIMATNAGAR
3. MEHSANA
4. VISNAGAR
• The (X, Y) Co-ordinate (3.2) will refer the distance between Mehsana and
Himatnagar which is 60.
Collating Codes
• Collating codes are by far the widely used code system.
• The collating code structure is designed so that when sorted by the code number,
the items represented by the codes are placed in predetermined sequence.
1) Alphabetic codes
• For effectiveness, alphabetic coding requires.
Example:-
1 Parikh Samir V.
2 Oza Pratik N.
3 Joshi Umesh M.
4 Raval Hardik J.
5 Ponkiya Mayur T.
2) Hierarchical codes
✓ Region :-
• Eastern, Western, Southern, Northern, central.
•
Each group can be denoted by two digits occupying fifth and
sixth position from the left in code.
✓ Salesman Number:-
• Each salesman can be given a two digit number within the
group.
• This will occupy the last two positions (seventh and eight) in
the code.
✓ Example :-
• A salesman with number twelve in the group number three in
the Nasik city belongs to western region Denoted by
WNSK0312.
3) Classification codes
• Classification codes place separate entities such as events
people, or objects into distinct, called classes.
A. Decimal codes
Sociology 300
Philology 400
Mathematics 510
Physics 530
Mechanics 531
Machine 531.1
Pulley 531.14
B. Faceted codes
4) Chronological codes
• As the name suggest, this code is assigned in the order of events so
that each code has a little value than the last code assigned.
• E.g. preparing the student list of names according to the data of birth
starting the code with the earliest born.
• Abbreviation:-
✓ Many times coding is done by taking the abbreviation of the
name of an entity.
A) Mnemonic codes
➢ Mnemonic means assisting the memory.
➢ The codes should help to convey the meaning quickly to the user.
➢ E.g. to describe a 21 inch color television set, a useful code is TV-CL-21
and a BLACK and WHITE is TV-BW-21.
➢ For E.g.
M.C.A. for Master in computer application.
B) Acronyms codes
➢ For E.g.
WHO – World Health Organization.
• E.g. A range of number may be allocated to customer Account codes, stock codes,
etc.
A) Sequential Codes
• Sequential codes are either numbers or letters assigned in series.
• For in the saving bank accounts of the bank numbering for the pass
books is done sequentially.
• The code value has no significance in itself but does uniquely identify the entity.
• It is useful when the only readjustment is for a short, convenient, and Easily
applicable representation.
• A set of Sequential or serial codes is divided into block that classify item
Into specific classes.
• Thus a block is asset of serial numbers classified into smaller groups based
B) Random codes: -
• Random code is drawn from a number list which is not delectable in order
Of sequence.
• On this method each additional item may not be given the next serial
Number.
• E.g. The item followed the item with code number 300 can be any
Random number chosen from the random number list provided.
• Random code may be used in case where security of the data is needed.
• In any organization the forms are used for both input and output purposes
• The staff read from forms, writes on forms and spent sufficient amount of time in
Handling and filing forms.
• As the time taken for filing up these is large, they must be designed
Carefully.
• Normally the data is transformed through various forms forms and information is
Obtained through forms.
• Hence we can say that form is a physical carries of data as well as information.
• The design of the form is often responsible for every aspect of it, form Determining the
purpose , contact , and layout to checking the final version from the Printer or on screen.
• The form design should not be handed over to a clerk because he/she cannot
Visualize the design in totality and future view.
• The form design activity will be meaningful if it involves users and systems
Analyst.
Type of forms
✓ Action forms
✓ Record Memory and
✓ Report
• Any Form may be classified as action form , record , or memory , report form
Or some combination thereof.
• The form can also be classified as input or output forms depending on their
Function in a system environment.
• In a pay slip the logical order is earning , deductions and net pay.
Ease of use
• The format of the form should be such that it can be Filled up easily and quickly without
missing any Information.
• Duplication of data should be avoided wherever possible.
➢ Title
• Every form must have a little clearly indicating of objective of the purpose Of the form-
the university forms have clear titles such as Examination Form for engineering,Admission
form, and so on.
• This will help to identify the form by its title.
➢ Spacing
• Spacing for each item of information needs proper planning and Imagination.
• This should be convenient for the person filling up the form and person Analyzing it.
• The least and the maximum number of spaces needed under normal Requirements for each
and every item of information must be considered.
➢ Logical arrangement: -
• The data requested should be in logical sequence.
• Also related data should be in the adjacent positions.
➢ Cost: -
• The form must be cost effective by eliminating unnecessary data.
• The paper quality , printing , aspects must balance the cost and the Purpose of form.
• In order to design any form , the designer may follow the steps indicated here: -
o Decide the format and layout of the form on a drawing board preferably.
o Revisions with the user , revise using new guide sheet , if necessary.
o Revise if necessary.
DATA CAPTURE
• Data capture covers all the stages from the recording of basic data to the feeding of this
data into the computer for processing basic steps in this process are :-
• Basic Steps of Data Capture:-
1 Original Recording
2 Data Transmission
3 Data Preparation
4 Verification
5 Sorting
6 Control
7 Computer input
• In any particular application these functions may not all exist or they may take place in a
different sequence form that listed above.
• The data capturing process will also depend on ,The type of input data,Type of
application & The hardware configuration available.
• Data are the facts which describe events and entities.
• Data are communicated by various types of symbols such as letters of the alphabets,
numbers, speech patterns, dots and dashes, hand signals, pictures and so on.
• The processed data with specific purpose are called information.
• Data obtained in general are not suitable for directly feeding into the computer.
• To get the data into the computer the analyst has to design the form, Design the input
record.
• Design methods for getting the data into the computer.
• The computers will only accept those data which are in machine sensible form.
• If its original form is unacceptable, then it has to be brought into the acceptable form.
• There can no information system without data. Data are the facts which describe events
and entities. Data are various types of data like variable, alphabetic data.
Objectives
If the data input is bad then output will be worse. This calls for clear data capture objectives
such as:-
Types of UI Description
It indicates that the user must know the machine language and program
Command Language
language.
It indicates that the user chooses the commands or menus from the lists
Menus
displayed on the screen.
Graphical User In this, user gives command by clicking or selecting the icons displayed on
Interface the screen.
There are following aspects which help to care or think about the user interface:
1. Financial affairs
2. Effect
3. Morality
1. Financial affairs
2. Effect
3. Morality
DATA VALIDATION
Data validation
• The objective of a data validation system is to be detecting errors at the earliest possible
stage before costly activities are performed on invalid data.
• Some data validation is done by way of manual verification data capture stage itself.
• This checks will classify valid and invalid data.
• This is generally done with the help of a DATA VET or DATA VALIDATION program.
• Invalid data is also identified and recorded separately.
• This invalid data is checked manually for low casting errors.
• After correcting these errors the data is again subjected to above data validation process
of accurate input.
Validation Checks
There are various categories of checks which can be applied to data during a validation run.
(1) Field check:-
(a) Limit check:- May be applied to each field of a record to ensure that its contents lie
within predefined size.
(b) Picture checks:- May be applied to each field to deleted entry of incorrect character
in the field.
(c) Valid code check:- to valid input against predefined transaction codes. These
predefined codes may either be embedded in the programs or stored in files.
(d) Check digit:- It is used to delete transposition errors when recording “key” fields.
(e) Arithmetic check:- are used to ensure the validity of the results by performing
arithmetic operation in different ways.
• The end user has to accept these outputs since they are the people who will be using it for
their desired purpose.
• Hence it is ideal (perfect) to have their participation in the output design phase for the
greater success of the system.
• After all the system are designed for the manager and other personnel to make better
decision.
• Naturally the output report must be prepared keeping this principle constantly in mind.
OUTPUT OBJECTIVES
• Before designing output, the objectives of each output must be clear.
• It must accomplish one or more of the following objectives:-
• The objective of the each output must be clear.
• The output is very attractive or it has used the latest computer technology, output cannot
be regarded as good.
An Output Must
TYPES OF OUTPUT
There are various types of output required by most system. The main types of output are as
below.
OUTPUT CONSIDERATIONS:-
• While designing outputs, system analyst must consider the following points.
• Determine what information is to be present.
• Decide whether to display, print or speak the information and select the output medium.
• Arrange the presentation of information in an acceptable form.
• Decide how to distribute the output to intended users.
• After considering all the above questions, the analyst and the user can define output more
clearly in terms of following:-
1. Types of output
OUTPUT MEDIA:-
1. Printed Output
The device used for printed output may be line printer, dot matrix printer, laser printer or
plotter.
2. Visual Output
In order to reduce the input workload at a later date, turnaround documents in the form of
punched cards are widely used.
The applications include credit card billing and employee time cards.
Additionally OCR (optical character recognition) that means simple scanner, forms can
be prepared as output which at a later date serves as input to the computer system.
4. Secondary Storage Output
This generally includes magnetic disk, magnetic drums, and magnetic tapes.
5. Microfilm or Microfiche output
CASE COMPONENTS
The work shop for software engineering is called an integrated project support environment &
the tools set that fill the workshop is called computer Aided software Engineering.(CASE).
It support analysis & documentation of application requirements. Means has the capability to
produce dataflow diagram. Data structured diagram & program structure chart. It extensively in
corporate structured analysis method. They support the capability to draw diagram & chart to
store details internally. When changes is described it automatically redrew entire diagram. The
ability to change & redrew eliminates an activity that analyst find Tedious.
The capture, analysis, processing & distribution of all system information is aided by
information repository or data dictionary. The dictionary contains data flow, data
items, processes, the volume of information’s & frequency of information of each activity.
They also include built in controls & safe guard which preserve the accuracy and consistency.
Interface are the means through which users interact with application to enter information & data
or to receive information. Interface generator provide the capability to prepare prototype and
mockups of user interface. They supports the rapid creation of menus presentation screen &
report layout.
They incorporate methods that allow the conversion of system specification into executable
source code. Code generation is not yet perfected. Hence, it must be written by hand.
Case system also assists project manager in maintaining efficiencies & effectiveness through out
the application development process. It assists in scheduling, design activities & the allocation of
resources ion some management tools allow to specify custom element they can select graphic,
symbols, they want to describe processes, people & department etc. Others allow installation to
define own method including validation roles, standard for data & procedure name.
Case tools provide a substantial benefit to organization by easing the burden of application
revision. The central repository facilited the revision process by providing a bases for
definition & standards data. Internal generation capabilities if present provides the means of
modify the system by changing specification rather than by adjusting the source code.
Application prototyping takes a several forms some times screen & report are develop to show
organization or lay out data, headings or messages. Necessary design adjustments are made
quickly to change the presentation & interface features. Prototype can produce a working system
only a few support full prototyping.
The most visible advantage of code generation is the reduction of time to prepare
& operational program it also insure a consistence & standard program structured &
reduction of errors & thus improving software quality. It also facilities reuse of software
as well as standard. Structure to generate code & allows specification changing.
It appears that case tools reduce development time they affect the nature & the amount of
interaction between developer & user. Graphic description & diagrams reports & screen
lay outs. Can bring an effective interchange ideas.
Expression has shows that the development of system is an iterative process. Case
tools supports iterative steps by eliminating manual tedium for diagramming cataloging an
a classification & thus review & revise of system will be frequently & devices.
Weakness of CASE:-
(1) Reliance of structured method:-
Many case tools are built on foundation of structured method. Approximately half of this
organization uses this method & if some one does not use structured analysis method. The value
of the case will be reduce. In some cases analyst avoid case tools.
(2) Absence of standard level:-