REPRESENTING INFORMATION:
|
|
- Geoffrey Richard
- 6 years ago
- Views:
Transcription
1 REPRESENTING INFORMATION: BINARY, HEX, ASCII CORRESPONDING READING: WELL, NONE IN YOUR TEXT. SO LISTEN CAREFULLY IN LECTURE (BECAUSE IT WILL BE ON THE EXAM(S))! CMSC 150: Fall 2015
2 Controlling Information Watch Newman on YouTube
3 Inside the Computer: Gates AND Gate Input Wires Output Wire 0's & 1's represent low & high voltage, respectively, on the wires
4 Inside the Computer: Gates
5 Representing Information We need to understand how the 0's and 1's can be used to "control information"
6 The Decimal Number System Deci- (ten) Base is ten first (rightmost) place: ones (i.e., 10 0 ) second place: tens (i.e., 10 1 ) third place: hundreds (i.e., 10 2 ) Digits available: 0, 1, 2,, 9 (ten total)
7 Example: your favorite number 8,675,309
8 The Binary Number System Bi- (two) bicycle, bicentennial, biphenyl Base two first (rightmost) place: ones (i.e., 2 0 ) second place: twos (i.e., 2 1 ) third place: fours (i.e., 2 2 ) Digits available: 0, 1 (two total Phrase binary digit shortened to bit
9 Quantity of Bits (Memory) 9 1 Byte (1B) = 8 bits 1 Kilobyte (1KB) = 2 10 = 1024 bytes 1 Megabyte (1MB) = 2 20 ~ 1,000,000 bytes 1 Gigabyte (1GB) = 2 30 ~ 1,000,000,000 bytes 1 Terabyte (1TB) = 2 40 ~ 1,000,000,000,000 bytes These last four have beens standardized of late for powers of 10, rather than 2 (e.g., 10 3, 10 6, 10 9, )
10 Representing Decimal in Binary Moving right to left, include a "slot" for every power of two <= your decimal number Moving left to right: Put 1 in the slot if that power of two can be subtracted from your total remaining Put 0 in the slot if not Continue until all slots are filled n filling to the right with 0's as necessary
11 Example 8,675, = Fewer available digits in binary: more space required for representation
12 Converting Binary to Decimal For each 1, add the corresponding power of two
13 Converting Binary to Decimal For each 1, add the corresponding power of two =
14 Now You Get The Joke THERE ARE 10 TYPES OF PEOPLE IN THE WORLD: THOSE WHO CAN COUNT IN BINARY AND THOSE WHO CAN'T
15 Too Much Information?
16 Too Much Information?
17 Too Much Information?
18 An Alternative to Binary? = 8,675, = 8,544,237 10
19 An Alternative to Binary? = 8,675, = 8,544,237 10
20 An Alternative to Binary? What if this was km to landing?
21 The Hexadecimal Number System Hex- (six) Deci- (ten) Base sixteen first (rightmost) place: ones (i.e., 16 0 ) second place: sixteens (i.e., 16 1 ) third place: two-hundred-fifty-sixes (i.e., 16 2 ) Digits available: sixteen total 0, 1, 2,, 9, A, B, C, D, E, F
22 Using Hex Can convert decimal to hex and vice-versa process is similar, but using base 16 and 0-9, A-F Most commonly used as a shorthand for binary Avoid this
23 More About Binary How many different things can you represent using binary: with only one slot (i.e., one bit)? with two slots (i.e., two bits)? with three bits? with n bits?
24 More About Binary How many different things can you represent using binary: with only one slot (i.e., one bit)? 2 with two slots (i.e., two bits)? 2 2 = 4 with three bits? 2 3 = 8 with n bits? 2 n
25 Binary vs. Hex One slot in hex can be one of 16 values 0, 1, 2,, 9, A, B, C, D, E, F How many bits do you need to represent one hex digit?
26 Binary vs. Hex One slot in hex can be one of 16 values 0, 1, 2,, 9, A, B, C, D, E, F How many bits do you need to represent one hex digit? 4 bits can represent 2 4 = 16 different values
27 Binary vs. Hex A 1010 B 1011 C 1100 D 1101 E 1110 F 1111
28 Converting Binary to Hex Moving right to left, group into bits of four Convert each four-group to corresponding hex digit
29 Converting Hex to Binary Simply convert each hex digit to four-bit binary equivalent BEEF 16 =
30 Representing Different Information So far, everything has been a number What about characters? Punctuation? Idea: put all the characters, punctuation in order assign a unique number to each done! (we know how to represent numbers)
31 Our Idea A: 0 B: 1 C: 2 Z: 25 a: 26 b: 27 z: 51, : 52. : 53 [space] : 54
32 ASCII: American Standard Code for Information Interchange
33 ASCII: American Standard Code for Information Interchange 'A' = =??? 2 'q' = =??? 2 '8' = =??? 2
34 ASCII: American Standard Code for Information Interchange 256 total characters How many bits needed?
35 The Problem with ASCII What about Greek characters? Chinese? UNICODE: use 16 bits How many characters can we represent?
36 The Problem with ASCII What about Greek characters? Chinese? UNICODE: use 16 bits How many characters can we represent? 2 16 = 65,536
37 You Control The Information What is this?
38 You Control The Information What is this? Depends on how you interpret it: = = 'M' = one million one thousand one hundred and one You must be clear on representation and interpretation
Intermediate Programming & Design (C++) Notation
Notation Byte = 8 bits (a sequence of 0 s and 1 s) To indicate larger amounts of storage, some prefixes taken from the metric system are used One kilobyte (KB) = 2 10 bytes = 1024 bytes 10 3 bytes One
More informationThe type of all data used in a C++ program must be specified
The type of all data used in a C++ program must be specified A data type is a description of the data being represented That is, a set of possible values and a set of operations on those values There are
More informationUsing sticks to count was a great idea for its time. And using symbols instead of real sticks was much better.
2- Numbering Systems Tutorial 2-1 What is it? There are many ways to represent the same numeric value. Long ago, humans used sticks to count, and later learned how to draw pictures of sticks in the ground
More informationExperimental Methods I
Experimental Methods I Computing: Data types and binary representation M.P. Vaughan Learning objectives Understanding data types for digital computers binary representation of different data types: Integers
More information[301] Bits and Memory. Tyler Caraza-Harter
[301] Bits and Memory Tyler Caraza-Harter Ones and Zeros 01111111110101011000110010011011000010010001100110101101 01000101110110000000110011101011101111000110101010010011 00011000100110001010111010110001010011101000100110100000
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 informationModule 1: Information Representation I -- Number Systems
Unit 1: Computer Systems, pages 1 of 7 - Department of Computer and Mathematical Sciences CS 1305 Intro to Computer Technology 1 Module 1: Information Representation I -- Number Systems Objectives: Learn
More informationThe type of all data used in a C (or C++) program must be specified
The type of all data used in a C (or C++) program must be specified A data type is a description of the data being represented That is, a set of possible values and a set of operations on those values
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 informationDiscussion. Why do we use Base 10?
MEASURING DATA Data (the plural of datum) are anything in a form suitable for use with a computer. Whatever a computer receives as an input is data. Data are raw facts without any clear meaning. Computers
More informationOCR J276 GCSE Computer Science
Name: Class Teacher: Date: OCR J276 GCSE Computer Science REVISION BOOKLET 2.6 DATA REPRESENTATION Content in J276 GCSE Computer Science: 1.1 Systems Architecture 1.2 Memory 1.3 Storage 1.4 Wireless and
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 informationAnalogue vs. Discrete data
CL 1 Analogue vs. Discrete data analogue data Analogue vs. Discrete data Data is the raw information that is input into the computer. In other words, data is information that is not yet processed by the
More informationChapter Two. Hardware Basics: Inside the Box
Chapter Two Hardware Basics: Inside the Box After reading this chapter, you should be able to: Explain general terms how computers store and manipulate information. Describe the basic structure of a computer
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 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 informationdata within a computer system are stored in one of 2 physical states (hence the use of binary digits)
Binary Digits (bits) data within a computer system are stored in one of 2 physical states (hence the use of binary digits) 0V and 5V charge / NO charge on a transistor gate ferrite core magnetised clockwise
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 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 informationData Representation. Types of data: Numbers Text Audio Images & Graphics Video
Data Representation Data Representation Types of data: Numbers Text Audio Images & Graphics Video Analog vs Digital data How is data represented? What is a signal? Transmission of data Analog vs Digital
More informationCMSC 104 -Lecture 2 John Y. Park, adapted by C Grasso
CMSC 104 -Lecture 2 John Y. Park, adapted by C Grasso 1 Topics Major Computer Components Bits, Bytes, and Words The Decimal Number System The Binary Number System Converting from Binary to Decimal Converting
More informationMicroprocessors I MICROCOMPUTERS AND MICROPROCESSORS
Microprocessors I Outline of the Lecture Microcomputers and Microprocessors Evolution of Intel 80x86 Family Microprocessors Binary and Hexadecimal Number Systems MICROCOMPUTERS AND MICROPROCESSORS There
More informationWorksheet - Storing Data
Unit 1 Lesson 12 Name(s) Period Date Worksheet - Storing Data At the smallest scale in the computer, information is stored as bits and bytes. In this section, we'll look at how that works. Bit Bit, like
More informationTHE LOGIC OF COMPOUND STATEMENTS
CHAPTER 2 THE LOGIC OF COMPOUND STATEMENTS Copyright Cengage Learning. All rights reserved. SECTION 2.5 Application: Number Systems and Circuits for Addition Copyright Cengage Learning. All rights reserved.
More informationBeyond Base 10: Non-decimal Based Number Systems
Beyond Base : Non-decimal Based Number Systems What is the decimal based number system? How do other number systems work (binary, octal and hex) How to convert to and from nondecimal number systems to
More informationComputer Architecture and System Software Lecture 02: Overview of Computer Systems & Start of Chapter 2
Computer Architecture and System Software Lecture 02: Overview of Computer Systems & Start of Chapter 2 Instructor: Rob Bergen Applied Computer Science University of Winnipeg Announcements Website is up
More informationChapter 4: Computer Codes. In this chapter you will learn about:
Ref. Page 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 Ref. Page
More informationTeaching KS3 Computing. Session 3 Theory: More on binary and representing text Practical: Introducing IF
Teaching KS3 Computing Session 3 Theory: More on binary and representing text Practical: Introducing IF Today s session 5:00 6:00 Representing text as numbers characters and the computer 6.00 7.00 Programming
More informationChapter 4 The Components of the System Unit
Chapter 4 The Components of the System Unit The System Unit What is the system unit? Case that contains electronic components of the computer used to process data Sometimes called the chassis p. 184 Fig.
More informationExample 1: Denary = 1. Answer: Binary = (1 * 1) = 1. Example 2: Denary = 3. Answer: Binary = (1 * 1) + (2 * 1) = 3
1.1.1 Binary systems In mathematics and digital electronics, a binary number is a number expressed in the binary numeral system, or base-2 numeral system, which represents numeric values using two different
More informationData Storage. Slides derived from those available on the web site of the book: Computer Science: An Overview, 11 th Edition, by J.
Data Storage Slides derived from those available on the web site of the book: Computer Science: An Overview, 11 th Edition, by J. Glenn Brookshear Copyright 2012 Pearson Education, Inc. Data Storage Bits
More informationComputers Are Your Future
Computers Are Your Future 2008 Prentice-Hall, Inc. Computers Are Your Future Chapter 6 Inside the System Unit 2008 Prentice-Hall, Inc. Slide 2 What You Will Learn... Understand how computers represent
More informationComputers Are Your Future
Computers Are Your Future Twelfth Edition Chapter 2: Inside the System Unit Copyright 2012 Pearson Education, Inc. Publishing as Prentice Hall 1 Inside the Computer System Copyright 2012 Pearson Education,
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 informationumber Systems bit nibble byte word binary decimal
umber Systems Inside today s computers, data is represented as 1 s and 0 s. These 1 s and 0 s might be stored magnetically on a disk, or as a state in a transistor. To perform useful operations on these
More informationCSC 170 Introduction to Computers and Their Applications. Lecture #1 Digital Basics. Data Representation
CSC 170 Introduction to Computers and Their Applications Lecture #1 Digital Basics Data Representation Data refers to the symbols that represent people, events, things, and ideas. Data can be a name, a
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 informationBeyond Base 10: Non-decimal Based Number Systems
Beyond Base : Non-decimal Based Number Systems What is the decimal based number system? How do other number systems work (binary, octal and hex) How to convert to and from nondecimal number systems to
More informationCMSC 1513 Lecture 1.2
Key Point: A computer is an electronic device that stores and processes data. Hardware Software Hardware comprises the visible, physical elements of the computer. Software provides the invisible instructions
More informationAdmin. ! Assignment 3. ! due Monday at 11:59pm! one small error in 5b (fast division) that s been fixed. ! Midterm next Thursday in-class (10/1)
Admin CS4B MACHINE David Kauchak CS 5 Fall 5! Assignment 3! due Monday at :59pm! one small error in 5b (fast division) that s been fixed! Midterm next Thursday in-class (/)! Comprehensive! Closed books,
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 informationNumbers!!...is that right? CSCI 255
Numbers!!...is that right? CSCI 255 BASE10 What do we know and use all the time? 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 zero through nine.decimals! Position matters too. 5874263 3 x 10 6 x 10 2 x 10 4 x 10 7 x 10
More informationINTRODUCTION TO COMPUTERS
INTRODUCTION TO COMPUTERS When we talk about computers, we really are talking about a Computer System. Computer System: It is a combination of Hardware and Software. This combination allows a computer
More informationb A bit is the basic unit for storing electronic data, for example an MP3 file. The term bit is a
Digital download and file storage Syllabus: FSCo2 Focus Study: Mathematics and Communication Digital Storage b A bit is the basic unit for storing electronic data, for example an MP3 file. The term bit
More informationUnit 2 Digital Information. Chapter 1 Study Guide
Unit 2 Digital Information Chapter 1 Study Guide 2.5 Wrap Up Other file formats Other file formats you may have encountered or heard of include:.doc,.docx,.pdf,.mp4,.mov The file extension you often see
More informationIntroduction to Computers and Programming. Numeric Values
Introduction to Computers and Programming Prof. I. K. Lundqvist Lecture 5 Reading: B pp. 47-71 Sept 1 003 Numeric Values Storing the value of 5 10 using ASCII: 00110010 00110101 Binary notation: 00000000
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 informationMACHINE LEVEL REPRESENTATION OF DATA
MACHINE LEVEL REPRESENTATION OF DATA CHAPTER 2 1 Objectives Understand how integers and fractional numbers are represented in binary Explore the relationship between decimal number system and number systems
More informationLecture 1: What is a computer?
02-201, Fall 2015, Carl Kingsford Lecture 1: What is a computer? 0. Today's Topics Basic computer architecture How the computer represents data 1. What is a computer? A modern computer is a collection
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 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 informationAn Overview of the Computer System. Kafui A. Prebbie 24
An Overview of the Computer System Kafui A. Prebbie -kafui@kafui.com 24 The Parts of a Computer System What is a Computer? Hardware Software Data Users Kafui A. Prebbie -kafui@kafui.com 25 The Parts of
More informationBits and Bit Patterns
Bits and Bit Patterns Bit: Binary Digit (0 or 1) Bit Patterns are used to represent information. Numbers Text characters Images Sound And others 0-1 Boolean Operations Boolean Operation: An operation that
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 informationNotes from April 3 Tuesday
Notes from April 3 Tuesday With many weeks of ce108 covering higher level computing using matlab, it is time to go lower level so we could understand more of the computer terms used frequently in the computer
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 informationNumber Bases LESSON TWO. Computer Science. By John Owen
Number Bases LESSON TWO By John Owen Computer Science Objective In the last lesson you learned about different Number Bases used by the computer, which were Base Two binary Base Eight octal Base Sixteen
More informationLecture Objectives. Introduction to Computing Chapter 0. Topics. Numbering Systems 04/09/2017
Lecture Objectives Introduction to Computing Chapter The AVR microcontroller and embedded systems using assembly and c Students should be able to: Convert between base and. Explain the difference between
More informationLecture C1 Data Representation. Computing and Art : Nature, Power, and Limits CC 3.12: Fall 2007
Lecture C1 Data Representation Computing and Art : Nature, Power, and Limits CC 3.12: Fall 2007 Functionalia Instructor Chipp Jansen, chipp@sci.brooklyn.cuny.edu Course Web Page http://www.sci.brooklyn.cuny.edu/~chipp/cc3.12/
More informationHomeschool Enrichment. The System Unit: Processing & Memory
Homeschool Enrichment The System Unit: Processing & Memory Overview This chapter covers: How computers represent data and programs How the CPU, memory, and other components are arranged inside the system
More informationA comprehensive view of software in detail.
A comprehensive view of software in detail. Software are a set of instructions or programs that are designed to put the computer hardware to work. Information is stored using binary encoding which consists
More informationCMPS 10 Introduction to Computer Science Lecture Notes
CMPS Introduction to Computer Science Lecture Notes Binary Numbers Until now we have considered the Computing Agent that executes algorithms to be an abstract entity. Now we will be concerned with techniques
More informationAdmin CS41B MACHINE. Midterm topics. Admin 2/11/16. Midterm next Thursday in-class (2/18) SML. recursion. math. David Kauchak CS 52 Spring 2016
Admin! Assignment 3! due Monday at :59pm! Academic honesty CS4B MACHINE David Kauchak CS 5 Spring 6 Admin Midterm next Thursday in-class (/8)! Comprehensive! Closed books, notes, computers, etc.! Except,
More informationWhat is a computer? Units of Measurement. - A machine that: - Counts.
What is a computer? - A machine that: - Counts. - Does Arithmetic (Addition, Subtraction, Multiplication, and Division) in binary system. - Stores numbers. - Retrieves numbers. Units of Measurement - The
More informationHARDWARE AND OPERATING SYSTEMS
HARDWARE AND OPERATING SYSTEMS UNIT 2. IES MIGUEL ESPINOSA - MURCIA 3º ESO HARDWARE AND OPERATING SYSTEMS COMPUTERS LANGUAGE AND FUNCTION Binary System ASCII code Units of information Computer functions
More informationCourse Schedule. CS 221 Computer Architecture. Week 3: Plan. I. Hexadecimals and Character Representations. Hexadecimal Representation
Course Schedule CS 221 Computer Architecture Week 3: Information Representation (2) Fall 2001 W1 Sep 11- Sep 14 Introduction W2 Sep 18- Sep 21 Information Representation (1) (Chapter 3) W3 Sep 25- Sep
More informationBSC & BIT Numbering Systems. ITU Lecture 3b
BSC & BIT -1 2017-18 Numbering Systems ITU 07102 Lecture 3b Introduction We use a number to present a quantity (value) of any thing that can be quantified. Quantities are measured, monitored, recorded,
More informationSahalsoftware college. Welcome To understanding Basic Computer Concept
Welcome To understanding Basic Computer Concept 1 Chapter1: Understanding Computer Concepts What is a computer? A computer is a machine that takes in data, processes if following a set of instructions
More informationMastering Binary Math
Cisco certification candidates, from the CCNA to the CCIE, must master binary math. This includes basic conversions, such as binary-to-decimal and decimal-to-binary, as well as more advanced scenarios
More informationLecture (03) Binary Codes Registers and Logic Gates
Lecture (03) Binary Codes Registers and Logic Gates By: Dr. Ahmed ElShafee Binary Codes Digital systems use signals that have two distinct values and circuit elements that have two stable states. binary
More informationLecture 13: Memory and Programmable Logic
Lecture 13: Memory and Programmable Logic Syed M. Mahmud, Ph.D ECE Department Wayne State University Aby K George, ECE Department, Wayne State University Contents Introduction Random Access Memory Memory
More informationIB Computer Science Topic.2-
Topic.2- Computer Organization Designed by: Allan Lawson Sources: Online Materials, thanks for all Topic 2.1.1 Computer Architecture Outline the architecture of a central processing unit (CPU) and the
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 informationInformation Science 1
Information Science 1 -Basic Concepts of Computers: Opera4on, Architecture, Memory- Week 02 College of Information Science and Engineering Ritsumeikan University Today s lecture outline l Recall the previous
More informationReview: Exam 1. Computer Science E-1 3/4/11
Review: Exam 1 Computer Science E-1 3/4/11 Reminders Exam 1 on Monday, March 7 th Local students: in lieu of lecture 5:30 7:30pm @ Harvard Hall 104 Distance students: remote proctoring https://www.computerscience1.net/2011/spring/faqs
More informationVariables, Constants, and Data Types
Variables, Constants, and Data Types Strings and Escape Characters Primitive Data Types Variables, Initialization, and Assignment Constants Reading for this lecture: Dawson, Chapter 2 http://introcs.cs.princeton.edu/python/12types
More informationUnit 2: Data Storage CS 101, Fall 2018
Unit 2: Data Storage CS 101, Fall 2018 Learning Objectives After completing this unit, you should be able to: Evaluate digital circuits that use AND, OR, XOR, and NOT. Convert binary integers to/from decimal,
More informationComputer Memory. Data Structures and Algorithms CSE 373 SP 18 - KASEY CHAMPION 1
Computer Memory Data Structures and Algorithms CSE 373 SP 18 - KASEY CHAMPION 1 Warm Up public int sum1(int n, int m, int[][] table) { int output = 0; for (int i = 0; i < n; i++) { for (int j = 0; j
More informationTopic 1 : Introduction to Telecommunication
SPM1012 : Telecommunication and Networking Topic 1 : Introduction to Telecommunication Abdul Razak Bin Idris Megat Aman Zahiri Megat Zakaria Department of Educational Multimedia Faculty of Education UTM
More informationOBJECTIVES After reading this chapter, the student should be able to:
Data Representation OBJECTIVES After reading this chapter, the student should be able to: Define data types. Visualize how data are stored inside a computer. Understand the differences between text, numbers,
More informationWrite only as much as necessary. Be brief!
1 CIS371 Computer Organization and Design Midterm Exam Prof. Martin Thursday, March 15th, 2012 This exam is an individual-work exam. Write your answers on these pages. Additional pages may be attached
More informationChapter 4 The Components of the System Unit
Chapter 4 The Components of the System Unit Chapter 4 Objectives Differentiate among various styles of of system units Differentiate among the the various types of of memory Identify chips, adapter cards,
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 informationSystem Unit Components Chapter2
System Unit Components Chapter2 ITBIS105 IS-IT-UOB 2013 The System Unit What is the system unit? Case that contains electronic components of the computer used to process data Sometimes called the chassis
More informationSession 1: Physical and Web Infrastructure
INFM 603: Information Technology and Organizational Context Session 1: Physical and Web Infrastructure Jimmy Lin The ischool University of Maryland Thursday, September 6, 2012 A brief history (How computing
More informationUnit - II. Computer Concepts and C Programming 06CCP13. Unit II
Computer Concepts and C Programming () Unit II Unit Division Unit-II (6 Hours) Processing Data Storing Data Topics Transforming Data into Information How computers represent data How computers process
More informationProgramming Concepts and Skills. ASCII and other codes
Programming Concepts and Skills ASCII and other codes Data of different types We saw briefly in Unit 1, binary code. A set of instructions written in 0 s and 1 s, but what if we want to deal with more
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 informationChapter 1. Data Storage Pearson Addison-Wesley. All rights reserved
Chapter 1 Data Storage 2007 Pearson Addison-Wesley. All rights reserved Chapter 1: Data Storage 1.1 Bits and Their Storage 1.2 Main Memory 1.3 Mass Storage 1.4 Representing Information as Bit Patterns
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 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 informationMemory Addressing, Binary, and Hexadecimal Review
C++ By A EXAMPLE Memory Addressing, Binary, and Hexadecimal Review You do not have to understand the concepts in this appendix to become well-versed in C++. You can master C++, however, only if you spend
More informationMSc-IT 1st Semester Fall 2016, Course Instructor M. Imran khalil 1
Objectives Overview Differentiate among various styles of system units on desktop computers, notebook computers, and mobile devices Identify chips, adapter cards, and other components of a motherboard
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 informationGCSE Computer Science Component 02
GCSE Computer Science Component 02 Revision Computational Thinking ABSTRACTION Making a problem simpler by removing unnecessary details. This is important when coding as it: Makes it easier to code! Means
More informationFocus Study Communication 2 (FSCo2) Digital Download & File Storage. G. Georgiou
Focus Study Communication 2 (FSCo2) Digital Download & File Storage Name 1 General Mathematics (Preliminary Course) Digital Downloads & File Storage G. Georgiou Use Prefixes to Describe the Size of Units
More informationCS 105 Review Questions #3
1 CS 105 Review Questions #3 These review questions only include topics since our second test. To study for the final, please look at the first two review documents as well. Almost all of these questions
More informationDigital Systems COE 202. Digital Logic Design. Dr. Muhamed Mudawar King Fahd University of Petroleum and Minerals
Digital Systems COE 202 Digital Logic Design Dr. Muhamed Mudawar King Fahd University of Petroleum and Minerals Welcome to COE 202 Course Webpage: http://faculty.kfupm.edu.sa/coe/mudawar/coe202/ Lecture
More informationIntroduction to computers
Introduction to Computers 1 Introduction to computers You will learn what are the basic components of a computer system and the rudiments of how those components work. Are Computers Really So Confusing?
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 information