Chapter 1 - Data Processing: Definition of Terms

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 10

Form 4 ICT Literacy Modules

CHAPTER 1 – DATA PROCESSING

1.1 INFORMATON PROCESSING CYCLE

How computer processes data?

Part of computer system.

Definition of terms
CPU: (Central Processing Unit) the main part of the computer, which executes the instruction
given by the program. A microprocessor will process data into information. Two parts of CPU:
Input: a process entering data into computer to be processed.
Output: any computer generated information displayed on screen, printed, sound, data transfer
across phone line of network connection or in some machine readable form, such as disc and
tape
Memory storage: a place to store data, programmer information for a computer

The definition of data and processing data


Data is raw unprocessed that are inputs to a computer system that will give compiled
information where the computer processes those facts.
Data processing is any process that uses a computer program to enter data and summarise,
analyse or otherwise convert data into usable information. The process may be automated and
run on a computer.

Explain how computer process data


It involves recording, analyzing, sorting, summarizing, calculating, disseminating and storing
data.
Form 4 ICT Literacy Modules
Name the processing components

CPU
consists of 2 components:
1. Control Unit
can be thought of as the brain of the CPU itself. It controls based on the instructions it
decodes, how other parts of the CPU and in turn, rest of the computer systems should work
in order that the instruction gets executed in a correct manner.
ALU stands for Arithmetic/Logic Unit
is the part that executes the computer's commands
A command must be either a basic arithmetic operation: + - × /
or one of the logical comparisons: >< =not=
Everything has to be broken down into these few operations.
The ALU can only do one thing at a time but can work extremely fast.
2. Main Memory
stores the commands that the CPU executes and the results
is where the computer stores the data and commands that are currently being used. When
the computer is turned off, all data in Main Memory vanishes
consists of 5 components:
Form 4 ICT Literacy Modules
a. Component 1
Operating system
Some common operating systems are various versions of Windows, Windows XP,
Windows 2003, Windows 2007, OS/2. These all behave in very different ways
and have different hardware requirements. So they won't all run on all machines.
b. Component 2
Applications
are various programs that are currently running on the computer, for example:
Microsoft Word, Internet Explorer, etc we can run more than one applications
once using a computer- this is called multi-tasking.
each running application has to have some data stored in Main Memory, even if
the application is on rest break. Some programs (especially graphics programs)
require a lot of the Main Memory space
c. Component 3
Input/ Output Storage When you enter new data, the keystrokes must be stored
until the computer can do something with the new data.
When you want data printed out or displayed, it must be stored somewhere
handy first.
d. Component 4
Working Storage To store the numbers and characters that are the intermediate
results of computer operations until the final values are calculated. These values
"in progress" are kept in temporary locations.
For example, if the computer is adding up the numbers 3, 5, and 6, it would first
add 3 to 5 which yields a value of 8. The 8 is stored in working storage. Then the
8 and 6 are added and the new value 14 is stored. The value of 14 is now
available to be displayed on the screen or to be printed or to be used in another
calculation.
e. Component 5
Unused Storage There is always some storage space that is not in use.
If space runs out in Main Memory, the computer will crash, that is, stop working.

1.0 The “machine cycle”


Form 4 ICT Literacy Modules

The CPU can fetch one piece of data in one machine cycle.
- It takes numerous cycles to do even a simple addition of two numbers.

Action Meaning
Fetch get an instruction/data from Main Memory
Decode translate it into computer commands
Execute actually process the command

Store - write the result to Main Memory

1.1 DATA REPSENTATION


At the end of this lesson, students should be able to:

 State the relation of data representation


 Know about bit, byte and character
 Know the characters
Form 4 ICT Literacy Modules
BINARY DIGIT

1. Computers recognize only two discrete state : on and off.


2. These states can be represented by two digits, 0 and 1.
3. Each 0 and 1 is called a bit in the binary system. The smallest unit of data a computer can
process. Bot is a short for binary digit.
4. The binary system has a base of 2 with the two digits ( 0 and 1). Combinations of 0s and
1s represent larger numbers.
BIT

A bit represented by the numbers 1 and 0. These numbers represent the


binary system. They correspond to the states of on and off, true and false,
or yes and no.

BYTE

Eight bits that grouped together as a unit. A byte provides enough different combinations id 0s and
1s to represent 256 individual characters.

1. Byte ia a unit of information built from bits. One byte is equals to 8 bits.
2. One byte represents a single character such as the number 3, letter b or a $ symbol.
3. Bits and bytes are the basics for representing all meaningful information and programs
on computers.
CHARATER
Form 4 ICT Literacy Modules

One bytes represents on character such as A, 7, 9 and ‘+’

For example, the capital


letter F is represented by
the binary code 01000110
that can be understood by
the computer system.
Eight bits grouped
together as a unit are
called a byte. A byte
represents a single character in the computer.

CHARACTER CODE

1. There are three codes to represent character which are ASCII, EBCDIC and Unicode.
2. Each byte contains eight bits. A byte provides enough different combination of 0s and 1s
to represent 256 characters.
3. The combination of 0s and 1s are define by patterns. These patterns are called coding
scheme.
4. The 256-character capability of ASCII and EBCDIC is too small to handle the characters
that are used by other languages such as Arabic, Japanese and Chinese.
5. The Unicode coding scheme is designed to solve problem. Is uses two bytes (16 bits) to
represent. Unicode will have more than 65000 different. This can cover all the world’s
languages.

1.2 INTRODUCTION TO BINARY CODE


At the end of this lesson, students should be
1. Know the history of character codes
2. Define ASCII
3. Explain the functions of ASCII
4. Describe how ASCII works in a computer system
HISTORY OF CHARACTER CODE

Character codes are the basis for processing textual data.


Form 4 ICT Literacy Modules
 Morse code 1791-1872
Samuel Finley Breese Morse (1791-1872) created the first codes, Moses code.
 Telegraph 1845-1903
Jean-Maurise-Emilie Bardout the teleprinter, which used the 5-bit Bardout code.
 Hollerith Code 1860-1929
Hollerith (1860-1929) created the Hollerith code, character codes for encoding
alphanumeric data on the ‘punched card’.
 ASCII 1963
In 1963, the American National Standard Institute (ANSI) introduced ASCII.
WHAT IS ASCII?

ASCII pronounced as ‘ask-key’ stands for the American Standard Code for information
Interchange and was proposed by ASA in 1963 and was finalized in 1968.

Examples of ASCII codes and the character


7 bits the computer the computer to encode a total of 128 character for the number 0-9,
uppercase and lowercase letters A-Z and a few punctuation symbols.
IBM and Apple expanded the amout of space reserved for the character codes to 8 bits,
equivalent to 1 byte.
FUNCTIONS OF ASCII
Form 4 ICT Literacy Modules
1. ASCII enables manufacturers to produce components that are used to operate correctly
in a computer.
2. ASCII makes it possible for human to interact with computer. It also enables users to
purchase components that are compatible with their computer configurations.
HOW ASCII WORKS IN A COMPUTER SYSTEMS?

1 2

3 4

ADDITION BINARY

Addition Rules

Here are the addition facts that you need when additing numbers in
binary notation.Explain these addition facts by converting numbers to
decimal notation. The rst one is done for you:
Form 4 ICT Literacy Modules

Binary Notation Decimal Noation

* Solution: 0+1=1

* Solution: 1+1=2

1. Explain which of these addition facts will lead to car- rying when you
are adding bigger numbers.Now explain this problem in binary notation:

Solution: The fact that 1 + 1 =1 0 will lead to


carrying since the only digits in binary are 0 and 1 .

1 0
+ 1 1

1 0 1
2. Solve the following addition problems (be careful as carrying may
be involved). Remember to box your solutions! Check your work by solv- ing
the problem in decimal notation on the side.
Binary Notation Decimal Notation

.)
Solution: 1 1 1 1

b.)

Solution: 1 1 1 0 1
Form 4 ICT Literacy Modules

(10 + 5 = 15)

(15 + 14 = 29)

You might also like