Registers and Ranges. Register – Compared to a Calculator If there are only 9 digits available on display how long can the number displayed be? ANS: 9.

Slides:



Advertisements
Similar presentations
About Functions SUM, AVERAGE, MIN, MAX, COUNT, ROUND
Advertisements

Conversion and Coding (12)10.
INTEGERS.FDECIMALS.F DIGITS WHICH ARE RELEVANT IN AN INTEGER OR A DECIMAL.
DATA REPRESENTATION Y. Colette Lemard February
Central Tendency Mean – the average value of a data set. Add all the items in a data set then divide by the number of items in the data set.
Designing Algorithms Csci 107 Lecture 3. Designing algorithms Last time –Pseudocode –Algorithm: computing the sum 1+2+…+n –Gauss formula for 1+2+…+n Today.
Shor Algorithm Anuj Dawar. Finding the eigenvalue is the same as finding its phase 
Table 1. Software Hierarchy Levels.. Essential Tools An assembler is a program that converts source-code programs into a machine language (object file).
Grade 7 Mid Unit Quiz 1. c Solution: = 40 40/4=10
Random Sampling using RAN#. Random Sampling using Ran# The Ran#: Generates a pseudo random number to 3 decimal places that is less than 1. i.e. it generates.
 A binary number is a number that includes only ones and zeroes.  The number could be of any length  The following are all examples of binary numbers.
Data Analysis Formula and Functions. Formula and functions A function is a calculation in a spreadsheet that has or can be memorized. There are many different.
CS 101 – Sept. 2 Chapter 3: data representation Many kinds of data  all in binary Today: integers –Unsigned –Signed Later: text, images, code, etc.
Add , Subtract, Multiply, Divide.
Welcome to Quiz Game By S.2B Hung Chun Ho (15). Question No. 1  How to add up the data?
Choi What is a Recursion Formula? A recursion formula consists of at least 2 parts. One part gives the value(s) of the first term(s) in the sequence,
Representation of Data Ma King Man. Reference Text Book: Volume 2 Notes: Chapter 19.
Factors and Multiples. Definition of Factors and Multiples If one number is a factor of a second number or divides the second (as 3 is a factor of 12),
Formula? Unit?.  Formula ?  Unit?  Formula?  Unit?
How to start Visual Studio 2008 or 2010 (command-line program)
CPS120: Introduction to Computer Science Computer Math: Converting to Decimal.
© 2010 Cisco Systems, Inc. All rights reserved. 1 Network Math.
Mean, Median, Mode & Range. Mean A number that represents the centre, or average, of a set of numbers; to find the mean, add the numbers in the set, then.
M M M R.
Mean: The AVERAGE values of a set of numbers. The mean is found by ADDING all of the values, then DIVIDING by the number of values in the set of data.
Number Bases and Representation. Denary Number System (Base 10) Our number system uses 10 digits (0-9) As you move from right to left each number is worth.
Warm up 1/16/13 Activating Background Knowledge 1.What do you think of when you hear the word “average”? 1.In words, describe what the “average” of a set.
Irvine, Kip R. Assembly Language for Intel-Based Computers 6/e, Signed Integers The highest bit indicates the sign. 1 = negative, 0 = positive.
Exercise 1 Introduction to C# CIS Code the C# program to prompt the user to key in 12 integer values from the keyboard. If a value containing.
Solving Equations Inverse operations. INVERSE = Opposite If I am solving an equation using inverses operations, I am solving it using opposite signs.
Adding, Subtracting, Multiplying, and Diving Integers!!!
Mean, Median, Mode, and Range. Mean is the average of a set of data. To calculate the mean, find the sum of the data and then divide by the number of.
GCSE Computing#BristolMet Session Objectives#8 MUST add two 8-bit binary integers SHOULD explain overflow errors COULD provide solutions to limit overflow.
Compound Interest - Solving for the Principal How much would have to be deposited now into an account that earns 8% per annum compounded annually to reach.
Representation of Data (Part II) Computer Studies Notes: chapter 19 Ma King Man.
Add 2-digit numbers with regrouping. Add 2-digit numbers with regrouping
FUNADAMENTAL DATA TYPES LEARNING OBJECTIVES: TO UNDERSTAND INTEGEr AND FLOATING POINT NUMBERS TO RECOGNIZE THE LIMITATIONS OF THE NUMERIC TYPES TO UNDERSTAND.
Central Tendency Mean – the average value of a data set. Add all the items in a data set then divide by the number of items in the data set.
CS 125 Lecture 3 Martin van Bommel. Overflow In 16-bit two’s complement, what happens if we add =
Python - Iteration A FOR loop is ideal if we know how many times we want to repeat. Try this code: for loopCounter in range(10): print(loopCounter) There.
Multiply Integers SWBAT multiply integers. Multiplication What is multiplication? What is multiplication? Repeated addition Repeated addition How do you.
Advanced Binary b. describe and use two’s complement and sign and magnitude to represent negative integers; c. perform integer binary arithmetic, that.
Floating Point Numbers
Backgrounder: Binary Math
X AND R CHART EXAMPLE IN-CLASS EXERCISE
Measures of Central Tendency & Range
Binary Code  
Is it worth 5 or 50?.
Is it worth 5 or 50?.
Topic 1: Data Representation
Digital Communication Systems
Digital Communication Systems
Tests of Divisibility 1 - All integers can be divided by 1
Section 2.1 Divisibility Rules
Suppose I want to add all the even integers from 1 to 100 (inclusive)
Lesson 4: Introduction to Functions
Unit 3 Review (Calculator)
Write the number that is half way between these 2 numbers.
Every number has its place!
Data Hazard Example (no stalls).
The smallest measuring lines on this tool show a jump of ______________ This measuring tool is precise to the ________ column Our rule for writing.
Penalty shooting competition
6 ages are listed from smallest to biggest
Grade 12 Essential Math Measurement and Statistics
Calculate 9 x 81 = x 3 3 x 3 x 3 x 3 3 x 3 x 3 x 3 x 3 x 3 x =
Binary.
6 ages are listed from smallest to biggest
Averages Handling Data.
Presentation transcript:

Registers and Ranges

Register – Compared to a Calculator If there are only 9 digits available on display how long can the number displayed be? ANS: 9 numbers What would be the largest number? What happens if we add 1 to this number? NextBack

8-bit Register a.What is the largest number that can be held in this register? b.The smallest number? c. Therefore what is the range of numbers that can be represented? d. How many different codes can be represented? Try this out: a. Largest integer: = 255 b. Smallest number = 0 c. Range = 0 – 255 d. Codes = 256 (0 is included) a. Largest integer: = 255 b. Smallest number = 0 c. Range = 0 – 255 d. Codes = 256 (0 is included) Range Formula: 2 n - 1 Back