Loading...

Messages

Proposals

Stuck in your homework and missing deadline? Get urgent help in $10/Page with 24 hours deadline

Get Urgent Writing Help In Your Essays, Assignments, Homeworks, Dissertation, Thesis Or Coursework & Achieve A+ Grades.

Privacy Guaranteed - 100% Plagiarism Free Writing - Free Turnitin Report - Professional And Experienced Writers - 24/7 Online Support

Simulation of sliding window protocol in java

20/11/2021 Client: muhammad11 Deadline: 2 Day

IT Infrastructure Practical Assignment 1 Instructions

Assignment Name: Alternating Bit Protocol (ABP)

The Alternating Bit Protocol (ABP) is a connection-less protocol for transferring messages in one direction between a pair of protocol entities. It is a simple form of the Sliding Window Protocol with a window size of 1. The message sequence number alternates between 0 and 1. The JASPER applet supports the simulation of ABP with 3 modes of simulating messages delivery.

Below are some experiments you will conduct to understand ABP and its commands. The first three experiments will give you a feel for using the simulator and relate to real-world scenarios. Subsequent experiments will be more complex, yet still relating to real events.

Launching the ABP Protocol Simulator

· Ensure that your default browser supports Java applets. Note that you may need to run Java in low security for the Java applets in this exercise to work properly.

· For access to all simulations, click on the rotating globe at this book's Companion Web site at http://williamstallings.com/BusinessDataComm/BDC7e-student/.

· Then click on the link to the Alternating Bit Protocol Simulator.

· This will launch the ABP Simulator applet along with a description of the main commands we will be using for our experiments.

Main Commands Description

We have a suite of simulation commands as listed and described below.

Command

Description

Sender: Send DATA(n)

Sending of messages, with n as the sequence number. In ABP it is either 0 or 1

Sender: Timeout

Sender assumes a timeout and resends the most recent message

Medium: Deliver Data(n)

The medium delivers the message successfully. This command is available in all medium options except Automatic (see below)

Medium: Lose Data(n)

The message is lost through the medium. This command is only available through the Delivery/Loss medium option (see below)

Medium: Deliver Ack(n)

The acknowledge of message from receiver is delivered successfully by the medium. This command is available in all medium options except Automatic (see below)

Medium: Lose Ack(n)

The medium loses the acknowledgement message. This command is only available through the Delivery/Loss medium option (see below)

Receiver: Send Ack(n)

The receiver sends an acknowledgement to the message received from the sender

Applet Interface

The applet graphical interface consists of the control panel (bottom left corner), the commands panel (bottom right), and the simulation view (top half).

The control panel consists of several buttons. Run will perform an automatic simulation of the protocol. Stop will halt the automatic simulation. Undo will revert back one step from the latest command. Redo will revert what undo does. Clear will clear off the current simulation, resulting in a clean simulation view. Load, Save and Print buttons are only available when the protocol simulator is launched in standalone mode, which are not available as we are using the applet mode.

The command panel displays the available commands at the current point of simulation. Clicking on one of the commands will progress the simulation, seen in the simulation view.

Continue to the experiment instructions on the following page…

EXPERIMENT #1: SENDING AND ACKNOWLEDGING MESSAGE(S)

This is the simplest simulation to get a feel of ABP.

1. Click Clear button to start a fresh simulation

2. In the command panel, click Sender: Send DATA(0)

3. Click Medium: Deliver DATA(0)

4. Click Receiver: Send ACK(1)

5. Click Medium: Deliver ACK(1)

6. Click Sender: Send DATA(1)

7. Click Medium: Deliver DATA(1)

8. Click Receiver: Send ACK(0)

9. Click Medium: Deliver ACK(0)

Observe the message exchange between the sender and the receiver, especially the sequence number of DATA and ACK.

Capture a screenshot of your simulation that includes a date/time stamp or unique desktop element, and answer the following question.

Q1: Briefly explain why ACK(1) is sent for DATA(0).

EXPERIMENT #2: TIMEOUT OF MESSAGE(S)

Here the simulation gets a little more complex. Do the following

1. Click the Clear button to start a fresh simulation.

2. In the command panel, click Sender: Send DATA(0)

3. Click Medium: Deliver DATA(0)

4. Click Receiver: Send ACK(1)

5. Click Sender: Timeout

6. Click Medium: Deliver ACK(1)

7. Click Medium: Deliver DATA(0)

8. Click Receiver: Send ACK(1)

9. Click Medium: Deliver ACK(1)

Capture a screenshot of your simulation that includes a date/time stamp or unique desktop element, and answer the following questions.

Q2: Observe the simulation in the timeline (from top to bottom). Explain briefly why there are two ACK(1) sent.

Q3: According to the protocol, what happens when the second DATA(0) arrives?

EXPERIMENT #3: LOSS OF MESSAGES

ABP is a connection-less protocol. There are possibilities for the loss of messages between transmissions. Do the following:

1. Click the Clear button to start a fresh simulation.

2. Provide the simulation for the following scenario description:

The medium between the sender and receiver is not stable. The sender sends data and did not receive an acknowledgement because the data is lost by the medium. Its second attempt is successful, however there is no successful receipt of acknowledgement (acknowledgement not delivered or taking too long). Finally, a re-attempt results in a success in the communication of both sender and receiver for this particular message.

Capture a screenshot of your simulation that includes a date/time stamp or unique desktop element, and answer the following question.

Q4: From the observation in your simulation, what can you tell about the behavior of the sender and the receiver from the perspective of sending a message?

EXPERIMENT #4: TIMEOUT OF MESSAGE(S) II

We have seen in Experiment #2 that the receiver discards the same piece of data if it arrives, but the receiver still sends the relevant acknowledgement, nevertheless. Do a simulation and see what happens to a sender if it receives two acknowledgements to the same message.

Capture a screenshot of your simulation that includes a date/time stamp or unique desktop element, and answer the following question.

Q5: From the observation, what happens when the sender receives two acknowledgements to the same message?

Submitting your work

In a new Word document, include your screenshots of the simulations for each experiment, along with your answers for each of the five questions. Save the file as Lastname_Firstname_Assignment #. Include your name in the assignment file itself and submit your file to Blackboard. Any assignment with screenshots that do not include a visible date and timestamp or a unique desktop element to identify the student’s work will not be accepted.

Homework is Completed By:

Writer Writer Name Amount Client Comments & Rating
Instant Homework Helper

ONLINE

Instant Homework Helper

$36

She helped me in last minute in a very reasonable price. She is a lifesaver, I got A+ grade in my homework, I will surely hire her again for my next assignments, Thumbs Up!

Order & Get This Solution Within 3 Hours in $25/Page

Custom Original Solution And Get A+ Grades

  • 100% Plagiarism Free
  • Proper APA/MLA/Harvard Referencing
  • Delivery in 3 Hours After Placing Order
  • Free Turnitin Report
  • Unlimited Revisions
  • Privacy Guaranteed

Order & Get This Solution Within 6 Hours in $20/Page

Custom Original Solution And Get A+ Grades

  • 100% Plagiarism Free
  • Proper APA/MLA/Harvard Referencing
  • Delivery in 6 Hours After Placing Order
  • Free Turnitin Report
  • Unlimited Revisions
  • Privacy Guaranteed

Order & Get This Solution Within 12 Hours in $15/Page

Custom Original Solution And Get A+ Grades

  • 100% Plagiarism Free
  • Proper APA/MLA/Harvard Referencing
  • Delivery in 12 Hours After Placing Order
  • Free Turnitin Report
  • Unlimited Revisions
  • Privacy Guaranteed

6 writers have sent their proposals to do this homework:

Instant Assignment Writer
Supreme Essay Writer
Finance Master
Unique Academic Solutions
Smart Accountants
Engineering Mentor
Writer Writer Name Offer Chat
Instant Assignment Writer

ONLINE

Instant Assignment Writer

After reading your project details, I feel myself as the best option for you to fulfill this project with 100 percent perfection.

$16 Chat With Writer
Supreme Essay Writer

ONLINE

Supreme Essay Writer

I am a PhD writer with 10 years of experience. I will be delivering high-quality, plagiarism-free work to you in the minimum amount of time. Waiting for your message.

$42 Chat With Writer
Finance Master

ONLINE

Finance Master

I will provide you with the well organized and well research papers from different primary and secondary sources will write the content that will support your points.

$18 Chat With Writer
Unique Academic Solutions

ONLINE

Unique Academic Solutions

I will provide you with the well organized and well research papers from different primary and secondary sources will write the content that will support your points.

$28 Chat With Writer
Smart Accountants

ONLINE

Smart Accountants

Being a Ph.D. in the Business field, I have been doing academic writing for the past 7 years and have a good command over writing research papers, essay, dissertations and all kinds of academic writing and proofreading.

$39 Chat With Writer
Engineering Mentor

ONLINE

Engineering Mentor

I am an academic and research writer with having an MBA degree in business and finance. I have written many business reports on several topics and am well aware of all academic referencing styles.

$39 Chat With Writer

Let our expert academic writers to help you in achieving a+ grades in your homework, assignment, quiz or exam.

Similar Homework Questions

86 940 in scientific notation - Song of st patrick marty haugen - Is a5 bigger than a4 - Which of the following describes an outbound telesales agent - 6 consecutive numbers add to 39 - Include but not limited to - In which direction does carbon dioxide move during internal respiration - Textbook summary ( 4pages summary ) - What is an epiphany moment - In most spanish speaking countries married women legally __ - The breakfast club letter to principal - Common trees in alabama - Different types of acting styles - What is agency theory in auditing - What is an electron domain - Presenting problem example treatment plan - Which list ranks assets from most to least liquid - Dc motor armature winding diagram - Cherokee inc is a merchandiser that provided the following - Complete the following Accounting Management activities in good form. Use excel or word only. - Demand forecasting models in excel - Unit 2 Discussion #4: Douglass - Verizon strategic analysis - The hard truth about soft skills peggy klaus pdf - Masters Assistance - Fanuc m 710ic maintenance manual - Use the data in the table and submit the answers to the following questions in a Word document: - Piggly wiggly alice springs - Qs 11 - Marketing the core 8th edition access code - 700-1050 word Company Policy (Ethics & Legal Topics in Business) - Finance Homework - Discussion questions wk 6 and 7 - Performance compensation and rewards presentation - Applied corporate finance a user's manual - Beware the jabberwock play - Wk4 DQ1 Discussion Question 1 – CLO 3 - Can Someone Write Your Essay For You? - Anyone can do my assignment? - Understanding drug addiction a neuropsychological perspective - Translational Research And Population Health Management - Net present value and other investment criteria solutions - Amev-udc finance v austin - Journal article critique apa sample - Bending 11 gauge steel - Distribution feeder reconfiguration for loss reduction - Brave new world individuality - Brutus traitor or patriot - Alison games atlantic history - Sony mobile marketing strategy - .I need 300 words on "The Effective Use of the Audit Risk Model at the Account Level - I need SWOT, Pestel and Marketing Analysis of Toyota Motors - Eftpos icc declined meaning - Lame_v3 99.3 _for_windows exe - Introductory Definitions, Summarizing Categorical Data, and Normal Distributions - Logic exam about fitch proofs and derivations in sentennial logic - 8week3Indiv - Fin 534 homework set 4 answers - Raf pay scales 20 21 - The sanding department of richards furniture company - Final Paper - Summary of a novel in 100 words - Joe dolce you toucha my car i breaka you face - 150-300 word crimes, laws and criminal intent - Power system analysis problems and solutions - Interpersonal messages communication and relationship skills pdf - Headteacher job description primary - Elements of film powerpoint - Jb hi fi phone insurance - Latrobe final exam timetable - Family life in victorian times - Coffee toffee twisted frosty lyrics - Kings canyon national park geology - +91-8890675453 love marriage problem solution IN Rourkela - Occupational health and safety manual handling regulations 1999 - Assignment OM - I need a discussion following this instruction - A class is selling magazines as a fundraiser - Cdu apa 7th referencing guide - Quartstogallons java - Parallax smart card reader - 650 kpa to psi - Brain imaging studies support the conclusion that meditation _____ - Race - Introduction to risk management and insurance dorfman pdf - Mcgraw hill connect answer key economics - Uncle bens risotto discontinued - Why should we bring phones to school - Pros and cons of orem's theory - Expected market rate of return - Thesis statement on free education - Incremental analysis and capital budgeting - Collect pictures stories poems and information about maharaja ranjit singh - Research and writing - Practical Connection Assignment - Taco bell case study harvard - Smart Technology - Value chain analysis for mcdonald's - Wk 9 fn - Duty of care rsa