1 Basics of Data Communications Discrete-time Communication vs Continuous-time Communication Is human communication continuous-time or discrete-time ?

Slides:



Advertisements
Similar presentations
DC DATACOMM John Abbott College JPC Basic Concepts M. E. Kabay, PhD, CISSP Director of Education, ICSA President, JINBU Corp Copyright © 1998 JINBU.
Advertisements

Computer Codes Rohit Khokher. Computer Codes Data types NumericNonnumeric IntegerRealAlphabet A, B, C, …,Z a, b, c,…,z Digits 0,…,9 Special Characters.
Data Communication Topics to be discussed:  Data Communication Terminology.  Data Transmission Signals.  Data Transmission Circuits.  Serial & Parallel.
Data Transmission Most digital messages are longer than just a few bits. It is neither practical nor economic to transfer all bits of a long message simultaneously.
Chapter 8 Data and Network Communication Technology
Using Binary Coding Information Remember  Bit = 0 or 1, Binary Digit  Byte = the number of bits used to represent letters, numbers and special characters.
Chapter 2 Data Communication Concepts Code Transmission Signal Modulation Service.
CS335 Networking & Network Administration Tuesday, April 6.
Processing Data.
4.1 Chapter 4 Digital Transmission Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Transmission Characteristics 1. Introduction (Information Interchange codes) 2. Asynchronous and Synchronous Transmissions 3. Error detection (bit errors)
1 Chapter Overview Computer Communication The Computer Bus Objectives  Understand how a computer transmits and receives information.  Explain the principles.
Transmission Modes Different ways of characterizing the transmission.
Data Transmission Most digital messages are longer than just a few bits. It is neither practical nor economical to transfer all bits of a long message.
Input/Output and Communication
Data Representation (in computer system) Computer Fundamental CIM2460 Bavy LI.
Synchronous - Asynchronous Data Transmission. Asynchronous ► The sender and receiver are not Synchronised. ► The sender sends only one character at a.
Data transmission refers to the movement of data in form of bits between two or more digital devices. This transfer of data takes place via some form.
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.
331: STUDY DATA COMMUNICATIONS AND NETWORKS.  1. Discuss computer networks (5 hrs)  2. Discuss data communications (15 hrs)
Chapter 2 Basic Communication Theory Basic Communications Theory w Understand the basic transmission theory, and figure out the maximum data rate. w.
Simplex, Half Duplex & Duplex Serial & Parallel transmission Synchronous & Asynchronous Bit & Baud Rate.
©Brooks/Cole, 2003 Chapter 2 Data Representation.
Communication Systems I CPE 313: Micro Processors and Interfacing.
Binary Numbers and ASCII and EDCDIC Mrs. Cueni. Data Representation  Human speech is analog because it uses continuous signals (waves) that vary in strength.
Based on: Companion to Data Communications: From Basics to Broadband, Third Edition by William J. Beyda © 2000 Prentice Hall, Inc. All Rights Reserved.
Chapter 7 Data Coding. Agenda Coding Code efficiency and conversion Compression/compaction Code encryption/decryption.
Chapter-4/5-1CS331- Fakhry Khellah Term 081 Chapter 4 (Only 4.2 – 4.3) Digital Transmission.
Binary Code.
1 INFORMATION IN DIGITAL DEVICES. 2 Digital Devices Most computers today are composed of digital devices. –Process electrical signals. –Can only have.
CS151 Introduction to Digital Design
©Contrinex JDC PPT_XF_BinHexDecASCII Encoding information J.-D. Chatelain.
Machine data - All data in computers based on digital electronics Boolean data - The Boolean type represents the values: true and false. Numeric data.
1 Basics of Data Communications Discrete-time Communication vs Continuous-time Communication Is human communication continuous-time or discrete-time ?
Data Encoding and Decoding Professor: Dr. Miguel Alonso Jr.
1 Introduction 4 Information transfer between two computers occurs in one of two types signals: digital or analog. Chapter 2 Introduction to Data Communication.
PREPARED BY: ENGR. JO-ANN C. VIÑAS
1 6 Further System Fundamentals (HL) 6.4 Further Network Fundamentals.
Computer Science Binary. Binary Code Remember the power supply that is inside your computer and how it sends electricity to all of the components? That.
The Principle of Electronic Data Serial and Parallel Data Communication Transmission Rate Bandwidth Bit Rate Parity bits.
Data Transmission n Keep errors to an acceptable low probability n Bit-serial transmission n Parallel transmission.
AS Computing Data transmission. Basic data transmission Baud The rate that the voltage changes is called the Baud. If the voltage changes 10 times every.
Technology in Action Chapter 6 Behind the Scenes: A Closer Look at System Hardware.
Unit 1 Lecture 4.
Chapter 7 Channel organization. Group members  Bilal Ahmed  Mehmal javed  Faisal khan janjua  Harris bashir.
1 Chapter Overview Modems The Internet and Web Browsers.
M204 - Data Representation
Serial Communication RS-232. In order to make two devices communicate, whether they are desktop computers, microcontrollers, or any other form of integrated.
Understanding Computers
Chapter Nine: Data Transmission. Introduction Binary data is transmitted by either by serial or parallel methods Data transmission over long distances.
Data Transmission and Networks Transmission error checking & correcting.
OCR AS Level F451: Data transmission Data transmission a. Describe the characteristics of a LAN (local area network) and a WAN (wide area network);
Data Representation. In our everyday lives, we communicate with each other using analogue data. This data takes the form of: Sound Images Letters Numbers.
Lecture Coding Schemes. Representing Data English language uses 26 symbols to represent an idea Different sets of bit patterns have been designed to represent.
Serial Communications
Binary Numbers and ASCII and EDCDIC
Input/Output and Communication
Data Transmission Keep errors to an acceptable low probability
RFID - EN Encoding information Encoding information J.-D. Chatelain.
DIGITAL DATA COMMUNICATION TECHNIQUES
DIGITAL DATA COMMUNICATION TECHNIQUES
Communications channels تقديم المهندس سنان محمد حسن
DIGITAL DATA COMMUNICATION TECHNIQUES
Basic Communication Concepts
Chapter Nine: Data Transmission
BASIC TYPE OF DATA TRANSMISSION:
Serial Communications
Introduction Communication Modes Transmission Modes
Presentation transcript:

1 Basics of Data Communications Discrete-time Communication vs Continuous-time Communication Is human communication continuous-time or discrete-time ? Voice vs. words Any piece of information can be represented in discrete-time signals ! What is Data Communications ? The exchange of digital information between two devices using an electronic transmission system. Using Binary number system to represent digital information

2 Basics of Data Communications Question: How to send the word “Yes” from Bob to Alice? Solution-1: Bob writes the letters “Y”, “e”, “s” on a piece of paper. (a 26-symbol alphabet is utilised in this solution) Solution-2: Bob nodes his head down once, and shakes his head to say “No”. (a 2-symbol alphabet is utilised in this solution) Question: Is it a coincidence that “Yes” and “No” are very short words in most human languages? Question: How to send the word “Yes” from computer-1 to computer-2?

3 Character Codes Much of the data communication discipline deals with representing information in terms of 0’s and 1’s. (Not as easy as it sounds !) Fact: Computers are digital logic systems that operate on a 2-symbol alphabet : {0, 1}. – Binary Number System There are many ways to represent characters and these different representation s are known as Character Codes. Mostly formed by ‘Zero’ and ‘One’

4 Morse Code: A variable-lenght character code “Yes”: -.-- |. | … Examples: silence interval to separate characters Character Codes

5 Baudot Code: A fixed-length character code Character Codes Letter code: switch to letters Figure code: switch to figures

6 Extended Binary Coded Decimal Interchange Code (EBCDIC): A fixed-length, 8-bit, character code. 256 different combinations of 1’s and 0’s does not utilise all possible combinations only a subset is displayed here no parity Character Codes

7 American National Standard Code for Information Exchange (ASCII): A fixed-length, 7-bit, character code. 128 different combinations of 1’s and 0’s only a subset is displayed here can be used with a one-bit parity check 1+7=8 bits =1 byte there is also extended-ASCII that uses 8 bits instead of 7 bits.

8 1 byte = 8 bits bit-8 = parity check bit bit-1 bit-7 bit-1 to 7 = data bit previous byte … Character Codes

9 Parity Check Odd-Parity = number of bit ‘1’ must be odd bit-1bit bit bit bit or bit-1

10 Parity Check Even-Parity = number of bit ‘1’ must be even bit-1bit bit bit bit or bit-1

11 WCB/McGraw-Hill

12 Parallel Transmission WCB/McGraw-Hill

13 Serial Transmission WCB/McGraw-Hill

14 Parallel vs. Serial Transmission Parallel Transmission Serial Transmission Faster Expensive Suitable for short distances Slower Cheaper Better for long distance

15 Synchronous vs. Asynchronous Transmission Synchronous Transmission However the block must be preceded by SYNC bytes or a separate clock line must be provided !

16 Synchronous vs. Asynchronous Transmission Asynchronous Transmission

17 Synchronous vs. Asynchronous Transmission Total bits sent = data-bits + control-bits Transmission or Throughput

18 If a Synchronous transmission involves sending 480 bits plus an overhead of 20 control bits for synchronisation, what is the efficiency of the transmission? If 480 characters are sent using Asynchronous transmission, what is the transmission efficiency? Example Synchronous transmission: Efficiency = 480/(480+20) = 96% Asynchronous transmission: Efficiency = 80% (if 8 bits is used for data bits)

19 Transmission Modes: Simplex, Half-Duplex, Full-Duplex Simplex Transmission

20 Transmission Modes: Simplex, Half-Duplex, Full-Duplex Half-Duplex Transmission

21 Transmission Modes: Simplex, Half-Duplex, Full-Duplex Full-Duplex Transmission

22 Tutorial 2 What is a major difference between Morse code and ASCII code? How many characters can Baudot code represent? How many characters can ASCII code represent? What is a parity bit? What is parallel transmission? When do we use parallel transmission?

23 What is serial transmission? When do we use serial transmission? What is asynchrorous transmission? What is synchrorous transmission? Why asynchronous transmission always has 80% efficiency? If a synchronous transmission involves sending 1000 characters and an overhead of 10 characters are needed for handshake, what is the efficiency of the transmission?

24 What is simplex communication? Give examples. What is half duplex communication? Give examples. What is full duplex communication? Give examples.