Advertisement

Overview of a Computer - Data Representation

Overview of a Computer - Data Representation

·        The first computers used vacuum tubes to hold data

·        Vacuum tubes have two states - ON and OFF

·        An ON state represents a 1

·        An OFF state represents a 0

·        Eight vacuum tubes strung together can represent an 8 digit string of 0s and 1s

·        Put another way, this string is an 8 digit binary (base 2) number

·        We use decimal (base 10) numbers in our daily life

·        A decimal number is a string of digits whose values are drawn from the set {0,1,2,3,4,5,6,7,8,9}


·        In general, a number system is simply a way of representing numbers

·        A number system has a base (the number of digits used in the number system)


·       Consider a number in a base b number system:

     
·       The value of this number is:

      


 
·        A binary number has a base of 2 where the valid digits are 0 or 1

·        E.g., 1001 binary == 9 decimal (1*8 + 0*4 + 0*2 + 1)

·        An octal number has a base of 8 where the valid digits are 0 through 7

·        E.g., 031 octal == 25 decimal (3*8 + 1)

·        A decimal number has a base of 10 where the valid digits are 0 through 9

·        E.g., 2000 decimal == 2000 

·        A hexadecimal number has a base of 16 where the valid digits are 0 through F, i.e. {0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F}
·        E.g., xABBA hex == 43962 decimal (10*4096 + 11*256 + 11*16 + 10)


Powers of 2


2^0
1
2^11
2048         2K
2^1
2
2^12
4096         4K
2^2
4
2^13
8192         8K
2^3
8
2^14
16,384      16K
2^4
16
2^15
32,768      32K
2^5
32
2^16
65,536      64K
2^6
64
2^17
131,072    128K
2^7
128
2^18
263,144    256K
2^8
256
2^19
524,288    512K
2^9
512
2^20
1,048,576    1M
2^10
1024        1K
2^21
2,097,152    2M

1 KILO = 2^10 = 1024
1 MEG  = 2^20 = 1024*1024      = 1,048,576
1 GIGA = 2^30 = 1024*1024*1024 = 1,073,741,824

To evaluate a binary number, say 101101, simply add up the corresponding powers of 2:

101101 = 1× 25 + 0× 24 + 1× 23 + 1× 22 + 0× 21 +1× 20

= 32 + 0 + 8 + 4 + 0 + 1

= 45

PDF FILE TO YOUR EMAIL IMMEDIATELY PURCHASE NOTES & PAPER SOLUTION. @ Rs. 50/- each (GST extra)

SUBJECTS

HINDI ENTIRE PAPER SOLUTION

MARATHI PAPER SOLUTION

SSC MATHS I PAPER SOLUTION

SSC MATHS II PAPER SOLUTION

SSC SCIENCE I PAPER SOLUTION

SSC SCIENCE II PAPER SOLUTION

SSC ENGLISH PAPER SOLUTION

SSC & HSC ENGLISH WRITING SKILL

HSC ACCOUNTS NOTES

HSC OCM NOTES

HSC ECONOMICS NOTES

HSC SECRETARIAL PRACTICE NOTES

2019 Board Paper Solution

HSC ENGLISH SET A 2019 21st February, 2019

HSC ENGLISH SET B 2019 21st February, 2019

HSC ENGLISH SET C 2019 21st February, 2019

HSC ENGLISH SET D 2019 21st February, 2019

SECRETARIAL PRACTICE (S.P) 2019 25th February, 2019

HSC XII PHYSICS 2019 25th February, 2019

CHEMISTRY XII HSC SOLUTION 27th, February, 2019

OCM PAPER SOLUTION 2019 27th, February, 2019

HSC MATHS PAPER SOLUTION COMMERCE, 2nd March, 2019

HSC MATHS PAPER SOLUTION SCIENCE 2nd, March, 2019

SSC ENGLISH STD 10 5TH MARCH, 2019.

HSC XII ACCOUNTS 2019 6th March, 2019

HSC XII BIOLOGY 2019 6TH March, 2019

HSC XII ECONOMICS 9Th March 2019

SSC Maths I March 2019 Solution 10th Standard11th, March, 2019

SSC MATHS II MARCH 2019 SOLUTION 10TH STD.13th March, 2019

SSC SCIENCE I MARCH 2019 SOLUTION 10TH STD. 15th March, 2019.

SSC SCIENCE II MARCH 2019 SOLUTION 10TH STD. 18th March, 2019.

SSC SOCIAL SCIENCE I MARCH 2019 SOLUTION20th March, 2019

SSC SOCIAL SCIENCE II MARCH 2019 SOLUTION, 22nd March, 2019

XII CBSE - BOARD - MARCH - 2019 ENGLISH - QP + SOLUTIONS, 2nd March, 2019

HSC Maharashtra Board Papers 2020

(Std 12th English Medium)

HSC ECONOMICS MARCH 2020

HSC OCM MARCH 2020

HSC ACCOUNTS MARCH 2020

HSC S.P. MARCH 2020

HSC ENGLISH MARCH 2020

HSC HINDI MARCH 2020

HSC MARATHI MARCH 2020

HSC MATHS MARCH 2020


SSC Maharashtra Board Papers 2020

(Std 10th English Medium)

English MARCH 2020

HindI MARCH 2020

Hindi (Composite) MARCH 2020

Marathi MARCH 2020

Mathematics (Paper 1) MARCH 2020

Mathematics (Paper 2) MARCH 2020

Sanskrit MARCH 2020

Sanskrit (Composite) MARCH 2020

Science (Paper 1) MARCH 2020

Science (Paper 2)

Geography Model Set 1 2020-2021


MUST REMEMBER THINGS on the day of Exam

Are you prepared? for English Grammar in Board Exam.

Paper Presentation In Board Exam

How to Score Good Marks in SSC Board Exams

Tips To Score More Than 90% Marks In 12th Board Exam

How to write English exams?

How to prepare for board exam when less time is left

How to memorise what you learn for board exam

No. 1 Simple Hack, you can try out, in preparing for Board Exam

How to Study for CBSE Class 10 Board Exams Subject Wise Tips?

JEE Main 2020 Registration Process – Exam Pattern & Important Dates


NEET UG 2020 Registration Process Exam Pattern & Important Dates

How can One Prepare for two Competitive Exams at the same time?

8 Proven Tips to Handle Anxiety before Exams!

BUY FROM PLAY STORE

DOWNLOAD OUR APP

HOW TO PURCHASE OUR NOTES?

S.P. Important Questions For Board Exam 2022

O.C.M. Important Questions for Board Exam. 2022

Economics Important Questions for Board Exam 2022

Chemistry Important Question Bank for board exam 2022

Physics – Section I- Important Question Bank for Maharashtra Board HSC Examination

Physics – Section II – Science- Important Question Bank for Maharashtra Board HSC 2022 Examination

Important-formula



THANKS