Essence of Computation

Slides:



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

BITS, BYTES, AND THE BINARY SYSTEM HOW PROGRAMS CREATE IMAGES ON YOUR PC.
Copyright Kenneth M. Chipps Ph.D. FLSM Last Update
Binary Addition Rules Adding Binary Numbers = = 1
Week 2: Primitive Data Types 1.  Programming in Java  Everything goes inside a class  The main() method is the starting point for executing instructions.
Information Processing Session 5B Binary Arithmetic Slide
How Computers Represent Information Yong Choi School of Business CSU, Bakersfield.
Computer Number Systems This presentation will show conversions between binary, decimal, and hexadecimal numbers.
Decimal to Binary Conversion Press any key to continue…
BASICS OF COMPUTER APPLICATIONS ASB 102. UNIT 1 Introducing computer system  Number system  What is number system?  Types of number system  Their.
+ CS 325: CS Hardware and Software Organization and Architecture Integers and Arithmetic.
1 Survey of Computer Science CSCI 110, Spring 2011 Lecture 16 Digital Circuits, binary Numbers.
The Binary Number System Emily Beck and Susan Cantrell.
EKT 121 / 4 ELEKTRONIK DIGIT 1 CHAPTER 1 : INTRODUCTION.
CS101 Introduction to Computing Lecture 8 Binary Numbers & Logic Operations.
Representing Data. Representing data u The basic unit of memory is the bit  A transistor that can hold either high or low voltage  Conceptually, a tiny.
NUMBER SYSTEM.
Binary Number System & Logic Operations. The focus of the last lecture was on the microprocessor During that lecture we learnt about the function of the.
Bits, Data Types, and Operations Slides based on set prepared by Gregory T. Byrd, North Carolina State University.
Number systems, Operations, and Codes
CSCI N201 Programming Concepts and Database 3 – Essence of Computing Lingma Acheson Department of Computer and Information Science, IUPUI.
Introduction to Computing Dr. Nadeem A Khan. Lecture 10.
Numbering System Base Conversion. Number systems Decimal – 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 Binary – 0, 1 Octal – 0, 1, 2, 3, 4, 5, 6, 7 Hexadecimal system.
Significant figures The number of digits which describe a measurement.
How a Computer Processes Data With today’s technology a little knowledge about what’s inside a computer can make you a more effective user and help you.
What are these?. Binary Clock ICE3M May 7, 2007 Ms. Nelson.
EET 250 Number systems. Introduction to Number Systems While we live in a world where the decimal number is predominant in our lives, computers and digital.
Data Representation Hexadecimal  Although computers work in binary it is sometimes inconvenient for humans to read everything in Binary. For example in.
Visualizing Decimal and Binary
Number Systems & Operations
1 CS 177 Week 2 Recitation Slides Introduction. 2 Announcements.
CMP 100 Introduction to Computing Lecture Binary Numbers & Logic Operations.
1 Ethics of Computing MONT 113G, Spring 2012 Session 1 Digital Circuits, binary Numbers Course webpage:
Technology in Action Chapter 6 Behind the Scenes: A Closer Look at System Hardware.
CSCI N100 Principles of Computing Basic Problem-Solving.
Lecture 6 Excess Notation. Excess 8 notation indicates that the value for zero is the bit pattern for 8, that is 1000 Excess 8 notation indicates that.
How a Computer Processes Data. With today’s technology a little knowledge about what’s inside a computer can make you a more effective user and help you.
Decimal to Binary Conversion Press any key to continue…
Number Systems – Definitions page 214 The radix or base 밑 refers to the number b in an expression of the form b n. The number n is called the exponent.
Chapter 4.6 Complex Numbers. Imaginary Numbers The expression does not have a real solution because squaring a number cannot result in a negative answer.
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.
CSCI N207 Data Analysis Using a Spreadsheet. Course Goals This is a technical course in which data analysis is the main emphasis and spreadsheet is the.
Number Systems & Binary How to count. How do we represent numbers? Early systems: – Actual count : ||||| = 5 – Roman numers : XI = 11 Hard to do math:
Number systems Visualizing Decimal and Binary. We count in base 10 because people started by counting on their fingers Base 10 is a number system that.
Number Systems Decimal Can you write 12,045 in expanded form? Base? Allowable digits for each place?
Week 2 - Wednesday CS 121.
Discrete Mathematics Numbering System.
CHAPTER 1 : INTRODUCTION
The Binary Number System
Number Systems & Binary
Number Systems.
Topic 1: Be able to combine functions and determine the resulting function. Topic 2: Be able to find the product of functions and determine the resulting.
Number Systems Base 2, 10, 16.
1. Number Systems.
Modular Arithmetic and Change of Base
Binary Numbers? Foley SED 514 Section /2/2019.
Digital Systems and Binary Numbers
Chapter 2: Number Systems
Data Binary Conversion.
Plan Attendance Files Posted on Campus Cruiser Homework Reminder
How Computers Store Data
AP Computer Science LESSON 1 on Number Bases.
Why computers use binary
Lecture 4 Number Systems. von Neumann Model Every computer today is based on the von Neumann Model. It is based on 3 ideas: 1.Four subsystems 2.Stored.
Lecture 5 Binary Operation Boolean Logic. Binary Operations Addition Subtraction Multiplication Division.
Information Technology Department
Understanding the Number Decimal to Binary Conversion
Addition & Subtraction Addition & Subtraction
Week 1 - Friday COMP 1600.
Presentation transcript:

Essence of Computation CSCI N100 Essence of Computation Learning how computers think

Definition of computer Universal Information Manipulator

Universal Works with all kinds of information Does all kinds of stuff to it Very few limitations

Information Seems to be able to work with anything Actually very limited Tiny pieces of data combined into complex information

Manipulator Seem able to do anything with data Actually very limited Simple commands combined into complex instructions

Computers and Information Information limited to on/off impulses Like a light switch Infinite positions Two outcomes

Working with Multiple Switches One switch - two messages Two switches - four messages Three switches - eight messages

Assigning Values to messages Looking at the pattern 1, 2, 4, 8, 16, 32, 64, 128... Seeing how it works…

Conversion Chart Binary to Decimal 28 27 26 25 24 23 22 21 20 256 128 64 32 16 8 4 2 1  

Conversion Chart Binary to Decimal 28 27 26 25 24 23 22 21 20 256 128 64 32 16 8 4 2 1    1  0

Conversion Chart Binary to Decimal 28 27 26 25 24 23 22 21 20 256 128 64 32 16 8 4 2 1    1  0  8x1  4x1  0x2  1x0

Conversion Chart Binary to Decimal 28 27 26 25 24 23 22 21 20 256 128 64 32 16 8 4 2 1    1  0  8x1  4x1  0x2  1x0  8+  4+  0+ 1101 = 13

Conversion Chart Decimal to Binary 28 27 26 25 24 23 22 21 20 256 128 64 32 16 8 4 2 1   22

Conversion Chart Decimal to Binary 28 27 26 25 24 23 22 21 20 256 128 64 32 16 8 4 2 1   22 The 1st number that is equal to or less than the decimal number

Conversion Chart Decimal to Binary 28 27 26 25 24 23 22 21 20 256 128 64 32 16 8 4 2 1    1 22 Subtract 22 – 16 remainder of 6

Conversion Chart Decimal to Binary 28 27 26 25 24 23 22 21 20 256 128 64 32 16 8 4 2 1    1 22 Subtract 22 – 16 remainder of 6

Conversion Chart Decimal to Binary 28 27 26 25 24 23 22 21 20 256 128 64 32 16 8 4 2 1    1  0 Subtract 22 – 16 remainder 6 Subtract 6 – 8?

Conversion Chart Decimal to Binary 28 27 26 25 24 23 22 21 20 256 128 64 32 16 8 4 2 1    1  0 Subtract 22 – 16 remainder 6 Subtract 6 – 8? Subtract 6 – 4 remainder 2

Conversion Chart Decimal to Binary 28 27 26 25 24 23 22 21 20 256 128 64 32 16 8 4 2 1    1  0 Subtract 22 – 16 remainder 6 Subtract 6 – 8? Subtract 6 – 4 remainder 2 Subtract 2 – 2 remainder 0

Conversion Chart Decimal to Binary 28 27 26 25 24 23 22 21 20 256 128 64 32 16 8 4 2 1    1  0 22 = 10110