SlideShare une entreprise Scribd logo
1  sur  11
Computer language
Everything that is stored and
processed inside a computer (all
data, information, instructions, files,
images, etc.) is stored as numbers.
More specifically, everything inside
a computer is actually a Binary
number (0 or 1)
The CPU is made up of millions of
tiny switches that can only be in
one of the two states, either “ON”
or “OFF”. While the processing
data is taking place, the switches
will alternate between these two
states.
Number Systems
There are infinite ways to represent a number.
Some of them associated with modern
computers and digital electronics are:
● Decimal
● Binary
● Hexadecimal
Decimal (base 10)
It's the way most human beings represent
numbers.
● Decimal counting goes:
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15,
16, 17, 18, and so on.
Binary (base 2)
It's the natural way most digital circuits
represent and manipulate numbers.
● Binary counting goes:
0, 1, 10, 11, 100, 101, 110, 111, 1000, 1001,
1010, 1011, 1100, 1101, 1110, 1111, 10000,
10001, and so on.
Hexadecimal (base 16)
It's currently the most popular choice for
representing digital circuit numbers in a form
that is more compact than binary.
● Hexadecimal counting goes:
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F, 10,
11, and so on.
Decimal number
conversion
A repeated division and remainder algorithm can convert decimal to
binary or hexadecimal.
● Divide the decimal number by the desired target radix (2 or 16).
● Append the remainder as the next most significant digit.
● Repeat until the decimal number has reached zero.
What is a bit?
● A bit is a Binary Digit (the word comes from
Binary DigIT)
● A bit is the smallest unit of information that we
can store on a computer (0 or 1).
What is a Byte?
● Bits (b) are usually grouped into groups of 8,
and each group is called a Byte. (10101011)
● Bytes (B) are the standard unit of storage for
all computing devices.
● A single keyboard character that you type,
such as letter “A” takes up one byte of
storage.
Storing data units
UnitUnit Symbol Equivalent
BYTE B 8 BITS
KILOBYTE KB 1024 BYTES
MEGABYTE MB 1024 KILOBYTES
GIGABYTE GB 1024 MEGABYTES
TERABYTE TB 1024 GIGABYTES
ACTIVITIES
1. Convert 0110 binary to decimal
2. Convert 100011 binary to decimal
3. Convert 55 decimal to binary
4. Convert 205 decimal to binary
5. Which number is higher, 01001000 or 01000010.
Why? Don't convert them to decimal.
6. In binary system, how many characteres can be
represented with 3 digits? And with 8? Write the highest
number that can be represented in both cases.
7. Convert 17F hexadecimal to decimal
8. Convert 1792 decimal to hexadecimal
ACTIVITIES
9. Convert 111100 binary to hexadecimal
10. Convert 70 hexadecimal to binary
11. Which number is higher, 11100111 or E7?
12. How many bytes takes up your name and surname?
13. How many bits fits onto a 700 MB CD-ROM?
14. What is the size difference between the different storage
devices in each of the pairs below?
a) A 100 kB file and a 4,7 GB DVD
b) A 500 GB external hard disk and a 700 MB CD-ROM
c) A 4 GB memory stick and a 1 TB hard disk
d) A 16 GB MP3 player and an old 1,44 MB floppy disc

Contenu connexe

Tendances

Data representation
Data representationData representation
Data representation
rozanadiana
 
Units of storage in computer
Units of storage in computerUnits of storage in computer
Units of storage in computer
akorede2000
 
Learning& Teaching Systems Ppt
Learning& Teaching  Systems PptLearning& Teaching  Systems Ppt
Learning& Teaching Systems Ppt
Naruin
 
Learning&Teaching Systems Ppt
Learning&Teaching Systems PptLearning&Teaching Systems Ppt
Learning&Teaching Systems Ppt
ekul
 
Computer Systems Data Representation
Computer Systems   Data RepresentationComputer Systems   Data Representation
Computer Systems Data Representation
iarthur
 
Week2 chapter 02_2.1_system_concept_2015 (1)
Week2 chapter 02_2.1_system_concept_2015 (1)Week2 chapter 02_2.1_system_concept_2015 (1)
Week2 chapter 02_2.1_system_concept_2015 (1)
dubuk74
 
Topic 1 Data Representation
Topic 1 Data RepresentationTopic 1 Data Representation
Topic 1 Data Representation
ekul
 

Tendances (20)

Chapter 2
Chapter 2Chapter 2
Chapter 2
 
Data representation
Data representationData representation
Data representation
 
Data representation in a computer
Data representation in a computerData representation in a computer
Data representation in a computer
 
Data Representation
Data RepresentationData Representation
Data Representation
 
[1] Data Representation
[1] Data Representation[1] Data Representation
[1] Data Representation
 
Computer data representation (integers, floating-point numbers, text, images,...
Computer data representation (integers, floating-point numbers, text, images,...Computer data representation (integers, floating-point numbers, text, images,...
Computer data representation (integers, floating-point numbers, text, images,...
 
Units of storage in computer
Units of storage in computerUnits of storage in computer
Units of storage in computer
 
Learning& Teaching Systems Ppt
Learning& Teaching  Systems PptLearning& Teaching  Systems Ppt
Learning& Teaching Systems Ppt
 
Learning&Teaching Systems Ppt
Learning&Teaching Systems PptLearning&Teaching Systems Ppt
Learning&Teaching Systems Ppt
 
New Computer Systems
New Computer SystemsNew Computer Systems
New Computer Systems
 
Meghna ppt.
Meghna ppt.Meghna ppt.
Meghna ppt.
 
IS 139 Lecture 4
IS 139 Lecture 4IS 139 Lecture 4
IS 139 Lecture 4
 
CSS L03 - Mensuration and Calculation in CSS
CSS L03 - Mensuration and Calculation in CSSCSS L03 - Mensuration and Calculation in CSS
CSS L03 - Mensuration and Calculation in CSS
 
Binary System by Bray Avila
Binary System by Bray AvilaBinary System by Bray Avila
Binary System by Bray Avila
 
Computer Systems Data Representation
Computer Systems   Data RepresentationComputer Systems   Data Representation
Computer Systems Data Representation
 
Week2 chapter 02_2.1_system_concept_2015 (1)
Week2 chapter 02_2.1_system_concept_2015 (1)Week2 chapter 02_2.1_system_concept_2015 (1)
Week2 chapter 02_2.1_system_concept_2015 (1)
 
Topic 1 Data Representation
Topic 1 Data RepresentationTopic 1 Data Representation
Topic 1 Data Representation
 
Lesson4.2 u4 l1 binary squences
Lesson4.2 u4 l1 binary squencesLesson4.2 u4 l1 binary squences
Lesson4.2 u4 l1 binary squences
 
Chapter 2 computer system
Chapter 2 computer systemChapter 2 computer system
Chapter 2 computer system
 
Data representation computer architecture
Data representation  computer architectureData representation  computer architecture
Data representation computer architecture
 

Similaire à Number systems

Chapter 2Hardware2.1 The System Unit2.2 Data and P
Chapter 2Hardware2.1 The System Unit2.2 Data and PChapter 2Hardware2.1 The System Unit2.2 Data and P
Chapter 2Hardware2.1 The System Unit2.2 Data and P
EstelaJeffery653
 
Computers numbering systems
Computers   numbering systemsComputers   numbering systems
Computers numbering systems
sld1950
 
Learning&Teaching Systems Ppt
Learning&Teaching Systems PptLearning&Teaching Systems Ppt
Learning&Teaching Systems Ppt
Kyle
 

Similaire à Number systems (20)

TLE – ICT 8 Digital Mensuration II.pptx
TLE – ICT 8 Digital Mensuration II.pptxTLE – ICT 8 Digital Mensuration II.pptx
TLE – ICT 8 Digital Mensuration II.pptx
 
Deepak sh
Deepak shDeepak sh
Deepak sh
 
Deepak sh
Deepak shDeepak sh
Deepak sh
 
1.1.1 BINARY SYSTEM
1.1.1 BINARY SYSTEM1.1.1 BINARY SYSTEM
1.1.1 BINARY SYSTEM
 
1.1.1 binary systems By Zak
1.1.1 binary systems By Zak1.1.1 binary systems By Zak
1.1.1 binary systems By Zak
 
Chapter 2
Chapter 2Chapter 2
Chapter 2
 
Chapter 2Hardware2.1 The System Unit2.2 Data and P
Chapter 2Hardware2.1 The System Unit2.2 Data and PChapter 2Hardware2.1 The System Unit2.2 Data and P
Chapter 2Hardware2.1 The System Unit2.2 Data and P
 
Chapter 3-Data Representation in Computers.ppt
Chapter 3-Data Representation in Computers.pptChapter 3-Data Representation in Computers.ppt
Chapter 3-Data Representation in Computers.ppt
 
COMPUTER AWARENESS.pptx
COMPUTER AWARENESS.pptxCOMPUTER AWARENESS.pptx
COMPUTER AWARENESS.pptx
 
Data Representation in Computers
Data Representation in ComputersData Representation in Computers
Data Representation in Computers
 
Chapter 2.ppt
Chapter 2.pptChapter 2.ppt
Chapter 2.ppt
 
UNIT-I U20EST109 - PROBLEM SOLVING APPROACH - Copy (1).pptx
UNIT-I U20EST109 - PROBLEM SOLVING APPROACH - Copy (1).pptxUNIT-I U20EST109 - PROBLEM SOLVING APPROACH - Copy (1).pptx
UNIT-I U20EST109 - PROBLEM SOLVING APPROACH - Copy (1).pptx
 
CST-20363-Session 1-In the Bitginning
CST-20363-Session 1-In the BitginningCST-20363-Session 1-In the Bitginning
CST-20363-Session 1-In the Bitginning
 
Computers numbering systems
Computers   numbering systemsComputers   numbering systems
Computers numbering systems
 
Computer Systems
Computer SystemsComputer Systems
Computer Systems
 
Learning&Teaching Systems Ppt
Learning&Teaching Systems PptLearning&Teaching Systems Ppt
Learning&Teaching Systems Ppt
 
2nd Quarter CSS Week 1.pptx
2nd Quarter CSS Week 1.pptx2nd Quarter CSS Week 1.pptx
2nd Quarter CSS Week 1.pptx
 
Basics of computer and Number conversions.pdf
Basics of computer and Number conversions.pdfBasics of computer and Number conversions.pdf
Basics of computer and Number conversions.pdf
 
digital logic design number system
digital logic design number systemdigital logic design number system
digital logic design number system
 
Understanding Computers - Today and Tomorrow
Understanding Computers - Today and TomorrowUnderstanding Computers - Today and Tomorrow
Understanding Computers - Today and Tomorrow
 

Dernier

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 

Dernier (20)

A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 

Number systems

  • 1. Computer language Everything that is stored and processed inside a computer (all data, information, instructions, files, images, etc.) is stored as numbers. More specifically, everything inside a computer is actually a Binary number (0 or 1) The CPU is made up of millions of tiny switches that can only be in one of the two states, either “ON” or “OFF”. While the processing data is taking place, the switches will alternate between these two states.
  • 2. Number Systems There are infinite ways to represent a number. Some of them associated with modern computers and digital electronics are: ● Decimal ● Binary ● Hexadecimal
  • 3. Decimal (base 10) It's the way most human beings represent numbers. ● Decimal counting goes: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, and so on.
  • 4. Binary (base 2) It's the natural way most digital circuits represent and manipulate numbers. ● Binary counting goes: 0, 1, 10, 11, 100, 101, 110, 111, 1000, 1001, 1010, 1011, 1100, 1101, 1110, 1111, 10000, 10001, and so on.
  • 5. Hexadecimal (base 16) It's currently the most popular choice for representing digital circuit numbers in a form that is more compact than binary. ● Hexadecimal counting goes: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F, 10, 11, and so on.
  • 6. Decimal number conversion A repeated division and remainder algorithm can convert decimal to binary or hexadecimal. ● Divide the decimal number by the desired target radix (2 or 16). ● Append the remainder as the next most significant digit. ● Repeat until the decimal number has reached zero.
  • 7. What is a bit? ● A bit is a Binary Digit (the word comes from Binary DigIT) ● A bit is the smallest unit of information that we can store on a computer (0 or 1).
  • 8. What is a Byte? ● Bits (b) are usually grouped into groups of 8, and each group is called a Byte. (10101011) ● Bytes (B) are the standard unit of storage for all computing devices. ● A single keyboard character that you type, such as letter “A” takes up one byte of storage.
  • 9. Storing data units UnitUnit Symbol Equivalent BYTE B 8 BITS KILOBYTE KB 1024 BYTES MEGABYTE MB 1024 KILOBYTES GIGABYTE GB 1024 MEGABYTES TERABYTE TB 1024 GIGABYTES
  • 10. ACTIVITIES 1. Convert 0110 binary to decimal 2. Convert 100011 binary to decimal 3. Convert 55 decimal to binary 4. Convert 205 decimal to binary 5. Which number is higher, 01001000 or 01000010. Why? Don't convert them to decimal. 6. In binary system, how many characteres can be represented with 3 digits? And with 8? Write the highest number that can be represented in both cases. 7. Convert 17F hexadecimal to decimal 8. Convert 1792 decimal to hexadecimal
  • 11. ACTIVITIES 9. Convert 111100 binary to hexadecimal 10. Convert 70 hexadecimal to binary 11. Which number is higher, 11100111 or E7? 12. How many bytes takes up your name and surname? 13. How many bits fits onto a 700 MB CD-ROM? 14. What is the size difference between the different storage devices in each of the pairs below? a) A 100 kB file and a 4,7 GB DVD b) A 500 GB external hard disk and a 700 MB CD-ROM c) A 4 GB memory stick and a 1 TB hard disk d) A 16 GB MP3 player and an old 1,44 MB floppy disc