SlideShare uma empresa Scribd logo
1 de 21
Hyrje në Informatikë
Riinvest University© 2007 Pearson Addison-Wesley.
All rights reserved
Riinvest University
Kapitulli 1
Numrat Binar
Sistemi Binarë
0-2
Riinvest University
• Sistemi tradicional decimal bazohet në fuqinë
10.
• Sistemi binarë bazohet në fuqinë 2.
Baza 10 dhe sistemet binare
0-3
Riinvest University
Dekodimi i numrit binarë 100101
0-4
Riinvest University
Një algoritëm për të gjetur numrin
binarë për një numër te plotë pozitivë
0-5
Riinvest University
Hapi 1: Pjesëto vlerën me 2 the ruaj mbetjen
Hapi 2: Përderisa rezultati i pjesëtimit nuk është 0,
vazhdo të pjesëtosh rezultatin e ri me 2 dhe ruaj
mbetjen
Hapi 3: Pasi që është fituar rezultati 0, numri binarë
përbëhet prej mbetëseve të listuar nga e djathta në të
majtë në rendin e ruajtur
Numrat e plotë, decimal - binar
• Ekuivalenti binar i 79 ?
0-6
Riinvest University
Numrat e plotë, decimal - binar
• Ekuivalenti binar i 355 ?
0-7
Riinvest University
Numrat vetëm me pjesën pas
pikës dhjetore
Shndërrimi i numrave decimalë, të cilët e kanë vetëm
pjesën pas pikës dhjetore, në numra të sistemit binar
bëhet duke shumëzuar numrin suksesivisht me 2.
0.859375 ?
0-8
Riinvest University
Numrat vetëm me pjesën pas
pikës dhjetore
0.8125 ?
0-9
Riinvest University
Numrat me pjesën para dhe pas
pikës dhjetore
125.875 ?
0-10
Riinvest University
Numrat me pjesën para dhe pas
pikës dhjetore
500.4375 ?
0-11
Riinvest University
Dekodimi i numrit binarë 101.101
0-12
Riinvest University
Mbledhja e numrave binarë
• Tabela e mbledhjes së numrave në sistemin
binar
0-13
Riinvest University
Zbritja e numrave binarë
• Tabela e zbritjeve të numrave në sistemin binar
0-14
Riinvest University
Shumezimi i numrave binarë
Tabela e shumezimit të numrave në sistemin binar
0-15
Riinvest University
Sistemi me dy kompliment
0-15
Riinvest University
Kodimi i numrit 6 në formë me dy
kompliment duke përdorur 4 bitë
0-16
Riinvest University
Problemet tjera për konvertimin në
formën me dy kompliment
0-17
Riinvest University
Sistemi heksadecimal i numrave
0-18
Riinvest University
Shndërrimi decimal -
heksadecimal
0-19
Riinvest University
Ekuivalenca në sisteme
numerike të ndryshme
• 8-4-2-1
0-20
Riinvest University

Mais conteúdo relacionado

Destaque

Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them wellGood Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Saba Software
 
Introduction to C Programming Language
Introduction to C Programming LanguageIntroduction to C Programming Language
Introduction to C Programming Language
Simplilearn
 

Destaque (20)

How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
 
Barbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationBarbie - Brand Strategy Presentation
Barbie - Brand Strategy Presentation
 
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them wellGood Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
 
Introduction to C Programming Language
Introduction to C Programming LanguageIntroduction to C Programming Language
Introduction to C Programming Language
 

iiiissss.pptx

  • 1. Hyrje në Informatikë Riinvest University© 2007 Pearson Addison-Wesley. All rights reserved Riinvest University Kapitulli 1 Numrat Binar
  • 2. Sistemi Binarë 0-2 Riinvest University • Sistemi tradicional decimal bazohet në fuqinë 10. • Sistemi binarë bazohet në fuqinë 2.
  • 3. Baza 10 dhe sistemet binare 0-3 Riinvest University
  • 4. Dekodimi i numrit binarë 100101 0-4 Riinvest University
  • 5. Një algoritëm për të gjetur numrin binarë për një numër te plotë pozitivë 0-5 Riinvest University Hapi 1: Pjesëto vlerën me 2 the ruaj mbetjen Hapi 2: Përderisa rezultati i pjesëtimit nuk është 0, vazhdo të pjesëtosh rezultatin e ri me 2 dhe ruaj mbetjen Hapi 3: Pasi që është fituar rezultati 0, numri binarë përbëhet prej mbetëseve të listuar nga e djathta në të majtë në rendin e ruajtur
  • 6. Numrat e plotë, decimal - binar • Ekuivalenti binar i 79 ? 0-6 Riinvest University
  • 7. Numrat e plotë, decimal - binar • Ekuivalenti binar i 355 ? 0-7 Riinvest University
  • 8. Numrat vetëm me pjesën pas pikës dhjetore Shndërrimi i numrave decimalë, të cilët e kanë vetëm pjesën pas pikës dhjetore, në numra të sistemit binar bëhet duke shumëzuar numrin suksesivisht me 2. 0.859375 ? 0-8 Riinvest University
  • 9. Numrat vetëm me pjesën pas pikës dhjetore 0.8125 ? 0-9 Riinvest University
  • 10. Numrat me pjesën para dhe pas pikës dhjetore 125.875 ? 0-10 Riinvest University
  • 11. Numrat me pjesën para dhe pas pikës dhjetore 500.4375 ? 0-11 Riinvest University
  • 12. Dekodimi i numrit binarë 101.101 0-12 Riinvest University
  • 13. Mbledhja e numrave binarë • Tabela e mbledhjes së numrave në sistemin binar 0-13 Riinvest University
  • 14. Zbritja e numrave binarë • Tabela e zbritjeve të numrave në sistemin binar 0-14 Riinvest University
  • 15. Shumezimi i numrave binarë Tabela e shumezimit të numrave në sistemin binar 0-15 Riinvest University
  • 16. Sistemi me dy kompliment 0-15 Riinvest University
  • 17. Kodimi i numrit 6 në formë me dy kompliment duke përdorur 4 bitë 0-16 Riinvest University
  • 18. Problemet tjera për konvertimin në formën me dy kompliment 0-17 Riinvest University
  • 19. Sistemi heksadecimal i numrave 0-18 Riinvest University
  • 21. Ekuivalenca në sisteme numerike të ndryshme • 8-4-2-1 0-20 Riinvest University