Data Storage and Manipulation

Size: px
Start display at page:

Download "Data Storage and Manipulation"

Transcription

1 Data Storage and Manipulation

2 Data Storage Bits and Their Storage: Gates and Flip-Flops, Other Storage Techniques, Hexadecimal notation Main Memory: Memory Organization, Measuring Memory Capacity Mass Storage: Magnetic Disks, Compact Disks, Magnetic Tape, File Storage and Retrieval Representing Information as Bit Patterns: Text, Numeric Values, Images, Sound The Binary System: Addition, Fraction

3 Storing Integers: Two s Complement Notation, Excess Notation Storing Fractions: Floating-Point, Truncation Errors Data Compress: Generic Data Compression Techniques, Compressing Images Communication Errors: Parity Bits, Error- Correcting Codes

4 The AND operation 0 AND 0 = 0 0 AND 1 = 0 1 AND 0 = 0 1 AND 1 = 1

5 The OR operation 0 OR 0 = 0 0 OR 1 = 1 1 OR 0 = 1 1 OR 1 = 1

6 The XOR operation 0 XOR 0 = 0 0 XOR 1 = 1 1 XOR 0 = 1 1 XOR 1 = 0

7 The NOT operation NOT 0 = 1 NOT 1 = 0

8 Gates and Flip-Flops Gate: a device that produces the output of a Boolean operation when given the operation s input values Boolean operation: operations that manipulate true/false values Flip-flop: a circuit that produces an output value of 0 or 1 that remains constant until a temporary pulse from another circuit causes it to shift to the other value.

9

10 Figure 1.4: Setting the output of a flip-flop to 1 (continued)

11 Figure 1.4: Setting the output of a flip-flop to 1 (continued)

12 Figure 1.4: Setting the output of a flip-flop to 1

13

14 The hexadecimal coding system

15 Figure 1.7: The organization of a byte-size memory cell

16 Figure 1.8: Memory cells arranged by address

17 Magnetic Disks Seek Time: the time to move the read/write heads from one track to the desired track. Rotation delay/latency time: Once the head has reached the correct track, we must wait for the desired sector to rotate under the read/write head. Transfer time: the time to transfer a block of bits, typical a sector. Access time = Seek time + Latency time + Transfer time + Controller overhead

18 FIGURE 1.9 A disk storage system

19 Compact Disks 12 centimeters in diameter and consist of reflective material covered with a clear protective coating. Information is recorded on them by creating variations in their reflective surfaces. This information can then be retrieved by means of a laser beam that monitors irregularities on the reflective surface.

20 CD-ROM: CD-Read-Only-Memory Information on a CD is stored on a single track that spirals around the CD like a groove in an old-fashioned record. The track spirals from the inside out. This track is divided into units called sectors. All sectors contain the same amount of data and each has its own identifying markings. A sector contains 2KB data.

21 Information is stored at a uniform linear density over the entire spiraled track. To obtain a uniform rate of data transfer, CD players are designed to vary the CD s rotation speed depending on the location of the laser beam. CD-Rom formats have capacities slightly over 600 MB. DVD (Digital Versatile Disk) provide storage capacities on the order of 10 GB. CD-WORM: Write once, read many

22 Figure 1.10: CD storage format

23 Figure 1.11: A magnetic tape storage mechanism

24 File Storage and Retrieval Logical record sizes rarely match the physical record size. Several logical records residing within a single physical record or perhaps a logical record split between two or more physical records. A certain amount of unscrambling is often associated with retrieving data from mass storage systems.

25 Set aside an area of main memory that is large enough to hold several physical physical records and to use this memory space as a regrouping area. Updating data stored in mass storage involves transferring the data to main memory, updating the data, and then transferring the updated data back to mass storage.

26

27 Representing Information as Bit Patterns Unicode: uses a unique pattern of 16 bits to represent each symbol. ISO: International Organization for Standardization using patterns of 32 bits to represent symbols. ASCII: American Standard Code for Information Interchange 8 bits

28 The message Hello. in ASCII H e l l o

29 Figure 1.14: The base ten and binary systems

30 Figure 1.15: Decoding the binary representation

31 An algorithm for finding the binary representation of a positive integer Step 1: Divide the value by two and record the remainder Step 2: As long as the quotient obtained is not zero, continue to divide the newest quotient by two and record the remainder. Step 3: Now that a quotient of zero has been obtained, the binary representation of the original value consists of the remainders listed from right to left in the order they were recorded.

32 Figure 1.17: Applying the algorithm in Figure 1.15 to obtain the binary representation of thirteen

33 Figure 1.18: The sound wave represented by the sequence 0, 1.5, 2.0, 1.5, 2.0, 3.0, 4.0, 3.0, 0

34 Audio CD Sampling 44.1 khz, 16 bits (2 bytes) per sampling, two channels (stereo) 2 bytes * 2 * 44.1k =176.4 k bytes / second Beethoven 9th symphony 74 min. and 42 sec k * (60*74+ 42) ~ 750 M bytes MP3 (MPEG-1 Audio layer-3): using data compression to reduce the required storage space to 1/12 to 1/10.

35 Figure 1.19: The binary addition facts

36 Figure 1.20: Decoding the binary representation

37 Complement = 67 (100 45) = = 12

38 Figure 1.21: Two s complement notation systems

39 Figure 1.22: Coding the value -6 in two s complement notation using four bits

40 Figure 1.23: Addition problems converted to two s complement notation Overflow? E.g. 6+7= -3 or -6-8 = (-6)+(-8)=+2 Machine can make mistakes. It is treated with a special procedure.

41 Figure 1.24: An excess eight conversion table

42 Figure 1.25: An excess notation system using bit patterns of length three

43 Figure 1.26: Floating-point notation components

44 Figure 1.27: Coding the value 2 5/8 Converting 0.3 (Decimal) to binary =? Truncation (round off) error

45 Representing Images Bit map: an image is considered to be a collection of dots, each of which is called a pixel. Facsimile machines, video cameras, scanners. (GIF and JPEG compress such images into more manageable sizes.) can t be easily rescaled to any arbitrary size. Vector: an image is represented as a collection of lines and curves. Scalable fonts. Not able to provide the photographic quality images.

46 Grayscale of 3 bits

47

48 Data Compression Run-length encoding replacing long sequences of the same value with a code indicating the value that is repeated and the number of times it occurs in the sequence. e.g. 253 ones and 118 zeros and 87 ones = 458 bits Compression rate approx. ~ (3 bytes+3 bits) / 458 bits = (27/458) ~ 6%

49 Data Compression Relative encoding record the differences between consecutive data blocks rather than entire blocks. Picture differs slightly from the preceding one, e.g. consecutive frames of a motion picture Ex: If only 4% of the two consecutive frames differ, the compression rate ~ 4%

50 Data Compression Frequency-dependent encoding the length of the bit pattern used to represent a data item is inversely related to the frequency of the item s use. Huffman codes e.g. use less space for (e, t, a), and more space for (z, q, x) Ex: an article with 1000 characters (including symbols) ~ 8 bits*1000 = 8,000 bits (e, t, a) with 3 bits, and the rest with 9 bits 700 characters of (e, t,a) and 300 characters of the rest. ~ 3 bits * bits * 300 = 4,800 bits => Compression rate ~ 4,800/8,000 = 60%

51 Lempel-Ziv encoding Adaptive dictionary encoding the dictionary is allowed to change during the encoding process. LZ77 start by actually quoting the initial part of the message, but at some point we would shift to representing future segments by triples, each consisting of two integers followed by a symbol from the message.

52 Figure 1.28: Decompressing xyxxyzy (5, 4, x)

53 LZ77 encoding xyxxyzy(5,4,x)(0,0,w)(8,6,y) xyxxyzyxxyzx(0,0,w)(8,6,y) xyxxyzyxxyzxw(8,6,y) xyxxyzy xxyzx w zyxxyzy xyxxyzyxxyzxwzyxxyzy

54 Compressing Images Three-byte-per-pixel GIF (Graphic Interchange Format) reducing the number of colors that can be assigned to a pixel to only 256 (good for cartoon images) Each of the 256 potential pixel values is associated with a red-green-blue combination by means of a table known as the palette. Comparison: Chinese characters reference table -> another method of data compression

55 JPEG (Joint Photographic Experts Group) Encompasses several methods of image representation, each with is own goals. Lossless mode Impling that no information is lost in the process of encoding the picture. Space is saved by storing the difference between consecutive pixels rather than the pixel intensities themselves. (relative encoding) These differences are then coded using a variablelength code to further conserve storage space.

56 JPEG (lossy mode) Each pixel is represented by three components - a brightness component and two color components The human eye is more sensitive to changes in brightness than to changes in color. Encode each brightness component but averaging the values of the color components over the four pixel blocks and recording only these 4 block averages. 4-pixel block is presented by only 6 values (4 brightness values and 2 color values) The compression rate is in the range of 1/20.

57 Additional space is saved by recording data that indicate how the various brightness and color components change rather than their actual values. The degree to which nearby pixel values differ can be recorded using fewer bits than would be required if the actual values were recorded. (discrete cosine transform)

58 ~200 k bytes

59 ~60 k bytes

60 MPEG Motion Picture Experts Group Start a picture sequence with an image similar to JPEG s baseline and then to represent the rest of the sequence using relative encoding techniques. The relative encoding is taken within one picture and two or more consecutive pictures. (Mostly, only small fraction of the image varies, while the rest keeps the same.) e.g. internet movie (Due to different compression rates, you may see a blurred image in some fast or drastically changing motion due to limited bandwidth.)

61 Communication Errors Parity bits Long bit patterns are often accompanied by a collection of parity bits making up a checkbyte.

62 Figure 1.29: The ASCII codes for the letters A and F adjusted for odd parity

63 An error in any one of the check bits will cause exactly one parity check violation, while an error in any one of the message it will cause violations of a distinct pair of parity checks.

64 The parity can be either or odd. If the received data are different from the assigned parity, there exist some communication errors. ->Redo the action to get correct data. Note: Parity check does not ensure the correctness of communication, e.g. even number of erroneous bits. (but the possibility is usually much lower than that of single erroneous bit.)

65 Communication Errors Error-Correcting Codes: Hamming distance between two patterns to be the number of bits in which the two differ. X = and Y = Z = Hamming distance of (X,Y) = 3 Hamming distance of (Y,Z) = 5

66 Figure 1.30: An error-correcting code

67 Figure 1.31: Decoding the pattern using the code in Figure 1.30 The closest character is D.

68 Single-error-correcting code M 1 M 2 M 3 C 1 C 2 C : exclusive OR (XOR) C 1 = M 1 M C 2 = M 2 M C 3 = M 1 M

69 ECC with Hamming distance of three allows us to detect two errors per pattern and correct one error, while EEC with Hamming distance of five, to detect four errors and correct two errors.

Data Manipulation. Audio and Image Representation. -Representation, Compression, and Communication Errors. Audio Representation

Data Manipulation. Audio and Image Representation. -Representation, Compression, and Communication Errors. Audio Representation Audio and Image Representation Data Manipulation -Representation, Compression, and Communication Errors Why should the (wireless) broadcasting channels be RE-LICENSED, and DIGITALIZED? Limited bandwidth

More information

8/30/2010. Chapter 1: Data Storage. Bits and Bit Patterns. Boolean Operations. Gates. The Boolean operations AND, OR, and XOR (exclusive or)

8/30/2010. Chapter 1: Data Storage. Bits and Bit Patterns. Boolean Operations. Gates. The Boolean operations AND, OR, and XOR (exclusive or) Chapter 1: Data Storage Bits and Bit Patterns 1.1 Bits and Their Storage 1.2 Main Memory 1.3 Mass Storage 1.4 Representing Information as Bit Patterns 1.5 The Binary System 1.6 Storing Integers 1.8 Data

More information

Chapter 1: Data Storage. Copyright 2015 Pearson Education, Inc.

Chapter 1: Data Storage. Copyright 2015 Pearson Education, Inc. Chapter 1: Data Storage 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 1.5 The Binary System 1-2 Chapter 1: Data Storage

More information

Introduction to Computers & Programming

Introduction to Computers & Programming 6.070 Introduction to Computers & Programming Machine architecture: data storage, memory organisation, logic gates Prof. Kristina Lundqvist Dept. of Aero/Astro, MIT Chapter Summary: B Chapter presents

More information

Data Representation. signals can vary continuously across an infinite range of values e.g., frequencies on an old-fashioned radio with a dial

Data Representation. signals can vary continuously across an infinite range of values e.g., frequencies on an old-fashioned radio with a dial Data Representation 1 Analog vs. Digital there are two ways data can be stored electronically 1. analog signals represent data in a way that is analogous to real life signals can vary continuously across

More information

Chapt er 3 Data Representation

Chapt er 3 Data Representation Chapter 03 Data Representation Chapter Goals Distinguish between analog and digital information Explain data compression and calculate compression ratios Explain the binary formats for negative and floating-point

More information

Lab 2 Part 1 assigned for lab sessions this week

Lab 2 Part 1 assigned for lab sessions this week CSE 111 Fall 2010 September 20 24 ANNOUNCEMENTS Lab 2 Part 1 assigned for lab sessions this week Turn it in via UBLearns Lab 2 Part 2 next week Exam 1 Monday, October 4 th in lecture 1 STORING IMAGE INFORMATION

More information

Advanced Data Structures and Algorithms

Advanced Data Structures and Algorithms Data Compression Advanced Data Structures and Algorithms Associate Professor Dr. Raed Ibraheem Hamed University of Human Development, College of Science and Technology Computer Science Department 2015

More information

CSCI 120 Introduction to Computation Bits... and pieces (draft)

CSCI 120 Introduction to Computation Bits... and pieces (draft) CSCI 120 Introduction to Computation Bits... and pieces (draft) Saad Mneimneh Visiting Professor Hunter College of CUNY 1 Yes No Yes No... I am a Bit You may recall from the previous lecture that the use

More information

UNIT 1: DIGITAL LOGICAL CIRCUITS What is Digital Computer? OR Explain the block diagram of digital computers.

UNIT 1: DIGITAL LOGICAL CIRCUITS What is Digital Computer? OR Explain the block diagram of digital computers. UNIT 1: DIGITAL LOGICAL CIRCUITS What is Digital Computer? OR Explain the block diagram of digital computers. Digital computer is a digital system that performs various computational tasks. The word DIGITAL

More information

Announcements. Project Turn-In Process. and URL for project on a Word doc Upload to Catalyst Collect It

Announcements. Project Turn-In Process. and URL for project on a Word doc Upload to Catalyst Collect It Announcements Project Turn-In Process Put name, lab, UW NetID, student ID, and URL for project on a Word doc Upload to Catalyst Collect It 1 Project 1A: Announcements Turn in the Word doc or.txt file before

More information

Digital Media. Daniel Fuller ITEC 2110

Digital Media. Daniel Fuller ITEC 2110 Digital Media Daniel Fuller ITEC 2110 Daily Question: Video How does interlaced scan display video? Email answer to DFullerDailyQuestion@gmail.com Subject Line: ITEC2110-26 Housekeeping Project 4 is assigned

More information

SECONDARY STORAGE DEVICES: MAGNETIC TAPES AND CD-ROM

SECONDARY STORAGE DEVICES: MAGNETIC TAPES AND CD-ROM SECONDARY STORAGE DEVICES: MAGNETIC TAPES AND CD-ROM Contents of today s lecture: Magnetic Tapes Characteristics of magnetic tapes Data organization on 9-track tapes Estimating tape length requirements

More information

TYPICAL QUESTIONS & ANSWERS

TYPICAL QUESTIONS & ANSWERS DIGITALS ELECTRONICS TYPICAL QUESTIONS & ANSWERS OBJECTIVE TYPE QUESTIONS Each Question carries 2 marks. Choose correct or the best alternative in the following: Q.1 The NAND gate output will be low if

More information

4 Anatomy of a digital camcorder

4 Anatomy of a digital camcorder 4 Anatomy of a digital camcorder Main Points: main component of a camcorder and their processes Lenses subsystem microphone subsystem Storage used in Camcorders and their properties: Tape DVD Flash Batteries

More information

Example: compressing black and white images 2 Say we are trying to compress an image of black and white pixels: CSC310 Information Theory.

Example: compressing black and white images 2 Say we are trying to compress an image of black and white pixels: CSC310 Information Theory. CSC310 Information Theory Lecture 1: Basics of Information Theory September 11, 2006 Sam Roweis Example: compressing black and white images 2 Say we are trying to compress an image of black and white pixels:

More information

Link download full: Test Bank for Business Data Communications Infrastructure Networking and Security 7th Edition by William

Link download full: Test Bank for Business Data Communications Infrastructure Networking and Security 7th Edition by William Link download full: Test Bank for Business Data Communications Infrastructure Networking and Security 7th Edition by William https://digitalcontentmarket.org/download/test-bank-for-business-datacommunications-infrastructure-networking-and-security-7th-edition-by-william-andtom/

More information

How do you make a picture?

How do you make a picture? Take-Away Messages LBSC 690 Session #11 Multimedia Human senses are gullible Images, video, and audio are all about trickery Compression: storing a lot of information in a little space So that it fits

More information

1/29/2008. Announcements. Announcements. Announcements. Announcements. Announcements. Announcements. Project Turn-In Process. Quiz 2.

1/29/2008. Announcements. Announcements. Announcements. Announcements. Announcements. Announcements. Project Turn-In Process. Quiz 2. Project Turn-In Process Put name, lab, UW NetID, student ID, and URL for project on a Word doc Upload to Catalyst Collect It Project 1A: Turn in before 11pm Wednesday Project 1B Turn in before 11pm a week

More information

Announcements. Project Turn-In Process. Project 1A: Project 1B. and URL for project on a Word doc Upload to Catalyst Collect It

Announcements. Project Turn-In Process. Project 1A: Project 1B. and URL for project on a Word doc Upload to Catalyst Collect It Announcements Project Turn-In Process Put name, lab, UW NetID, student ID, and URL for project on a Word doc Upload to Catalyst Collect It Project 1A: Turn in before 11pm Wednesday Project 1B T i b f 11

More information

CS302 Digital Logic Design Solved Objective Midterm Papers For Preparation of Midterm Exam

CS302 Digital Logic Design Solved Objective Midterm Papers For Preparation of Midterm Exam CS302 Digital Logic Design Solved Objective Midterm Papers For Preparation of Midterm Exam MIDTERM EXAMINATION Spring 2012 Question No: 1 ( Marks: 1 ) - Please choose one A SOP expression is equal to 1

More information

Minnesota State College Southeast

Minnesota State College Southeast ELEC 2211: Digital Electronics II A. COURSE DESCRIPTION Credits: 4 Lecture Hours/Week: 2 Lab Hours/Week: 4 OJT Hours/Week: *.* Prerequisites: None Corequisites: None MnTC Goals: None Minnesota State College

More information

Motion Video Compression

Motion Video Compression 7 Motion Video Compression 7.1 Motion video Motion video contains massive amounts of redundant information. This is because each image has redundant information and also because there are very few changes

More information

ILDA Image Data Transfer Format

ILDA Image Data Transfer Format ILDA Technical Committee Technical Committee International Laser Display Association www.laserist.org Introduction... 4 ILDA Coordinates... 7 ILDA Color Tables... 9 Color Table Notes... 11 Revision 005.1,

More information

Electronic Publishing

Electronic Publishing Electronic Publishing Size Does Matter ECEN 1200 Telecommunications 1 Electronic Newspaper Suppose it is desired to publish this newspaper electronically. What are important design considerations and questions

More information

Understanding Compression Technologies for HD and Megapixel Surveillance

Understanding Compression Technologies for HD and Megapixel Surveillance When the security industry began the transition from using VHS tapes to hard disks for video surveillance storage, the question of how to compress and store video became a top consideration for video surveillance

More information

Flip Flop. S-R Flip Flop. Sequential Circuits. Block diagram. Prepared by:- Anwar Bari

Flip Flop. S-R Flip Flop. Sequential Circuits. Block diagram. Prepared by:- Anwar Bari Sequential Circuits The combinational circuit does not use any memory. Hence the previous state of input does not have any effect on the present state of the circuit. But sequential circuit has memory

More information

I B.SC (INFORMATION TECHNOLOGY) [ ] Semester II CORE : DIGITAL COMPUTER FUNDAMENTALS - 212B Multiple Choice Questions.

I B.SC (INFORMATION TECHNOLOGY) [ ] Semester II CORE : DIGITAL COMPUTER FUNDAMENTALS - 212B Multiple Choice Questions. Dr.G.R.Damodaran College of Science (Autonomous, affiliated to the Bharathiar University, recognized by the UGC)Re-accredited at the 'A' Grade Level by the NAAC and ISO 9001:2008 Certified CRISL rated

More information

Vannevar Bush: As We May Think

Vannevar Bush: As We May Think Vannevar Bush: As We May Think 1. What is the context in which As We May Think was written? 2. What is the Memex? 3. In basic terms, how was the Memex intended to work? 4. In what ways does personal computing

More information

interactive multimedia: allow an end user also known as the viewer of a multimedia project to control what and when the elements are delivered

interactive multimedia: allow an end user also known as the viewer of a multimedia project to control what and when the elements are delivered Ch1 Multimedia is any combination of text, art, sound, animation, and video delivered to you by computer or other electronic or digitally manipulated means. interactive multimedia: allow an end user also

More information

Lossless Compression Algorithms for Direct- Write Lithography Systems

Lossless Compression Algorithms for Direct- Write Lithography Systems Lossless Compression Algorithms for Direct- Write Lithography Systems Hsin-I Liu Video and Image Processing Lab Department of Electrical Engineering and Computer Science University of California at Berkeley

More information

CS302 - Digital Logic & Design

CS302 - Digital Logic & Design AN OVERVIEW & NUMBER SYSTEMS Lesson No. 01 Analogue versus Digital Most of the quantities in nature that can be measured are continuous. Examples include Intensity of light during the da y: The intensity

More information

The word digital implies information in computers is represented by variables that take a limited number of discrete values.

The word digital implies information in computers is represented by variables that take a limited number of discrete values. Class Overview Cover hardware operation of digital computers. First, consider the various digital components used in the organization and design. Second, go through the necessary steps to design a basic

More information

Tribhuvan University Institute of Science and Technology Bachelor of Science in Computer Science and Information Technology

Tribhuvan University Institute of Science and Technology Bachelor of Science in Computer Science and Information Technology Tribhuvan University Institute of Science and Technology Bachelor of Science in Computer Science and Information Technology Course Title: Digital Logic Full Marks: 60 + 0 + 0 Course No.: CSC Pass Marks:

More information

1. Convert the decimal number to binary, octal, and hexadecimal.

1. Convert the decimal number to binary, octal, and hexadecimal. 1. Convert the decimal number 435.64 to binary, octal, and hexadecimal. 2. Part A. Convert the circuit below into NAND gates. Insert or remove inverters as necessary. Part B. What is the propagation delay

More information

DIGITAL SYSTEM DESIGN UNIT I (2 MARKS)

DIGITAL SYSTEM DESIGN UNIT I (2 MARKS) DIGITAL SYSTEM DESIGN UNIT I (2 MARKS) 1. Convert Binary number (111101100) 2 to Octal equivalent. 2. Convert Binary (1101100010011011) 2 to Hexadecimal equivalent. 3. Simplify the following Boolean function

More information

Implementation of an MPEG Codec on the Tilera TM 64 Processor

Implementation of an MPEG Codec on the Tilera TM 64 Processor 1 Implementation of an MPEG Codec on the Tilera TM 64 Processor Whitney Flohr Supervisor: Mark Franklin, Ed Richter Department of Electrical and Systems Engineering Washington University in St. Louis Fall

More information

QUICK GUIDE COMPUTER LOGICAL ORGANIZATION - OVERVIEW

QUICK GUIDE COMPUTER LOGICAL ORGANIZATION - OVERVIEW QUICK GUIDE http://www.tutorialspoint.com/computer_logical_organization/computer_logical_organization_quick_guide.htm COMPUTER LOGICAL ORGANIZATION - OVERVIEW Copyright tutorialspoint.com In the modern

More information

EMBEDDED ZEROTREE WAVELET CODING WITH JOINT HUFFMAN AND ARITHMETIC CODING

EMBEDDED ZEROTREE WAVELET CODING WITH JOINT HUFFMAN AND ARITHMETIC CODING EMBEDDED ZEROTREE WAVELET CODING WITH JOINT HUFFMAN AND ARITHMETIC CODING Harmandeep Singh Nijjar 1, Charanjit Singh 2 1 MTech, Department of ECE, Punjabi University Patiala 2 Assistant Professor, Department

More information

Video 1 Video October 16, 2001

Video 1 Video October 16, 2001 Video Video October 6, Video Event-based programs read() is blocking server only works with single socket audio, network input need I/O multiplexing event-based programming also need to handle time-outs,

More information

Video coding standards

Video coding standards Video coding standards Video signals represent sequences of images or frames which can be transmitted with a rate from 5 to 60 frames per second (fps), that provides the illusion of motion in the displayed

More information

MULTIMEDIA TECHNOLOGIES

MULTIMEDIA TECHNOLOGIES MULTIMEDIA TECHNOLOGIES LECTURE 08 VIDEO IMRAN IHSAN ASSISTANT PROFESSOR VIDEO Video streams are made up of a series of still images (frames) played one after another at high speed This fools the eye into

More information

ELEC 691X/498X Broadcast Signal Transmission Fall 2015

ELEC 691X/498X Broadcast Signal Transmission Fall 2015 ELEC 691X/498X Broadcast Signal Transmission Fall 2015 Instructor: Dr. Reza Soleymani, Office: EV 5.125, Telephone: 848 2424 ext.: 4103. Office Hours: Wednesday, Thursday, 14:00 15:00 Time: Tuesday, 2:45

More information

MODULE 3. Combinational & Sequential logic

MODULE 3. Combinational & Sequential logic MODULE 3 Combinational & Sequential logic Combinational Logic Introduction Logic circuit may be classified into two categories. Combinational logic circuits 2. Sequential logic circuits A combinational

More information

The reduction in the number of flip-flops in a sequential circuit is referred to as the state-reduction problem.

The reduction in the number of flip-flops in a sequential circuit is referred to as the state-reduction problem. State Reduction The reduction in the number of flip-flops in a sequential circuit is referred to as the state-reduction problem. State-reduction algorithms are concerned with procedures for reducing the

More information

1. True/False Questions (10 x 1p each = 10p) (a) I forgot to write down my name and student ID number.

1. True/False Questions (10 x 1p each = 10p) (a) I forgot to write down my name and student ID number. CprE 281: Digital Logic Midterm 2: Friday Oct 30, 2015 Student Name: Student ID Number: Lab Section: Mon 9-12(N) Mon 12-3(P) Mon 5-8(R) Tue 11-2(U) (circle one) Tue 2-5(M) Wed 8-11(J) Wed 6-9(Y) Thur 11-2(Q)

More information

Contents Circuits... 1

Contents Circuits... 1 Contents Circuits... 1 Categories of Circuits... 1 Description of the operations of circuits... 2 Classification of Combinational Logic... 2 1. Adder... 3 2. Decoder:... 3 Memory Address Decoder... 5 Encoder...

More information

Multimedia Communications. Video compression

Multimedia Communications. Video compression Multimedia Communications Video compression Video compression Of all the different sources of data, video produces the largest amount of data There are some differences in our perception with regard to

More information

Multimedia: is any combination of: text, graphic art, sound, animation, video delivered by computer or electronic means.

Multimedia: is any combination of: text, graphic art, sound, animation, video delivered by computer or electronic means. Chapter #1. Multimedia: is any combination of: text, graphic art, sound, animation, video delivered by computer or electronic means. Multimedia types: Interactive multimedia: allows the user to control

More information

How Does H.264 Work? SALIENT SYSTEMS WHITE PAPER. Understanding video compression with a focus on H.264

How Does H.264 Work? SALIENT SYSTEMS WHITE PAPER. Understanding video compression with a focus on H.264 SALIENT SYSTEMS WHITE PAPER How Does H.264 Work? Understanding video compression with a focus on H.264 Salient Systems Corp. 10801 N. MoPac Exp. Building 3, Suite 700 Austin, TX 78759 Phone: (512) 617-4800

More information

ECS 15: Introduction to Computers Midterm November 6, 2013

ECS 15: Introduction to Computers Midterm November 6, 2013 ECS 15: Introduction to Computers Midterm November 6, 2013 Notes: 1) The midterm is open book, open notes. 2) You have 50 minutes, no more: I will strictly enforce this. 3) The midterm is divided into

More information

ILDA Image Data Transfer Format

ILDA Image Data Transfer Format INTERNATIONAL LASER DISPLAY ASSOCIATION Technical Committee Revision 006, April 2004 REVISED STANDARD EVALUATION COPY EXPIRES Oct 1 st, 2005 This document is intended to replace the existing versions of

More information

Information Transmission Chapter 3, image and video

Information Transmission Chapter 3, image and video Information Transmission Chapter 3, image and video FREDRIK TUFVESSON ELECTRICAL AND INFORMATION TECHNOLOGY Images An image is a two-dimensional array of light values. Make it 1D by scanning Smallest element

More information

MUHAMMAD NAEEM LATIF MCS 3 RD SEMESTER KHANEWAL

MUHAMMAD NAEEM LATIF MCS 3 RD SEMESTER KHANEWAL 1. A stage in a shift register consists of (a) a latch (b) a flip-flop (c) a byte of storage (d) from bits of storage 2. To serially shift a byte of data into a shift register, there must be (a) one click

More information

Digital Logic Design: An Overview & Number Systems

Digital Logic Design: An Overview & Number Systems Digital Logic Design: An Overview & Number Systems Analogue versus Digital Most of the quantities in nature that can be measured are continuous. Examples include Intensity of light during the day: The

More information

Multimedia Communications. Image and Video compression

Multimedia Communications. Image and Video compression Multimedia Communications Image and Video compression JPEG2000 JPEG2000: is based on wavelet decomposition two types of wavelet filters one similar to what discussed in Chapter 14 and the other one generates

More information

Data Encoding CTPS 2018

Data Encoding CTPS 2018 LN #8 (2 Hrs) Data Encoding CTPS 2018 Objectives To understand positional numeral systems. To depict how complex information such as text, colors, pictures, and sound can be encoded as bit strings. Positional

More information

Ch. 1: Audio/Image/Video Fundamentals Multimedia Systems. School of Electrical Engineering and Computer Science Oregon State University

Ch. 1: Audio/Image/Video Fundamentals Multimedia Systems. School of Electrical Engineering and Computer Science Oregon State University Ch. 1: Audio/Image/Video Fundamentals Multimedia Systems Prof. Ben Lee School of Electrical Engineering and Computer Science Oregon State University Outline Computer Representation of Audio Quantization

More information

THE KENYA POLYTECHNIC

THE KENYA POLYTECHNIC THE KENYA POLYTECHNIC ELECTRICAL/ELECTRONICS ENGINEERING DEPARTMENT HIGHER DIPLOMA IN ELECTRICAL ENGINEERING END OF YEAR II EXAMINATIONS NOVEMBER 006 DIGITAL ELECTRONICS 3 HOURS INSTRUCTIONS TO CANDIDATES:

More information

Solution to Digital Logic )What is the magnitude comparator? Design a logic circuit for 4 bit magnitude comparator and explain it,

Solution to Digital Logic )What is the magnitude comparator? Design a logic circuit for 4 bit magnitude comparator and explain it, Solution to Digital Logic -2067 Solution to digital logic 2067 1.)What is the magnitude comparator? Design a logic circuit for 4 bit magnitude comparator and explain it, A Magnitude comparator is a combinational

More information

PAL uncompressed. 768x576 pixels per frame. 31 MB per second 1.85 GB per minute. x 3 bytes per pixel (24 bit colour) x 25 frames per second

PAL uncompressed. 768x576 pixels per frame. 31 MB per second 1.85 GB per minute. x 3 bytes per pixel (24 bit colour) x 25 frames per second 191 192 PAL uncompressed 768x576 pixels per frame x 3 bytes per pixel (24 bit colour) x 25 frames per second 31 MB per second 1.85 GB per minute 191 192 NTSC uncompressed 640x480 pixels per frame x 3 bytes

More information

Audio and Video II. Video signal +Color systems Motion estimation Video compression standards +H.261 +MPEG-1, MPEG-2, MPEG-4, MPEG- 7, and MPEG-21

Audio and Video II. Video signal +Color systems Motion estimation Video compression standards +H.261 +MPEG-1, MPEG-2, MPEG-4, MPEG- 7, and MPEG-21 Audio and Video II Video signal +Color systems Motion estimation Video compression standards +H.261 +MPEG-1, MPEG-2, MPEG-4, MPEG- 7, and MPEG-21 1 Video signal Video camera scans the image by following

More information

Digital Representation

Digital Representation Chapter three c0003 Digital Representation CHAPTER OUTLINE Antialiasing...12 Sampling...12 Quantization...13 Binary Values...13 A-D... 14 D-A...15 Bit Reduction...15 Lossless Packing...16 Lower f s and

More information

The Century Archive Project CAP

The Century Archive Project CAP The Century Archive Project CAP Technology-Independent Information Storage Steven H. McCown & Michael Leonhardt Storage Technology Corporation 4 April 2002 What is a Document? A document is: Letter, check,

More information

MPEG + Compression of Moving Pictures for Digital Cinema Using the MPEG-2 Toolkit. A Digital Cinema Accelerator

MPEG + Compression of Moving Pictures for Digital Cinema Using the MPEG-2 Toolkit. A Digital Cinema Accelerator 142nd SMPTE Technical Conference, October, 2000 MPEG + Compression of Moving Pictures for Digital Cinema Using the MPEG-2 Toolkit A Digital Cinema Accelerator Michael W. Bruns James T. Whittlesey 0 The

More information

BCN1043. By Dr. Mritha Ramalingam. Faculty of Computer Systems & Software Engineering

BCN1043. By Dr. Mritha Ramalingam. Faculty of Computer Systems & Software Engineering BCN1043 By Dr. Mritha Ramalingam Faculty of Computer Systems & Software Engineering mritha@ump.edu.my http://ocw.ump.edu.my/ authors Dr. Mohd Nizam Mohmad Kahar (mnizam@ump.edu.my) Jamaludin Sallim (jamal@ump.edu.my)

More information

AE16 DIGITAL AUDIO WORKSTATIONS

AE16 DIGITAL AUDIO WORKSTATIONS AE16 DIGITAL AUDIO WORKSTATIONS 1. Storage Requirements In a conventional linear PCM system without data compression the data rate (bits/sec) from one channel of digital audio will depend on the sampling

More information

CUFPOS402A. Information Technology for Production. Week Two:

CUFPOS402A. Information Technology for Production. Week Two: CUFPOS402A Information Technology for Production Week Two: File format for video and film production Aspect Ratio and World wide system Progressive Vs. Interlaced Tutorial Creating PDF document CPU - The

More information

CprE 281: Digital Logic

CprE 281: Digital Logic CprE 28: Digital Logic Instructor: Alexander Stoytchev http://www.ece.iastate.edu/~alexs/classes/ T Flip-Flops & JK Flip-Flops CprE 28: Digital Logic Iowa State University, Ames, IA Copyright Alexander

More information

OVE EDFORS ELECTRICAL AND INFORMATION TECHNOLOGY

OVE EDFORS ELECTRICAL AND INFORMATION TECHNOLOGY Information Transmission Chapter 3, image and video OVE EDFORS ELECTRICAL AND INFORMATION TECHNOLOGY Learning outcomes Understanding raster image formats and what determines quality, video formats and

More information

COMP 249 Advanced Distributed Systems Multimedia Networking. Video Compression Standards

COMP 249 Advanced Distributed Systems Multimedia Networking. Video Compression Standards COMP 9 Advanced Distributed Systems Multimedia Networking Video Compression Standards Kevin Jeffay Department of Computer Science University of North Carolina at Chapel Hill jeffay@cs.unc.edu September,

More information

Radiology Physics Lectures: Computers. Associate Professor, Radiology x d

Radiology Physics Lectures: Computers. Associate Professor, Radiology x d COMPUTERS IN MEDICAL IMAGING David Hall, Ph.D. DABR Associate Professor, Radiology x20893 dhll@ djhall@ucsd.edud d 1 introduced into medical imaging in the early 1970 s essential to many modalities X-ray

More information

CS6201 UNIT I PART-A. Develop or build the following Boolean function with NAND gate F(x,y,z)=(1,2,3,5,7).

CS6201 UNIT I PART-A. Develop or build the following Boolean function with NAND gate F(x,y,z)=(1,2,3,5,7). VALLIAMMAI ENGINEERING COLLEGE SRM Nagar, Kattankulathur-603203 DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING Academic Year: 2015-16 BANK - EVEN SEMESTER UNIT I PART-A 1 Find the octal equivalent of hexadecimal

More information

Getting Images of the World

Getting Images of the World Computer Vision for HCI Image Formation Getting Images of the World 3-D Scene Video Camera Frame Grabber Digital Image A/D or Digital Lens Image array Transfer image to memory 2 1 CCD Charged Coupled Device

More information

AC103/AT103 ANALOG & DIGITAL ELECTRONICS JUN 2015

AC103/AT103 ANALOG & DIGITAL ELECTRONICS JUN 2015 Q.2 a. Draw and explain the V-I characteristics (forward and reverse biasing) of a pn junction. (8) Please refer Page No 14-17 I.J.Nagrath Electronic Devices and Circuits 5th Edition. b. Draw and explain

More information

Lesson No Lesson No

Lesson No Lesson No Table of Contents Lesson No. 01 1 An Overview & Number Systems 1 Programmable Logic Devices (PLDs) 8 Fractions in Binary Number System 13 Binary Number System 12 Caveman number system 11 Decimal Number

More information

Introduction to Digital Electronics

Introduction to Digital Electronics Introduction to Digital Electronics by Agner Fog, 2018-10-15. Contents 1. Number systems... 3 1.1. Decimal, binary, and hexadecimal numbers... 3 1.2. Conversion from another number system to decimal...

More information

decodes it along with the normal intensity signal, to determine how to modulate the three colour beams.

decodes it along with the normal intensity signal, to determine how to modulate the three colour beams. Television Television as we know it today has hardly changed much since the 1950 s. Of course there have been improvements in stereo sound and closed captioning and better receivers for example but compared

More information

Layout Decompression Chip for Maskless Lithography

Layout Decompression Chip for Maskless Lithography Layout Decompression Chip for Maskless Lithography Borivoje Nikolić, Ben Wild, Vito Dai, Yashesh Shroff, Benjamin Warlick, Avideh Zakhor, William G. Oldham Department of Electrical Engineering and Computer

More information

Experiment (6) 2- to 4 Decoder. Figure 8.1 Block Diagram of 2-to-4 Decoder 0 X X

Experiment (6) 2- to 4 Decoder. Figure 8.1 Block Diagram of 2-to-4 Decoder 0 X X 8. Objectives : Experiment (6) Decoders / Encoders To study the basic operation and design of both decoder and encoder circuits. To describe the concept of active low and active-high logic signals. To

More information

Autosophy data / image compression and encryption

Autosophy data / image compression and encryption Autosophy data / image compression and encryption Klaus Holtz, Eric Holtz, Diana Kalienky Autosophy, 602 Mason Street #305, San Francisco, CA, USA, 94108-3804 ABSTRACT Multimedia data may be transmitted

More information

NORTHWESTERN UNIVERSITY TECHNOLOGICAL INSTITUTE

NORTHWESTERN UNIVERSITY TECHNOLOGICAL INSTITUTE NORTHWESTERN UNIVERSITY TECHNOLOGICL INSTITUTE ECE 270 Experiment #8 DIGITL CIRCUITS Prelab 1. Draw the truth table for the S-R Flip-Flop as shown in the textbook. Draw the truth table for Figure 7. 2.

More information

Logic Devices for Interfacing, The 8085 MPU Lecture 4

Logic Devices for Interfacing, The 8085 MPU Lecture 4 Logic Devices for Interfacing, The 8085 MPU Lecture 4 1 Logic Devices for Interfacing Tri-State devices Buffer Bidirectional Buffer Decoder Encoder D Flip Flop :Latch and Clocked 2 Tri-state Logic Outputs

More information

So far. Chapter 4 Color spaces Chapter 3 image representations. Bitmap grayscale. 1/21/09 CSE 40373/60373: Multimedia Systems

So far. Chapter 4 Color spaces Chapter 3 image representations. Bitmap grayscale. 1/21/09 CSE 40373/60373: Multimedia Systems So far. Chapter 4 Color spaces Chapter 3 image representations Bitmap grayscale page 1 8-bit color image Can show up to 256 colors Use color lookup table to map 256 of the 24-bit color (rather than choosing

More information

Part 1: Introduction to Computer Graphics

Part 1: Introduction to Computer Graphics Part 1: Introduction to Computer Graphics 1. Define computer graphics? The branch of science and technology concerned with methods and techniques for converting data to or from visual presentation using

More information

Chapter 7 Memory and Programmable Logic

Chapter 7 Memory and Programmable Logic EEA091 - Digital Logic 數位邏輯 Chapter 7 Memory and Programmable Logic 吳俊興國立高雄大學資訊工程學系 2006 Chapter 7 Memory and Programmable Logic 7-1 Introduction 7-2 Random-Access Memory 7-3 Memory Decoding 7-4 Error

More information

Part 1: Introduction to computer graphics 1. Describe Each of the following: a. Computer Graphics. b. Computer Graphics API. c. CG s can be used in

Part 1: Introduction to computer graphics 1. Describe Each of the following: a. Computer Graphics. b. Computer Graphics API. c. CG s can be used in Part 1: Introduction to computer graphics 1. Describe Each of the following: a. Computer Graphics. b. Computer Graphics API. c. CG s can be used in solving Problems. d. Graphics Pipeline. e. Video Memory.

More information

Introduction to image compression

Introduction to image compression Introduction to image compression 1997-2015 Josef Pelikán CGG MFF UK Praha pepca@cgg.mff.cuni.cz http://cgg.mff.cuni.cz/~pepca/ Compression 2015 Josef Pelikán, http://cgg.mff.cuni.cz/~pepca 1 / 12 Motivation

More information

MC9211 Computer Organization

MC9211 Computer Organization MC9211 Computer Organization Unit 2 : Combinational and Sequential Circuits Lesson2 : Sequential Circuits (KSB) (MCA) (2009-12/ODD) (2009-10/1 A&B) Coverage Lesson2 Outlines the formal procedures for the

More information

Department of Computer Science and Engineering Question Bank- Even Semester:

Department of Computer Science and Engineering Question Bank- Even Semester: Department of Computer Science and Engineering Question Bank- Even Semester: 2014-2015 CS6201& DIGITAL PRINCIPLES AND SYSTEM DESIGN (Common to IT & CSE, Regulation 2013) UNIT-I 1. Convert the following

More information

CHAPTER 4: Logic Circuits

CHAPTER 4: Logic Circuits CHAPTER 4: Logic Circuits II. Sequential Circuits Combinational circuits o The outputs depend only on the current input values o It uses only logic gates, decoders, multiplexers, ALUs Sequential circuits

More information

MULTIMEDIA COMPRESSION AND COMMUNICATION

MULTIMEDIA COMPRESSION AND COMMUNICATION MULTIMEDIA COMPRESSION AND COMMUNICATION 1. What is rate distortion theory? Rate distortion theory is concerned with the trade-offs between distortion and rate in lossy compression schemes. If the average

More information

Midterm Exam 15 points total. March 28, 2011

Midterm Exam 15 points total. March 28, 2011 Midterm Exam 15 points total March 28, 2011 Part I Analytical Problems 1. (1.5 points) A. Convert to decimal, compare, and arrange in ascending order the following numbers encoded using various binary

More information

TEST-3 (DIGITAL ELECTRONICS)-(EECTRONIC)

TEST-3 (DIGITAL ELECTRONICS)-(EECTRONIC) 1 TEST-3 (DIGITAL ELECTRONICS)-(EECTRONIC) Q.1 The flip-flip circuit is. a) Unstable b) multistable c) Monostable d) bitable Q.2 A digital counter consists of a group of a) Flip-flop b) half adders c)

More information

Department of Electrical and Computer Engineering Mid-Term Examination Winter 2012

Department of Electrical and Computer Engineering Mid-Term Examination Winter 2012 1 McGill University Faculty of Engineering ECSE-221B Introduction to Computer Engineering Department of Electrical and Computer Engineering Mid-Term Examination Winter 2012 Examiner: Rola Harmouche Date:

More information

TIME SCHEDULE. MODULE TOPICS PERIODS 1 Number system & Boolean algebra 17 Test I 1 2 Logic families &Combinational logic

TIME SCHEDULE. MODULE TOPICS PERIODS 1 Number system & Boolean algebra 17 Test I 1 2 Logic families &Combinational logic COURSE TITLE : DIGITAL INSTRUMENTS PRINCIPLE COURSE CODE : 3075 COURSE CATEGORY : B PERIODS/WEEK : 4 PERIODS/SEMESTER : 72 CREDITS : 4 TIME SCHEDULE MODULE TOPICS PERIODS 1 Number system & Boolean algebra

More information

The Digital World. Digital Everything. The Analog World of my Youth

The Digital World. Digital Everything. The Analog World of my Youth The Digital World Digital Everything Digital clocks and digital watches, digital cameras and digital camcorders, digital television, digital thermometers, digital toasters and digital steam irons and digital

More information

LATCHES & FLIP-FLOP. Chapter 7

LATCHES & FLIP-FLOP. Chapter 7 LATCHES & FLIP-FLOP Chapter 7 INTRODUCTION Latch and flip flops are categorized as bistable devices which have two stable states,called SET and RESET. They can retain either of this states indefinitely

More information

Audio Compression Technology for Voice Transmission

Audio Compression Technology for Voice Transmission Audio Compression Technology for Voice Transmission 1 SUBRATA SAHA, 2 VIKRAM REDDY 1 Department of Electrical and Computer Engineering 2 Department of Computer Science University of Manitoba Winnipeg,

More information

Synchronous Sequential Logic

Synchronous Sequential Logic Synchronous Sequential Logic Ranga Rodrigo August 2, 2009 1 Behavioral Modeling Behavioral modeling represents digital circuits at a functional and algorithmic level. It is used mostly to describe sequential

More information