LESSON TITLE. Language English Local Language Introduction to Computer Science. Mr. VAR Sovannrath Submission Date October 30th, 2014 Version 1.
|
|
- Victor Pope
- 5 years ago
- Views:
Transcription
1 LESSON TITLE Country Cambodia Language English Local Language Course Title Introduction to Computer Science Lesson Title 06. Number Systems SME Mr. VAR Sovannrath Submission Date October 30th, 2014 Version 1.0
2 0. Orientation > 0.2 Outline Please provide the outline of course which will A : Text-based + Audio Introduction to computer science I. General knowledge in comput er science 1. Introduction to computer 2. Computer Hardware and its function 3. Operating system & Application 4. Common application 5. Introduction to Computer Network 6. Number Systems 7. Data representation and encoding II. Basic programming knowledg e with Python 8. Introduction Algorithm and Programming 9. Data Type, Operator, and Variable 10. Control Structure 11. Structure Data Type 12. Sub-Program 13. Files
3 1. Introduction > 1.1 Introduction / Overview Please provide the introduction / overview on this lesson A : Text-based + Audio Overview In this chapter, you are going to learn about How to represent number in binary number system, octal number system and hexadecimal number system. Working with arithmetic operation of different number systems. How to convert from a number system to the other number systems.
4 1. Introduction > 1.2 Content Please make sure the hierarch of the content is well formed. Please organize the lesson in 3-5 main topics and use 3-level headings. Level 1 Level 2 Level 3 1. Number Systems 1.1. Decimal System 1.2. Binary Numbering System 1.3. Octal System 1.4. Hexadecimal System 2. Arithmetic Operations 2.1. Binary Calculation Addition 2.2. Octal Calculation 2.3. Hexadecimal Calculation 3. Radix Conversion 3.1. Conversion of Decimal System to Other System 3.2. Conversion by Binary System to Other Systems 3.3. Conversion of Octal System to Other Systems 3.4. Conversation of Hexadecimal System to other Systems Subtraction Multiplication Division
5 1. Introduction > 1.3 Content ID Will do it by looking at 1.1 Lesson overview Introduction to computer science I. General knowledge in computer science 1. Introduction to computer 2. Computer Hardware 3. Operating system & Software 4. Common application 5. Introduction to Computer Network 6. Number Systems 7. Data representation and encoding II. Basic programming knowledge with Python 8. Introduction Algorithm and Programming 9. Data Type, Operator, and Variable 10. Control Structure 11. Structure Data Type 12. Sub-Program 13. Files
6 1. Introduction > 1.4 Objectives Please provide objective of the lesson by high light keyword and follow (Audience, Behavior, Condition, Degree) to write the objective Objective Upon completion of this chapter, you will be able to Obtain knowledge on different number systems. Capable of doing arithmetic operations with different number systems. Able to convert from a number system to another number system.
7 1. Introduction > 1.5 Keywords () Please provide keywords of the lesson with explanation Keywords Description
8 1. Introduction > 1.5 Pre-Test A : Fill in the blank B : Short answer question C : Multiple Choice Feedback type A : Text-based short answer B : Text-based short answer and more information C : Video based feedback Pre-Test Question Possible answers Correct Answer Feedback of the question
9 2. Learn> Topic 1. : Number Systems The smallest peace of data recognized and used by computer is the bit, a binary digit. A bit is a single binary value 1 or 0. A grouping of eight bits is a byte. Byte is the basic unit for measuring the size of memory. 1 Kilobyte = 1024 bytes 1 Megabyte = 1024 x 1024 bytes = bytes A number of adjacent bits that can be stored and manipulated as a unit is called a computer word. The longer the lengths of the computer word that register can hold, the faster th e computer can process data. 9
10 2. Learn> Topic 1. : Number Systems In a numbering system, there are only a few symbols which represent different v alues depending on the position they occupy in the number. The total number of digits applicable to any system is called its radix/base. The actual number of symbols used in a potential system depends on its base. In any numbering system, the highest numerical symbol always has a value of o ne less than the base. Ex, base of 10, 0 to 9. 10
11 2. Learn> Topic 1.1. : Decimal System Decimal system is a base 10 system which means there are 10 distinct digits 0 to 9. The value that the digits represent depends on the weights or positions they hol d. 11
12 2. Learn> Topic 1.2. : Binary Numbering System The numbering system in which these two digits are found is binary numbering system. Binary numbering system uses a base of 2. The 0s and 1s can be arranged in various combinations to represent all the numb ers, letters, and symbols that can be entered into the computer. As binary system is base 2 system, the position weights are used on the powers of 2. 12
13 2. Learn> Topic 1.2. : Binary Numbering System Computers have been designed to use binary numbers because of the followin g reasons: 1. Computer circuits have to handle only 2 binary digits or bits rather than 10 use d in decimal numbering system. 2. Only identifies signals in the form of digital pulses which represent either high voltage or a low voltage (0). 3. Everything that can be done with a base of 10 can also be done in binary. 13
14 2. Learn> Topic 1.3. : Octal System Octal system was issued to provide a shorthand way to deal with long strings of 1s and 0 s created in binary. It is a base 8 system using the digits 0 through 7. 14
15 2. Learn> Topic 1.4. : Hexadecimal System It contains the digits 0 through 9 and the letters A through F. The letters are used because 16 placeholders are needed and there are only 10 distinct digits in the decimal system. 15
16 2. Learn> Topic 2. : Arithmetic Operations Binary Calculations Addition Subtraction Multiplication Division Octal Calculation Hexadecimal Calculation 16
17 2. Learn> Topic 2.1. : Binary Calculation Addition Rules for carrying out addition of binary numbers are as follows: = = = = 0 with 1 carry over Example 1: For adding (22 10 ) and (13 10 ): Example 2: For adding (53 10 ) and (47 10 ): 17
18 2. Learn> Topic 2.1. : Binary Calculation Subtraction Rules for subtraction of binary numbers are as follow: 0 0 = = = = 1 with one borrow Example 1: Subtraction (13 10 ) from (22 10 ): Example 2: Subtraction (53 10 ) from (47 10 ): 18
19 2. Learn> Topic 2.1. : Binary Calculation Multiplication Rules for multiplication of binary numbers are as follows: 0 x 0 = 0 0 x 1 = 0 1 x 1 = 1 Example 1: Multiplication (7 10 ) with (5 10 ): Example 2: Multiplication (22 10 ) with (13 10 ) : 19
20 2. Learn> Topic 2.1. : Binary Calculation Division Division for binary numbers can be carried out by following same rules as those ap plicable to decimal number. Example 1: Dividing by : Example 2: Dividing by : 20
21 2. Learn> Topic 2.2. : Octal Calculation To add two octal numbers, we proceed as we do in the decimal system. If any addition produces an octal number in excess of 7, we must utilize the next position: 8 10 = 10 8, 9 10 = 11 8 and so on. Addition: Example 1: (337) 8 + (228) 8 = (?) 8 Ans. (567) 8 Example 2: (72) 8 + (25) 8 = (?) 8 Ans. (117) 8 We can check the result by comparing to the decimal system: (72) 8 is equivalent to (58) 10 (25) 8 is equivalent to (21) 10 Total (117) 8 is equivalent to (79) 10. Hence the addition is correct. 21
22 2. Learn> Topic 2.2. : Octal Calculation To subtract in the octal numbering system, we may use the complementation and end-around-carry method. Subtraction: Example 1: (72) 8 -(25) 8 = (?) 8 Step 1: Complement the subtrahend: 52 ( 25 + [its complement] = 77) (any number + [its complement] = 77) Step 2: Proceed as in addition: Step 3: End-around carry Ans. (45) 8 22
23 2. Learn> Topic 2.2. : Octal Calculation Subtraction: Example 2: (72) 8 -(25) 8 = (?) 8 Step 1: Complement the subtrahend: 173 ( [its complement] = 777) Step 2: Proceed as in addition: Step 3: End-around carry Ans. (112) 8 23
24 2. Learn> Topic 2.3. : Hexadecimal Calculation Perform the operation on each column decimally, convert the decimal number to hexadecimal, and proceed. Example 1: (BAD) 16 + (627) 16 = (?) 16 Ans. (FDF) 16 Example 2: (74E) 16 + (F7E) 16 = (?) 16 (E + E) 16 = ( ) 10 = (28) 10 = (1C) 16 (Carry 1) (4 + 7) 16 + (Carry 1) = ( ) 10 = (12) 10 = C (7 + F) 16 = (7 + 15) 10 = (22) 10 = (16) 16 Ans. (16CC) 16 24
25 2. Learn> Topic 2.3. : Hexadecimal Calculation We can subtract hexadecimal numbers by again converting every digit to decimal for each position and then converting the difference obtained back to hexadecimal. Note that the system of borrowing from or exchanging with the next position results in an exchanges of 16 rather than 10. Example 3: (26) 16 - (7) 16 = (?) 16 Ans. (1F) 16 25
26 2. Learn> Topic 3. : Radix Conversion Conversion of Decimal System to Other System Conversion Methods Remainder Method Power Method Decimal to Binary Using the Remainder Method Using Power Method Decimal to Octal Decimal to Hexadecimal Conversion by Binary System to Other System Binary to Decimal Binary to Octal Binary to Hexadecimal Conversion of Octal System to Other Systems Octal to Decimal Octal to Binary Conversation of Hexadecimal System to other Systems Hexadecimal to Decimal Hexadecimal to Binary 26
27 2. Learn> Topic 3.1. : Conversion of Decimal System to Other Systems Conversion Methods Remainder Method 1) Dividing the given number of decimal system by the radix R of the proposed system. From this, we ll get a quotient Q1 and a remainder R1. 2) Dividing the quotient Q1 by the radix R again to get quotient Q2 and a remainder R2. 3) Dividing the quotient Q2 by the radix R again to get quotient Q3 and a remainder R3. This process of division of the successive quotients by the Radix R of the proposed system should be repeated until the quotients become less than the radix R. RnRn-1Rn-2 R2R1 Decimal to Binary (300) 10 = ( ) 2 27
28 2. Learn> Topic 3.1. : Conversion of Decimal System to Other Systems Conversion Methods Power Method 1) Subtracting the highest number which is obtained by raising the radix to t he power of the proposed system. R1 be the remainder. 2) Subtracting the next highest number from this remainder R1. 3) This procedure should be repeated until the remainder is zero. 4) Write the multiplication factors in the sequential order in such a way that t he powers which have been used should be multiplied by one and the ones missing should be multiplied by zero (0). Decimal to Binary 28
29 2. Learn> Topic 3.1. : Conversion of Decimal System to Other Systems Decimal to Octal ( = ) Decimal to Hexadecimal ( = 1D7F 16 ) 29
30 2. Learn> Topic 3.2. : Conversion by Binary System to Other Systems Binary to Decimal Binary to Decimal Example Converting to decimal form. Ans. ( ) 2 = (218) 10 30
31 2. Learn> Topic 3.2. : Conversion by Binary System to Other Systems Binary to Octal Binary to Octal A binary number can be converted into its octal equivalent by using two me thods: Method-I For converting a binary number to its octal equivalents, first co nvert binary number to decimal form and then convert decimal to octal for m. Example: Convert to octal form. Converting to decimal form by multiplying each binary digit with it s position weights. 31
32 2. Learn> Topic 3.2. : Conversion by Binary System to Other Systems Binary to Octal Now converting the decimal to octal form, using Remainder Method. ( ) 2 = (413) 10 = (635) 8 32
33 2. Learn> Topic 3.2. : Conversion by Binary System to Other Systems Binary to Octal Method-II We can also convert the binary number to octal number by groupin g three binary digits to produce a single octal number. Let us take the same example. The binary number can be repr esented as: ( ) 2 = (635) 8 33
34 2. Learn> Topic 3.3. : Conversion of Octal System to Other Systems Octal to Decimal For converting octal to decimal, each octal digit should be multiplied by its posi tion weights. Example: Convert to decimal form =
35 2. Learn> Topic 3.3. : Conversion of Octal System to Other Systems Octal to Binary For converting octal to binary form, it should first be converted into decimal and the resulting decimal should be converted to binary. Example: Converting to its binary form = =
36 2. Learn> Topic 3.4. : Conversation of Hexadecimal System to other Systems Hexadecimal to Decimal For converting hexadecimal number to its decimal form, each hexadecimal dig it should be multiplied by its position weights. Example: Convert 1D7F into decimal form: 1D7F 16 =
37 2. Learn> Topic 3.4. : Conversation of Hexadecimal System to other Systems Hexadecimal to Binary A hexadecimal number can be converted to its binary equivalent by using two methods. Method-I 1. Hexadecimal number, first, should be converted into its decimal equivalent and that decimal number should then be converted into binary form. Example Converting 2D4AC into decimal form. Multiplying each hexadeci mal digits with its position weights. 2D4AC 10 =
38 2. Learn> Topic 3.4. : Conversation of Hexadecimal System to other Systems Hexadecimal to Binary Now converting this decimal number into binary form by using remainder m ethods, 2D4AC 10 = =
39 2. Learn> Topic 3.4. : Conversation of Hexadecimal System to other Systems Hexadecimal to Binary Method-II This method uses the concept that a hexadecimal digit can be repre sented by four binary digits. 2D4AC16 = or which is sa me as obtained by Method-I. 39
40 4. Test Question Possible answers Correct Answer 1. Conversion of decimal number to it s binary number equivalent is: A : Fill in the blank B : Short answer question C : Multiple Choice a b c d d) Feedback type A : Text-based short answer B : Text-based short answer and more information C : Video based feedback 2. Conversion of Test decimal number to it s octal number equivalent is: a b c d c) Multiplication of by is: a b c d b) Division of by is: a b c d b) 111 2
41 5. Outro > 5.1 Summarize Please give a lesson summary. Each topic can be summarized into a sentence, diagram, or even a word. Summarize Number Systems that are used in computing are Binary Numbers, Octal Numbers and Hexadecimal Numbers. Addition, subtraction, multiplication and division of binary/octal/hexadecimal numbers is carried out in the same way as it is in decimal system. There are two conversion methods, Remainder Method and Power Method.
42 5. Outro > 5.2 References Provide references if you think the students need. Reference A. Goel, Computer Fundamentals, Pearson, 2nd Impression, 2011 D. P. Nagpal, Computer Fundamentals, S. Chand, Revised Edition 2009
43 5. Outro > 5.3 Assignment Please provide the assignment such as exercise, discussion, research topic, Short essay, case studies,. A : Text-based + Audio Assignment
44 5. Outro > 5.4 Next Lesson This is the end of the lesson. Ending message and introduction to next lesson including lesson title and topics should be given. Overview Introduce to Character representation, Integer number representation and Real number representation. How computing represent information data. Next Lesson Title Data Representation and Encoding Character representation Integer number representation Real number representation
Number System. Introduction. Decimal Numbers
Number System Introduction Number systems provide the basis for all operations in information processing systems. In a number system the information is divided into a group of symbols; for example, 26
More informationBINARY SYSTEM. Binary system is used in digital systems because it is:
CHAPTER 2 CHAPTER CONTENTS 2.1 Binary System 2.2 Binary Arithmetic Operation 2.3 Signed & Unsigned Numbers 2.4 Arithmetic Operations of Signed Numbers 2.5 Hexadecimal Number System 2.6 Octal Number System
More informationObjectives. Connecting with Computer Science 2
Objectives Learn why numbering systems are important to understand Refresh your knowledge of powers of numbers Learn how numbering systems are used to count Understand the significance of positional value
More informationMC1601 Computer Organization
MC1601 Computer Organization Unit 1 : Digital Fundamentals Lesson1 : Number Systems and Conversions (KSB) (MCA) (2009-12/ODD) (2009-10/1 A&B) Coverage - Lesson1 Shows how various data types found in digital
More informationDigital Fundamentals
Digital Fundamentals Tenth Edition Floyd Chapter 2 2009 Pearson Education, Upper 2008 Pearson Saddle River, Education NJ 07458. All Rights Reserved Decimal Numbers The position of each digit in a weighted
More informationChapter 5: Computer Arithmetic. In this chapter you will learn about:
Slide 1/29 Learning Objectives In this chapter you will learn about: Reasons for using binary instead of decimal numbers Basic arithmetic operations using binary numbers Addition (+) Subtraction (-) Multiplication
More informationCHAPTER V NUMBER SYSTEMS AND ARITHMETIC
CHAPTER V-1 CHAPTER V CHAPTER V NUMBER SYSTEMS AND ARITHMETIC CHAPTER V-2 NUMBER SYSTEMS RADIX-R REPRESENTATION Decimal number expansion 73625 10 = ( 7 10 4 ) + ( 3 10 3 ) + ( 6 10 2 ) + ( 2 10 1 ) +(
More informationLearning Objectives. Binary over Decimal. In this chapter you will learn about:
Ref Page Slide 1/29 Learning Objectives In this chapter you will learn about: Reasons for using binary instead of decimal numbers Basic arithmetic operations using binary numbers Addition (+) Subtraction
More informationChapter 5: Computer Arithmetic
Slide 1/29 Learning Objectives Computer Fundamentals: Pradeep K. Sinha & Priti Sinha In this chapter you will learn about: Reasons for using binary instead of decimal numbers Basic arithmetic operations
More informationDigital Systems and Binary Numbers
Digital Systems and Binary Numbers Mano & Ciletti Chapter 1 By Suleyman TOSUN Ankara University Outline Digital Systems Binary Numbers Number-Base Conversions Octal and Hexadecimal Numbers Complements
More informationTOPIC: NUMBER SYSTEMS
Ministry of Secondary Education Progressive Comprehensive High School PCHS Mankon Bamenda Department of Computer Studies Republic of Cameroon Peace Work - Fatherland TOPIC: NUMBER SYSTEMS Class: Comp.
More informationin this web service Cambridge University Press
978-0-51-85748- - Switching and Finite Automata Theory, Third Edition Part 1 Preliminaries 978-0-51-85748- - Switching and Finite Automata Theory, Third Edition CHAPTER 1 Number systems and codes This
More informationChapter 1 Review of Number Systems
1.1 Introduction Chapter 1 Review of Number Systems Before the inception of digital computers, the only number system that was in common use is the decimal number system which has a total of 10 digits
More informationKorea University of Technology and Education
MEC52 디지털공학 Binary Systems Jee-Hwan Ryu School of Mechanical Engineering Binary Numbers a 5 a 4 a 3 a 2 a a.a - a -2 a -3 base or radix = a n r n a n- r n-...a 2 r 2 a ra a - r - a -2 r -2...a -m r -m
More informationChapter 3: Number Systems and Codes. Textbook: Petruzella, Frank D., Programmable Logic Controllers. McGraw Hill Companies Inc.
Chapter 3: Number Systems and Codes Textbook: Petruzella, Frank D., Programmable Logic Controllers. McGraw Hill Companies Inc., 5 th edition Decimal System The radix or base of a number system determines
More informationComputer Sc. & IT. Digital Logic. Computer Sciencee & Information Technology. 20 Rank under AIR 100. Postal Correspondence
GATE Postal Correspondence Computer Sc. & IT 1 Digital Logic Computer Sciencee & Information Technology (CS) 20 Rank under AIR 100 Postal Correspondence Examination Oriented Theory, Practice Set Key concepts,
More informationCS 121 Digital Logic Design. Chapter 1. Teacher Assistant. Hadeel Al-Ateeq
CS 121 Digital Logic Design Chapter 1 Teacher Assistant Hadeel Al-Ateeq Announcement DON T forgot to SIGN your schedule OR you will not be allowed to attend next lecture. Communication Office hours (8
More informationFinal Labs and Tutors
ICT106 Fundamentals of Computer Systems - Topic 2 REPRESENTATION AND STORAGE OF INFORMATION Reading: Linux Assembly Programming Language, Ch 2.4-2.9 and 3.6-3.8 Final Labs and Tutors Venue and time South
More informationD I G I T A L C I R C U I T S E E
D I G I T A L C I R C U I T S E E Digital Circuits Basic Scope and Introduction This book covers theory solved examples and previous year gate question for following topics: Number system, Boolean algebra,
More informationMoodle WILLINGDON COLLEGE SANGLI. ELECTRONICS (B. Sc.-I) Introduction to Number System
Moodle 1 WILLINGDON COLLEGE SANGLI ELECTRONICS (B. Sc.-I) Introduction to Number System E L E C T R O N I C S Introduction to Number System and Codes Moodle developed By Dr. S. R. Kumbhar Department of
More informationFundamentals of Programming (C)
Borrowed from lecturer notes by Omid Jafarinezhad Fundamentals of Programming (C) Group 8 Lecturer: Vahid Khodabakhshi Lecture Number Systems Department of Computer Engineering Outline Numeral Systems
More informationNumber representations
Number representations Number bases Three number bases are of interest: Binary, Octal and Hexadecimal. We look briefly at conversions among them and between each of them and decimal. Binary Base-two, or
More informationLecture (01) Digital Systems and Binary Numbers By: Dr. Ahmed ElShafee
١ Lecture (01) Digital Systems and Binary Numbers By: Dr. Ahmed ElShafee Digital systems Digital systems are used in communication, business transactions, traffic control, spacecraft guidance, medical
More informationRui Wang, Assistant professor Dept. of Information and Communication Tongji University.
Data Representation ti and Arithmetic for Computers Rui Wang, Assistant professor Dept. of Information and Communication Tongji University it Email: ruiwang@tongji.edu.cn Questions What do you know about
More informationLecture 2: Number Systems
Lecture 2: Number Systems Syed M. Mahmud, Ph.D ECE Department Wayne State University Original Source: Prof. Russell Tessier of University of Massachusetts Aby George of Wayne State University Contents
More informationPositional notation Ch Conversions between Decimal and Binary. /continued. Binary to Decimal
Positional notation Ch.. /continued Conversions between Decimal and Binary Binary to Decimal - use the definition of a number in a positional number system with base - evaluate the definition formula using
More informationChapter 2. Data Representation in Computer Systems
Chapter 2 Data Representation in Computer Systems Chapter 2 Objectives Understand the fundamentals of numerical data representation and manipulation in digital computers. Master the skill of converting
More informationInformation Science 1
Information Science 1 - Representa*on of Data in Memory- Week 03 College of Information Science and Engineering Ritsumeikan University Topics covered l Basic terms and concepts of The Structure of a Computer
More informationCOE 202- Digital Logic. Number Systems II. Dr. Abdulaziz Y. Barnawi COE Department KFUPM. January 23, Abdulaziz Barnawi. COE 202 Logic Design
1 COE 0- Digital Logic Number Systems II Dr. Abdulaziz Y. Barnawi COE Department KFUPM COE 0 Logic Design January 3, 016 Objectives Base Conversion Decimal to other bases Binary to Octal and Hexadecimal
More informationLecture (02) Operations on numbering systems
Lecture (02) Operations on numbering systems By: Dr. Ahmed ElShafee ١ Dr. Ahmed ElShafee, ACU : Spring 2018, CSE202 Logic Design I Complements of a number Complements are used in digital computers to simplify
More informationTOPICS. Other Number Systems. Other Number Systems 9/9/2017. Octal Hexadecimal Number conversion
Topic : Introduction To computers Faculty : Department of commerce and Management BY: Prof.Meeta R. Gujarathi E mail: meetargujarathi@gmail.com Octal Hexadecimal Number conversion TOPICS Other Number Systems
More informationMs Sandhya Rani Dash UNIT 2: NUMBER SYSTEM AND CODES. 1.1 Introduction
Ms Sandhya Rani Dash UNIT 2: NUMBER SYSTEM AND CODES Structure 2.1 Introduction 2.2 Objectives 2.3 Binary Numbers 2.3.1 Binary-to-Decimal conversion 2.3.2 Decimal-to-Binary Conversion 2.4 Octal Numbers
More informationThe. Binary. Number System
The Binary Number System Why is Binary important? Everything on a computer (or other digital device) is represented by Binary Numbers One to Five in various systems 1 2 3 4 5 I II III IV V 1 10 11 100
More informationDigital Fundamentals. CHAPTER 2 Number Systems, Operations, and Codes
Digital Fundamentals CHAPTER 2 Number Systems, Operations, and Codes Decimal Numbers The decimal number system has ten digits: 0, 1, 2, 3, 4, 5, 6, 7, 8, and 9 The decimal numbering system has a base of
More informationNumeral Systems. -Numeral System -Positional systems -Decimal -Binary -Octal. Subjects:
Numeral Systems -Numeral System -Positional systems -Decimal -Binary -Octal Subjects: Introduction A numeral system (or system of numeration) is a writing system for expressing numbers, that is a mathematical
More informationNumber Systems CHAPTER Positional Number Systems
CHAPTER 2 Number Systems Inside computers, information is encoded as patterns of bits because it is easy to construct electronic circuits that exhibit the two alternative states, 0 and 1. The meaning of
More informationEEM 232 Digital System I
EEM 232 Digital System I Instructor : Assist. Prof. Dr. Emin Germen egermen@anadolu.edu.tr Course Book : Logic and Computer Design Fundamentals by Mano & Kime Third Ed/Fourth Ed.. Pearson Grading 1 st
More informationIT 1204 Section 2.0. Data Representation and Arithmetic. 2009, University of Colombo School of Computing 1
IT 1204 Section 2.0 Data Representation and Arithmetic 2009, University of Colombo School of Computing 1 What is Analog and Digital The interpretation of an analog signal would correspond to a signal whose
More informationCOE 202: Digital Logic Design Number Systems Part 2. Dr. Ahmad Almulhem ahmadsm AT kfupm Phone: Office:
COE 0: Digital Logic Design Number Systems Part Dr. Ahmad Almulhem Email: ahmadsm AT kfupm Phone: 860-7554 Office: -34 Objectives Arithmetic operations: Binary number system Other number systems Base Conversion
More informationLecture (01) Introduction Number Systems and Conversion (1)
Lecture (01) Introduction Number Systems and Conversion (1) By: Dr. Ahmed ElShafee ١ Digital systems Digital systems are used in communication, business transactions, traffic control, spacecraft guidance,
More informationCHW 261: Logic Design
CHW 261: Logic Design Instructors: Prof. Hala Zayed Dr. Ahmed Shalaby http://www.bu.edu.eg/staff/halazayed14 http://bu.edu.eg/staff/ahmedshalaby14# Slide 1 Slide 2 Slide 3 Digital Fundamentals CHAPTER
More informationDIGITAL SYSTEM DESIGN
DIGITAL SYSTEM DESIGN UNIT I: Introduction to Number Systems and Boolean Algebra Digital and Analog Basic Concepts, Some history of Digital Systems-Introduction to number systems, Binary numbers, Number
More information2 Number Systems 2.1. Foundations of Computer Science Cengage Learning
2 Number Systems 2.1 Foundations of Computer Science Cengage Learning 2.2 Objectives After studying this chapter, the student should be able to: Understand the concept of number systems. Distinguish between
More informationReview of Number Systems
Review of Number Systems The study of number systems is important from the viewpoint of understanding how data are represented before they can be processed by any digital system including a digital computer.
More informationChapter 2. Positional number systems. 2.1 Signed number representations Signed magnitude
Chapter 2 Positional number systems A positional number system represents numeric values as sequences of one or more digits. Each digit in the representation is weighted according to its position in the
More informationChapter 2 Binary Values and Number Systems
Chapter 2 Binary Values and Number Systems Chapter Goals 10 進位 2 / 8 / 16 進位 進位系統間轉換 各進位系統小數表示 各進位系統加減法 各進位系統乘除法 2 24 6 Numbers Natural Numbers Zero and any number obtained by repeatedly adding one to
More informationCOMP Overview of Tutorial #2
COMP 1402 Winter 2008 Tutorial #2 Overview of Tutorial #2 Number representation basics Binary conversions Octal conversions Hexadecimal conversions Signed numbers (signed magnitude, one s and two s complement,
More informationBinary Codes. Dr. Mudathir A. Fagiri
Binary Codes Dr. Mudathir A. Fagiri Binary System The following are some of the technical terms used in binary system: Bit: It is the smallest unit of information used in a computer system. It can either
More informationDigital Fundamentals
Digital Fundamentals Tenth Edition Floyd Chapter 1 Modified by Yuttapong Jiraraksopakun Floyd, Digital Fundamentals, 10 th 2008 Pearson Education ENE, KMUTT ed 2009 Analog Quantities Most natural quantities
More informationDigital Systems and Binary Numbers
Digital Systems and Binary Numbers Prof. Wangrok Oh Dept. of Information Communications Eng. Chungnam National University Prof. Wangrok Oh(CNU) 1 / 51 Overview 1 Course Summary 2 Binary Numbers 3 Number-Base
More information计算机信息表达. Information Representation 刘志磊天津大学智能与计算学部
计算机信息表达 刘志磊天津大学智能与计算学部 Bits & Bytes Bytes & Letters More Bytes Bit ( 位 ) the smallest unit of storage Everything in a computer is 0 s and 1 s Bits why? Computer Hardware Chip uses electricity 0/1 states
More informationChapter 1 Preliminaries
Chapter 1 Preliminaries This chapter discusses the major classes of programming languages and the relationship among them. It also discusses the binary and the hexadecimal number systems which are used
More informationElectronic Data and Instructions
Lecture 2 - The information Layer Binary Values and Number Systems, Data Representation. Know the different types of numbers Describe positional notation Convert numbers in other bases to base 10 Convert
More informationNumbering systems. Dr Abu Arqoub
Numbering systems The decimal numbering system is widely used, because the people Accustomed (معتاد) to use the hand fingers in their counting. But with the development of the computer science another
More informationDigital Logic Lecture 2 Number Systems
Digital Logic Lecture 2 Number Systems By Ghada Al-Mashaqbeh The Hashemite University Computer Engineering Department Outline Introduction. Basic definitions. Number systems types. Conversion between different
More informationLogic Circuits I ECE 1411 Thursday 4:45pm-7:20pm. Nathan Pihlstrom.
Logic Circuits I ECE 1411 Thursday 4:45pm-7:20pm Nathan Pihlstrom www.uccs.edu/~npihlstr My Background B.S.E.E. from Colorado State University M.S.E.E. from Colorado State University M.B.A. from UCCS Ford
More informationCS & IT Conversions. Magnitude 10,000 1,
CS & IT Conversions There are several number systems that you will use when working with computers. These include decimal, binary, octal, and hexadecimal. Knowing how to convert between these number systems
More informationComputer Number Systems Supplement
Computer Number Systems Supplement Dr. Ken Hoganson, All Rights Reserved. SUPPLEMENT CONTENTS S.1 Decimal System: Powers-of-the-Base 2 S.2 Converting to Binary: Division/Remainder Algorithm. 3 S.3 Binary
More informationIntroduction to Computer Science (I1100) With 1 coin 2 possibilities: Head / Tail or 0/1
With 1 coin 2 possibilities: Head / Tail or 0/1 77 What if I have 2 coins?! 0 0 With 2 coins, I can have 4 possibilities 0 1 1 0 1 1 With 3 coins, I can have 2*2*2=8 possibilities With 4 coins, I can have
More informationDec Hex Bin ORG ; ZERO. Introduction To Computing
Dec Hex Bin 0 0 00000000 ORG ; ZERO Introduction To Computing OBJECTIVES this chapter enables the student to: Convert any number from base 2, base 10, or base 16 to any of the other two bases. Add and
More informationCHAPTER 2 Number Systems
CHAPTER 2 Number Systems Objectives After studying this chapter, the student should be able to: Understand the concept of number systems. Distinguish between non-positional and positional number systems.
More informationDIGITAL SYSTEM FUNDAMENTALS (ECE 421) DIGITAL ELECTRONICS FUNDAMENTAL (ECE 422) COURSE / CODE NUMBER SYSTEM
COURSE / CODE DIGITAL SYSTEM FUNDAMENTALS (ECE 421) DIGITAL ELECTRONICS FUNDAMENTAL (ECE 422) NUMBER SYSTEM A considerable subset of digital systems deals with arithmetic operations. To understand the
More informationChapter 3 DATA REPRESENTATION
Page1 Chapter 3 DATA REPRESENTATION Digital Number Systems In digital systems like computers, the quantities are represented by symbols called digits. Many number systems are in use in digital technology
More informationNumber Systems and Binary Arithmetic. Quantitative Analysis II Professor Bob Orr
Number Systems and Binary Arithmetic Quantitative Analysis II Professor Bob Orr Introduction to Numbering Systems We are all familiar with the decimal number system (Base 10). Some other number systems
More informationLogic and Computer Design Fundamentals. Chapter 1 Digital Computers and Information
Logic and Computer Design Fundamentals Chapter 1 Digital Computers and Information Overview Digital Systems and Computer Systems Information Representation Number Systems [binary, octal and hexadecimal]
More informationChapter 1. Digital Systems and Binary Numbers
Chapter 1. Digital Systems and Binary Numbers Tong In Oh 1 1.1 Digital Systems Digital age Characteristic of digital system Generality and flexibility Represent and manipulate discrete elements of information
More informationBinary Systems and Codes
1010101010101010101010101010101010101010101010101010101010101010101010101010101010 1010101010101010101010101010101010101010101010101010101010101010101010101010101010 1010101010101010101010101010101010101010101010101010101010101010101010101010101010
More informationBinary Representations and Arithmetic
Binary Representations and Arithmetic 9--26 Common number systems. Base : decimal Base 2: binary Base 6: hexadecimal (memory addresses) Base 8: octal (obsolete computer systems) Base 64 (email attachments,
More informationChapter Binary Representation of Numbers
Chapter 4 Binary Representation of Numbers After reading this chapter, you should be able to: convert a base- real number to its binary representation,. convert a binary number to an equivalent base- number.
More informationNumber Systems Base r
King Fahd University of Petroleum & Minerals Computer Engineering Dept COE 2 Fundamentals of Computer Engineering Term 22 Dr. Ashraf S. Hasan Mahmoud Rm 22-44 Ext. 724 Email: ashraf@ccse.kfupm.edu.sa 3/7/23
More information1. NUMBER SYSTEMS USED IN COMPUTING: THE BINARY NUMBER SYSTEM
1. NUMBER SYSTEMS USED IN COMPUTING: THE BINARY NUMBER SYSTEM 1.1 Introduction Given that digital logic and memory devices are based on two electrical states (on and off), it is natural to use a number
More informationLECTURE 1-2. Introduction and Number Systems
LECTURE 1-2 Introduction and Number Systems 1 BASIC INFORMATION Course Code: CSE 115 Course Title: Computing Concepts Course Teacher: Dr. Muhammad Asif H. Khan (Mfs), Associate Professor, Dept. of Computer
More informationCMSC 313 COMPUTER ORGANIZATION & ASSEMBLY LANGUAGE PROGRAMMING LECTURE 01, SPRING 2013
CMSC 313 COMPUTER ORGANIZATION & ASSEMBLY LANGUAGE PROGRAMMING LECTURE 01, SPRING 2013 TOPICS TODAY Course overview Levels of machines Machine models: von Neumann & System Bus Fetch-Execute Cycle Base
More informationNUMBER SYSTEMS AND CODES
C H A P T E R 69 Learning Objectives Number Systems The Decimal Number System Binary Number System Binary to Decimal Conversion Binary Fractions Double-Dadd Method Decimal to Binary Conversion Shifting
More informationChapter 1 Emad Felemban
Chapter 1 Emad Felemban Digital Computers and Digital Systems Binary Numbers Number Base Conversion Octal and Hexadecimal Numbers Complements Singed Binary Numbers Binary Codes Binary Storage and Registers
More informationChapter 2 Exercises and Answers
Chapter 2 Exercises and nswers nswers are in blue. For Exercises -5, match the following numbers with their definition.. Number. Natural number C. Integer number D. Negative number E. Rational number unit
More informationUNIT1: COMPUTERNUMBER SYSTEM
UNIT1: COMPUTERNUMBER SYSTEM Binary,Decimal, Octal and Hexadecimal Number-Base Conversions Addition, Subtraction and Multiplication of Computer Number System Compliment (1 s, 2's and r s complement) Signed
More informationNumber Systems Prof. Indranil Sen Gupta Dept. of Computer Science & Engg. Indian Institute of Technology Kharagpur Number Representation
Number Systems Prof. Indranil Sen Gupta Dept. of Computer Science & Engg. Indian Institute of Technology Kharagpur 1 Number Representation 2 1 Topics to be Discussed How are numeric data items actually
More informationAudio Text for the Lesson: Counting Systems
Audio Text for the Lesson: Counting Systems Part 1: Introduction (2 minutes) Peace, mercy and blessings of Allah Welcome everyone in this lesson Allow me to introduce myself, my name is Abdullah Saleh
More informationLevel ISA3: Information Representation
Level ISA3: Information Representation 1 Information as electrical current At the lowest level, each storage unit in a computer s memory is equipped to contain either a high or low voltage signal Each
More informationCC411: Introduction To Microprocessors
CC411: Introduction To Microprocessors OBJECTIVES this chapter enables the student to: Use number { base 2, base 10, or base 16 }. Add and subtract binary/hex numbers. Represent any binary number in 2
More informationData Representation 1
1 Data Representation Outline Binary Numbers Adding Binary Numbers Negative Integers Other Operations with Binary Numbers Floating Point Numbers Character Representation Image Representation Sound Representation
More informationElectronics Engineering ECE / E & T
STUDENT COPY DIGITAL ELECTRONICS 1 SAMPLE STUDY MATERIAL Electronics Engineering ECE / E & T Postal Correspondence Course GATE, IES & PSUs Digital Electronics 2015 ENGINEERS INSTITUTE OF INDIA. All Rights
More informationNumber Systems and Conversions UNIT 1 NUMBER SYSTEMS & CONVERSIONS. Number Systems (2/2) Number Systems (1/2) Iris Hui-Ru Jiang Spring 2010
Contents Number systems and conversion Binary arithmetic Representation of negative numbers Addition of two s complement numbers Addition of one s complement numbers Binary s Readings Unit.~. UNIT NUMBER
More informationChapter 2: Number Systems
Chapter 2: Number Systems Logic circuits are used to generate and transmit 1s and 0s to compute and convey information. This two-valued number system is called binary. As presented earlier, there are many
More informationECE 2020B Fundamentals of Digital Design Spring problems, 6 pages Exam Two 26 February 2014
Instructions: This is a closed book, closed note exam. Calculators are not permitted. If you have a question, raise your hand and I will come to you. Please work the exam in pencil and do not separate
More information1010 2?= ?= CS 64 Lecture 2 Data Representation. Decimal Numbers: Base 10. Reading: FLD Digits: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
CS 64 Lecture 2 Data Representation Reading: FLD 1.2-1.4 Decimal Numbers: Base 10 Digits: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 Example: 3271 = (3x10 3 ) + (2x10 2 ) + (7x10 1 ) + (1x10 0 ) 1010 10?= 1010 2?= 1
More information9/3/2015. Data Representation II. 2.4 Signed Integer Representation. 2.4 Signed Integer Representation
Data Representation II CMSC 313 Sections 01, 02 The conversions we have so far presented have involved only unsigned numbers. To represent signed integers, computer systems allocate the high-order bit
More informationECE 2020B Fundamentals of Digital Design Spring problems, 6 pages Exam Two Solutions 26 February 2014
Problem 1 (4 parts, 21 points) Encoders and Pass Gates Part A (8 points) Suppose the circuit below has the following input priority: I 1 > I 3 > I 0 > I 2. Complete the truth table by filling in the input
More information1.3 Systems of numeration: To represent quantities in the different systems of numeration, specific symbols are used, which are also called ciphers.
Chapter One 1.1 Introduction: Numbers are used to express quantities. There are many numerations systems used in the field of digital electronics, one of the most important being the binary system of numeration
More informationFundamentals of Programming Session 2
Fundamentals of Programming Session 2 Instructor: Reza Entezari-Maleki Email: entezari@ce.sharif.edu 1 Fall 2013 Sharif University of Technology Outlines Programming Language Binary numbers Addition Subtraction
More informationLOGIC DESIGN. Dr. Mahmoud Abo_elfetouh
LOGIC DESIGN Dr. Mahmoud Abo_elfetouh Course objectives This course provides you with a basic understanding of what digital devices are, how they operate, and how they can be designed to perform useful
More informationChap.3 3. Chap reduces the complexity required to represent the schematic diagram of a circuit Library
3.1 Combinational Circuits 2 Chap 3. logic circuits for digital systems: combinational vs sequential Combinational Logic Design Combinational Circuit (Chap 3) outputs are determined by the present applied
More informationLesson Plan. Preparation
Math Practicum in Information Technology Lesson Plan Performance Objective Upon completion of this lesson, each student will be able to convert between different numbering systems and correctly write mathematical
More informationCMPE223/CMSE222 Digital Logic Design. Positional representation
CMPE223/CMSE222 Digital Logic Design Number Representation and Arithmetic Circuits: Number Representation and Unsigned Addition Positional representation First consider integers Begin with positive only
More informationDigital Fundamentals
Digital Fundamentals Tenth Edition Floyd Chapter 2 2009 Pearson Education, Upper 2008 Pearson Saddle River, Education NJ 07458. All Rights Reserved Quiz 2 Agenda Lecture: Chapter 2 (2-7 through 2-11):
More information6. Binary and Hexadecimal
COMP1917 15s2 6. Binary and Hexadecimal 1 COMP1917: Computing 1 6. Binary and Hexadecimal Reading: Moffat, Section 13.2 Outline Number Systems Binary Computation Converting between Binary and Decimal Octal
More informationAgenda EE 224: INTRODUCTION TO DIGITAL CIRCUITS & COMPUTER DESIGN. Lecture 1: Introduction. Go over the syllabus 3/31/2010
// EE : INTRODUCTION TO DIGITAL CIRCUITS & COMPUTER DESIGN Lecture : Introduction /9/ Avinash Kodi, kodi@ohio.edu Agenda Go over the syllabus Introduction ti to Digital it Systems // Why Digital Systems?
More informationGoals for this Week. CSC 2400: Computer Systems. Bits, Bytes and Data Types. Binary number system. Finite representations of binary integers
CSC 2400: Computer Systems Bits, Bytes and Data Types 1 Goals for this Week Binary number system Why binary? Converting between decimal and binary and octal and hexadecimal number systems Finite representations
More informationIntroduction to Numbering Systems
NUMBER SYSTEM Introduction to Numbering Systems We are all familiar with the decimal number system (Base 10). Some other number systems that we will work with are Binary Base 2 Octal Base 8 Hexadecimal
More information