Cis303a_chapt03_exam1_answer.ppt CIS303A: System Architecture Exam 1: Chapter 3 Answer List the characters (digits) for the following bases. 1) Decimal:

Slides:



Advertisements
Similar presentations
NUMBER SYSTEM. How to convert hexadecimal numbers to decimal numbers? 230 Working from right to left, MULTIPLY each position with 8 raised to the power.
Advertisements

DATA REPRESENTATION CONVERSION.
Number SystemsNumber Systems Modified By: AM. Sihan (Hardware Engineering)
Number Systems. 2 The total number of allowable symbols in a number system is called the radix or base of the system. Decimal Numbers: radix = 10 (symbols:
Decimal Addition What is going on? (carry) (subtract the base)
Prepared By Rama Gaikwad 1. Number Systems. Common Number Systems SystemBaseSymbols Used by humans? Used in computers? Decimal100, 1, … 9YesNo Binary20,
Number Systems and Codes In PLC
Number systems Converting numbers between binary, octal, decimal, hexadecimal (the easy way)
Numbering Systems Decimal (Denary) base 10. Clumsy when dealing with computers. Other systems –Binary –Octal –Hexadecimal Convenient when dealing with.
Data Storage Introduction to computer, 2nd semester, 2010/2011 Mr.Nael Aburas Faculty of Information Technology Islamic.
Number Systems.
Supplemental Chapter Number Bases
Conversion of Number System Conversion Among Bases The possibilities: Hexadecimal DecimalOctal Binary
NUMBER SYSTEMS Prepared By K.Anitha Associate Professor Dept of ECE PVPSIT.
Chapter 2 Binary Values and Number Systems. 2 2 Natural Numbers Zero and any number obtained by repeatedly adding one to it. Examples: 100, 0, 45645,
Number systems, Operations, and Codes
Number Base Conversions
Number Systems Binary to Decimal Octal to Decimal Hexadecimal to Decimal Binary to Octal Binary to Hexadecimal Two’s Complement.
Conversions Denary to Binary Method 1
Number System sneha.
Octal to Decimal Hexadecimal DecimalOctal Binary.
Positional Number Systems Decimal, Binary, Octal and Hexadecimal Numbers Wakerly Section
DECIMALBINARY a) b) c) d) e) f) Revision Exercise DECIMALBINARY a) b) c)
Binary01.ppt Decimal Decimal: Base 10 means 10 Unique numerical digits ,00010,000 Weight Positions 3,
Discrete Mathematics Numbering System.
Computer Number System
1. Number Systems Chapt. 2 Location in course textbook.
CS 160 Lecture 4 Martin van Bommel. Overflow In 16-bit two’s complement, what happens if we add =
ITEC 1011 Introduction to Information Technologies 1. Number Systems Chapt. 2 Location in course textbook.
ECE 362 Microprocessor Systems and Interfacing ©5-1 Lecture 1 Hexadecimal Computation Outline n Decimal n Binary n Octal n Hexadecimal.
Number System Base b Use only digits of 0, 1, 2,…., b-1 Positional weights X = a n-1 b n-1 + a n-2 b n-2 + …. + a 0 b = 1x x10 1 +
1. Number Systems. Common Number Systems SystemBaseSymbols Used by humans? Used in computers? Decimal100, 1, … 9YesNo Binary20, 1NoYes Octal80, 1, … 7No.
Number Systems. Topics  The Decimal Number System  The Binary Number System  Converting from Binary to Decimal  Converting from Decimal to Binary.
Computer Studies Today Chapter 19 1 Chapter 19. Computer Studies Today Chapter 19 2 »Information stored in a computer is in two states: –ON –OFF.
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.
Chapter 01 Numbers. Chapter 02 Base 10 example Decimal Number Place Place (place - 1) ===============================
Chapter 32 Binary Number System. Objectives After completing this chapter, you will be able to: –Describe the binary number system –Identify the place.
Chapter 5 NUMBER REPRESENTATION AND ARITHMETIC CIRCUITS.
Conversions 1)Binary to Denary Method 1 Work out the position values of the binary bits and add those values together So above would be
Some basic concepts underlying computer archi­tecture
Positional Number Systems Decimal, Binary, Octal and Hexadecimal Numbers Wakerly Section
Digital Design Chapter One Digital Systems and Binary Numbers
Octal to Decimal Decimal Octal Binary Hexadecimal.
Discrete Mathematics Numbering System.
NUMBER SYSTEM Prepared by: Engr Zakria.
Integer Real Numbers Character Boolean Memory Address CPU Data Types
Base ‘b’ number for i = 0 to n – 1 for an n digit quantity
CSE 102 Introduction to Computer Engineering
Location in course textbook
Chapter 1 Number Systems & Conversions
Data Storage Introduction to computer, 2nd semester, 2010/2011
Binary Quiz UIN: ____________________
Number Systems and Binary Arithmetic
Number Systems Base 2, 10, 16.
Numbering Systems and Arithmetic operations on Hex, binary, and octal
Binary, Octal and Hex Numbers Copyright Thaddeus Konar
Digital Electronics and Microprocessors
Chapter 2: Number Systems
Binary Lesson 3 Hexadecimal
Binary Lesson 3 Hexadecimal
Number Systems created by: S.Shahrukh haider
Chapter 2 Number Systems.
Binary Addition (1 of 2) Two 1-bit values A B A + B 1
Chapter 2 Number Systems.
Chapter 2 Number Systems.
Number systems Converting numbers between binary, octal, decimal, hexadecimal (the easy way)
Chapter 2 Number Systems.
1. Number Systems Chapt. 2.
Presentation transcript:

Cis303a_chapt03_exam1_answer.ppt CIS303A: System Architecture Exam 1: Chapter 3 Answer List the characters (digits) for the following bases. 1) Decimal: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 2) Octal: 0, 1, 2, 3, 4, 5, 6, 7 3) Binary: 0, 1 4) Hexadecimal: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F What base(s) could these numbers represent? (circle those that apply) 5) Decimal Octal Binary Hexadecimal 6) 1 7 C 2 D Decimal Octal Binary Hexadecimal 7) Decimal Octal Binary Hexadecimal 8) Decimal Octal Binary Hexadecimal Add these decimal numbers. (show work) 13) ) What base(s) do these numbers represent? (circle those that apply) 9) Decimal Octal Binary Hexadecimal 10) 1 7 C 2 D 16 Decimal Octal Binary Hexadecimal 11) Decimal Octal Binary Hexadecimal 12) Decimal Octal Binary Hexadecimal 40 10

Cis303a_chapt03_exam1_answer.ppt CIS303A: System Architecture Exam 1: Chapter 3 Answer Add these binary numbers. (show work) 15) Carry Carry Carry Carry Carry No Carry No Carry

Cis303a_chapt03_exam1_answer.ppt CIS303A: System Architecture Exam 1: Chapter 3 Answer Add these octal numbers. 16) etc.

Cis303a_chapt03_exam1_answer.ppt CIS303A: System Architecture Exam 1: Chapter 3 Answer Add these hexadecimal numbers. 17)2 A F A F A A B C D E F A B C D E F etc. 2 A F 6 F A A F 6 F A A 3 4 A 5 3 F A E 1 2 A F E 2 A A F E 2 A

Cis303a_chapt03_exam1_answer.ppt CIS303A: System Architecture Exam 1: Chapter 3 Answer Convert this decimal number to binary. 18) (remaining number) (largest number not exceeding remainder ) (mark this bit as ‘on’ = ‘1’) (new remaining number) (remaining number) (largest number not exceeding remainder ) (mark this bit as ‘on’ = ‘1’) (new remaining number) Skip because it is too large to go into (remaining number) Mark position as ‘off’ = ‘0’ Skip 4096 because it is too large to go into 2317 (remaining number) Mark position as ‘off’ = ‘0’ (remaining number) (largest number not exceeding remainder ) (mark this bit as ‘on’ = ‘1’) (new remaining number) Skip 1024 because it is too large to go into 269 (remaining number) Mark position as ‘off’ = ‘0’ Skip 512 because it is too large to go into 269 (remaining number) Mark position as ‘off’ = ‘0’ Positional weight values

Cis303a_chapt03_exam1_answer.ppt CIS303A: System Architecture Exam 1: Chapter 3 Answer (remaining number) (largest number not exceeding remainder - 269) (mark this bit as ‘on’ = ‘1’) 1 3 (new remaining number) Skip 128 because it is too large to go into 13 (remaining number) Mark position as ‘off’ = ‘0’ Skip 64 because it is too large to go into 13 (remaining number) Mark position as ‘off’ = ‘0’ Skip 32 because it is too large to go into 13 (remaining number) Mark position as ‘off’ = ‘0’ Skip 16 because it is too large to go into 13 (remaining number) Mark position as ‘off’ = ‘0’ 1 3 (remaining number) - 8 (largest number not exceeding remainder - 13) (mark this bit as ‘on’ = ‘1’) 5 (new remaining number) 5 (remaining number) - 4 (largest number not exceeding remainder - 5) (mark this bit as ‘on’ = ‘1’) 1 (new remaining number) Skip 2 because it is too large to go into 1 (remaining number) Mark position as ‘off’ = ‘0’ 1 (remaining number) - 1 (largest number not exceeding remainder - 1) (mark this bit as ‘on’ = ‘1’) 0 (new remaining number) Process Completed

Cis303a_chapt03_exam1_answer.ppt CIS303A: System Architecture Exam 1: Chapter 3 Answer Convert this binary number to decimal. 19) Positional weight values Add the values of the bits that are ‘on’ = ‘1’

Cis303a_chapt03_exam1_answer.ppt CIS303A: System Architecture Exam 1: Chapter 3 Answer Convert this binary number to octal. 20) )Separate bits into groups of three (3) 2)Determine octal number

Cis303a_chapt03_exam1_answer.ppt CIS303A: System Architecture Exam 1: Chapter 3 Answer Convert this binary number to hexadecimal. 21) )Separate bits into groups of four (4) 2)Determine hex number A1010 B1011 C1100 D1101 E1110 F A 9 0 D