Instructions

Total Page:16

File Type:pdf, Size:1020Kb

Instructions Solution- Assignment No. 07 Total Marks: 20 SEMESTER FALL 2007 Due Date: 19/02/2008 CS601- Data Communication Instructions Please read the following instructions carefully before submitting assignment: It should be clear that your assignment will not get any credit if: o The assignment is submitted after due date. o The submitted assignment does not open or file corrupt. o The assignment is copied. o There is not mentioned the student Id in the assignment File or name of file is other than student ID. Note: For any query about the assignment, contact at [email protected] GOOD LUCK Marks: 20 Question 1: [5] Calculate the Hamming code for the following data. Perform each step. a) 1101010 b) 1000111 Answer: a) Original data: 1101010 1 1 0 r8 1 0 1 r4 0 r2 r1 1 1 0 r8 1 0 1 r4 0 r2 1 1 1 0 r8 1 0 1 r4 0 1 1 1 1 0 r8 1 0 1 0 0 1 1 1 1 0 0 1 0 1 0 0 1 1 Hamming Code for 1101010: 11001010011 b) Original data: 1000111 1 0 0 r8 0 1 1 r4 1 r2 r1 1 0 0 r8 0 1 1 r4 1 r2 1 1 0 0 r8 0 1 1 r4 1 1 1 1 0 0 r8 0 1 1 0 1 1 1 1 0 0 1 0 1 1 0 1 1 1 Hamming Code for 1000111: 10010110111 Question 2: [5] The following bit streams containing checksum are received at the receiver end. Describe whether data is correct or there are some errors? Justify your answer. a) 100001110100101100101101 b) 100001010001010001010101 c) Answer: a) 10000111 01001011 00101101 11111111 Whose compliment is 00000000, which shows data is correctly received. b) 10000101 00010100 01010101 11101110 Whose compliment is 00010001, which shows data has some errors. Question 3: [10] What are the asynchronous protocols in data link layer? Discuss in detail with examples. Answer: Asynchronous protocols in data link layer treat each character in a bit stream independently. A variety of Asynchronous protocols have been developed. We will discuss some of the important ones: • XMODEM • YMODEM • ZMODEM • BLAST • KERMIT XMODEM It is a simple file transfer protocol used to transfer files from one pc to another in asynchronous communications. It is error correcting modem protocol developed in 1978, which transmits data in 128 byte blocks. There are two more versions of the XMODEM file transfer protocol. One, XMODEM 1K transmits data in 1kilobyte blocks and uses more checking. Another XMODEM-CRC incorporates a 2 byte cyclic redundancy check to detect transmission errors. YMODEM YMODEM is a variation of the XMODEM file transfer protocol. It divides the data into blocks, where each block consists of the start-of-header character, a block number, 1 kilobyte of data and a checksum. It also incorporates the capabilities to send multiple files in the same session and to abort transfer of files by transmitting two CAN (cancel) characters in row. ZMODEM ZMODEM is an error correcting protocol for modems. It is a newer protocol and combines the features of XMODEM and YMODEM. Modems that agree on using the ZMODEM protocol send data in 512-byte blocks. If a block arrives and an error is detected, a "NAK" (negative acknowledgement) is returned and the block is resent. BLAST Blast is a Blocked Asynchronous transmission protocol. It is more powerful than XMODEM. BLAST uses full duplex operation with sliding window flow control. It allows transfer of data and binary files. KERMIT It is used to transfer files between PC’s and mainframes over standard telephone lines. It detects transmission errors by checking each block of data. Kermit is a widely known protocol used in numerous software packages designed for communications over telephone lines. Information is transmitted in variable-length units (packets), which are normally up to 96 bytes long, and each packet is checked for transmission errors. Control characters are converted into standard printable ASCII characters (decimal codes 32 through 126) and can thus be transferred without the risk of misinterpretation at the receiving end. Deadline Your assignment must be uploaded/submitted at or before Tuesday, February 19, 2008. .
Recommended publications
  • Macwise Version 19 User's Manual
    [email protected] www.CarnationSoftware.com www.MacWise.com MacWise Version 19 User's Manual You can use Command F to find what you are looking for in this document. Introduction Terminal Emulation MacWise emulates ADDS Viewpoint, Wyse 50, Wyse 60, Wyse 370, Televideo TV 925, DEC VT100, VT220 and Prism terminals. Supports ANSI color. Esprit III color is also supported in Wyse 370 mode. MacWise allows a Macintosh to be used as a terminal -- connected to a host computer directly, by modem, or over the Internet. The emulators support video attributes such as dim, reverse, underline, 132-column modes, protected fields and graphic characters sent from the host computer, as well as enhanced Viewpoint mode. Features include phone list and dialer for modems, on-screen programmable function keys, connection scripts and more. Connectivity 1. Built in Modem 2. Telnet / TCP/IP 3. SSH Secure Shell 4. Serial ports via USB to Serial adaptor . 5. Also communicates directly with the Mac unix shell Telnet Telnet settings are under the Connection Menu. Select "Telnet" to enable telnet. Select "Telnet Connection..." to enter your Host IP address, port number and terminal type. =============================== KERMIT ================================ NOTE: If you are running Mac OS 10.13 or later, you need to also use Kermit. (There should be a check mark on "Kermit" under the Connection Menu.) Kermit is installed automatically when Mac OS 10.13 or later is detected. You can re-install kermit any time by selecting Kermit Installer from the Help Menu in MacWise. Echo Kermit Characters ( under the Connection Menu ) This is normally enabled when Kermit is enabled.
    [Show full text]
  • A Kermit File Transfer Protocol for the Apple II Series Personal Computers : John Patrick Francisco Lehigh University
    Lehigh University Lehigh Preserve Theses and Dissertations 1986 A Kermit file transfer protocol for the Apple II series personal computers : John Patrick Francisco Lehigh University Follow this and additional works at: https://preserve.lehigh.edu/etd Part of the Electrical and Computer Engineering Commons Recommended Citation Francisco, John Patrick, "A Kermit file transfer protocol for the Apple II series personal computers :" (1986). Theses and Dissertations. 4628. https://preserve.lehigh.edu/etd/4628 This Thesis is brought to you for free and open access by Lehigh Preserve. It has been accepted for inclusion in Theses and Dissertations by an authorized administrator of Lehigh Preserve. For more information, please contact [email protected]. A KERMIT FILE TRANSFER PROTOCOL FOR THE APPLE II SERIES PERSONAL COMPUTERS (Using the Apple Pascal Operating system) by John Patrick Francisco A Thesis Presented to the Graduate Committee of Lehigh University in Candidacy for the Degree of Master of Science 1n• Computer Science Lehigh University March 1986 This thesis is accepted and approved in partial fulfillment of the requirements for the degree of Master of science.• (date) Professor in Charge -------------- --------------- Chairman of the Division Chairman of the Department • • -11- ACKNOWLEDGEMENTS It would be somewhat of an understatement to say this project was broad in scope as the disciplines involved ranged from Phychology to Electrical Engineering. Since the project required an extensive amount of detailed in­ formation in all fields, I was impelled to seek the help, advice and opinion of many. There were also numerous t friends and relatives upon whom I relied for both moral and financial support.
    [Show full text]
  • CS5865 Laboratory #1 Notes File Transfer Protocols
    1 CS5865 Laboratory #1 Notes File Transfer Protocols - An Overview Dr. B.J. Kurz XMODEM (Ward Christensen, 1970), one of the earliest ‘industry standard’ file transfer protocols in the public domain. HDX operation, character (byte)-oriented, fixed-length 128-byte blocks, 8-bit characters (bytes), 8-bit BCC = sum-mod256, stop-wait ARQ, block counts, binary data capability. Poor error detection capability, typically 95%. data block format: SOH/count/1’s compl. count/ user data/BCC control block format: ACK or NAK (or C), EOT Several later versions of XMODEM are in use: XMODEM-CRC same as regular XMODEM above except uses 8-bit BCC = CRC-8 (some implementations use 16-bit BCC = CRC-16). Better error detection capability, typically 99.97% (for CRC-8). Some versions negotiate the error character generation method: the sender first tries sum- mod256 BCC, then switches to CRC-8 BCC after three unsuccessful attempts indicated by NAKs from the receiver. XMODEM-1K same as XMODEM-CRC except uses 1024-byte blocks for better throughput (fewer line- turn-arounds), but slightly degraded error detection performance. WXMODEM a sliding-window version of XMODEM. Group size is fixed as 4 blocks. Much improved throughput. FDX capable lines needed if continous-ARQ error recovery used. YMODEM (Chuck Forsberg) a variation of XMODEM-1K. Supports two block lengths of 128 bytes and 1024 bytes, uses 2-byte CRC-16, excellent error detection capability, typically 99.99%. KERMIT (Frank de Cruz, Columbia Univ. Comp. Center, N.Y), most popular file transfer protocol, copyrighted, over 200 implementations for various systems. This is a comprehensive 2 remote communications package including terminal emulators, storage-to-storage transfer, not only a file transfer protocol.
    [Show full text]
  • Altair CP/M 2.2AT Ver 1.1 IOBYTE Implementation
    Altair CP/M 2.2AT Ver 1.1 CP/M 2.2AT supports an Altair 8800 computer with both an Altair and Tarbell floppy controller installed. Drives A & B are Altair drives 0 & 1. Drives C & D are Tarbell drives 0 & 1. The boot drive is always Altair drive 0. The Altair controller can be either the 8" or the 5.25" (mini-disk) controller as selected by conditional assembly. The BIOS uses track buffering to improve disk performance. Compared to a non-buffered BIOS, perfor- mance of program with substantial disk I/O improves by 25% to 75%. For the Altair drives, the same disk layout used by the original versions of Altair CP/M 1.4 and 2.2 is used. For the Tarbell controller, the standard IBM SSSD soft-sectored format is used. This BIOS provides full IOBYTE support to allow use of a variety of standard Altair I/O boards. See IOBYTE below. During cold boot, the BIOS looks for a Teletype on the console port and if detected (based on baud rate), subsequently follows any CR to the console device with a NULL to give the Teletype carriage time to reach the left margin. The send null flag (SNDNULL) is located immediately following the MODE and IOBYTE in memory so it can be over-ridden if needed. This BIOS adds a disk select timeout for the Altair 8" floppy so if a non-present or empty drive is select- ed, it will eventually timeout. To still allow the operator time to insert a disk, close the door, and wait for the drive enable one-shot to expire, the default timeout is set to seven seconds.
    [Show full text]
  • The Kermit File Transfer Protocol
    THE KERMIT FILE TRANSFER PROTOCOL Frank da Cruz February 1985 This is the original manuscript of the Digital Press book Kermit, A File Transfer Protocol, ISBN 0-932976-88-6, Copyright 1987, written in 1985 and in print from 1986 until 2001. This PDF file was produced by running the original Scribe markup-language source files through the Scribe publishing package, which still existed on an old Sun Solaris computer that was about to be shut off at the end of February 2016, and then converting the resulting PostScript version to PDF. Neither PostScript nor PDF existed in 1985, so this result is a near miracle, especially since the last time this book was "scribed" was on a DECSYSTEM-20 for a Xerox 9700 laser printer (one of the first). Some of the tables are messed up, some of the source code comes out in the wrong font; there's not much I can do about that. Also (unavoidably) the page numbering is different from the printed book and of couse the artwork is missing. Bear in mind Kermit protocol and software have seen over 30 years of progress and development since this book was written. All information herein regarding the Kermit Project, how to get Kermit software, or its license or status, etc, is no longer valid. The Kermit Project at Columbia University survived until 2011 but now it's gone and all Kermit software was converted to Open Source at that time. For current information, please visit the New Open Source Kermit Project website at http://www.kermitproject.org (as long as it lasts).
    [Show full text]
  • Courier V.Everything External Modem: Getting Started
    Courier V.Everything External Modem: Getting Started FINAL 4/96 p/n 1.024.492 1996 U.S. Robotics Access Corp. 8100 North McCormick Blvd. Skokie, IL 60076-2999 All Rights Reserved U.S. Robotics and the U.S. Robotics logo are registered trademarks of U.S. Robotics Access Corp. V.Fast Class and V.FC are trademarks of Rockwell International. Any trademarks, tradenames, service marks or service names owned or registered by any other company and used in this manual are the property of their respective companies. 1996 U.S. Robotics Access Corp. 8100 N. McCormick Blvd. Skokie, IL 60076-2999 USA Table of Contents About This Manual iii We Welcome Your Suggestions.............................................................iii Chapter 1 The Courier 1-1 Courier Controls, Displays, and Connectors.....................................1-3 Status Indicators ....................................................................................1-4 Features...................................................................................................1-5 Chapter 2 Installing the Courier 2-1 What You Need......................................................................................2-1 Package Contents...................................................................................2-3 Installing the Courier ............................................................................2-4 Setting the DIP Switches.......................................................................2-4 Powering On the Courier .....................................................................2-6
    [Show full text]
  • Configuration Parameters
    Good news, everyone! User Documentation Version: 2020-01-01 M. Brutman ([email protected]) http://www.brutman.com/mTCP/ Table of Contents Introduction and Setup Introduction..............................................................................................................................................................8 What is mTCP?...................................................................................................................................................8 Features...............................................................................................................................................................8 Tested machines/environments...........................................................................................................................9 Licensing...........................................................................................................................................................10 Packaging..........................................................................................................................................................10 Binaries.....................................................................................................................................................................10 Documentation..........................................................................................................................................................11 Support and contact information.......................................................................................................................11
    [Show full text]
  • March-April 1992 23 Lsi
    HE NSIDE TORIES Breaking the rules Teamwork, including a "Vulcan mind-meld," produced amazing results on a new family of HP computers. Passing the test Ned Barnholt, vice president and general manager of the Test and Measurement Organization, talks about the unfolding T&M revolution, page 6 Three parts, one whole 11 Chinese people in Hong Kong, Taipei and Bejing talk openly about a day when they'll be part of one vast, reunited country. Ifyou print them, they will come 14 We asked for your photos and (whew!) did you send them-more than 100 in all. Some of the best are included in this photo feature. Play it again, Len 18 HP Labs' Len Cutler gave up a promising musical career to be<.:ome the father ofthe world-famous HP atomic clock. Your Turn 21 page 22 It's another world 22 What has 75 countries, 60 currencies and is one of the most volatile parts of the world? HP's International Sales Branch. Letter from John Young 26 , .~ . .... ~ . ~ ExtraMeasure 28 ,. M.~.- .. r··'. m~ MEASURE ; lS ~ .' \\; . :'! Editor: Associa1e edilOfs: Graphic designer: Circulation: ., ." ... ., \. .' • Jay Coleman' Cornelio Bayley Thorncs J Brown Tricia Neal Chan On the cover: Jianhua Qi,- a BeHy Gerord' personnel rep In China Hewlett­ Packard's Beijing office, captures Measure is published six times a year for employees and associates of Hewlett-Packard Company. 11 is produced the beauty and majesty of the by Caporate Communications. Employee Communicalions Depanment. Mary Anne Easley. rncnager. Address Chinese Opera in Beijing with this correspondence 10 Measure. Hewlett-Packard Company, 2OBR.
    [Show full text]
  • Imperial College of Science and Technology, University of London, Department of Computing
    Imperial College of Science and Technology, University of London, Department of Computing. HIGH EFFICIENCY, CHARACTER-ORIENTED, LOCAL AREA NETWORKS by Martin Cripps This thesis is submitted in partial fulfilment of the requirements for the degree of Doctor of Philosophy and the Diploma of Imperial College of Science and Technology, January 1988. For Clare Attempt the end His reasons are as two grains of wheat but never stand to doubt hid in two bushels of chaff. nothing's so hard You shall seek all day ere you find them but search and when you have found them will find it out they are not worth the search. Robert Herrick (1591-1674) William Shakespeare (1564-1616) 1 ABSTRACT This thesis explores the problem of interconnecting character-oriented devices over local area networks by investigating significant aspects of hardware, software, protocol and operational factors. It proposes effective and efficient solutions which were tested during a full-scale experiment The results of that experiment demonstrate convenient, cost-effective and reliable operation. The novelty of this investigation arises from its character-oriented approach. Much work has been carried out by others on local area networks which transfer blocks of data efficiently, however, a large majority of installed devices operate on a character-by-character basis and will continue so to do for some considerable time. This study is approached through analysis of the low efficiency of international standard networks for this class of device which defines the scope of this work. An original analysis of the potential mechanisms which can be used to give high efficiency and low delay for this class of transfer is then derived.
    [Show full text]
  • Index Images Download 2006 News Crack Serial Warez Full 12 Contact
    index images download 2006 news crack serial warez full 12 contact about search spacer privacy 11 logo blog new 10 cgi-bin faq rss home img default 2005 products sitemap archives 1 09 links 01 08 06 2 07 login articles support 05 keygen article 04 03 help events archive 02 register en forum software downloads 3 security 13 category 4 content 14 main 15 press media templates services icons resources info profile 16 2004 18 docs contactus files features html 20 21 5 22 page 6 misc 19 partners 24 terms 2007 23 17 i 27 top 26 9 legal 30 banners xml 29 28 7 tools projects 25 0 user feed themes linux forums jobs business 8 video email books banner reviews view graphics research feedback pdf print ads modules 2003 company blank pub games copyright common site comments people aboutus product sports logos buttons english story image uploads 31 subscribe blogs atom gallery newsletter stats careers music pages publications technology calendar stories photos papers community data history arrow submit www s web library wiki header education go internet b in advertise spam a nav mail users Images members topics disclaimer store clear feeds c awards 2002 Default general pics dir signup solutions map News public doc de weblog index2 shop contacts fr homepage travel button pixel list viewtopic documents overview tips adclick contact_us movies wp-content catalog us p staff hardware wireless global screenshots apps online version directory mobile other advertising tech welcome admin t policy faqs link 2001 training releases space member static join health
    [Show full text]
  • Electronic Bulletin Board System for the Federal Depository Library Program
    GP 3.2:E1 2 Electronic Bulletin Board System for the Federal Depository Library Program: A Study Library Programs Service U.S. Government Printing Office Superintendent of Documents Washington, D.C. 1991 tr Electronic Bulletin Board System for the Federal Depository Library Program A Study Written by: Marian W. MacGilvray Joseph P. Paskoski John M. Walters Project Director: Joseph C. McClane February 1, 1991 Library Programs Service U.S. Government Printing Office Washington, D.C. U.S. Government Printing Office Robert W. Houk, Public Printer Superintendent of Documents (Vacant) Library Programs Service Bonnie B. Trivizas, Director Library Division Gil Baldwin, Chief Depository Services Staff Joseph C. McClane, Chief Any use of trade, product, or firm names in this publication is for descriptive purposes only and does not imply endorsement by the U.S. Government. Table of Contents Preface , iv I. Executive Summary and Recommendations 1 II. Introduction A. Federal Depository Library Program 2 B. Basis of the Study 2 C. Scope of the System 2 D. Study Methodology 2 III. Bulletin Board Systems - General Characteristics 3 IV. FDLP Bulletin Board System - System Description A. File Characteristics and Size 4 B. Usage Characteristics 7 C. Staffing 7 D. Telecommunications . 7 E. System Configuration Options and Costs 8 F. Implementation Schedule 11 Bibliography 13 Appendix A. Recommendations, Depository Library Council 14 Appendix B. List of Consultants 15 Appendix C. Suggestions for File Content 18 Appendix D. Alternate Technologies 20 Appendix E. Hardware and Software 25 iii Preface A preliminary draft of "Electronic Bulletin Board • the system will be beta tested with the 54 System for the Federal Depository Library Program: A regional depositories before being made Study" was completed on October 15, 1990 and available to all depository libraries.
    [Show full text]
  • Copying Files with XMODEM What Is XMODEM
    Copying Files With XMODEM What Is XMODEM XMODEM is a simple file transfer protocol which became extremely popular in the early bulletin board system (BBS) market, largely because it was so simple to implement. XMODEM was later replaced by….you guessed it: YMODEM* and then ZMODEM. XMODEM is an old, slow transfer protocol. So why would we ever use it? *We’ll use XMODEM in this lesson, but YMODEM is also available on Cisco devices. I am unsure if YMODEM has any advantage over XMODEM for our purposes. Transferring files via the console port You can used XMODEM to transfer files to a Cisco device when you do not have access to an FTP or TFTP server – but you do have access to the console port -and need to copy files to a Cisco device. There may be emergency situations where this may be your best – or only – method of getting files on a Cisco device. Requirements You’ll need: A terminal emulator which supports XMODEM(or YMODEM) transfers. SecureCRT(shown), Hyperterminal*, and Tera Term Pro all support XMODEM**. Access to the console port of the Cisco device. A PC with the files you want to transfer. * Microsoft – in their infinite wisdom – no longer packages Hyperterminal with Vista and Windows 7. ** I may be wrong, but I don’t believe that Putty supports XMODEM SecureCRT Tera Term Pro HyperTerminal Setting the console port speed By default the console port’s speed is 9600 baud: 2610#sh line con 0 | i Baud Baud rate (TX/RX) is 9600/9600, no parity, 2 stopbits, 8 databits You can change this with the ‘speed’ command under the console line: 2610(config)#line con 0 2610(config-line)#speed ? <0-4294967295> Transmit and receive speeds 2610(config-line)#speed 115200 Très important: You MUST match the console line speed with a speed that your terminal emulator is capable of providing.
    [Show full text]