Information Technology Introduction to Number System

Slides:



Advertisements
Similar presentations
How to Convert Decimal Numbers to Binary EXAMPLES.
Advertisements

Computer Codes Rohit Khokher. Computer Codes Data types NumericNonnumeric IntegerRealAlphabet A, B, C, …,Z a, b, c,…,z Digits 0,…,9 Special Characters.
Base 10 Denary Decimal
Binary numbers. 1 Humans count using decimal numbers (base 10) We use 10 units: 0, 1, 2, 3, 4, 5, 6, 7, 8 and (5.
Binary Conversion In today’s lesson we will link together the binary and algorithm topics by looking at how to get the computer to: convert binary to decimal.
 A binary number is a number that includes only ones and zeroes.  The number could be of any length  The following are all examples of binary numbers.
Decimal to Binary Conversion Press any key to continue…
Binary Numbers.
Data Representation in Computers. Data Representation in Computers/Session 3 / 2 of 33 Number systems  The additive approach – Number earlier consisted.
Numbering Systems Decimal (Denary) base 10. Clumsy when dealing with computers. Other systems –Binary –Octal –Hexadecimal Convenient when dealing with.
Decimal Review ,00010,0001, Decimal ~ Base 10 number system 10 different numbers: 0, 1, 2, 3, 4, 5, 6, 7, 8,
Number Systems.
Computers Organization & Assembly Language
Binary Codes Computers and other digital systems "work" with binary numbers. I/P & O/P is usually done using decimal numbers, alphabetics, special symbols.
CS101 Introduction to Computing Lecture 8 Binary Numbers & Logic Operations.
Lecture 7 How computers process data (Number Systems) PRESENTED BY MD. MAHBUBUL ALAM, PHD 1.
1 Number SystemsLecture 8. 2 BINARY (BASE 2) numbers.
Binary Code.
Math Review Do you remember, from math class, how exponentiation operations are typically represented? anan is known as the "base" a is known as the "base"
Number Systems. Today Decimal Hexadecimal Binary –Unsigned Binary –1’s Complement Binary –2’s Complement Binary.
INTRODUCTION TO COMPUTING LECTURE#04. TRANSFORMING DATA INTO INFORMATION Understands only two states either On or Off  Makes different patterns of 0s.
Number systems Jaana Holvikivi Metropolia. Result AND OR NOT Logical operations Boolean algebra Operations &&AND.
Computer Science 210 Computer Organization Introduction to Boolean Algebra.
Binary Number System & Logic Operations. The focus of the last lecture was on the microprocessor During that lecture we learnt about the function of the.
Copyright © Curt Hill BitWise Operators Packing Logicals with Other Bases as a Bonus.
Number System. Number Systems Important Number systems – Decimal – Binary – Hexadecimal.
Positional Notation 642 in base 10 positional notation is:
Working with 8-bit bytes and hexadecimal
THE BINARY NUMBER SYSTEM “There are only 10 types of people in this world: Those who understand BINARY and those who do not.”
Data as the computer sees it 1.  Number systems Number systems  Data storage Data storage  Glossary Glossary 2.
Binary01.ppt Decimal Decimal: Base 10 means 10 Unique numerical digits ,00010,000 Weight Positions 3,
Computer Programming 12 Mr. Jean February 5 th, 2014.
CMP 100 Introduction to Computing Lecture Binary Numbers & Logic Operations.
Codes Octal Power Hexadecimal ASCII BCD Code
1 Ethics of Computing MONT 113G, Spring 2012 Session 1 Digital Circuits, binary Numbers Course webpage:
Binary System Presented by Mr. Wilhelmi Internal Representation of Data Input Input  Data that is put into the computer for processing Data Data  The.
Data Representation (in computer system). Data Representation How do computers represent data? b The computers are digital Recognize.
Boolean Algebra Binary Arithmetic August 28, 2001 Ellen Spertus MCS 111.
Phys 4330 Digital ElectronicsBinary System Digital circuits process signals that contain just two voltage levels or states, labeled logic "0" and logic.
Appendix B: Digital Logic
Section 5 Digital Electronic Circuits. Chapter 32 Binary Number System.
What is Binary Code? Computers use a special code of their own to express the digital information they process. It's called the binary code because it.
Cis303a_chapt03_exam1_answer.ppt CIS303A: System Architecture Exam 1: Chapter 3 Answer List the characters (digits) for the following bases. 1) Decimal:
The Hexadecimal System is base 16. It is a shorthand method for representing the 8-bit bytes that are stored in the computer system. This system was chosen.
Binary a. express numbers in binary, binary-coded decimal (BCD), octal and hexadecimal;
Base 16 (hexadecimal) Uses the decimal digits and the first letters of the alphabet to encode 4 binary bits (16=2 4 ) abcdef or ABCDEF.
Binary Numbers. Base 10 and Base 2  We normally work with numbers in base 10.  In base 10 we use the digits 0, 1, 2, 3, 4, 5, 6, 7, 8 and 9.  Everything.
Number Systems Decimal Can you write 12,045 in expanded form? Base? Allowable digits for each place?
Binary Numbers. Decimal vs Binary = 1001 = 101 = 10 1 = on = 0 = off = On and off.
1 Chapter 1: Basic Concepts Assembly Language for Intel-Based Computers, 4th edition Kip R. Irvine 9/6/2003.
Math Review Do you remember, from math class, how exponentiation operations are typically represented? an a is known as the "base" n is known as the "exponent".
Programmable Logic Controller
Unit 2.6 Data Representation Lesson 1 ‒ Numbers
Understanding binary Understanding Computers.
3 – Boolean Logic and Logic Gates 4 – Binary Numbers
© 2003, Cisco Systems, Inc. All rights reserved.
Digital Design Chapter One Digital Systems and Binary Numbers
Computer Code.
Computer Science 210 Computer Organization
ME 142 Engineering Computation I
Binary numbers: Week 7 Lesson 1
BINARY CODE.
Representation of data in computer systems
Computer Science 210 Computer Organization
Chapter Four Data Representation in Computers By Bezawit E.
The basics of any electronic device means either electricity is flowing or it is not i.e. a switch is either on or off Computers are electronic devices.
Lecture 5 Binary Operation Boolean Logic. Binary Operations Addition Subtraction Multiplication Division.
Binary System.
Conditionals.
Presentation transcript:

Information Technology Introduction to Number System Adnan Khalid

Computer and Numbers To a computer everything is a number. Numbers are numbers. Alphabets are numbers. Pictures are numbers.

The Binary Number System In digital computers only two values are displayed i.e. either On or Off. These values can also be represented by 0’s and 1’s. George Boole invented Boolean Algebra which stated that every equation can either be true or false.

The Unconventional System The common man uses a base10 or decimal system. The binary system is hence a bit complicated to comprehend. The decimal system contains digits 0-9 and then repetition of these digits while binary has only 0 and 1 and then repetition of these two.

Bits and Bytes A byte consists of 8 bits. A kilobyte consists of 1024 bytes. The presence of a bit represents the presence of data.

Decimal Vs Binary 0 000 1 001 2 010 3 011 4 100 5 101 6 110 7 111 8 1000 9 1001 10 1010 11 1011 12 1100 13 1101 14 1110 15 1111 16 10000

Binary Conversion to Decimal Binary To Decimal Conversion                                                               Binary Conversion to Decimal

Decimal Conversion to Binary To convert a decimal number to binary, first subtract the largest possible power of two, and keep subtracting the next largest possible power form the remainder, marking 1s in each column where this is possible and 0s where it is not. Example 1 - (Convert Decimal 44 to Binary)

                                                                                                               Binary Addition Example 1 Example 2

Binary Multiplication