Computer System Basics 1 Number Systems & Text Representation Computer Forensics BACS 371.

Slides:



Advertisements
Similar presentations
Representing Data, Pictures, Time, and Size in Computer
Advertisements

Using Binary Coding Information Remember  Bit = 0 or 1, Binary Digit  Byte = the number of bits used to represent letters, numbers and special characters.
Text Representation within Computers CS208. The Binary Digit (Bit) One bit can encode a value set that contains two elements e.g. {black, white}, {up,
Data Representation in Computers
Data Representation (in computer system) Computer Fundamental CIM2460 Bavy LI.
CCE-EDUSAT SESSION FOR COMPUTER FUNDAMENTALS Date: Session III Topic: Number Systems Faculty: Anita Kanavalli Department of CSE M S Ramaiah.
Bits and Bytes.
COMPUTER FUNDAMENTALS David Samuel Bhatti
Lesson Objectives Explain the use of binary codes to represent characters Explain the term “Character set” Describe with examples (for examples ASCII and.
CODING SYSTEMS CODING SYSTEMS CODING SYSTEMS. CHARACTERS CHARACTERS digits: 0 – 9 (numeric characters) letters: alphabetic characters punctuation marks:
CHARACTERS Data Representation. Using binary to represent characters Computers can only process binary numbers (1’s and 0’s) so a system was developed.
Hexadecimal and ASCII Lesson Objective: Understand the purpose of ASCII and how to use it. Lesson Outcome: Convert between Hexadecimal and ASCII Convert.
©Brooks/Cole, 2003 Chapter 2 Data Representation.
Chapter 2 Data Representation. Define data types. Visualize how data are stored inside a computer. Understand the differences between text, numbers, images,
Chapter 3 Representing Numbers and Text in Binary Information Technology in Theory By Pelin Aksoy and Laura DeNardis.
Binary Numbers and ASCII and EDCDIC Mrs. Cueni. Data Representation  Human speech is analog because it uses continuous signals (waves) that vary in strength.
Agenda Data Representation – Characters Encoding Schemes ASCII
Lecture 2 Character Codes and Low-Structure Text Document Formats.
Bits & Bytes: How Computers Represent Data
Computer System Basics 1 Number Systems & Text Representation Computer Forensics BACS 371.
CSC 101 Introduction to Computing Lecture 9 Dr. Iftikhar Azim Niaz 1.
Chapter 4: Representation of data in computer systems: Characters OCR Computing for GCSE © Hodder Education 2011.
Data Representation S2. This unit covers how the computer represents- Numbers Text Graphics Control.
NUMBER SYSTEM AND COMPUTER CODES Chapter 2. Prelude Fingers, sticks, and other things for counting were not enough! Counting large numbers Count in groups.
1 INFORMATION IN DIGITAL DEVICES. 2 Digital Devices Most computers today are composed of digital devices. –Process electrical signals. –Can only have.
CISC1100: Binary Numbers Fall 2014, Dr. Zhang 1. Numeral System 2  A way for expressing numbers, using symbols in a consistent manner.  " 11 " can be.
1 Data Representation Characters, Integers and Real Numbers Binary Number System Octal Number System Hexadecimal Number System Powered by DeSiaMore.
Representing Characters in a computer Pressing a key on the computer a code is generated that the computer can convert into a symbol for displaying or.
Data Representation, Number Systems and Base Conversions
Representation of Characters
Irvine, Kip R. Assembly Language for Intel-Based Computers 6/e, Signed Integers The highest bit indicates the sign. 1 = negative, 0 = positive.
Agenda Character representation Numerical Conversions ASCII EBCDIC
Data Representation. What is data? Data is information that has been translated into a form that is more convenient to process As information take different.
M204 - Data Representation
DATA REPRESENTATION 4 Y. Colette Lemard February 2009.
ASCII AND EBCDIC CODES By : madam aisha.
Characters and Strings
Representing Characters in a Computer System Representation of Data in Computer Systems.
Information Coding Schemes Group Member : Yvonne Tiffany Jurifah bt Junaidi Clara Jane George.
CS 125 Lecture 3 Martin van Bommel. Overflow In 16-bit two’s complement, what happens if we add =
Binary a. express numbers in binary, binary-coded decimal (BCD), octal and hexadecimal;
Base 16 (hexadecimal) Uses the decimal digits and the first letters of the alphabet to encode 4 binary bits (16=2 4 ) abcdef or ABCDEF.
THE CODING SYSTEM FOR REPRESENTING DATA IN COMPUTER.
1.4 Representation of data in computer systems Character.
Introduction to computer science Lec2 cs111. Extended Binary Coded Decimal Interchange Code (EBCDIC) is an 8- bit character encoding used mainly on.
Lecture Coding Schemes. Representing Data English language uses 26 symbols to represent an idea Different sets of bit patterns have been designed to represent.
Nat 4/5 Computing Science Data Representation Lesson 3: Storing Text
Day 6 - Encoding and Sending Formatted Text
Binary Representation in Text
Binary Representation in Text
Unit 2.6 Data Representation Lesson 2 ‒ Characters
Lesson Objectives Aims You should be able to:
Binary Numbers and ASCII and EDCDIC
Number Representation
Day 6 - Encoding and Sending Formatted Text
CSCI 198: Lecture 4: Data Representation
CSCI 161: Lecture 4: Data Representation
Bits & Bytes How Computers Represent Data
Information Support and Services
Phnom Penh International University (PPIU)
Data Encoding Characters.
TOPICS Information Representation Characters and Images
Lecture 3 ISE101: Computing Fundamentals
Ch2: Data Representation
Presenting information as bit patterns
COMS 161 Introduction to Computing
Chapter 2 Data Representation.
COMS 161 Introduction to Computing
Day 6 - Encoding and Sending Formatted Text
Learning Intention I will learn how computers store text.
Presentation transcript:

Computer System Basics 1 Number Systems & Text Representation Computer Forensics BACS 371

Computer System Basics  Number Systems  Decimal (base 10)  Binary (base 2)  Octal (base 8)  Hexadecimal (base 16)  Conversions  Little Endian vs. Big Endian  Text Representation  ASCII  EBCDIC  Unicode

Number Systems  Decimal – base 10  Binary – base 2  Octal – base 8  Hexadecimal – base 16

Decimal Number System  Base 10  Uses digits 0~9  Based on powers of ,00010, * 10 5 = 300,000 2 * 10 4 = 20,000 7 * 10 3 = 7,000 1 * 10 2 = * 10 1 = 90 4 * 10 0 = TOTAL = 327,194

Binary Number System  Base 2  Uses digits 0~1  Based on powers of * 2 5 = 32 1 * 2 4 = 16 0 * 2 3 = 0 1 * 2 2 = 4 0 * 2 1 = 0 1 * 2 0 = = Base 10 Base

Octal Number System  Base 8  Uses digits 0~7  Based on powers of * 8 4 = 28,672 0 * 8 3 = 0 2 * 8 2 = * 8 1 = 48 5 * 8 0 = = 28, Base 10 Base

Hexadecimal Number System  Base 16  Uses digits 0~9 and A, B, C, D, E, F  Based on powers of ,048,57665, F7A0E 3 * 16 5 = 3,145,728 F * 16 4 = 983,040 7 * 16 3 = 28,672 A * 16 2 = * 16 1 = 0 E * 16 0 = F7A0E 16 = 10,451, Base 10 Base A 11B 12C 13D 14E 15F

Number System Comparison DecimalBinaryOctalHexadecimal A B C D E F

Number System Representations  Binary  b   Octal  115o – note: trailing charter is a lowercase ‘oh’   Hexadecimal  0x4D -- note: leading character is a zero  4Dh  4D 16

Little Endian vs. Big Endian Please read this. Deals with the order that bytes are stored in Intel-based versus non Intel-based computers.  Intel-based are normally PC-type computers  Non Intel-based are normally mainframe computers  Little Endian – stored left-to-right (Intel-based)  Big Endian – stored right-to-left (mainframe)

Text Representations  Text values stored in a computer can be in several formats  ASCII  EBCDIC  Unicode (various types) By far, the most common is ASCII

ASCII  ASCII, pronounced "ask-key", is the common code for microcomputer equipment  American Standard Code for Information Interchange  Proposed by ANSI in 1963, and finalized in 1968ANSI  The standard ASCII character set consists of 128 decimal numbers ranging from zero through 127 assigned to letters, numbers, punctuation marks, and the most common special characters  The first 32 codes are reserved for “non-printing” or “control” characters – supported original teletype systems  The Extended ASCII Character Set also consists of 128 decimal numbers and ranges from 128 through 255 representing additional special, mathematical, graphic, and foreign characters

ASCII Table

Extended ASCII Table

Text Binary Converters  ools/binary.shtml ools/binary.shtml  binary.php binary.php TEXT Hello World BINARY Hex C 6C 6F F 72 6C 64 TextBinaryOctalHex H e l C l C o F

WinHex View

EBCDIC  Extended Binary Code Decimal Interchange Code  Originally used by IBM-based mainframes  Totally different encoding scheme from ASCII and Unicode  Still used, but not as prevalent as in the past

Unicode  Character coding standard used in NTFS  “Unicode provides a unique number for every character, no matter what the platform, no matter what the program, no matter what the language.”  Three varieties of Unicode Transformation Format  UTF-8 – identical to ASCII for western languages  UTF-16 – 16-bits per character  UTF-32 – 32-bits per character

Why do we care?  As a forensic analyst, you will be working with different number systems and encoding schemes.  You need to understand the conversion process between the different number systems and, if necessary, perform them by hand.  You also need to understand hexadecimal and ASCII well enough to be able to interpret “hex dumps.”

But wait…. There’s more!  All the encoding schemes covered only apply to “text” data.  There are different encoding methods for other types of digital evidence (e.g., numbers, dates, times, executable programs, …).  The computer stores everything as 1’s and 0’s and the way you (and the computer) interpret groups of bits depends upon the context.