CS447-Network and Data Communication Project #2 Specification, Fall 2017 Due December 5, 2017
|
|
- Daisy Taylor
- 6 years ago
- Views:
Transcription
1 CS447-Network and Data Communication Project #2 Specification, Fall 2017 Due December 5, Introduction In this project, we will develop a Sliding-Window flow-control (SWFC) simulator using C/C++ by completing the base source code file ( WS_base.cpp ). The simulator should calculate: the transmission start time at a sender host, the transmission completion time at a sender host, the packet receive time at a receiver, and the ACK receive time at a sender host for each packet transmitted from a sender to a receiver host, as defined below. At the end of each simulation, your SWFC simulator should display the time for the four factors, as well as the total time. The simulator calculates the time in ns (nano-second) order. This project assumes Visual C++ coding environment. The transmission start time: the time a sender host starts transmitting a packet The transmission completion time: the time a sender host completes the transmission of a packet The packet receive time: the time a receiver host receives (i.e., finishes receiving a packet) The ACK receive time: the time a sender host receives the ACK for a packet it transmitted For example, the following sketch shows transmissions of seven packets from a sender to a receiver host when: Signal Propagation Speed (ns per mile): 4,000 Packet Size (in bits): 6,400 Transmission Rate (in bps): 100,000,000 (= 100 Mbps) Transmission Distance (in miles): 1,000 Window Size: 5 With the following assumptions: 1. All the packets transmitted by the sender is equal size. 2. Ignore the size of the ACK message ( 0 ns for transmitting an ACK) 3. No error (packets or ACK messages will never be lost and each of them is always correctly delivered) Sender 0 64, , , , ,000 8,064,000 Transmission Distance Receiver Signal Propagation Delay 4,064,000 4,128,000 4,192,000 4,256,000 4,320, ,000 4,064,000 8,064, , ,000 4,128,000 8,128, , ,000 4,192,000 8,192, , ,000 4,256,000 8,256, , ,000 4,320,000 8,320, ,064,000 8,128,000 12,128,000 16,128, ,128,000 8,192,000 12,192,000 16,192, ,128,000 8,192,000 12,128,000 12,192,000 Packet Transmission Delay 16,128,000 Note: the time is shown in ns Fig. 1 Definitions for the time factors your SWFC simulator needs calculate 1
2 Fig. 2 shows a sample output for Case 3 (see the definition for Case 3 ): Sig. Prop. Speed (ns per mile): 4,000 Pkt Size (in bits): 6,400 Tx Rate (in bps): 100,000,000 Tx Distance (in miles) 100 TP (in ns): 400,000 TF (in ns): 64,000 Window Size: 15 Packets transferred , , , , , , , , , , , , , ,000 1,056, , , ,000 1,120, , , ,000 1,184, , , ,000 1,248, , , ,000 1,312, , , ,000 1,376, , ,000 1,040,000 1,440, , ,000 1,104,000 1,504, , ,000 1,168,000 1,568, , ,000 1,232,000 1,632, , ,000 1,296,000 1,696, , ,000 1,360,000 1,760, ,000 1,024,000 1,424,000 1,824, ,024,000 1,088,000 1,488,000 1,888, ,088,000 1,152,000 1,552,000 1,952, ,152,000 1,216,000 1,616,000 2,016, ,216,000 1,280,000 1,680,000 2,080, ,280,000 1,344,000 1,744,000 2,144, ,344,000 1,408,000 1,808,000 2,208, ,408,000 1,472,000 1,872,000 2,272, ,472,000 1,536,000 1,936,000 2,336, ,536,000 1,600,000 2,000,000 2,400, ,600,000 1,664,000 2,064,000 2,464, ,664,000 1,728,000 2,128,000 2,528, ,728,000 1,792,000 2,192,000 2,592, ,792,000 1,856,000 2,256,000 2,656, ,856,000 1,920,000 2,320,000 2,720, ,920,000 1,984,000 2,384,000 2,784, ,984,000 2,048,000 2,448,000 2,848,000 2
3 Fig. 2 Sample outputs from SWFC Simulator 2. Requirements Your SWFC simulator should satisfy the following requirements: (a) Each of you must develop your SWFC simulator based on the provided base source code file. The only three sections of the source code file you can change are (please find the three sections in the base source code file ): - // YOUR CUSTOM-MADE FUNCTION PROTOTYPES - // BELOW IS YOUR WORK PLACE - // YOUR CUSTOM-MADE FUNCTIONS The base source code file is available at the CS447 course home. After you submitted your *.cpp source code file, the course TA will copy and paste your work in the three sections to the base source code file before it is tested. (b) All the outputs from your SWFC simulator should be made by display_results function in the base source code file. (c) Assume that every packet the sender host transmits is equal in the packet size (in bits). (d) Assume that each ACK message the receiver host transmits to the sender host is 0 bit (thus the transmission time for each ACK message is 0 ns however the propagation delay is not 0). 3
4 (e) The following outputs from your SWFC simulator should be correct. Some sample outputs are attached to this handout for debug use. the transmission start time at the sender host (for each packet) the transmission completion time at the sender host (for each packet) the packet receive time at the receiver host (for each packet) the ACK receive time at the sender host (for each packet) the completion time (for all the packets) (f) Your source code (*.cpp file) should be compiled by MS Visual C++ compiler. (g) At the beginning of your *.cpp source code file, specify your full name and SIUE 800- ID number. (h) This programming project is an individual project. No source code sharing or no collaborations for designing your SWFC simulator is allowed. Violation to these policy will be considered academic dishonesty. 3. Technical Hints and Suggested Program Organization (a) The primary data structures in your SWFC simulator are the three vectors (arrays) of type long long unsigned int, which means a 64-bit unsigned integer (because they are used to record time stamps in ns order) as defined in the followings: long long unsigned int * transmission_at_sender; long long unsigned int * ACK_at_sender; long long unsigned int * receive_at_receiver; Each of the three arrays are dynamically created after a user enters the number of the packets to be transferred by the sender host (and received by the receiver host). When they are dynamically created by calloc, they are initialized by all The contents of the three arrays should be filled, one packet at a time by your SWFC simulator. (b) The other major variable in your SWFC simulator are: long long unsigned int simulation_time; // simulation time in "nano second" long long unsigned int simulation_completion_time; // simulation time unsigned int num_completed_pkt; // the number of packets completed unsigned int window_size; // the common window size unsigned int sdr_window_size; // the open window size at the sender unsigned int rcvr_window_size; // the open window size at the receiver In the base source code file, any variables for keeping track of the number of packets are declared as type unsigned int (a 32-bit unsigned integer, covering up to 4,294,967,296 packets), while any variables for keeping track of time is declared as long long unsigned int (a 64-bit unsigned integer, covering up to 18,446,744,073,709,551,616 nano second, which is approximately 18,446,744,073 seconds). (c) There are five global variables, in which the following four are used just for calculating the window size (thus, you do not use them for your work): long long unsigned int sig_prop_delay; // signal propagation delay in ns long long unsigned int pkt_transmission_delay; // packet transmission delay in "ns unsigned int TX_BW; // transmission bandwidth unsigned int distance; // transmission (end-to-end) distance The only important global variable to you is: 4
5 unsigned int num_packets_tx; // the number of packets to transfer The variable (num_packets_tx) is declared as a global variable because, once a value is assigned to it in the beginning of the simulator, it should never be modified by any function. (d) The following figure (Fig. 3) shows a suggested program structure for your SWFC simulator (it s just a suggestion but not a requirement if you have a better idea, go for it!). program starts (simulation time = 0) Is there a new ACK message received * 1 NO Is the window size at the sender is more than 0?* 1 YES YES NO Increase the window size the sender by one Advance the simulation time to the next earliest ACK at the sender Calculate,, and for the next packet to transmit and save them to the arrays Increase the # of the packets completed by one the transmission completion time ( transmission_at_sender[i] ) the packet receive time ( receive_at_receiver[i] ) the ACK receive time ( ACK_at_sender[i] ) NO Have all the packets been transmitted? YES Display the contents of the three arrays (and time) 4. Expectations when a question is asked: Fig. 3 Suggested SWFC simulator organization (1) Describe the symptom(s) of the problem you observed as specific as possible (2) Describe how the problem happens (always happen, sometime happen, the condition(s) for the problem to happen, etc.) (3) Identify where (in your source code) the problem exists in your source code file(s) (4) Describe what you tried (to understand and/or solve the problem) (5) Stop by Dr. Fujinoki s office (no question through ). (6) Make sure to bring your source code (either hard copy or soft copy) (7) Although Dr. Fujinoki may give you some advices, Dr. Fujinoki will not debug your source code (i.e., debugging for compilation (especially syntax errors and any other issues that prevent you from a successful compilation of your *.cpp source code file) are your job). 5
6 5. Grading Criteria: (a) No flow control (packets are contiguously transmitted without flow-control): 35% of the credit (b) For cases where window size is not large enough to reach U = 100% (Case #1, #2, and #3): 70% (c) For cases where window size is large enough to reach U = 100% (Case #4): 100% Note: the number of packets to be simulated should be up to 1,000 packets 6. Submissions Please your *.cpp file to Dr. Fujinoki for the earliest possible deadline below: (a) Extra-credit internal deadline: November 25th (Friday, 11:11:59 PM) (+4 points to your final exam) (b) Free feedback internal deadline: December 1st (Friday, 11:11:59 PM) (c) Hard deadline: December 5th (Tuesday, 11:00:00 AM) 7. Rules to avoid academic dishonesty (a) Sharing source code file(s) or sharing ideas is considered academic dishonesty 8. Other issues Note: If you have anything you are not sure, please do not make your own assumptions. If you are making your own assumptions for anything you are not sure, please be responsible for your own assumptions (Dr. Fujinoki will not be responsible for your assumptions). Remember: asking a question is free (no matter what is your question) and once you got an answer from Dr. Fujinoki, Dr. Fujinoki will be responsible for whatever answer he gave to you. For those who have technical problems to finish this project, please consult to Dr. Fujinoki as soon as possible. Your submitted work will be graded using another test case ( Case 5 and Case 6 ). 6
7 Sig. Prop. Speed (ns per mile): 4,000 Pkt Size (in bits): 6,400 Tx Rate (in bps): 100,000,000 Tx Distance (in miles) 1,000 Test Case #1 TP (in ns): 4,000,000 TF (in ns): 64,000 Window Size: 5 Packets transferred ,000 4,064,000 8,064, , ,000 4,128,000 8,128, , ,000 4,192,000 8,192, , ,000 4,256,000 8,256, , ,000 4,320,000 8,320, ,064,000 8,128,000 12,128,000 16,128, ,128,000 8,192,000 12,192,000 16,192, ,192,000 8,256,000 12,256,000 16,256, ,256,000 8,320,000 12,320,000 16,320, ,320,000 8,384,000 12,384,000 16,384, ,128,000 16,192,000 20,192,000 24,192, ,192,000 16,256,000 20,256,000 24,256, ,256,000 16,320,000 20,320,000 24,320, ,320,000 16,384,000 20,384,000 24,384, ,384,000 16,448,000 20,448,000 24,448, ,192,000 24,256,000 28,256,000 32,256, ,256,000 24,320,000 28,320,000 32,320, ,320,000 24,384,000 28,384,000 32,384, ,384,000 24,448,000 28,448,000 32,448, ,448,000 24,512,000 28,512,000 32,512, ,256,000 32,320,000 36,320,000 40,320, ,320,000 32,384,000 36,384,000 40,384, ,384,000 32,448,000 36,448,000 40,448, ,448,000 32,512,000 36,512,000 40,512, ,512,000 32,576,000 36,576,000 40,576, ,320,000 40,384,000 44,384,000 48,384, ,384,000 40,448,000 44,448,000 48,448, ,448,000 40,512,000 44,512,000 48,512, ,512,000 40,576,000 44,576,000 48,576, ,576,000 40,640,000 44,640,000 48,640, ,384,000 48,448,000 52,448,000 56,448, ,448,000 48,512,000 52,512,000 56,512,000 60,000,000 50,000,000 40,000,000 30,000,000 20,000,000 10,000, Start Time Tx Time Receive Time ACK Time 7
8 Sig. Prop. Speed (ns per mile): 4,000 Pkt Size (in bits): 6,400 Tx Rate (in bps): 100,000,000 Tx Distance (in miles) 100 Test Case #2 TP (in ns): 400,000 TF (in ns): 64,000 Window Size: 10 Packets transferred , , , , , , , , , , , , , ,000 1,056, , , ,000 1,120, , , ,000 1,184, , , ,000 1,248, , , ,000 1,312, , , ,000 1,376, , ,000 1,040,000 1,440, , ,000 1,328,000 1,728, , ,000 1,392,000 1,792, ,000 1,056,000 1,456,000 1,856, ,056,000 1,120,000 1,520,000 1,920, ,120,000 1,184,000 1,584,000 1,984, ,184,000 1,248,000 1,648,000 2,048, ,248,000 1,312,000 1,712,000 2,112, ,312,000 1,376,000 1,776,000 2,176, ,376,000 1,440,000 1,840,000 2,240, ,440,000 1,504,000 1,904,000 2,304, ,728,000 1,792,000 2,192,000 2,592, ,792,000 1,856,000 2,256,000 2,656, ,856,000 1,920,000 2,320,000 2,720, ,920,000 1,984,000 2,384,000 2,784, ,984,000 2,048,000 2,448,000 2,848, ,048,000 2,112,000 2,512,000 2,912, ,112,000 2,176,000 2,576,000 2,976, ,176,000 2,240,000 2,640,000 3,040, ,240,000 2,304,000 2,704,000 3,104, ,304,000 2,368,000 2,768,000 3,168, ,592,000 2,656,000 3,056,000 3,456, ,656,000 2,720,000 3,120,000 3,520,000 4,000,000 3,500,000 3,000,000 2,500,000 2,000,000 1,500,000 1,000, , Start Time Tx Time Receive Time ACK Time 8
9 Sig. Prop. Speed (ns per mile): 4,000 Pkt Size (in bits): 6,400 Tx Rate (in bps): 100,000,000 Tx Distance (in miles) 100 Test Case #3 TP (in ns): 400,000 TF (in ns): 64,000 Window Size: 15 Packets transferred , , , , , , , , , , , , , ,000 1,056, , , ,000 1,120, , , ,000 1,184, , , ,000 1,248, , , ,000 1,312, , , ,000 1,376, , ,000 1,040,000 1,440, , ,000 1,104,000 1,504, , ,000 1,168,000 1,568, , ,000 1,232,000 1,632, , ,000 1,296,000 1,696, , ,000 1,360,000 1,760, ,000 1,024,000 1,424,000 1,824, ,024,000 1,088,000 1,488,000 1,888, ,088,000 1,152,000 1,552,000 1,952, ,152,000 1,216,000 1,616,000 2,016, ,216,000 1,280,000 1,680,000 2,080, ,280,000 1,344,000 1,744,000 2,144, ,344,000 1,408,000 1,808,000 2,208, ,408,000 1,472,000 1,872,000 2,272, ,472,000 1,536,000 1,936,000 2,336, ,536,000 1,600,000 2,000,000 2,400, ,600,000 1,664,000 2,064,000 2,464, ,664,000 1,728,000 2,128,000 2,528, ,728,000 1,792,000 2,192,000 2,592, ,792,000 1,856,000 2,256,000 2,656, ,856,000 1,920,000 2,320,000 2,720, ,920,000 1,984,000 2,384,000 2,784, ,984,000 2,048,000 2,448,000 2,848,000 3,000,000 2,500,000 2,000,000 1,500,000 1,000, , Start Time Tx Time Receive Time ACK Time 9
10 Sig. Prop. Speed (ns per mile): 4,000 Pkt Size (in bits): 6,400 Tx Rate (in bps): 100,000,000 Tx Distance (in miles) 100 Test Case #4 TP (in ns): 400,000 TF (in ns): 64,000 Window Size: 5 Packets transferred , , , , , , , , , , , , , ,000 1,056, , , ,000 1,120, , ,000 1,328,000 1,728, , ,000 1,392,000 1,792, ,000 1,056,000 1,456,000 1,856, ,056,000 1,120,000 1,520,000 1,920, ,120,000 1,184,000 1,584,000 1,984, ,728,000 1,792,000 2,192,000 2,592, ,792,000 1,856,000 2,256,000 2,656, ,856,000 1,920,000 2,320,000 2,720, ,920,000 1,984,000 2,384,000 2,784, ,984,000 2,048,000 2,448,000 2,848, ,592,000 2,656,000 3,056,000 3,456, ,656,000 2,720,000 3,120,000 3,520, ,720,000 2,784,000 3,184,000 3,584, ,784,000 2,848,000 3,248,000 3,648, ,848,000 2,912,000 3,312,000 3,712, ,456,000 3,520,000 3,920,000 4,320, ,520,000 3,584,000 3,984,000 4,384, ,584,000 3,648,000 4,048,000 4,448, ,648,000 3,712,000 4,112,000 4,512, ,712,000 3,776,000 4,176,000 4,576, ,320,000 4,384,000 4,784,000 5,184, ,384,000 4,448,000 4,848,000 5,248, ,448,000 4,512,000 4,912,000 5,312, ,512,000 4,576,000 4,976,000 5,376, ,576,000 4,640,000 5,040,000 5,440, ,184,000 5,248,000 5,648,000 6,048, ,248,000 5,312,000 5,712,000 6,112,000 7,000,000 6,000,000 5,000,000 4,000,000 3,000,000 2,000,000 1,000, Start Time Tx Time Receive Time ACK Time CS447 Networks and Data Communications, Description of Project #2, Fall
CSE434 Computer Networks (FALL, 2009) Programming Assignment 3 Due: Wed, December 2, 2009
CSE434 Computer Networks (FALL, 2009) Programming Assignment 3 Due: Wed, December 2, 2009 Submission Procedure: No late submissions will be accepted. Submit a softcopy before the class to su.kim.asu@gmail.com.
More informationCS 241 Data Organization using C
CS 241 Data Organization using C Fall 2018 Instructor Name: Dr. Marie Vasek Contact: Private message me on the course Piazza page. Office: Farris 2120 Office Hours: Tuesday 2-4pm and Thursday 9:30-11am
More informationLab 1 - Reliable Data Transport Protocol
Lab 1 - Reliable Data Transport Protocol Handout: March 8, 2018 Deadline: March 18 23:00, 2018 (No extension) Assignment overview: In this assignment, you will be implementing the sending and receiving
More informationECE5650: Computer Networking and Programming Term Project Assignment Part II: Total 100 points
ECE5650: Computer Networking and Programming Term Project Assignment Part II: Total 100 points The objective of this term project is to develop deep understanding of key concepts and fundamental principles
More informationECEN Final Exam Fall Instructor: Srinivas Shakkottai
ECEN 424 - Final Exam Fall 2013 Instructor: Srinivas Shakkottai NAME: Problem maximum points your points Problem 1 10 Problem 2 10 Problem 3 20 Problem 4 20 Problem 5 20 Problem 6 20 total 100 1 2 Midterm
More informationTips from the experts: How to waste a lot of time on this assignment
Com S 227 Spring 2018 Assignment 1 100 points Due Date: Friday, September 14, 11:59 pm (midnight) Late deadline (25% penalty): Monday, September 17, 11:59 pm General information This assignment is to be
More informationProgramming Assignment 5: Implementing a Reliable Transport Protocol
Programming Assignment 5: Implementing a Reliable Transport Protocol Overview In this laboratory programming assignment, you will be writing the sending and receiving transport-level code for implementing
More informationComputer Networks. Project 2. Project Assigned: November 14 Checkpoint: November 21 12:01 AM Due: December 04 12:01 AM. Networks - Project 2 1
Computer Networks Project 2 Project Assigned: November 14 Checkpoint: November 21 12:01 AM Due: December 04 12:01 AM Networks - Project 2 1 Overview In this programming assignment, you will be writing
More informationProject 2 Reliable Transport
Project 2 Reliable Transport UC Berkeley CS 168, Fall 2014 Version 1.0 Due: 11:59am (noon), November 2nd, 2014 In this project, you will build a simple reliable transport protocol, BEARS TP (BTP). Your
More informationProgram Assignment 2
Program Assignment 2 CMSC 417 Fall 2014 September 16, 2014 1 Deadline September 30, 2014. 2 Objective In this assignment you will write the server program which will communicate using sockets with the
More informationCOMP 3500 Introduction to Operating Systems Project 5 Virtual Memory Manager
COMP 3500 Introduction to Operating Systems Project 5 Virtual Memory Manager Points Possible: 100 Submission via Canvas No collaboration among groups. Students in one group should NOT share any project
More informationDuke University CompSci 356 Midterm Spring 2016
Duke University CompSci 356 Midterm Spring 2016 Name (Print):, (Family name) (Given name) Student ID Number: Date of Exam: Feb 25, 2016 Time Period: 11:45am-1pm Number of Exam Pages: 15 (including this
More informationCOSC 115A: Introduction to Web Authoring Fall 2014
COSC 115A: Introduction to Web Authoring Fall 2014 Instructor: David. A. Sykes Class meetings: TR 1:00-2:20PM in Daniel Building, Room 102 Office / Hours: Olin 204E / TR 8:00-10:45AM, MWF 9:00 10:20AM,
More informationSpring 2018 El Camino College E. Ambrosio. Course Syllabus
Course Syllabus Division: Mathematical Sciences Course Title: Computer Programming in Java Course #/Sections: CS 3/0127, 0128 Credit Hours: 4 Course Time/Room: Lecture: TTh 6:25 7:50 P.M./MBA 213 Lab:
More information15-441: Computer Networks - Project 3 Reliability and Congestion Control protocols for MPEG
15-441: Computer Networks - Project 3 Reliability and Congestion Control protocols for MPEG Project 3 Lead TA: Umair Shah (umair@cs.cmu.edu) Assigned: Friday, October 18, 2002. Due Date: Friday November
More informationName Student ID Department/Year. Midterm Examination. Introduction to Computer Networks Class#: 901 E31110 Fall 2006
Name Student ID Department/Year Midterm Examination Introduction to Computer Networks Class#: 901 E31110 Fall 2006 9:20-11:00 Tuesday November 14, 2006 Prohibited 1. You are not allowed to write down the
More informationMidterm 2. 7] Explain in your own words the concept of a handle class and how it s implemented in C++: What s wrong with this answer?
Midterm 2 7] Explain in your own words the concept of a handle class and how it s implemented in C++: What s wrong with this answer? A handle class is a pointer vith no visible type. What s wrong with
More informationCS 1301 Homework Robot Web Writer
CS 1301 Homework Robot Web Writer Due: Friday March 1st, before 11:55pm This is a pair programming assignment! You are expected to work with the person you have been pared with in class, and you are both
More informationSEE2030: Introduction to Computer Systems (Fall 2017) Programming Assignment #2:
SEE2030: Introduction to Computer Systems (Fall 2017) Programming Assignment #2: Implementing Arithmetic Operations using the Tiny FP (8-bit floating point) representation Due: October 15th (Sunday), 11:59PM
More informationProgramming Project 4: COOL Code Generation
CS 331 Compilers Fall 2017 Programming Project 4: COOL Code Generation Prof. Szajda Due Tuesday, December 5, 11:59:59 pm NOTE: There will be no extensions whatsoever given for this project! So, begin it
More informationCPSC 441 Tutorial-1. Department of Computer Science University of Calgary
CPSC 441 Tutorial-1 Department of Computer Science University of Calgary Question-1 A packet switch receives a packet and determines the outbound link to which the packet should be forwarded. When the
More informationComputer Communications and Networks (COMN), 2017/18, Semester 1
Computer Communications and Networks (COMN), 2017/18, Semester 1 Assignment Overview The overall goal of this assignment is to implement and evaluate different protocols for achieving end to end reliable
More informationTemplates and Operator Overloading in C++
Templates and Operator Overloading in C++ CSE030 Lab 12 Assignment 12 Tuesday Section (03L) Due Date (100%): November 27 at 1:50pm Resubmission Deadline (50% credit): December 4 at 11:00am Thursday Section
More informationCS16 Midterm Exam 2 E02, 10W, Phill Conrad, UC Santa Barbara Tuesday, 03/02/2010
CS16 Midterm Exam 2 E02, 10W, Phill Conrad, UC Santa Barbara Tuesday, 03/02/2010 Name: Umail Address: @ umail.ucsb.edu Circle Lab section: 3PM 4PM 5PM Link to Printer Friendly PDF Version Please write
More informationCS31 Discussion 1E. Jie(Jay) Wang Week1 Sept. 30
CS31 Discussion 1E Jie(Jay) Wang Week1 Sept. 30 About me Jie Wang E-mail: holawj@gmail.com Office hour: Wednesday 3:30 5:30 BH2432 Thursday 12:30 1:30 BH2432 Slides of discussion will be uploaded to the
More informationLab 2: Implementing a Reliable Transport Protocol (30 points)
Lab 2: Implementing a Reliable Transport Protocol (30 points) Overview In this laboratory programming assignment, you will be writing the sending and receiving transport-level code for implementing a simple
More informationTotal Points 100 (One Hundred)
Project 2: Implementing Reliable Data Transfer Protocol (CS3516 A18) Due: Sep 28, 2018 F, 11:59 PM Total Points 100 (One Hundred) 1. Overview In this programming assignment, you will be writing the sending
More informationPIC 10B Lecture 1 Winter 2014 Homework Assignment #2
PIC 10B Lecture 1 Winter 2014 Homework Assignment #2 Due Friday, January 24, 2014 by 6:00pm. Objectives: 1. To overload C++ operators. Introduction: A set is a collection of values of the same type. For
More informationTips from the experts: How to waste a lot of time on this assignment
Com S 227 Spring 2018 Assignment 1 80 points Due Date: Friday, February 2, 11:59 pm (midnight) Late deadline (25% penalty): Monday, February 5, 11:59 pm General information This assignment is to be done
More informationCompilers. Computer Science 431
Compilers Computer Science 431 Instructor: Erik Krohn E-mail: krohne@uwosh.edu Text Message Only: 608-492-1106 Class Time: Tuesday & Thursday: 9:40am - 11:10am Classroom: Halsey 237 Office Location: Halsey
More informationCMSC 417 Project Implementation of ATM Network Layer and Reliable ATM Adaptation Layer
CMSC 417 Project Implementation of ATM Network Layer and Reliable ATM Adaptation Layer 1. Introduction In this project you are required to implement an Asynchronous Transfer Mode (ATM) network layer and
More informationProgramming Assignment IV Due Thursday, November 18th, 2010 at 11:59 PM
Programming Assignment IV Due Thursday, November 18th, 2010 at 11:59 PM 1 Introduction In this assignment, you will implement a code generator for Cool. When successfully completed, you will have a fully
More informationEE 122 Fall st Midterm. Professor: Lai Stoica
EE 122 Fall 2001 1 st Midterm Professor: Lai Stoica Question 1 (15 pt) Layering is a key design principle in computer networks. Name two advantages, and one disadvantage to layering. Explain. Use no more
More informationEECE.2160: ECE Application Programming
Spring 2018 Programming Assignment #10: Instruction Decoding and File I/O Due Wednesday, 5/9/18, 11:59:59 PM (Extra credit ( 4 pts on final average), no late submissions or resubmissions) 1. Introduction
More informationThe Linux Command Line: A Complete Introduction, 1 st ed., by William E. Shotts, Jr., No Starch Press, 2012.
Department of Mathematics and Computer Science Adelphi University Fall 2018 0145-275-001 Operating Systems Practicum Dr. R. M. Siegfried 407 Science (516)877-4482 http://home.adelphi.edu/~siegfried/cs271
More informationCOSC 115: Introduction to Web Authoring Fall 2013
COSC 115: Introduction to Web Authoring Fall 2013 Instructor: David. A. Sykes Class meetings: TR 1:00 2:20PM, Olin 212 Office / Hours: Olin 204E / TR 8:00-10:20AM, MWF 1:00 3:00PM, or by appointment/happenstance
More informationESET 349 Microcontroller Architecture, Fall 2018
ESET 349 Microcontroller Architecture, Fall 2018 Syllabus Contact Information: Professor: Dr. Byul Hur Office: 008 Fermier Telephone: (979) 845-5195 FAX: E-mail: byulmail@tamu.edu Web: rftestgroup.tamu.edu
More informationINFS 2150 (Section A) Fall 2018
INFS 2150 (Section A) Fall 2018 Introduction to Web Development Class meets TUE & THU: 12:30am-1:45pm: in Wheatley 114 Instructor: Peter Y. Wu Office: Wheatley 309 Office Hours: Tuesday 9:00 am-12:00 noon;
More informationLecture 7: Sliding Windows. CSE 123: Computer Networks Geoff Voelker (guest lecture)
Lecture 7: Sliding Windows CSE 123: Computer Networks Geoff Voelker (guest lecture) Please turn in HW #1 Thank you From last class: Sequence Numbers Sender Receiver Sender Receiver Timeout Timeout Timeout
More informationCS103 Handout 13 Fall 2012 May 4, 2012 Problem Set 5
CS103 Handout 13 Fall 2012 May 4, 2012 Problem Set 5 This fifth problem set explores the regular languages, their properties, and their limits. This will be your first foray into computability theory,
More informationCS 2505 Fall 2013 Data Lab: Manipulating Bits Assigned: November 20 Due: Friday December 13, 11:59PM Ends: Friday December 13, 11:59PM
CS 2505 Fall 2013 Data Lab: Manipulating Bits Assigned: November 20 Due: Friday December 13, 11:59PM Ends: Friday December 13, 11:59PM 1 Introduction The purpose of this assignment is to become more familiar
More informationECE : Fundamentals of Wireless Networking - Spring 2007
ECE 6962-003: Fundamentals of Wireless Networking - Spring 2007 Instructors: Roland Kempter and Rong-Rong Chen Grader: Hong Wan 1 Roland Kempter Office: MEB 3252 Phone: (801) 581 3380 Email: kempter@eng.utah.edu
More informationProject 1. 1 Introduction. October 4, Spec version: 0.1 Due Date: Friday, November 1st, General Instructions
Project 1 October 4, 2013 Spec version: 0.1 Due Date: Friday, November 1st, 2013 1 Introduction The sliding window protocol (SWP) is one of the most well-known algorithms in computer networking. SWP is
More informationYou must pass the final exam to pass the course.
Computer Science Technology Department Houston Community College System Department Website: http://csci.hccs.cc.tx.us CRN: 46876 978-1-4239-0146-4 1-4239-0146-0 Semester: Fall 2010 Campus and Room: Stafford
More informationCS Homework 1 p. 1. CS Homework 1
CS 335 - Homework 1 p. 1 Deadline: CS 335 - Homework 1 IF turned in on-paper: 11:59 am on Friday, February 4 IF submitted electronically: 11:59 pm on Friday, February 4 How to submit: Because of the nature
More informationCS 150 Introduction to Computer Science 1
CS 150 Introduction to Computer Science 1 Professor: Chadd Williams CS150 Introduction to Computer Science 1 Chadd Williams http://zeus.cs.pacificu.edu/chadd chadd@pacificu.edu Office 202 Strain Office
More informationOOP-8-DLList-1-HW.docx CSCI 2320 Initials Page 1
OOP-8-DLList-1-HW.docx CSCI 2320 Initials Page 1 If this lab is an Individual assignment, you must do all coded programs on your own. You may ask others for help on the language syntax, but you must organize
More informationReliable Data Transmission
Reliable Data Transmission CS5516: Project 1 Spring 2003 Deadline: Midnight March 13 th, 2003 Score: 100 points Introduction Reliable data transmission protocols form the basis of data communication. The
More informationEECS489 Computer Networks, Take-home Makeup Midterm (Winter 2007) due in class Wednesday 3/28
EECS489 Computer Networks, Take-home Makeup Midterm (Winter 2007) due in class Wednesday 3/28 Note that this is entirely optional, taking this exam will only improve your grade, and not taking it will
More informationCSE 504: Compiler Design
http://xkcd.com/303/ Compiler Design Course Organization CSE 504 1 / 20 CSE 504: Compiler Design http://www.cs.stonybrook.edu/~cse504/ Mon., Wed. 2:30pm 3:50pm Harriman Hall 116 C. R. Ramakrishnan e-mail:
More informationCOMP 105 Homework: Type Systems
Due Tuesday, March 29, at 11:59 PM (updated) The purpose of this assignment is to help you learn about type systems. Setup Make a clone of the book code: git clone linux.cs.tufts.edu:/comp/105/build-prove-compare
More informationCMSC 132: Object-Oriented Programming II. Administrivia
CMSC 132: Object-Oriented Programming II Administrivia CMSC 132 Summer 2017 1 Course Description Introduction to use of computers to solve problems Design and implement abstract data types: List, Stack,
More informationNote: This is a miniassignment and the grading is automated. If you do not submit it correctly, you will receive at most half credit.
Com S 227 Fall 2018 Miniassignment 1 40 points Due Date: Friday, October 12, 11:59 pm (midnight) Late deadline (25% penalty): Monday, October 15, 11:59 pm General information This assignment is to be done
More informationTips from the experts: How to waste a lot of time on this assignment
Com S 227 Spring 2017 Assignment 1 80 points Due Date: Thursday, February 2, 11:59 pm (midnight) Late deadline (25% penalty): Friday, February 3, 11:59 pm General information This assignment is to be done
More informatione Learning Commons Online Instructions for Accessing Course Materials and Exam
e Learning Commons Online Instructions for Accessing Course Materials and Exam 1 In addition to completing course exams online, students will also access and print their own course materials using UGA
More informationIntroduction to System Programming Course 2015 Spring Euiseong Seo
Introduction to System Programming Course 2015 Spring Euiseong Seo (euiseong@skku.edu) 1 Overview What this course is about Who teaches this course Why you have to take this course What you will learn
More informationTutorials. Tutorial every Friday at 11:30 AM in Toldo 204 * discuss the next lab assignment
60-212 subir@cs.uwindsor.ca Phone # 253-3000 Ext. 2999 web site for course www.cs.uwindsor.ca/60-212 Dr. Subir Bandyopadhayay Website has detailed rules and regulations All assignments and labs will be
More informationRouting. CS5516: Project 2 Spring 2000
Routing CS5516: Project 2 Spring 2000 Introduction A network interconnecting multiple hosts and networks is a dynamic entity. Most real world networks offer multiple paths from a source to a destination.
More informationSection 1 Short Answer Questions
CPSC 3600 section 002 HW #1 Fall 2017 Last revision: 9/7/2017 You must work on this homework individually!! Submission: You are to submit your written answers to turnitin. Also, you are to submit your
More informationCS ) PROGRAMMING ASSIGNMENT 11:00 PM 11:00 PM
CS3114 (Fall 2017) PROGRAMMING ASSIGNMENT #4 Due Thursday, December 7 th @ 11:00 PM for 100 points Due Tuesday, December 5 th @ 11:00 PM for 10 point bonus Last updated: 11/13/2017 Assignment: Update:
More informationCS 553 Compiler Construction Fall 2006 Project #4 Garbage Collection Due November 27, 2005
CS 553 Compiler Construction Fall 2006 Project #4 Garbage Collection Due November 27, 2005 In this assignment you will implement garbage collection for the MiniJava compiler. The project includes the two
More informationCS 051 Homework Laboratory #2
CS 051 Homework Laboratory #2 Dirty Laundry Objective: To gain experience using conditionals. The Scenario. One thing many students have to figure out for the first time when they come to college is how
More informationCS150 Assignment 7 DNA!
CS150 Assignment 7 DNA! Date assigned: Monday, November 17, 2008 Design Documents Due: Friday, November 21, 2008, 1pm (5 points) Date due: Tuesday, December 2, 2008, 5pm (55 points) Total points: 60pts
More informationENGR 3950U / CSCI 3020U (Operating Systems) Simulated UNIX File System Project Instructor: Dr. Kamran Sartipi
ENGR 3950U / CSCI 3020U (Operating Systems) Simulated UNIX File System Project Instructor: Dr. Kamran Sartipi Your project is to implement a simple file system using C language. The final version of your
More informationSurvey of Programming Languages Dr. R. M. Siegfried 407 Science (516) (not for homework submission)
Department of Mathematics and Computer Science Adelphi University Fall 2017 0145-270-002 Survey of Programming Languages Dr. R. M. Siegfried 407 Science (516)877-4482 siegfrie@adelphi.edu (not for homework
More informationStudent Name: University of California at Berkeley College of Engineering Department of Electrical Engineering and Computer Science
SI: University of alifornia at erkeley ollege of ngineering epartment of lectrical ngineering and omputer Science S Fall 00 MITRM XMINTION Monday, October 00 I. Stoica INSTRUTIONS R THM NOW! This examination
More informationImportant Project Dates
Massachusetts Institute of Technology Department of Electrical Engineering and Computer Science 6.035, Fall 2002 Handout 4 Project Overview Wednesday, September 4 This is an overview of the course project
More informationCS 31 Discussion 1A, Week 1. Zengwen Yuan (zyuan [at] cs.ucla.edu) Humanities A65, Friday 10:00 11:50
CS 31 Discussion 1A, Week 1 Zengwen Yuan (zyuan [at] cs.ucla.edu) Humanities A65, Friday 10:00 11:50 TA Zengwen Yuan ( zyuan [at] cs.ucla.edu ) Discussion session (1A): Humanities A65 Friday 10:00 11:50
More informationCS 1301 Individual Homework 3 Conditionals & Loops Due: Monday February 8 th before 11:55pm Out of 100 points
CS 1301 Individual Homework 3 Conditionals & Loops Due: Monday February 8 th before 11:55pm Out of 100 points Files to submit: 1. HW3.py THIS IS AN INDIVIDUAL ASSIGNMENT! You should work individually on
More informationCSC 111 Introduction to Computer Science (Section C)
CSC 111 Introduction to Computer Science (Section C) Course Description: (4h) Lecture and laboratory. Rigorous introduction to the process of algorithmic problem solving and programming in a modern programming
More informationProblem Set Name the 7 OSI layers and give the corresponding functionalities for each layer.
Problem Set 1 1. Why do we use layering in computer networks? 2. Name the 7 OSI layers and give the corresponding functionalities for each layer. 3. Compare the network performance of the 3 Multiple Access
More informationCS 3640: Introduction to Networks and Their Applications
CS 3640: Introduction to Networks and Their Applications Fall 2018, Lecture 5: The Link Layer I Errors and medium access Instructor: Rishab Nithyanand Teaching Assistant: Md. Kowsar Hossain 1 You should
More informationCS 241 Data Organization. August 21, 2018
CS 241 Data Organization August 21, 2018 Contact Info Instructor: Dr. Marie Vasek Contact: Private message me on the course Piazza page. Office: Room 2120 of Farris Web site: www.cs.unm.edu/~vasek/cs241/
More informationThe print queue was too long. The print queue is always too long shortly before assignments are due. Print your documentation
Chapter 1 CS488/688 F17 Assignment Format I take off marks for anything... A CS488 TA Assignments are due at the beginning of lecture on the due date specified. More precisely, all the files in your assignment
More informationCS 385 Operating Systems Fall 2011 Homework Assignment 4 Simulation of a Memory Paging System
CS 385 Operating Systems Fall 2011 Homework Assignment 4 Simulation of a Memory Paging System Due: Tuesday November 15th. Electronic copy due at 2:30, optional paper copy at the beginning of class. Overall
More informationCentral Washington University Department of Computer Science Course Syllabus
Central Washington University Department of Computer Science Course Syllabus CS 110: Programming Fundamentals I December 27, 2015 1 Course Information Course Information Lecture: Mo,Tu,We: 10:00AM - 10:50AM,
More informationCS 450 Introduction to Networking Spring 2014 Homework Assignment 1 File Transfer and Data Bandwidth Analysis Tool
CS 450 Introduction to Networking Spring 2014 Homework Assignment 1 File Transfer and Data Bandwidth Analysis Tool Due: Monday 17 February. Electronic copy due at 10:30 A.M., Optional paper copy may be
More informationProject Introduction
Project 1 Assigned date: 10/01/2018 Due Date: 6pm, 10/29/2018 1. Introduction The sliding window protocol (SWP) is one of the most well-known algorithms in computer networking. SWP is used to ensure the
More informationLecture 7: Flow Control"
Lecture 7: Flow Control" CSE 123: Computer Networks Alex C. Snoeren No class Monday! Lecture 7 Overview" Flow control Go-back-N Sliding window 2 Stop-and-Wait Performance" Lousy performance if xmit 1 pkt
More informationAnnouncements. Homework 1: Search. Project 1: Search. Midterm date and time has been set:
Announcements Homework 1: Search Has been released! Due Monday, 2/1, at 11:59pm. On edx online, instant grading, submit as often as you like. Project 1: Search Has been released! Due Friday 2/5 at 5pm.
More informationCS16 Exam #1 7/17/ Minutes 100 Points total
CS16 Exam #1 7/17/2012 75 Minutes 100 Points total Name: 1. (10 pts) Write the definition of a C function that takes two integers `a` and `b` as input parameters. The function returns an integer holding
More informationCS Operating Systems, Fall 2018 Project #0 Description
CS314-002 Operating Systems, Fall 2018 Project #0 Description Due: 11:00 A.M., September 5, 2018 I. Project Narrative: The primary objectives in this project are: (1) confirm your account (user name and
More informationCS : Programming for Non-Majors, Fall 2018 Programming Project #5: Big Statistics Due by 10:20am Wednesday November
CS 1313 010: Programming for Non-Majors, Fall 2018 Programming Project #5: Big Statistics Due by 10:20am Wednesday November 7 2018 This fifth programming project will give you experience writing programs
More informationCS 1803 Pair Homework 4 Greedy Scheduler (Part I) Due: Wednesday, September 29th, before 6 PM Out of 100 points
CS 1803 Pair Homework 4 Greedy Scheduler (Part I) Due: Wednesday, September 29th, before 6 PM Out of 100 points Files to submit: 1. HW4.py This is a PAIR PROGRAMMING Assignment: Work with your partner!
More informationMWF 9:00-9:50AM & 12:00-12:50PM (ET)
Department of Mathematics and Computer Science Adelphi University Fall 2013 0145-443-001 Database Management Systems Dr. R. M. Siegfried 214 Post Hall (516)877-4482 siegfrie@adelphi.edu Office Hours Course
More informationAnnouncements. 1. Forms to return today after class:
Announcements Handouts (3) to pick up 1. Forms to return today after class: Pretest (take during class later) Laptop information form (fill out during class later) Academic honesty form (must sign) 2.
More informationHands on Assignment 1
Hands on Assignment 1 CSci 2021-10, Fall 2018. Released Sept 10, 2018. Due Sept 24, 2018 at 11:55 PM Introduction Your task for this assignment is to build a command-line spell-checking program. You may
More informationProgramming Assignment #3 Event Driven Simulation
CS-2303, System Programming Concepts, A-term 2012 Project 3 (45 points) Assigned: Friday, September 7, 2012 Due: Friday, September 14, 2012, 11:59 PM Abstract Programming Assignment #3 Event Driven Simulation
More informationECE 408 / CS 483 Final Exam, Fall 2014
ECE 408 / CS 483 Final Exam, Fall 2014 Thursday 18 December 2014 8:00 to 11:00 Central Standard Time You may use any notes, books, papers, or other reference materials. In the interest of fair access across
More informationCS/ENGRD 2110 Object-Oriented Programming and Data Structures Spring 2012 Thorsten Joachims
CS/ENGRD 2110 Object-Oriented Programming and Data Structures Spring 2012 Thorsten Joachims Lecture 1: Overview http://courses.cs.cornell.edu/cs2110 1 Course Staff Instructor Thorsten Joachims (tj@cs.cornell.edu)
More informationECS 152A Computer Networks Instructor: Liu. Name: Student ID #: Final Exam: March 17, 2005
ECS 152A Computer Networks Instructor: Liu Name: Student ID #: Final Exam: March 17, 2005 Duration: 120 Minutes 1. The exam is closed book. However, you may refer to one sheet of A4 paper (double sided)
More informationProject 5 Handling Bit Arrays and Pointers in C
CS 255 Project 5 Handling Bit Arrays and Pointers in C Due: Thursday, Apr. 30 by 8:00am. No late submissions! Assignment: This homework is adapted from the CS450 Assignment #1 that Prof. Mandelberg uses
More informationCS 3204 Operating Systems Programming Project #2 Job / CPU Scheduling Dr. Sallie Henry Spring 2001 Due on February 27, 2001.
CS 3204 Operating Systems Programming Project #2 Job / CPU Scheduling Dr. Sallie Henry Spring 2001 Due on February 27, 2001. 23:59:59 PM Design and implement a program that simulates some of the job scheduling,
More informationECE 544 Computer Networks II Mid-Term Exam March 29, 2002 Profs. D. Raychaudhuri & M. Ott
ECE544 Mid-Term Page ECE 544 Computer Networks II Mid-Term Exam March 29, 2002 Profs. & M. Ott Instructions: This is a 2 hr, OPEN BOOK exam. (Only the textbook, Peterson & Davie, Computer Networks, A Systems
More informationSan José State University College of Science/Department of Computer Science CS 152, Programming Language Paradigms, Section 03/04, Fall, 2018
San José State University College of Science/Department of Computer Science CS 152, Programming Language Paradigms, Section 03/04, Fall, 2018 Course and Contact Information Instructor: Thomas Austin Office
More informationError Detection Codes. Error Detection. Two Dimensional Parity. Internet Checksum Algorithm. Cyclic Redundancy Check.
Error Detection Two types Error Detection Codes (e.g. CRC, Parity, Checksums) Error Correction Codes (e.g. Hamming, Reed Solomon) Basic Idea Add redundant information to determine if errors have been introduced
More informationINF 315E Introduction to Databases School of Information Fall 2015
INF 315E Introduction to Databases School of Information Fall 2015 Class Hours: Tuesday & Thursday10:30 am-12:00 pm Instructor: Eunyoung Moon Email: eymoon@utexas.edu Course Description Almost every website
More informationAssignment 5: MyString COP3330 Fall 2017
Assignment 5: MyString COP3330 Fall 2017 Due: Wednesday, November 15, 2017 at 11:59 PM Objective This assignment will provide experience in managing dynamic memory allocation inside a class as well as
More informationCMPSCI 187 / Spring 2015 Postfix Expression Evaluator
CMPSCI 187 / Spring 2015 Postfix Expression Evaluator Due on Thursday, 05 March, 8:30 a.m. Marc Liberatore and John Ridgway Morrill I N375 Section 01 @ 10:00 Section 02 @ 08:30 1 CMPSCI 187 / Spring 2015
More informationCS : Programming for Non-majors, Fall 2018 Programming Project #2: Census Due by 10:20am Wednesday September
CS 1313 010: Programming for Non-majors, Fall 2018 Programming Project #2: Census Due by 10:20am Wednesday September 19 2018 This second assignment will introduce you to designing, developing, testing
More information