Chapter 2
Chapter 2
Computers
Daily Life
in
our
What’s Ahead?
• Explained with computer number
systems;
• Examined how a computer’s
system bus works;
• Identified the different computer
network systems and the wire and
wireless connections;
• Distinguished between system
software and application
software;
What’s Ahead?
• Compared and contrasted a desktop
app and a mobile app in terms of
content layout, and design;
• Explained the impact of computers in
daily life; and
• Identified tools in creating content
presentation.
• Developed flowcharts...
Data
Processing
As data is in its raw form it cannot
solve any problem. The data needs
some processing to make it useful.
Data processing is the conversion of
data into a more useful form. That is,
transmission of data into meaningful
information is called data processing.
Data is processed by either analog or
digital computer.
Data Vs Information
Data Information
refer to raw materials refers to processed data.
like letters, numbers, These data have undergone
sounds, images. These operations and can serve as
are facts but they do input to other subsequent
not necessarily have
operations. The result
meanings.
obtained by data processing
is called information.
Electronic
Data
Processing
(EDP)
refers to the utilization of computer or
information and communications
technology (ICT) equipment in the
processing, operation, and
manipulation of data.
Data Processing Cycle
Storage
Origination Input Processing Output and Feedback
01 02 03 04 05
Data Processing Cycle
Origination: The initial capture of raw data as transactions occurs. This
stage involves collection, gathering and identifying data.
Input: Data are collected and converted into a form acceptable for
processing. It involves classifying, summarizing, sorting and coding of
data.
Processing: This stage refers to the electronic manipulation of data. In
this stage, logical or mathematical operations are executed based on the
required goals
Data Processing Cycle
Output: This stage refers to the display of results from the process stage. It
involves preparation of processed information into a format acceptable to the
user for analysis or as input for a second cycle.
Storage and Feedback: Sometimes there is a need to balance and
counter check the result of the processes undertaken. As such the actual result
is compared with the desired result. This stage also involves retention of the
results of processed data for future use or retrieval.
How Computer
Interpret Data
With the different types of number systems, it is important to
understand how computers interpret the letters on the keyboard
through a series of 0’s and 1’s. This is normally done through the
number system conversion.
Computer
Number
Systems
Objective: Explain computer number
systems, including binary, decimal,
octal and hexadecimal.
Binary Number System
Computer number systems are methods of
representing and working with numbers in the
context of digital computing. These systems
are essential for encoding data, performing
calculations, and communicating information
within computers and across digital devices.
Computer No. System
Source: http://www.brainkart.com/article/Different-Types-of-Number-Systems_33633/
How Computer Interpret Data
34810
348 ÷ 8 = 43.5 43 r 4 LEAST SIGNIFICANT DIGIT
43 ÷ 8 = 5.375 5 r3
5÷8 = 0.625 0 r5 MOST SIGNIFICANT DIGIT
34810
348 ÷ 8 = 43.5 43 r 4 LEAST SIGNIFICANT DIGIT
43 ÷ 8 = 5.375 5 r3
5÷8 = 0.625 0 r5 MOST SIGNIFICANT DIGIT
Addition
Binary addition follows the same rules as decimal addition, with
the primary difference being that the carry-over occurs when the
sum is 2, not 10 as in decimal.
Rules
0+0=0
0+1=1
1+0=1
1 + 1 = 0 (with a carry-over of 1 to the next column) or 10
1+1+1=1 (with a carry-over of 1 to the next column) or 11
Arithmetic Operations on Binary Numbers
Example
Subtraction
Binary subtraction also follows similar rules to decimal subtraction.
However, borrowing occurs when the minuend (the number being
subtracted from) is smaller than the subtrahend (the number being
subtracted).
Rules
The rules for binary subtraction are as follows:
0-0=0
1-0=1
1-1=0
To subtract 1 from 0, borrow 1 from the next higher
bit (just like in decimal).
Arithmetic Operations on Binary Numbers
Example
10-1 = 01
100 – 10 = 010
100 – 1 = ????
Arithmetic Operations on Binary Numbers
Multiplication
Binary multiplication is similar to decimal multiplication but
involves only two digits (0 and 1).
Rules
0*0=0
0*1=0
1*0=0
1*1=1
Arithmetic Operations on Binary Numbers
Example
Arithmetic Operations on Binary Numbers
Division
Binary division is similar to decimal division. It involves dividing a
binary number (the dividend) by another binary number (the
divisor) to obtain a quotient and a remainder.
Rules
0 ÷ 1 = 0 with a remainder of 0
1 ÷ 1 = 1 with a remainder of 0
0 ÷ 0 is undefined (division by zero)
To divide by 1, simply copy the dividend to the quotient and set the remainder to 0.
To divide by 0, the result is undefined.