SIT153 Introduction to Computation

Size: px
Start display at page:

Download "SIT153 Introduction to Computation"

Transcription

1 SIT153 Introduction to Computation Lecture 1.4 Number Systems IV chapter 2 11 Feb 2016

2 Admin matters (1) for the next 2 weeks Study units: (1) Number systems (2) Data storage Week Date Day Activity Topic Txt. bk. chapter 2 8 Feb Mon 9 Feb Tues 10 Feb Wed Lectures: L Feb Thur Lectures: L1.4 Practical 1, Blue 3 Lab 12 Feb Fri Number systems ch Feb Mon 16 Feb Tues 17 Feb Wed Lectures: L Feb Thur Lectures: L2.2 Practical 2, Blue 3 Lab 19 Feb Fri Data storage ch 3 2

3 To be discussed in this lecture (1) Last lecture Conversion of fractions and reals between number systems This lecture Conversion between binary, octal & Hex number systems Alternative method of conversion dec->bin for small integer values Find the number of digits needed in each system to represent a particular value. 3

4 To be discussed in this lecture (2) Conversion of integers between number systems binary to octal, octal to binary binary to hexadecimal, hexadecimal to binary Conversion of real numbers between number systems binary to octal, octal to binary binary to hexadecimal, hexadecimal to binary 4

5 Binary to octal & octal to binary conversion (1) Binary to octal: Each group of 3 bits is translated into one octal digit. Octal to binary: Each octal digit is translated into a group of 3 binary digits. 2.5 Binary digits Octal digit

6 Binary to octal & octal to binary conversion (2) Example: Show the octal equivalent of the binary number ( ) 2. Solution Each group of three bits is translated into one octal digit The result is (562) 8. Class exercise: Show the octal equivalent of each of the binary numbers below: a. ( ) 2 this an 8-bit number 2.6 b. ( ) 2 this is a 16-bit number

7 Binary to octal & octal to binary conversion (2) Example: What is the binary equivalent of (24) 8? Solution Write each octal digit as its equivalent bit pattern to get and The result is (010100) 2. Class exercise: What is the binary equivalent: 2.7 a. (74) 8 as an 8-bit number b. (2437) 8 as a 16-bit number

8 Binary to hex & hex to binary conversion (1) Binary to hex: Each group of 4 bits is translated into one hex digit. Hex to binary: Each hex digit is translated into a group of 4 binary digits. 2.8 Binary digits Hex digit A B C D E F

9 Binary to hex & hex to binary conversion (2) Example: Show the hexadecimal equivalent of the binary number ( ) 2. Solution first arrange the binary number in 4-bit patterns (right-to-left): E The result is (4E2) 16. Class exercise: Show the hex equivalent of each of the binary numbers below: a. ( ) 2 this an 8-bit number 2.9 b. ( ) 2 this is a 16-bit number

10 Binary to hex & hex to binary conversion (2) Example: What is the binary equivalent of (24C) 16? Solution Each hexadecimal digit is converted to 4-bit patterns: C The result is ( ) 2. Class exercise: What is the binary equivalent: 2.10 a. (CD) 16 as an 8-bit number b. (7FFF) 16 as a 16-bit number

11 Binary to Octal & to hex conversion (fractions) Consider: Binary: ( ) 2 Group fraction digits from left to right & pad with zeros on the right if necessary. To Octal: ( ) 2 = (0.24) 8 Note: padding with zero to the right To Hex: ( ) 2 = (0.50) 16 Note: padding with zero to the right Checking the conversion: decimal Bin: Octal: Hex:

12 Octal to hex & hex to octal conversion: integers(1) order of conversion LEFT RIGHT NOTE: Grouping of binary digits is done from right to left. Class exercise: Convert the following octal numbers to hexadecimal: 2.12 a. (74) 8 b. (2437) 8

13 Octal to hex & hex to octal conversion: integer (2) order of conversion LEFT RIGHT AGAIN: Grouping of binary digits is done from right to left. Class exercise: Convert the following hex numbers to octal: 2.13 a. (CD) 16 b. (7FFF) 16

14 Conversion of real numbers Binary to Octal, Octal to binary Binary to Hex, Hex to binary Octal to hex, hex to octal Procedure: (1) Convert integer part (2) Convert fraction part (3) Combine digits 14

15 Alternative method of conversion An alternative method for converting a small decimal integer (usually less than 256) to binary is to break the number as the sum of numbers that are equivalent to the binary place values shown: Working: = 37 => digit for 2 7 is = 5 => digit for 2 5 is = 1 => digit for 2 2 is 1 & digit for 2 0 is Fractions: reading for the student

16 Number of digits required to store integers (1) Given: b is the base k is the number of digits and integer is: S k-1 S k-2...s 2 S 1 S 0 What is the largest integer that can be represented using k digits in base b? Answer:??? What is the decimal equivalent of this number? Answer:??? Base b number of digits k Largest integer in base b Decimal equivalent Note: b k = = = = FFFF =

17 Number of digits required to store integers (2) Given: b is the base k is the number of digits and integer is: S k-1 S k-2...s 2 S 1 S 0 What is the largest integer that can be represented using k digits in base b? Answer: number with k digits where each digit S i is (b-1) What is the decimal equivalent of this number? Answer: b k - 1 Base b number of digits k Largest integer in base b Decimal equivalent Note: b k = = = = FFFF =

18 Example 2.23 HOMEWORK: Find the minimum number of binary digits required to store decimal integers with a maximum of six digits. Solution k = 6, b 1 = 10, and b 2 = 2. Then x = k (logb 1 / logb 2 ) = 6 (1 / ) = 20. The largest 6-digit decimal number is 999,999 and the largest 20-bit binary number is 1,048,575. Note that the largest number that can be represented by a 19-bit number is , which is smaller than 999,999. We definitely need twenty bits. 2.18

2 Number Systems. Source: Foundations of Computer Science Cengage Learning. Objectives After studying this chapter, the student should be able to:

2 Number Systems. Source: Foundations of Computer Science Cengage Learning. Objectives After studying this chapter, the student should be able to: 2 Number Systems 2.1 Source: Foundations of Computer Science Cengage Learning Objectives After studying this chapter, the student should be able to: Understand the concept of number systems. Distinguish

More information

CSI 333 Lecture 1 Number Systems

CSI 333 Lecture 1 Number Systems CSI 333 Lecture 1 Number Systems 1 1 / 23 Basics of Number Systems Ref: Appendix C of Deitel & Deitel. Weighted Positional Notation: 192 = 2 10 0 + 9 10 1 + 1 10 2 General: Digit sequence : d n 1 d n 2...

More information

Useful Number Systems

Useful Number Systems Useful Number Systems Decimal Base = 10 Digit Set = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9} Binary Base = 2 Digit Set = {0, 1} Octal Base = 8 = 2 3 Digit Set = {0, 1, 2, 3, 4, 5, 6, 7} Hexadecimal Base = 16 = 2

More information

Lecture 11: Number Systems

Lecture 11: Number Systems Lecture 11: Number Systems Numeric Data Fixed point Integers (12, 345, 20567 etc) Real fractions (23.45, 23., 0.145 etc.) Floating point such as 23. 45 e 12 Basically an exponent representation Any number

More information

Oct: 50 8 = 6 (r = 2) 6 8 = 0 (r = 6) Writing the remainders in reverse order we get: (50) 10 = (62) 8

Oct: 50 8 = 6 (r = 2) 6 8 = 0 (r = 6) Writing the remainders in reverse order we get: (50) 10 = (62) 8 ECE Department Summer LECTURE #5: Number Systems EEL : Digital Logic and Computer Systems Based on lecture notes by Dr. Eric M. Schwartz Decimal Number System: -Our standard number system is base, also

More information

COMPSCI 210. Binary Fractions. Agenda & Reading

COMPSCI 210. Binary Fractions. Agenda & Reading COMPSCI 21 Binary Fractions Agenda & Reading Topics: Fractions Binary Octal Hexadecimal Binary -> Octal, Hex Octal -> Binary, Hex Decimal -> Octal, Hex Hex -> Binary, Octal Animation: BinFrac.htm Example

More information

Chapter Binary, Octal, Decimal, and Hexadecimal Calculations

Chapter Binary, Octal, Decimal, and Hexadecimal Calculations Chapter 5 Binary, Octal, Decimal, and Hexadecimal Calculations This calculator is capable of performing the following operations involving different number systems. Number system conversion Arithmetic

More information

3. Convert a number from one number system to another

3. Convert a number from one number system to another 3. Convert a number from one number system to another Conversion between number bases: Hexa (16) Decimal (10) Binary (2) Octal (8) More Interest Way we need conversion? We need decimal system for real

More information

Goals. Unary Numbers. Decimal Numbers. 3,148 is. 1000 s 100 s 10 s 1 s. Number Bases 1/12/2009. COMP370 Intro to Computer Architecture 1

Goals. Unary Numbers. Decimal Numbers. 3,148 is. 1000 s 100 s 10 s 1 s. Number Bases 1/12/2009. COMP370 Intro to Computer Architecture 1 Number Bases //9 Goals Numbers Understand binary and hexadecimal numbers Be able to convert between number bases Understand binary fractions COMP37 Introduction to Computer Architecture Unary Numbers Decimal

More information

Chapter 7 Lab - Decimal, Binary, Octal, Hexadecimal Numbering Systems

Chapter 7 Lab - Decimal, Binary, Octal, Hexadecimal Numbering Systems Chapter 7 Lab - Decimal, Binary, Octal, Hexadecimal Numbering Systems This assignment is designed to familiarize you with different numbering systems, specifically: binary, octal, hexadecimal (and decimal)

More information

Chapter 2. Binary Values and Number Systems

Chapter 2. Binary Values and Number Systems Chapter 2 Binary Values and Number Systems Numbers Natural numbers, a.k.a. positive integers Zero and any number obtained by repeatedly adding one to it. Examples: 100, 0, 45645, 32 Negative numbers A

More information

Positional Numbering System

Positional Numbering System APPENDIX B Positional Numbering System A positional numbering system uses a set of symbols. The value that each symbol represents, however, depends on its face value and its place value, the value associated

More information

Digital System Design Prof. D Roychoudhry Department of Computer Science and Engineering Indian Institute of Technology, Kharagpur

Digital System Design Prof. D Roychoudhry Department of Computer Science and Engineering Indian Institute of Technology, Kharagpur Digital System Design Prof. D Roychoudhry Department of Computer Science and Engineering Indian Institute of Technology, Kharagpur Lecture - 04 Digital Logic II May, I before starting the today s lecture

More information

Base Conversion written by Cathy Saxton

Base Conversion written by Cathy Saxton Base Conversion written by Cathy Saxton 1. Base 10 In base 10, the digits, from right to left, specify the 1 s, 10 s, 100 s, 1000 s, etc. These are powers of 10 (10 x ): 10 0 = 1, 10 1 = 10, 10 2 = 100,

More information

Decimal to Binary Conversion

Decimal to Binary Conversion Decimal to Binary Conversion A tool that makes the conversion of decimal values to binary values simple is the following table. The first row is created by counting right to left from one to eight, for

More information

Unsigned Conversions from Decimal or to Decimal and other Number Systems

Unsigned Conversions from Decimal or to Decimal and other Number Systems Page 1 of 5 Unsigned Conversions from Decimal or to Decimal and other Number Systems In all digital design, analysis, troubleshooting, and repair you will be working with binary numbers (or base 2). It

More information

Number Conversions Dr. Sarita Agarwal (Acharya Narendra Dev College,University of Delhi)

Number Conversions Dr. Sarita Agarwal (Acharya Narendra Dev College,University of Delhi) Conversions Dr. Sarita Agarwal (Acharya Narendra Dev College,University of Delhi) INTRODUCTION System- A number system defines a set of values to represent quantity. We talk about the number of people

More information

NUMBER SYSTEMS. 1.1 Introduction

NUMBER SYSTEMS. 1.1 Introduction NUMBER SYSTEMS 1.1 Introduction There are several number systems which we normally use, such as decimal, binary, octal, hexadecimal, etc. Amongst them we are most familiar with the decimal number system.

More information

2015 2016 Training. 2015 Assessments. 2016 Assessments NAEP Assessments (selected sample)

2015 2016 Training. 2015 Assessments. 2016 Assessments NAEP Assessments (selected sample) Jan 11 (Mon) ESC training for the 2016 state assessment program Jan 29 (Fri) Completion date for training of district testing coordinators by ESCs Test Date(s) TAKS Oct 19 (Mon) Oct 20 (Tues) Oct 21 (Wed)

More information

Binary Numbers. Binary Octal Hexadecimal

Binary Numbers. Binary Octal Hexadecimal Binary Numbers Binary Octal Hexadecimal Binary Numbers COUNTING SYSTEMS UNLIMITED... Since you have been using the 10 different digits 0, 1, 2, 3, 4, 5, 6, 7, 8, and 9 all your life, you may wonder how

More information

Part-time Diploma in InfoComm and Digital Media (Information Systems) Certificate in Information Systems Course Schedule & Timetable

Part-time Diploma in InfoComm and Digital Media (Information Systems) Certificate in Information Systems Course Schedule & Timetable Certificate in Information Systems Course Schedule & Timetable Module Code Module Title Start Date End Date Coursework Final Exam PTDIS010101 Management Information Tue, April 16, 2013 Tue, 2 April 2013

More information

Machine Architecture and Number Systems. Major Computer Components. Schematic Diagram of a Computer. The CPU. The Bus. Main Memory.

Machine Architecture and Number Systems. Major Computer Components. Schematic Diagram of a Computer. The CPU. The Bus. Main Memory. 1 Topics Machine Architecture and Number Systems Major Computer Components Bits, Bytes, and Words The Decimal Number System The Binary Number System Converting from Decimal to Binary Major Computer Components

More information

THE BINARY NUMBER SYSTEM

THE BINARY NUMBER SYSTEM THE BINARY NUMBER SYSTEM Dr. Robert P. Webber, Longwood University Our civilization uses the base 10 or decimal place value system. Each digit in a number represents a power of 10. For example, 365.42

More information

Number of bits needed to address hosts 8

Number of bits needed to address hosts 8 Advanced Subnetting Example 1: Your ISP has assigned you a Class C network address of 198.47.212.0. You have 3 networks in your company with the largest containing 134 hosts. You need to figure out if

More information

CPEN 214 - Digital Logic Design Binary Systems

CPEN 214 - Digital Logic Design Binary Systems CPEN 4 - Digital Logic Design Binary Systems C. Gerousis Digital Design 3 rd Ed., Mano Prentice Hall Digital vs. Analog An analog system has continuous range of values A mercury thermometer Vinyl records

More information

Lecture 2. Binary and Hexadecimal Numbers

Lecture 2. Binary and Hexadecimal Numbers Lecture 2 Binary and Hexadecimal Numbers Purpose: Review binary and hexadecimal number representations Convert directly from one base to another base Review addition and subtraction in binary representations

More information

CS101 Lecture 11: Number Systems and Binary Numbers. Aaron Stevens 14 February 2011

CS101 Lecture 11: Number Systems and Binary Numbers. Aaron Stevens 14 February 2011 CS101 Lecture 11: Number Systems and Binary Numbers Aaron Stevens 14 February 2011 1 2 1 3!!! MATH WARNING!!! TODAY S LECTURE CONTAINS TRACE AMOUNTS OF ARITHMETIC AND ALGEBRA PLEASE BE ADVISED THAT CALCULTORS

More information

LSN 2 Number Systems. ECT 224 Digital Computer Fundamentals. Department of Engineering Technology

LSN 2 Number Systems. ECT 224 Digital Computer Fundamentals. Department of Engineering Technology LSN 2 Number Systems Department of Engineering Technology LSN 2 Decimal Number System Decimal number system has 10 digits (0-9) Base 10 weighting system... 10 5 10 4 10 3 10 2 10 1 10 0. 10-1 10-2 10-3

More information

Memory Management Simulation Interactive Lab

Memory Management Simulation Interactive Lab Memory Management Simulation Interactive Lab The purpose of this lab is to help you to understand deadlock. We will use a MOSS simulator for this. The instructions for this lab are for a computer running

More information

Chapter 4: Computer Codes

Chapter 4: Computer Codes Slide 1/30 Learning Objectives In this chapter you will learn about: Computer data Computer codes: representation of data in binary Most commonly used computer codes Collating sequence 36 Slide 2/30 Data

More information

LAUREA MAGISTRALE - CURRICULUM IN INTERNATIONAL MANAGEMENT, LEGISLATION AND SOCIETY. 1st TERM (14 SEPT - 27 NOV)

LAUREA MAGISTRALE - CURRICULUM IN INTERNATIONAL MANAGEMENT, LEGISLATION AND SOCIETY. 1st TERM (14 SEPT - 27 NOV) LAUREA MAGISTRALE - CURRICULUM IN INTERNATIONAL MANAGEMENT, LEGISLATION AND SOCIETY 1st TERM (14 SEPT - 27 NOV) Week 1 9.30-10.30 10.30-11.30 11.30-12.30 12.30-13.30 13.30-14.30 14.30-15.30 15.30-16.30

More information

2015 2016 STUDENT ASSESSMENT TESTING CALENDAR

2015 2016 STUDENT ASSESSMENT TESTING CALENDAR Jan (date TBD) ESC training for the 2016 state assessment program Jan (date TBD) Completion date for training of district testing coordinators by ESCs Test Date(s) TAKS Oct 19 (Mon) Oct 20 (Tues) Oct 21

More information

HOMEWORK # 2 SOLUTIO

HOMEWORK # 2 SOLUTIO HOMEWORK # 2 SOLUTIO Problem 1 (2 points) a. There are 313 characters in the Tamil language. If every character is to be encoded into a unique bit pattern, what is the minimum number of bits required to

More information

Solution for Homework 2

Solution for Homework 2 Solution for Homework 2 Problem 1 a. What is the minimum number of bits that are required to uniquely represent the characters of English alphabet? (Consider upper case characters alone) The number of

More information

Section 1.4 Place Value Systems of Numeration in Other Bases

Section 1.4 Place Value Systems of Numeration in Other Bases Section.4 Place Value Systems of Numeration in Other Bases Other Bases The Hindu-Arabic system that is used in most of the world today is a positional value system with a base of ten. The simplest reason

More information

DEYI SECONDARY SCHOOL MID-YEAR EXAMINATION TIME-TABLE 2016

DEYI SECONDARY SCHOOL MID-YEAR EXAMINATION TIME-TABLE 2016 : Sec 1 Normal Technical Thurs 5 May English Language P1 1 h 15 min 0800-0915 h 101 EL Listening Comprehension P3 45 min 1015-1100 h 101 Fri 6 May English Language P2 1 h 20 min 0800-0920 h 101 Mon 9 May

More information

plc numbers - 13.1 Encoded values; BCD and ASCII Error detection; parity, gray code and checksums

plc numbers - 13.1 Encoded values; BCD and ASCII Error detection; parity, gray code and checksums plc numbers - 3. Topics: Number bases; binary, octal, decimal, hexadecimal Binary calculations; s compliments, addition, subtraction and Boolean operations Encoded values; BCD and ASCII Error detection;

More information

CDA 3200 Digital Systems. Instructor: Dr. Janusz Zalewski Developed by: Dr. Dahai Guo Spring 2012

CDA 3200 Digital Systems. Instructor: Dr. Janusz Zalewski Developed by: Dr. Dahai Guo Spring 2012 CDA 3200 Digital Systems Instructor: Dr. Janusz Zalewski Developed by: Dr. Dahai Guo Spring 2012 Outline Data Representation Binary Codes Why 6-3-1-1 and Excess-3? Data Representation (1/2) Each numbering

More information

VMG ONLINE TRAINING SCHEDULE WINTER 2016

VMG ONLINE TRAINING SCHEDULE WINTER 2016 Volunteer Management Certificate WEDNESDAYS Date Day Time (EDT) Volunteer Program Management Jan. 27 Wed. 7:00 pm - 9:00 pm Leadership, Management & HR Feb. 3 Wed. 7:00 pm - 9:00 pm Effective Communications

More information

EE 261 Introduction to Logic Circuits. Module #2 Number Systems

EE 261 Introduction to Logic Circuits. Module #2 Number Systems EE 261 Introduction to Logic Circuits Module #2 Number Systems Topics A. Number System Formation B. Base Conversions C. Binary Arithmetic D. Signed Numbers E. Signed Arithmetic F. Binary Codes Textbook

More information

Factoring Algebra- Chapter 8B Assignment Sheet

Factoring Algebra- Chapter 8B Assignment Sheet Name: Factoring Algebra- Chapter 8B Assignment Sheet Date Section Learning Targets Assignment Tues 2/17 Find the prime factorization of an integer Find the greatest common factor (GCF) for a set of monomials.

More information

Binary Representation

Binary Representation Binary Representation The basis of all digital data is binary representation. Binary - means two 1, 0 True, False Hot, Cold On, Off We must tbe able to handle more than just values for real world problems

More information

Systems I: Computer Organization and Architecture

Systems I: Computer Organization and Architecture Systems I: Computer Organization and Architecture Lecture 2: Number Systems and Arithmetic Number Systems - Base The number system that we use is base : 734 = + 7 + 3 + 4 = x + 7x + 3x + 4x = x 3 + 7x

More information

The string of digits 101101 in the binary number system represents the quantity

The string of digits 101101 in the binary number system represents the quantity Data Representation Section 3.1 Data Types Registers contain either data or control information Control information is a bit or group of bits used to specify the sequence of command signals needed for

More information

Binary Representation. Number Systems. Base 10, Base 2, Base 16. Positional Notation. Conversion of Any Base to Decimal.

Binary Representation. Number Systems. Base 10, Base 2, Base 16. Positional Notation. Conversion of Any Base to Decimal. Binary Representation The basis of all digital data is binary representation. Binary - means two 1, 0 True, False Hot, Cold On, Off We must be able to handle more than just values for real world problems

More information

Today. Binary addition Representing negative numbers. Andrew H. Fagg: Embedded Real- Time Systems: Binary Arithmetic

Today. Binary addition Representing negative numbers. Andrew H. Fagg: Embedded Real- Time Systems: Binary Arithmetic Today Binary addition Representing negative numbers 2 Binary Addition Consider the following binary numbers: 0 0 1 0 0 1 1 0 0 0 1 0 1 0 1 1 How do we add these numbers? 3 Binary Addition 0 0 1 0 0 1 1

More information

Digital Design. Assoc. Prof. Dr. Berna Örs Yalçın

Digital Design. Assoc. Prof. Dr. Berna Örs Yalçın Digital Design Assoc. Prof. Dr. Berna Örs Yalçın Istanbul Technical University Faculty of Electrical and Electronics Engineering Office Number: 2318 E-mail: siddika.ors@itu.edu.tr Grading 1st Midterm -

More information

Binary, Hexadecimal, Octal, and BCD Numbers

Binary, Hexadecimal, Octal, and BCD Numbers 23CH_PHCalter_TMSETE_949118 23/2/2007 1:37 PM Page 1 Binary, Hexadecimal, Octal, and BCD Numbers OBJECTIVES When you have completed this chapter, you should be able to: Convert between binary and decimal

More information

Computer Science 281 Binary and Hexadecimal Review

Computer Science 281 Binary and Hexadecimal Review Computer Science 281 Binary and Hexadecimal Review 1 The Binary Number System Computers store everything, both instructions and data, by using many, many transistors, each of which can be in one of two

More information

Numbering Systems. InThisAppendix...

Numbering Systems. InThisAppendix... G InThisAppendix... Introduction Binary Numbering System Hexadecimal Numbering System Octal Numbering System Binary Coded Decimal (BCD) Numbering System Real (Floating Point) Numbering System BCD/Binary/Decimal/Hex/Octal

More information

Binary Adders: Half Adders and Full Adders

Binary Adders: Half Adders and Full Adders Binary Adders: Half Adders and Full Adders In this set of slides, we present the two basic types of adders: 1. Half adders, and 2. Full adders. Each type of adder functions to add two binary bits. In order

More information

COMP 250 Fall 2012 lecture 2 binary representations Sept. 11, 2012

COMP 250 Fall 2012 lecture 2 binary representations Sept. 11, 2012 Binary numbers The reason humans represent numbers using decimal (the ten digits from 0,1,... 9) is that we have ten fingers. There is no other reason than that. There is nothing special otherwise about

More information

Digital codes. Resources and methods for learning about these subjects (list a few here, in preparation for your research):

Digital codes. Resources and methods for learning about these subjects (list a few here, in preparation for your research): Digital codes This worksheet and all related files are licensed under the Creative Commons Attribution License, version 1.0. To view a copy of this license, visit http://creativecommons.org/licenses/by/1.0/,

More information

2011, The McGraw-Hill Companies, Inc. Chapter 3

2011, The McGraw-Hill Companies, Inc. Chapter 3 Chapter 3 3.1 Decimal System The radix or base of a number system determines the total number of different symbols or digits used by that system. The decimal system has a base of 10 with the digits 0 through

More information

Writing Days and Months

Writing Days and Months Writing Days and Months Days of the Week There are seven days in a week. Each one starts with a capital letter. Look at the way each word is spelled. Each word ends in day. Monday Tuesday Wednesday Thursday

More information

CS321. Introduction to Numerical Methods

CS321. Introduction to Numerical Methods CS3 Introduction to Numerical Methods Lecture Number Representations and Errors Professor Jun Zhang Department of Computer Science University of Kentucky Lexington, KY 40506-0633 August 7, 05 Number in

More information

Everything you wanted to know about using Hexadecimal and Octal Numbers in Visual Basic 6

Everything you wanted to know about using Hexadecimal and Octal Numbers in Visual Basic 6 Everything you wanted to know about using Hexadecimal and Octal Numbers in Visual Basic 6 Number Systems No course on programming would be complete without a discussion of the Hexadecimal (Hex) number

More information

HP Service Virtualization

HP Service Virtualization HP Service Virtualization Fixed Length Protocol Virtualization SV Training September 2014 Fixed Length Protocol Virtualization Technology Description Use Cases Supported Message Structures SV Service Description

More information

Policy Interpretations

Policy Interpretations Policy Interpretations Alternate Work Schedule Slide 1 Alternate Work Schedule (AWS) Employees Definition of a day is the total hours they are scheduled to work (e.g. 10 hours for AWS employee who works

More information

Binary Number System. 16. Binary Numbers. Base 10 digits: 0 1 2 3 4 5 6 7 8 9. Base 2 digits: 0 1

Binary Number System. 16. Binary Numbers. Base 10 digits: 0 1 2 3 4 5 6 7 8 9. Base 2 digits: 0 1 Binary Number System 1 Base 10 digits: 0 1 2 3 4 5 6 7 8 9 Base 2 digits: 0 1 Recall that in base 10, the digits of a number are just coefficients of powers of the base (10): 417 = 4 * 10 2 + 1 * 10 1

More information

This 3-digit ASCII string could also be calculated as n = (Data[2]-0x30) +10*((Data[1]-0x30)+10*(Data[0]-0x30));

This 3-digit ASCII string could also be calculated as n = (Data[2]-0x30) +10*((Data[1]-0x30)+10*(Data[0]-0x30)); Introduction to Embedded Microcomputer Systems Lecture 5.1 2.9. Conversions ASCII to binary n = 100*(Data[0]-0x30) + 10*(Data[1]-0x30) + (Data[2]-0x30); This 3-digit ASCII string could also be calculated

More information

2.2: Bitwise Logical Operations

2.2: Bitwise Logical Operations 2.2: Bitwise Logical Operations Topics: Introduction: logical operations in C/C++ logical operations in MIPS In 256 lecture, we looked at bitwise operations in C/C++ and MIPS. We ll look at some simple

More information

IP Subnetting and Related Topics A Tutorial by Chris Uriarte <chrisjur@cju.com> Updated April 2001

IP Subnetting and Related Topics A Tutorial by Chris Uriarte <chrisjur@cju.com> Updated April 2001 IP Subnetting and Related Topics A Tutorial by Chris Uriarte Updated April 2001 IP Addresses and their Binary Equivalents First and foremost, it s important to understand that every

More information

Network Planning and Analysis

Network Planning and Analysis 46 Network Planning and Analysis 1. Objective: What can you tell me about the project? When will the project finish? How long will the project take (project total duration)? 2. Why is this topic Important

More information

A Step towards an Easy Interconversion of Various Number Systems

A Step towards an Easy Interconversion of Various Number Systems A towards an Easy Interconversion of Various Number Systems Shahid Latif, Rahat Ullah, Hamid Jan Department of Computer Science and Information Technology Sarhad University of Science and Information Technology

More information

Online Registration at Stephen F. Austin State University

Online Registration at Stephen F. Austin State University Online Registration at Stephen F. Austin State University Step 1 Visit SFA s home page at: http://www.sfasu.edu and click on the Login to mysfa button. Step 2 Login to mysfa using your User Name and Password.

More information

2014-15. Medical Assistant Syllabus Advance Course MA101-MA201-X301

2014-15. Medical Assistant Syllabus Advance Course MA101-MA201-X301 2014-15 Medical Assistant Syllabus Advance Course MA101-MA201-X301 Introduction: At Prestige Medical Solutions we are fully vested in helping students succeed. Our vision is to be a great place to learn,

More information

Levent EREN levent.eren@ieu.edu.tr A-306 Office Phone:488-9882 INTRODUCTION TO DIGITAL LOGIC

Levent EREN levent.eren@ieu.edu.tr A-306 Office Phone:488-9882 INTRODUCTION TO DIGITAL LOGIC Levent EREN levent.eren@ieu.edu.tr A-306 Office Phone:488-9882 1 Number Systems Representation Positive radix, positional number systems A number with radix r is represented by a string of digits: A n

More information

For People With Diabetes. Blood Sugar Diary

For People With Diabetes. Blood Sugar Diary For People With Diabetes Blood Sugar Diary A Circle of Help to Live a Healthy Life You are the center of a healthy life with diabetes. All the elements of good care begin and end with you. The Importance

More information

2010/9/19. Binary number system. Binary numbers. Outline. Binary to decimal

2010/9/19. Binary number system. Binary numbers. Outline. Binary to decimal 2/9/9 Binary number system Computer (electronic) systems prefer binary numbers Binary number: represent a number in base-2 Binary numbers 2 3 + 7 + 5 Some terminology Bit: a binary digit ( or ) Hexadecimal

More information

Chapter 1: Digital Systems and Binary Numbers

Chapter 1: Digital Systems and Binary Numbers Chapter 1: Digital Systems and Binary Numbers Digital age and information age Digital computers general purposes many scientific, industrial and commercial applications Digital systems telephone switching

More information

Classless Subnetting Explained

Classless Subnetting Explained Classless Subnetting Explained When given an IP Address, Major Network Mask, and a Subnet Mask, how can you determine other information such as: The subnet address of this subnet The broadcast address

More information

Decimal Number (base 10) Binary Number (base 2)

Decimal Number (base 10) Binary Number (base 2) LECTURE 5. BINARY COUNTER Before starting with counters there is some vital information that needs to be understood. The most important is the fact that since the outputs of a digital chip can only be

More information

Cyber Security Workshop Encryption Reference Manual

Cyber Security Workshop Encryption Reference Manual Cyber Security Workshop Encryption Reference Manual May 2015 Basic Concepts in Encoding and Encryption Binary Encoding Examples Encryption Cipher Examples 1 P a g e Encoding Concepts Binary Encoding Basics

More information

Number Systems and Radix Conversion

Number Systems and Radix Conversion Number Systems and Radix Conversion Sanjay Rajopadhye, Colorado State University 1 Introduction These notes for CS 270 describe polynomial number systems. The material is not in the textbook, but will

More information

Number Systems. Introduction / Number Systems

Number Systems. Introduction / Number Systems Number Systems Introduction / Number Systems Data Representation Data representation can be Digital or Analog In Analog representation values are represented over a continuous range In Digital representation

More information

Addition Methods. Methods Jottings Expanded Compact Examples 8 + 7 = 15

Addition Methods. Methods Jottings Expanded Compact Examples 8 + 7 = 15 Addition Methods Methods Jottings Expanded Compact Examples 8 + 7 = 15 48 + 36 = 84 or: Write the numbers in columns. Adding the tens first: 47 + 76 110 13 123 Adding the units first: 47 + 76 13 110 123

More information

Number and codes in digital systems

Number and codes in digital systems Number and codes in digital systems Decimal Numbers You are familiar with the decimal number system because you use them everyday. But their weighted structure is not understood. In the decimal number

More information

Prerequisite knowledge Students should have a good understanding of how our decimal number system works as well as understand place value.

Prerequisite knowledge Students should have a good understanding of how our decimal number system works as well as understand place value. CSP Number Systems Mrs., GA Lesson Overview Learning Objectives and Evidence Statements 2.1.2 Explain how binary sequences are used to represent digital data. [P5] Prerequisite knowledge Students should

More information

1. Give the 16 bit signed (twos complement) representation of the following decimal numbers, and convert to hexadecimal:

1. Give the 16 bit signed (twos complement) representation of the following decimal numbers, and convert to hexadecimal: Exercises 1 - number representations Questions 1. Give the 16 bit signed (twos complement) representation of the following decimal numbers, and convert to hexadecimal: (a) 3012 (b) - 435 2. For each of

More information

NUMBER SYSTEMS. William Stallings

NUMBER SYSTEMS. William Stallings NUMBER SYSTEMS William Stallings The Decimal System... The Binary System...3 Converting between Binary and Decimal...3 Integers...4 Fractions...5 Hexadecimal Notation...6 This document available at WilliamStallings.com/StudentSupport.html

More information

UPCOMING PROGRAMMES/COURSES APRIL, 2013 MARCH, 2014 (MIND KINGSTON & MANDEVILLE CAMPUSES) Hr s

UPCOMING PROGRAMMES/COURSES APRIL, 2013 MARCH, 2014 (MIND KINGSTON & MANDEVILLE CAMPUSES) Hr s : Level 1 : Level 2 : Level 3 : Level 4 : Level 1 Secretarial Qualifying Examination Secretarial Qualifying Tutorial LOCA TION Cost UPCOMING PROGRAMMES/ IL, CH, Hr s Class Days & Time. 50,000 150 Mon.

More information

UPCOMING PROGRAMMES/COURSES APRIL, 2014 MARCH, 2015 (MIND KINGSTON & MANDEVILLE CAMPUSES)

UPCOMING PROGRAMMES/COURSES APRIL, 2014 MARCH, 2015 (MIND KINGSTON & MANDEVILLE CAMPUSES) UPCOMING PROGRAMMES/ IL, CH, 2 UPCOMING PROGRAMMES/ IL, CH, Table of Contents Programme/Course Awards Page(s) Certificates Secretarial Qualifying Examination 5 Minute Writing 5 Public Speaking & Presentation

More information

Today s topics. Digital Computers. More on binary. Binary Digits (Bits)

Today s topics. Digital Computers. More on binary. Binary Digits (Bits) Today s topics! Binary Numbers! Brookshear.-.! Slides from Prof. Marti Hearst of UC Berkeley SIMS! Upcoming! Networks Interactive Introduction to Graph Theory http://www.utm.edu/cgi-bin/caldwell/tutor/departments/math/graph/intro

More information

The Answer to the 14 Most Frequently Asked Modbus Questions

The Answer to the 14 Most Frequently Asked Modbus Questions Modbus Frequently Asked Questions WP-34-REV0-0609-1/7 The Answer to the 14 Most Frequently Asked Modbus Questions Exactly what is Modbus? Modbus is an open serial communications protocol widely used in

More information

www.thecounselorentrepreneur.com

www.thecounselorentrepreneur.com The Counselor Entrepreneur - Dream BIG. Take Action 1 Mastermind Networking and Marketing Group (Online) Month 1 Vision, Mission, & Target Market 2 The Counselor Entrepreneur - Dream BIG. Take Action Without

More information

Solution Guide Chapter 14 Mixing Fractions, Decimals, and Percents Together

Solution Guide Chapter 14 Mixing Fractions, Decimals, and Percents Together Solution Guide Chapter 4 Mixing Fractions, Decimals, and Percents Together Doing the Math from p. 80 2. 0.72 9 =? 0.08 To change it to decimal, we can tip it over and divide: 9 0.72 To make 0.72 into a

More information

APPENDIX B. Routers route based on the network number. The router that delivers the data packet to the correct destination host uses the host ID.

APPENDIX B. Routers route based on the network number. The router that delivers the data packet to the correct destination host uses the host ID. APPENDIX B IP Subnetting IP Addressing Routers route based on the network number. The router that delivers the data packet to the correct destination host uses the host ID. IP Classes An IP address is

More information

Numeral Systems. The number twenty-five can be represented in many ways: Decimal system (base 10): 25 Roman numerals:

Numeral Systems. The number twenty-five can be represented in many ways: Decimal system (base 10): 25 Roman numerals: Numeral Systems Which number is larger? 25 8 We need to distinguish between numbers and the symbols that represent them, called numerals. The number 25 is larger than 8, but the numeral 8 above is larger

More information

CE363 Data Communications & Networking. Chapter 6 Network Layer: Logical Addressing

CE363 Data Communications & Networking. Chapter 6 Network Layer: Logical Addressing CE363 Data Communications & Networking Chapter 6 Network Layer: Logical Addressing TCP/IP and OSI model APPLICATION APPLICATION PRESENTATION SESSION TRANSPORT NETWORK Host-Network TRANSPORT NETWORK DATA

More information

The Hexadecimal Number System and Memory Addressing

The Hexadecimal Number System and Memory Addressing APPENDIX C The Hexadecimal Number System and Memory Addressing U nderstanding the number system and the coding system that computers use to store data and communicate with each other is fundamental to

More information

How To Become A Jamaican Teacher

How To Become A Jamaican Teacher UPCOMING PROGRAMMES/ IL CH 2 UPCOMING PROGRAMMES/ IL CH Award Categories Certificate Secretarial Qualifying Examination Minute Writing Public Speaking & Presentation Skills Effective Report Writing Professional

More information

MYRA School of Business Mysore, India. 3. Case: Rodeo Jeans: Promotional and Pricing Strategy (2012)

MYRA School of Business Mysore, India. 3. Case: Rodeo Jeans: Promotional and Pricing Strategy (2012) MYRA School of Business Mysore, India MyE217 Marketing Models Professor Sachin Gupta Email: sg248@cornell.edu Table of Contents 1. Course Syllabus 2. Case: Newfood 3. Case: Rodeo Jeans: Promotional and

More information

A. COURSE DESCRIPTION

A. COURSE DESCRIPTION PROVIDENCE COLLEGE 473.24 Introductory Managerial Accounting 3 credit hours Professor: Office: Website: Classes: Office hours: Jeremy Funk, MBA, PhD Candidate jeremy.funk@prov.ca 2H22 Providence Student

More information

14 Sep 2015-31 Jul 2016 (Weeks 1 - V14)

14 Sep 2015-31 Jul 2016 (Weeks 1 - V14) Mon MAN2012L/Employability and Enterprise Skills/ Mrs. F Malik, Mrs. J Morgan MAN2012L/Employability & Enterprise Skills/ Mrs. F Malik, Mrs. J Morgan Assignment Success Workshop NOT COMPULSORY Wks 3,5

More information

6 The Hindu-Arabic System (800 BC)

6 The Hindu-Arabic System (800 BC) 6 The Hindu-Arabic System (800 BC) Today the most universally used system of numeration is the Hindu-Arabic system, also known as the decimal system or base ten system. The system was named for the Indian

More information

Lecture Announcements: MAC2312 sec. 1-3 Fri., April 22

Lecture Announcements: MAC2312 sec. 1-3 Fri., April 22 Lecture Announcements: MAC2312 sec. 1-3 Fri., April 22 1. Today in lecture: Review for the Final Exam 2. Upcoming dates: on Mon., April 25 - Help Session in 110MCH from 10 am 12 noon on Wed., April 27

More information

Counting in base 10, 2 and 16

Counting in base 10, 2 and 16 Counting in base 10, 2 and 16 1. Binary Numbers A super-important fact: (Nearly all) Computers store all information in the form of binary numbers. Numbers, characters, images, music files --- all of these

More information

Japannext PTS ITCH Market Data Specification. Version 1.4 Updated 3 October 2014

Japannext PTS ITCH Market Data Specification. Version 1.4 Updated 3 October 2014 Japannext PTS ITCH Market Data Specification Version 1.4 Updated 3 October 2014 Table of Contents 1. Introduction... 3 2. Overview... 3 3. Data Types... 3 4. Outbound Sequenced Messages... 3 4.1 Seconds...

More information

The programming language C. sws1 1

The programming language C. sws1 1 The programming language C sws1 1 The programming language C invented by Dennis Ritchie in early 1970s who used it to write the first Hello World program C was used to write UNIX Standardised as K&C (Kernighan

More information