Professional Documents
Culture Documents
Addin Haque - ICT Book
Addin Haque - ICT Book
Vaishali Sharma
~
,I'
Learn L1=1
·~-1!1!!!~-,,,~
=--------------------.. . .
You will learn about:
ffi The concept of Number System: Binary, Decimal
ffi The conversion of binary to decimal, and vice-versa
...
You know that computers can only understand machine language. Have you e\cr \~ondered hov.
quickly the language processors translate the language to the mach;ne code and \fke-~ersa? Read
further to have some fun and play with various numbers.
'~-------~....,.--------=---:-------,-~-~,---~~_,.....,.,.------"'""
II CON(;l;_PJ" OF N~~~LER.SVSTEM ...
When you type words or numbe rs, the compu ter transla tes them into numbe rs. Even
colo
outlines of drawings, audios or videos are transla ted and stored as large numbe rs.
A compu ter can unders tand these combi nation of numbe rs and respon ds acc~rdingly.
~ way in whicb the -numbey-s are expressed is known as the fiium ber~s te~
Examples of numbe r system are as follows:
• Binary (base 2) • Decim al (base 10)
• Octal (base 8) • Hexad ecimal (base 16)
@asq is defined as the total numbe r of digits in the numbe r system.
• Binary numbe r system contains .two digits: 0 and 1.
• Decimal numbe r system contai ns 10 digits: 0 1 2 3 4 5 6 7 8 9.
• Octal numbe r system contains 8 digits: 0 1 2 3 4 5 6 7.
• Hexadecimal numbe r system contains 16 digits: 0 1 2 3 4 5 6 7 8 9 A B C D E F.
Decimal, Octal and Hexadecimal numbe rs can each be repres ented by using binary
numbers. This enables these numbe r systems to be repres ented on a compu ter by
converting them into binary number system [O or I (OFF repres ented by Oand ON
represented by I)].
You have learnt about memo ry in previous classes. Remem ber a bit is either O or 1.
A computer's circuit involves voltage signals which have low level or high level to represe
n
a binary digit O or 1, respectively.
For example, the word BIN is typed into the compu ter system by using an input device
su
as a keyboard. This is stored tempo rarily in the memo ry of the compu ter as a string of
bits.
After that, it is displayed on an output device such as a monito r.
Conve rting text to binary: is a two-ste recess. First, each charac ter is conver ted to its
decimal equivalent usin ASCII (American Standa rd Code for Infer tion Interchange).
Capital letter A is represented by the numbe r 65 and lowercase numbe r by 97. Each
subseq uent numbe r will be a numbe r higher than its predecessor. Using this metho d, the
text is converted to decimal. As the next step, this decimal numbe r is conver ted to binary.
An example of binary representation:
The word BIN is represented by the bits contai ned in three bytes as follows:
01000010 01001001 01001110
Binary numbe r system is apt for a compu ter system which can deal with many different
numbe r systems.
Activity I
Which is the most significant d[git and the reast signfficant digit [n the number 84231
····•
The binary or base 2 Number System uses only nvo digits: 0 and 1. It is the most
ffundamental
L--
numbering systelii,mdigital computers.
This is how you count in the decimal number system. -
1
Tech Fact
0 You start with 0. I
l 0 0 0
8
9 1 0 0 I
1 0 1 0 1 0
1 1 1 0 1 1
1 2 1 1 0 0
1 3 1 1 0 1
1 4 1 1 1 0
I 5 1 1 1 1
1 6 I 0 0 0 0
1 7 1 0 0 0 I
1 8 1 0 0 I 0
1 9 1 0 0 I 1
2 0 I 0 1 0 0
2 1 I 0 I 0 1
2 2 1 0 1 1 0
2 3 1 0 1 1 1
2 4 I 1 0 0 0
2 5 1 1 0 0 I
.
Following are the larger equivalent values of the stated dec1mal numbers·
l
0 ec1ma1:
Binary:
30
11110 I
~ 40
101000 t 11 ~o01 0 t oo
1
·
11 001 00
,
L 200
11 oo 1ooo
soo
11111o, oo
coNVERSION_OF DECIMAL NUMBERS ro BINARY NUMBERS
,:..,I - - - J • - -- - - - ,. ...
To convert a decimal number to binary,~se divide-by-2 method_!. ]
£xa111ple 1. Convert the decimal number 13 i~ its binary --~~~:--i=~wu:.i~
equivalent. It can also be written as:
You may write the base as
(13)10 == (?)2 a subscript to avoid errors.
2 13 Divide 13 by 2.
6 ----------------
Remainder 1
---------------- ---------------- -----·
Quotient (Q) = 6, Remainder (R) = 1. This is LSB.
2
3
---------------- ---------------- ---------------- ------
Divide 6 by 2. We get, Q = 3, R = 0.
2 Remainder O
---------------- ---------------- ---------------- -----·
2 1 Remainder 1 Divide 3 by 2. We get, Q = 1, R = 1.
0
----------------
Remainder 1
---------------- ---------------- -----·
This is MSB.
L---- ---------------- ---------------- ---------------- ------
The bina (esu t is obtained Jly_placin_gJ!l_t the remainders in ordeLY'l.ith theJeasi§jgnificant
bit (LSB)\ bein[_a!_!!ie o and the...!!!ost significant bit !(MSB )Jbeing at the !bott~.).
Now, read all the remainders from bottom to top. You will get the number 1101 which is
the binary equivalent of the decimal number 13.
Therefore, (13\ 0 = (1101 \
Examp1e 2· Convert the decimal number 32 into itsl binary equivalenj. It can also be written as:
~ 2)10 = (?)J
2 I 32 Divide 32 by 2.
2 16
--------------
Remainder 0 __
___________ ,.. Quotient (Q) = 16, Remainder (R) = 1. This is lSB.
----------------- -----------~------·~~-
2 f- 8 Remainder 0 Divide 16 by 2. We get, Q = 8, R = 0.
2 4
--------------
Remainder 0
----------------- ------------------~---
Divide 4 by 2. We get, Q -= 2, R = 0.
r
2 2
--------------
... ____ _________
Remainder
,,.. 0 Div1dL 2 by 2. We get, Q = 1, R = 0.
2 1 .., _____ ________
Remainder 0
,..
-----------------------------~-------- ·
-------~--------
This is MSB.
-----------------------
0 Remainder 1
Now, read all the remainders from bottom to top. You will get the number 100000 which is
the binary equivalent of the decimal number 32.
Therefore, (32) 10 = (100000) 2
Exa m~3 · Conv ert the decimal num ber 292 j nto its
2 2'12
(b'in~ equivale'!iy It can also be written as: 2 J4~ ·---·-0·--·----
(292) 10 = (?)2 ·----0--·--··-·
2 73
Now, read all the rema inder s from bottom to top. {f,u
2 36
-----.--·
1
will get the number lO{HOOJOO which is the binary
2 J~ ()
Gqw valen~ of the decimal nu'mber 292.
)
Ther efore , (292 \ = (100100100\
0
2
2 4 "
------J-- -·---.
-------- ----·-
2 2 0 ·
2 J
------(;-- --·---·
(J
------J--
Checkpoint
Activiw 2
Convert the following decimal numbers into their binary equiv
alents.
a. 12 b. 24 c. 61 '1. 120
lx 23 + Ox 22 + 1 x 2 1 + 1 x 2°
---- -
= 8 + 0 + 2 + 1 = 11
Ther eforef (l<J11) = (11) )
2 10
Example 2: Conv ert the binar y num ber 10101 into its decim
al equivalent It can also be
writt en as:
(10101) 2 = (?\ 0
4
] X 2 + 0 / 2 3 t 1 / 22 t 0 X 2 1 + l X 2°
=16 +0+ 4t0 +1
= 21
Therefore, (101 01\ = (21)
10
Act_ivitY 3 Checkpoint
............•..........•.................•..•...•.......•...•..•.......•..••••...•••..•••...••••••.•.••.••..••.•
Put a ✓ or x.
~~~/ • _:,,ff.I .%I'<."-'"'~ ~ ,
Number system l . / j j
::c:mal number·;~
:~:: ::::::·::::::::r::: : : : : :::: :::~:: ::::::::::::::::::::::1::::::: :::::::::::::::::::::::·::::·::::.·:::·· ::::.·· .:;
Binary ~~~b~r s;st~~·..: : : : : : : ;_: : ·: : : : : : : : : : : : :✓:: :: :~: : : : : : : : : : : : : : :::::::::::::::::: :·::::::.:::.:::::: ::::::::::::::.. :::· · ::;
Octal number system . . . . . . . . . . . i. . . . . . . . . . . . . . . . . . . . v. . . . . . . . . . . . . . . . . . .t. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
!
..Hexadecimal
.. .. . number
. .. .. .. system
' .. .. .. . .. .. :....................................................., .....................L...........,, ...... , . .. ..... . .. .. . .... ..
········································ ···························································································
1. 7
(EvaluateJ
q
A. Fill in the blanks with the help of the given words.
by2 2 Positional
Decimal 7 Binary number
1. The .... cla:.tr::~.\. .. number system is the most widel~ used number system.
2. A . bi~ty.. r.#'111: Jsystem has only two states, Logic 'O' and Logic '1' giving a base of 2.
4· Why are subscripts used to convert number-s from binary to decimal, or decimal to binary?
Decipher: to decode
Thefollowing examples will help you understand how to convert octal and hexadecimal numbers to
decimal numbers.
Example: Convert (42) 8 to decimal number.
42 = 4 X 81 + 2 X 8°
= 4X8+2X1
= 32+2
= (34) 10
Exampl,: Convert (3A)16 to decimal number.
3B16= 3 X 161 +BX 16°
= 3x16+11 x1
= 48 + 11
= (59) 10
(connectf
q .
Write the functions of each of the followm g com man ds.
4. ~Insert
.
Learn
You will learn about:
~ Formula ffi Error results
+ Functions
For the upcoming Carnival, students of Grade 7 have decided to put stalls of various activitie
s and
games. The amount collected through these activities and games will help to raise funds
for the
education of the poor children in the school's neighbourhood.
You are given the responsibility to manage the sales account. You know that you might
make
mistakes while doing calculations manually. Therefore, to avoid errors, you can use the formula
s and
in-built functions available in Microsoft Excel 2010. Read further to learn how to use them.
1NJRODUCTION
····•
athematical formulas and executing functions are unique features of Microsoft Excel.
formula is a set of mathematical instructions. They can be used in Microsoft Excel to
erform calculations. A formula usually consists ~f an operand and operator. Formulas are
t"ypea in the cell of the worksheet or in the formula box with '=' sign in front. ~ formula can
c1Ptain ~ of values, cell references, functions, given with or without an operator.
If in case, you do not type'==' sign, then Microsoft Excel treats the formula as a normal entry.
...
The data that you will use with a formula can be placed in a single cell or range of cells
in a worksheet. The values in these cells or range of cell references are used to evaluate
the result. Instead of giving individual cell references, you should provide a range of cells.
Consider the given examples:
a. The cell in column E and row 9: E9
b. The range of cells in column F and rows 6 through row 20: F6:F20
c. The range of cells in row 10 and columns D through H: D10:HIO
d. All the cells in row 2: 2:2
e. All cells in column C through D: C:D
••f11fillIDliffl~mr.(il1 ....
A formula can be a simple formula with a single operator or a complex one with multiple
----
operators. It must start with an equal to (=) sign.
To calculate the sum of numbers, follow the steps:
Step I: To enter a formula, either click in the Formula bar or double-dick the cell where
you wish to get the result (Fig. 2.1~.
[ ~ep 1n
:
SUM •
I C D £ F G H
t1 5119tt2 I ~ t•9 l Di
16 u
M u I 17
13 11 16 l9
.7 Rabil 15 6 u 18
a
, l•&·scored-mns••• I
,a
--
14 was referencing the value of the cell 13. In Microsoft Excel, by default the cell referenc
relativ~. A relative cell reference recognises the change in the location of a cell and upda
the formula according!}; en a formula is copied across different cells, they change
automaticallyoasea on the relative position of the cell.
Practice
1Activi1Y 2
The teacher has~ the ticket collection data
submitted by the students of Grades 6 and 7.
collate: to assemble in
proper sequence
A B C
~mnbtror Amount
1 tickcUlold Co'lltttd • Identify the formula applied: ...... . ..........
Gr:adeU., [ Z'9•(B?-B9)
• Is the formula correct ? .................
Gndc:G 2J6
A Gracle.C 114 • Complet e th e calculation.
Gndc: 7.A 26S
• Copy th e formula to cell C3. What do you
Gn4e1B 267
observe?
7 Gn4e7C 243
•
9 Cost Pff 1lcka [ soj ···················································
1D
• Save the file as 'Ticket_ Collection~
ABSOLUTE CELL REFERENCE
2 th
In Activity , _ e formula used is, =B2*50. The cost per ticket is 'tSO and this amount is fixed.
In case th~re is any change in the cost of the ticket, then you are required to change this value
manually in the cells wherever this amount is being used. This will take a lot of time and
may have errors. To solve this difficul!Y, you can enter the cost per ticket in a cell and refer
this cell in the fonnula by using fixed cell referencing to calculate. This method is helpful as
cyou need to. update only the value of one cell. All the formulas that are referring to this cellJ
are automatically updated. When a cell reference remains fixed, it is known as absolute c~ll
reference. I_uonsists of column letter and row number of a cell, each preceded by a $ s~n.
,_
Practice
Activity 3 II
f~. . . . ::=:t-------
2 GfadeM
3 Grlde&I
<4 GradelC
--------·-
S GUJCleJA
5 Grldt7A
6 Grade18
6 Grade11 Gnde1t
7 6ndt1C
249..,__ _...,.~.. ..I · 7
8
I 50
9 COltptrlkbt
, COil per'1'1dat so
Fig. 2.4 Using the Fill Handle
Explore
Activity 4
Y
Toryutchanfallslo u_se Fill Handle to auto fill a series of numbers/text based on a pattern
e o owmg patterns.
At A1
• e
.~---'
7
I
I II ERROR RESULTS .. .
,,,.Sometimes,
ki while working on M'icroso ft Excel kh
wor ng cell or the Formula bar inste d f h wor s eet, errors are displayed in the
a o t e result. - -
A list of errors that are displ aye d 1n
· M1crosoft
· Excel, along with their meanings are given in
Tab1e 2 •1•
In case you are dealing with a worksheet that contains many error val~ on the Formulas tab,
in the Formula Auditing group, click the Error Ctiecking button. 7
A 8 C D E f G H
2 .
I 15 =SUM(C3:F3j t )
16
'
5 lA 13 8 17
Us1NG AUToSuM
The u o um ~ommand allows you to automatically show the results for a range of cell
common functlo~or exam~e, Sum, Average, etc. - - -- - ......_ _...,
Step 1: Select the cell where the answer will appear.
Step 2: On the Home tab, in the Editing group, click the AutoSum d rop -down arrow
(Fig. _ ).
26
Step 3: Select the function you want. A formula will appear in
the selected cell. [st~. 27
sum: It is the default option of AutoSum feature. It adds the l: Autos~ j
n'uiiioer in a.given range of cells. l: ~um
,Average
verage: It calculates the average value in a given range of ~ount tlumbers
·ens. ,Wax
ount Numbers: Tt counts the number of cells with values Min
·nit. More functions ...
ax: It shows the highest value in the given range of cells. Fig. 2.6 AutoSum
in: It shows the lowest value in the given range of cells. drop-down menu
tep 4: Press the Enter key and the result will appear.
. Actiuit!il s Practice
A. Open the Microsoft Excel file 'Fund_Collection'. Calculate the total amount collected in 19.
8. Calculate the average collection by six groups for each activity.
e
z <; ~ ~
, 1 Cta!ITIM
, 7 II r&lnlifig
I S Pholo&x,th
'a
,1 Cr lob!
l'«e .uttin£ uo uo IN 100
3 ~'>llo""'.h NO J10 sa IIOO ,00
, !\:(Is- ~
, 1 Cr l'l..W. ~!!.e.!J~?-£1.:~~~~~ u::::~,=~;f,;,.~:,;;~ ~,w,itt .. rl
To select a range of non-adjacent cells in a formulaf pa rate each cell address by a comma ~~
Tor example: Max (A2, C4, D5)
II FUNCTION
·-
~..:. . . .
LIBRARY
--- - . --~ -----=-- ....• group vou will find all the functions
• L'b
On the Formulas tab, in the Function 1 rary '' . . • •
(Fig. 2.7). They are visible under their respective categories available m Microsoft Excel,
Formulas Data Review View
Page Layou t
A
· 1 Text Date &. Looi.up &. Math More
Insert AutoSum Recently Financial Logica • Time. Reference• &. Trig• Functions•
Fundlon • Used • • •
Funrtion Libra
~~·~·]f
i
!
:
T
,;ocus01S1
taoru.1.SJIN
1084-0 i
Fig. 2.8 MAX function from More Functions category
~l
r..--· lt!£ I :1 -
e.r.te'':
( st:p4 J)
.. 61v
~h~vtlLan~Mt~ -.-S.lo'r,w . . . . . , . . - ~ ~
I I t: ~ t . , . _ , .i,,_ .., l1D ~
~ft'Ot)'c$. . . . . . er
lltl!tl'V!tlln-~'iQ,i~ti,I~
You may also insert a function by using the Insert Function option on Formulas tab, in ~
EunctiQP Library group.
Explore
Activity 6
How to insert date and time?
Step 1: From Date & Time drop-down menu, select TODAY
The Function Arguments dialog box appears.
-~----:---
( F
.---;:-----
G
-;,--..----.
H ----:
A I C 0
t
64
t f bl
z
• 2 Fa ~ ng
s 3 Photo Booth 970
160
200
uo
~hC11111'C .................
».kdlll._,......,. ":a,
6 4 Karaoke 150
7 s RingTo 190 2IO 120 ,_...,...,... JI
Practice
Activity 7
A. Find the LCM of 4 and 1O by using paper and pencil.
Now, calculate using the LCM function from Math &Trig category.
B. Find the length of text that is the number of characters using LEN function from Text
category.
Discuss
Activity 8
How do you use formulas and functions in day-to day life?
ffi
-
When a ~ell reference remains fixed on a specific cell and does not change with the change in
the location of the cell, it is known as absolute cell reference. It consists of column letter and
row number of a cell, each preceded by a 5 sign.
ffi Mixed cell reference either fixes a row number or column letter of the same cell address.
ffi Fill Handle is a small square used to copy cell contents to the adjacent cells.
ffi Functions are predefined formulas .
...................................................................................................................................
Evaluate
A. Fill in the blanks with the help of the given words.
3. fi)\ .. ~~.Q\t. ... is a small square used to copy cell contents to the adjacent cells.
4. A .... ~.e~J.i:1.e.. ... cell reference recognises the change in location of a cell and updates the
formula accordingly.
5. ..-1.\b~o\v.le...... cell referencing consists of column letters and row numbers for a cell, each
preceded by a $ sign.