Data Representation and Data Processing
Data Representation and Data Processing
Data is the raw material that can be processed for any computing machine. For example −
Employee name, Product name, Name of the student, Marks of the student, Mobile number,
Image etc.
Representation of Data:
Amplitude(A)
Frequency(f)
periodic time(T)
Amplitude (A): this is the maximum displacement that the waveform of an electric signal can
attain.
Frequency (f): is the number of cycles made by a signal in one second. It is measured in hertz. 1
hertz is equivalent to 1 cycle/second.
When a digital signal is to be sent over analog telephone lines e.g. e-mail, it has to be
converted to analog signal. This is done by connecting a device called a modem to the
digital computer. This process of converting a digital signal to an analog signal is known
as modulation. On the receiving end, the incoming analog signal is converted back to digital
form in a process known as demodulation.
The laser beam reflected from the land is interpreted, as 1. The laser entering the pot is
not reflected. This is interpreted as 0. The reflected pattern of light from the rotating disk
falls on a receiving photoelectric detector that transforms the patterns into digital form.
The presence of a magnetic field in one direction on magnetic media is interpreted as 1;
while the field in the opposite direction is interpreted as “0”. Magnetic technology is mostly
used on storage devices that are coated with special magnetic materials such as iron oxide.
Data is written on the media by arranging the magnetic dipoles of some iron oxide particles
to face in the same direction and some others in the opposite direction
In optical devices, the presence of light is interpreted as ‘1’ while its absence is interpreted as ‘0’.
Optical devices use this technology to read or store data. Take example of a CD-ROM, if the shiny
The terms bits, bytes, nibble and word are used widely in reference to computer memory and
data size.
Computers not only process numbers, letters and special symbols but also complex types
of data such as sound and pictures. However, these complex types of data take a lot of
memory and processor time when coded in binary form.
This limitation necessitates the need to develop better ways of handling long streams of
binary digits.
Higher number systems are used in computing to reduce these streams of binary digits
into manageable form. This helps to improve the processing speed and optimize memory
usage.
o The term decimal is derived from a Latin prefix deci, which means ten. Decimal number
system has ten digits ranging from 0-9. Because this system has ten digits; it is also called
a base ten number system or denary number system.
o A decimal number should always be written with a subscript 10 e.g. X10
o But since this is the most widely used number system in the world, the subscript is
usually understood and ignored in written work. However, when many number systems
are considered together, the subscript must always be put so as to differentiate the
number systems.
o The magnitude of a number can be considered using these parameters.
Absolute value
Place value or positional value
Base value (radix)
Binary Coded Decimal is a 4-bit code used to represent numeric data only. For example, a
number like 9 can be represented using Binary Coded Decimal as 10012 .
Binary Coded Decimal is mostly used in simple electronic devices like calculators and
microwaves. This is because it makes it easier to process and display individual numbers on
their Liquid Crystal Display (LCD) screens.
A standard Binary Coded Decimal, an enhanced format of Binary Coded Decimal, is a 6-bit
representation scheme which can represent non-numeric characters. This allows 64 characters
to be represented. For letter A can be represented as 1100012 using standard Binary Coded
Decimal
American standard code for information interchange (ASCII) is a 7-bit code, which means that
only 128 characters can be represented. However, manufactures have added an eight bit to
this coding scheme, which can now provide for 256 characters.
This 8-bit coding scheme is referred to as an 8-bit American standard code for information
interchange. The symbolic representation of letter A using this scheme is (1000001)2.
UTF-32: This format uses 32-bit code units to represent characters and can support all Unicode
characters. It is less commonly used than UTF-8 and UTF-16.
Binary Codes
In the coding, when numbers, letters or words are represented by a specific group of symbols, it is
said that the number, letter or word is being encoded. The group of symbols is called as a code. The
digital data is represented, stored and transmitted as group of binary bits. This group is also called
as binary code. The binary code is represented by the number as well as alphanumeric letter.
Weighted Codes
Weighted binary codes are those binary codes
which obey the positional weight principle. Each
position of the number represents a specific
weight. Several systems of the codes are used to
express the decimal digits 0 through 9. In these
codes each decimal digit is represented by a group
of four bits. ExampleL 8421, 2421, and 5211
Non-Weighted Codes
In this type of binary codes, the positional weights are not assigned. The examples of non-weighted
codes are Excess-3 code and Gray code.
Gray Code
It is the non-weighted code and it is not
arithmetic codes. That means there are no
specific weights assigned to the bit position. It
has a very special feature that, only one bit will
change each time the decimal number is
incremented as shown in fig. As only one bit
changes at a time, the gray code is called as a
unit distance code. The gray code is a cyclic
code. Gray code cannot be used for arithmetic
operation.
In computer technology, there are three common ways of representing a signed binary number.
In decimal numbers, a signed number has a prefix “+” for a positive number e.g. +2710 and “-
“for a negative number e.g.-27
However, in binary, a negative number may be represented by prefixing a digit 1 to the
number while a positive number may be represented by prefixing a digit 0. For example, the 7-
bit binary equivalent of 127 is 11111112. To indicate that it is positive, we add an extra bit (0)
to the left of the number i.e. (0)11111112.
To indicate that it is negative number we add an extra bit (1) i.e. (1)11111112.
Ones compliment
In binary numbers, the ones compliment is the bitwise NOT applied to the number. Bitwise
NOT is a unary operator (operation on only one operand) that performs logical negation on
each bit. For example, the bitwise NOT of 11002 is 00112e.
0s are negated to 1s while 1s are negated to 0s.
Twos compliment
The twos compliment of a number is obtained by getting the ones compliment then adding a 1.
For example, to get the twos compliment of a decimal number 4510,
First convert it to its binary equivalent then find its one’s compliment. Add a 1 to one’s
compliment i.e.
(45)10=(00101101)2
Bitwise NOT (00101101) =11010010
Two’s compliment = (11010010)2+(1)2= 110100112
19)MSD refers as
A) Most Significant Digit B) Many Significant Digit
C) Multiple Significant Digit D) Most SignificantDecimal
20) Binary system is also called
A) base one system B) base two system C) base system D) binary system
21)The negative numbers in the binary system can be represented by
A) Sign magnitude B) 1's compliment C) 2's compliment D) All of these
22)Today's mostly used coding system is/are
A) ASCII B) EBCDIC C) BCD D) Both a and b
23)(1010)2 equivalent decimal number is
A) 8 B) 9 C) 10 D) 11
24)The digits of the binary system are called
A) bytes B) bits C) nibbles D) number
25)Data representation is based on the......... number system, which uses two numbers to represent
all data
A) binary B) biometric C) bicentennial D) byte
26)Conversion of decimal number (42)10to its octal number equivalent is
A) (57)8 B) (42)8 C) (47)8 D) (52)8
27)Most commonly used codes for representing bits are
A) ASCII B) BCD C) EBCDIC D) All of these
28)Determine the octal equivalent of (432267)10
A) (432267)8 B) (346731)8 C) (2164432)8 D) (1514213)8
29)The method used for the conversion of octal to decimal fraction is
A) digit is divided by-8 B) digit is multiplied by the corresponding power of 8
C) digit is added with-8 D) digit is subtracted with-8
53)Conversion of decimal number (61)10 to its binary number equivalent is [IBPS Clerk 2012]
A) (110011)2 B) (11001110)2 C) (111101)2 D) (11111)2
54)Computer uses the ......... number system to store data and perform calculations [IBPS Clerk 2013]
A) binary B) octal C) decimal D) hexadecimal
55)ASCII stands for [IBPS Clerk 2011,2014]
A) American Special Computer for Information Interaction
B) American Standard Computer forInformation Interchange
C) American Special Code for Information Interchange
D) American Standard Code for Information Interchange
56)A device that converts from decimal to binary number is known as [IBPS Clerk 2014]
A) instructor B) decoder C) AND gate D) converter E) decoder
57)Which of the following is not a binary number? [IBPS Clerk 2014]
A) 11101 B) 110 C) 233 D) 1001 E) 100110
58) Which of the following is a binary number? [SBI Clerk 2014]
A) 36 B) 10 C) 45 D) 29 E) 12
59. How many symbols does the hexadecimal system use ( IA 2018)
(A) 6 (B) 10 (C) 16 (D) 60
60. To convert a decimal number into octal, we do( IA 2018)
(A) divide decimal number with 8 (B) multiple decimal number with 8
(C) divide decimal number with 16 (D) multiple decimal number with 16
61. The hexadecimal subtraction of (1056)16 from (A427)16 results in
(A) (A3B1)16 (B) (9331)16 (C) (3711)16 (D) (93D1)16
62. The term gigabyte refers to :
(A) 1024 byte (B) 1024 kilobyte (C) 1024 hexabyte (D) 1024 megabyte
63. 2’s complement of (1000)2 is
(A) 0001 (B) 0101 (C) 0111 (D) 1000
Notes By: Shishav Jain(8949988236) P a g e 14
Answer Key
Q.N An
Q.No Ans Q.No Ans Q.No Ans Q.No Ans Q.No Ans Q.No Ans o s
1 B 11 D 21 D 31 B 41 D 51 B 61 D
2 B 12 A 22 D 32 B 42 C 52 D 62 D
3 D 13 C 23 C 33 B 43 B 53 C 63 D
4 C 14 D 24 B 34 B 44 C 54 A
5 B/C 15 D 25 A 35 A 45 A 55 D
6 A 16 E 26 D 36 B 46 A 56 D
7 B 17 C 27 D 37 C 47 C 57 C
8 B 18 D 28 D 38 B 48 C 58 B
9 D 19 C 29 B 39 B 49 D 59 C
10 B 20 B 30 A 40 D 50 C 60 A
Data processing is important for transforming meaningless raw data into meaningful
information for further analysis. But it has numerous other benefits, too. These include:
More effective storage: Storing processed data in relational databases (as opposed to
unstructured, text-heavy documents) makes them much easier to store, manipulate and
explore using database tools like SQL.
Easier to produce reports: Once a dataset is effectively processed, you can quickly
create reports, dashboards, and other summaries of its characteristics.
Improved productivity: By being easier to navigate, processed data saves users from
having to heavily reprocess a dataset every time they want to use it.
Sensible housekeeping: Data processing isn’t a one-off task, but an ongoing cycle.
Reprocessing helps maintain order and minimizes the number of errors or mistakes that
creep into your data.
It’s more accurate: Regularly removing outliers, errors and unnecessary data points (and
using clearly defined data models) increases the accuracy of your insights.
Step 1: Collection
The collection of raw data is the first step of the data processing cycle. The type of raw data
collected has a huge impact on the output produced. Hence, raw data should be gathered from
defined and accurate sources so that the subsequent findings are valid and usable. Raw data can
include monetary figures, website cookies, profit/loss statements of a company, user behavior,
etc.
Step 2: Preparation
Data preparation or data cleaning is the process
of sorting and filtering the raw data to remove
unnecessary and inaccurate data. Raw data is
checked for errors, duplication, miscalculations or
missing data, and transformed into a suitable
form for further analysis and processing. This is
to ensure that only the highest quality data is fed
into the processing unit.
The purpose of this step to remove bad data
(redundant, incomplete, or incorrect data) so as to
begin assembling high-quality information so that
it can be used in the best possible way
for business intelligence.
Step 3: Input
In this step, the raw data is converted into
machine readable form and fed into the
processing unit. This can be in the form of data
entry through a keyboard, scanner or any other
input source.
Master file
A master file is a file that contains relatively permanent records about particular items or
entries. For example, a customer file will contain details of a customer such as customer ID,
name and contact address.
A transaction file is used to hold data during transaction processing. The file is later used to
update the master file and audit daily, weekly or monthly transactions. For example in a busy
supermarket, daily sales are recorded on a transaction file and later used to update the stock
file. The file is also used by the management to check on the daily or periodic transactions.
Reference file
A reference file is mainly used for reference or look-up purposes. Look-up information is that
information that is stored in a separate file but is required during processing. For example, in
a point of sale terminal, the item code entered either manually or using a barcode reader
looks up the item description and price from a reference file stored on a storage device.
Backup file
A backup files is used to hold copies (backups) of data or information from the computers
fixed storage (hard disk). Since a file held on the hard disk may be corrupted, lost or changed
accidentally, it is necessary to keep copies of the recently updated files. Incase of the hard
disk failure, a backup file can be used to reconstruct the original file.
Report file
Used to store relatively permanent records extracted from the master file or generated after
processing. For example you may obtain a stock levels report generated from an inventory
system while a copy of the report will be stored in the report file.
Type Uses
Data is processed within seconds when the input is given. Used for
Real-time
small amounts of data.
Processing
Eg: withdrawing money from ATM
Data is broken down into frames and processed using two or more
CPUs within a single computer system. Also known as parallel
Multiprocessing
processing.
Eg: weather forecasting
There are three main data processing methods - manual, mechanical and electronic.
A stock trading software that converts millions of stock data into a simple graph
An e-commerce company uses the search history of customers to recommend similar
products
A digital marketing company uses demographic data of people to strategize location-specific
campaigns
A self-driving car uses real-time data from sensors to detect if there are pedestrians and
other cars on the road
Electronic data processing (EDP) refers to the gathering of data using electronic devices, such as
computers, servers or calculators. It is another term for automatic information processing. It
also involves analyzing data and summarizing and recording the output in a (human) usable form.
As noted, the main advantage of EDP systems is that they enable the rapid processing and
analysis of large volumes of data. EDP tools also reduce the cost of
Notes By: Shishav Jain(8949988236) Page5
paper document management and storage as they remove the need for physical storage
locations, printing, couriering, etc.
EDP tools reduce the need for manual effort and also minimize the
presence of redundant or bad data, which enables better enterprise decision-making. Finally,
some EDP systems can store vast quantities of data and make it readily available for further
analysis and presentation.
Elements of electronic data processing : EDP systems comprise four key elements.
1. Hardware
Hardware refers to all the physical parts of the EDP system, including devices and peripherals.
The most common digital devices used in EDP are the following:
end-user computing devices, such as laptop computers, desktop PCs and smartphones, that
can capture data and enable data entry;
a central server that is required to support data processing and analysis; and
audio and video devices that are used when data is to be captured in multimedia format.
In addition, EDP systems may also include the following:
barcode scanners and point-of-sale systems to capture product pricing data for billing; and
medical devices and sensors that collect patient data for diagnosis and treatment.
2. Software
In EDP, software makes the hardware work and ensures that the expected output is produced.
Different types of EDP software are available for various applications and business needs,
including the following:
data entry
accounting and bookkeeping
analytics
scheduling and time management
inventory management
In addition to hardware and software, EDP involves procedures or steps for data collection,
aggregation, conversion, sorting, analysis and reporting.
4. Personnel
The final element of EDP is personnel. Although EDP tools are designed to replace manual labor
with automation to minimize human intervention, people are still required to use the systems and
to apply the generated insights to business decision-making.
Two of the most common applications of EDP are in inventory stock monitoring and supply
chain logistics systems. Modern-day retail and e-commerce supply chains are extremely long
and complex, due to the number of elements in the supply chain and the vast quantities of data
generated from start to end.
The data must be efficiently captured to ensure that orders are fulfilled on time
and the sales pipeline keeps moving. EDP systems enable the seamless flow of data to
streamline supply chain operations .Other industries and sectors where EDP has many
applications and use cases are the following:
telecommunications and electronics
education
healthcare, pharmaceuticals and clinical research
hospitality and tourism
financial services
law and order
natural sciences, e.g., paleontology and geology
a) Efforts Duplication
b) Doesn’t Allow Repeated Entries
c) Doesn’t Store Enormous Data
Notes By: Shishav Jain(8949988236) Page8
17). EDP created can d) Cost Effective
_____________managing data’s cost? 24). Which one provides the fastest speed in
terms of processing data?
a) Increase
b) Reduce a) Electronic Data Processing
c) Enhance b) Manual Data Processing
d) Intensifies c) Mechanical Data Processing
18). What is used in telecommunication d) a & b
companies in bill formatting? 25). What provides accurately processing of
data?
a) Electronic Data Processing
b) Manual Data Processing a) Electronic Data Processing
c) Mechanical Data Processing b) Manual Data Processing
d) a & b c) Mechanical Data Processing
19). ATMs belongs to the category of d) a&b
___________________EDP?
Q.No Ans Q.No Ans Q.No Ans
a) Time Sharing
1 d 11 a 21 a
b) Real-time Processing
c) Batch Processing 2 d 12 a 22 a
d) Distributed Processing 3 b 13 a 23 a
20). _______________ is enabled data 4 b 14 a 24 a
processing rapidly? 5 d 15 a 25 a
6 c 16 d 26
a) Electronic Data Processing
7 a 17 b 27
b) Manual Data Processing
c) Mechanical Data Processing
8 c 18 a 28
d) a & b 9 c 19 b 29
21). Banking transactions are the examples 10 d 20 a 30
of _____________?
a) Electronic Data Processing
b) Manual Data Processing
c) Mechanical Data Processing
d) a & b
22). What is not the characteristic of EDP?
a) Slow Processing Speed
b) Highly Reliable
c) Accurate Output
d) Expensive
23). Electronic Data Processing is
________________?
a) Expensive
b) Cheap
c) Less Costly
Notes By: Shishav Jain(8949988236) Page9