SlideShare ist ein Scribd-Unternehmen logo
1 von 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

Weitere ähnliche Inhalte

Was ist angesagt?

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
 

Was ist angesagt? (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
 

Ähnlich wie 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
 

Ähnlich wie 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
 

Kürzlich hochgeladen

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Kürzlich hochgeladen (20)

Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
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
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
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...
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
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)
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - 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