
-
Consider a network with three laptop computers. Computer 1 sends packets to computer 3 using wireless links. The two possibilities are: computer 1 sends directly to 3, or sends to 2 and 2 sends to 3. Based on the distances between the computers, we assume in this model that the Bit Error Rate (BER) for the link (1,2) and (2,3), respectively is denoted as BER(1,2), BER(2,3), and is equal to BER(1,2) = BER(2,3)=1/10*BER(1,3).
Assume further that the packets that are received in error are retransmitted and are not removed from the head of the queue until correctly received. Assume computer 1 has to transmit a file that contains 10000 packets. Simulate the system and determine average end-to-end transmission delay for a correct reception for a packet at the destination, and the cumulative distribution function for the end-to-end delay for the two cases considered. For this file transfer application, in order to determine the end-to-end delay, you may consider that the file (all packets) is created at the beginning of the simulation (time 0), and the acknowledgement for a correctly received packet is instantaneous. -
Re: CS432 Assignment 1 Solution and Discussion
Assignment No. 01
Semester: Spring 2020
CS432 –Network modeling and simulation Total Marks: 20Due Date: 21/05/2020
Assignment Objectives:
• To enhance the knowledge of use cases as part of simulation building process
• To improve the learning of creation of the project in Omnet ++ simulation tool.Uploading instructions:
• Your assignment must be in .doc format (Any other formats like scan images, PDF, bmp, etc will not be accepted).
• No assignment will be accepted through email.Rules for Marking:
It should be clear that your assignment will not get any credit if:
• The assignment is submitted after due date.
• The submitted assignment does not open or file is corrupted.
• Your assignment is copied from internet, handouts or from any other student
(Strict disciplinary action will be taken in this case).Assignment
Question No. 1 [Marks: 10]
You are required to install OMNET++ in your system and write down all installation steps.
When installation is completed, do the following tasks:• Open OMNET++ IDE.
• Create a new empty project.
• Give your VUID as project name.
• After creation of project takes a snapshot of the newly created project, in which your VUID is shown as project name.Sample of snapshot is given as under.
Note: Installation guide is available in download section on VULMS.
Question No. 2 [Marks: 10]
Following is a XYZ University Registration System’s use case. You are required to identify and define the Simulation Building Process activities (Entities, states, Events) of given use case.
Deadline: Your assignment must be uploaded/submitted on or before 21st May 2020.
-
Assignment No. 01
Semester: Fall 2019
CS432 –Network modeling and simulation Total Marks: 20Due Date: 14th November, 2019
Assignment Objectives:• To provide understanding about simulation models and
• How to install the network simulator “Omnetpp”Uploading instructions:
• Your assignment must be in .doc format (Any other formats like scan images, PDF, bmp,etc will not be accepted).
• Save your assignment with your ID (e.g. bc020200786.doc).
• No assignment will be accepted through email.Rules for Marking:
It should be clear that your assignment will not get any credit if:
• The assignment is submitted after due date.
• The submitted assignment does not open or file is corrupted.
• Your assignment is copied from internet, handouts or from any other student
(Strict disciplinary action will be taken in this case).Assignment
Question No. 1 [Marks: 10]
a) You are required to install Omnet++ Simulator by providing detail of all the necessary steps.
b) Omnet++ IDE has many built in examples of simulations.
You are required to open and run any available example of TicToc by providing screen shots of each step (at least two screen shots including opening and running that example).Note: Installation guide is available in download section on VULMS.
Question No. 2 [Marks: 10]Simulation is one of the most significant technologies in the world that provides us the facility to get a virtual environment that behaves like a real environment without having expensive hardware and software. For this purpose we have various types of networking tools or simulators.
You are required to make comparison between the Omnet++ and NS3 simulators. Provide at least five points for each of the mentioned simulators.
Note: Your answer should be very concise and concrete. Avoid providing unnecessary detail.
Deadline: Your assignment must be uploaded/submitted on or before 14th November, 2019.
-
Assignment No. 03
Semester: Fall 2019
CS432 –Network modeling and simulation Total Marks: 20Due Date: 22 Jan, 2020
Assignment Objective:• To enhance the leaning capability of the students by using “Built-in Package/ Framework and Routing Protocols”
Uploading Instructions:
• Your assignment must be in .doc format (Any other formats like scan images, PDF, bmp, etc will not be accepted).
• Save your assignment with your ID (e.g. bc020200786.doc).
• No assignment will be accepted through email.Rules for Marking:
It should be clear that your assignment will not get any credit if:
• The assignment is submitted after due date.
• The submitted assignment does not open or file is corrupted.
• Your assignment is copied from internet, handouts or from any other student. Strict disciplinary action will be taken in this case.Assignment
Question No. 1 [Marks: 10]
Network can be represent via graph G by considering the network devices like routers as nodes N and links as edges E i.e. G=(N, E) shown in the following figure.
You are required to provide solution for the following tasks:
Set of all nodes. Set of all links or edges. Shortest path from A to D. Longest path from A to D with no cycle.Question No. 2 [Marks: 10]
a. Which built-in module is used for routing in OMNeT++? Also import this module in existing projects of OMNeT++ by providing step by step detail of all the procedures.
b. Run any built-in example of routing algorithm by providing the screen shot.
Deadline: Your assignment must be uploaded/submitted on or before 22 Jan 2020
-
Assignment No. 02
Semester: Fall 2019
CS432 –Network modeling and simulation Total Marks: 20Due Date: 5thDecember, 2019
Assignment Objectives:• To enhance the capabilities of network topologies on the network.
• To calculate the latency and jitter of the network.Uploading instructions:
• Your assignment must be in .doc format (Any other formats like scan images, PDF, bmp etc will not be accepted).
• Save your assignment with your ID (e.g. bc020200786.doc).
• No assignment will be accepted through email.Rules for Marking:
It should be clear that your assignment will not get any credit if:
• The assignment is submitted after due date.
• The submitted assignment does not open or file is corrupted.
• Your assignment is copied from internet, handouts or from any other student
(Strict disciplinary action will be taken in this case).Assignment
Question No. 1 [Marks: 5]
Following network shows the data transmission between LAN1 host and LAN2 Host. Number of packets is sent from LAN1 to LAN2. You are required to calculate the Latency and Jitter during the data transmission.
Values should be given in the following table with complete calculation (formula and answers).
Packet ID Time AT Point A Time AT Point B Latency Jitter 1 TA1= 3 sec TB2= 6 sec L1=? — 2 TA2 = 7 sec TB2 = 12 sec L2=? J1 =? 3 TA3 = 15 sec TB3 = 22 sec L3=? J2 =?
Also write down the main difference between latency and jitter.Question No. 2 [Marks: 5]
Suppose a university has a ‘Research center” network that is comprised of the main departments of the university. Answer the following questions by considering the topology of the given network.
What is the total data rate of the network?
Which application is generating the maximum load per user in Management department?
Which application is generating the minimum load per user in Computer Science department?
Which department is consuming maximum network bandwidth and why?
Question No. 3 [Marks: 5]
Suppose the utilization of a system is 45% then what will be the queue depth?
Question No. 4 [Marks: 5]
What are the steps required in step-wise approach to measure the downtime cost of the system? Discuss them.Deadline: Your assignment must be uploaded/submitted on or before 5th December, 2019.
SOLVED CS432 Assignment 1 Solution and Discussion
-
Assignment No. 01
Semester: Fall 2019
CS432 –Network modeling and simulation Total Marks: 20Due Date: 14th November, 2019
Assignment Objectives:• To provide understanding about simulation models and
• How to install the network simulator “Omnetpp”Uploading instructions:
• Your assignment must be in .doc format (Any other formats like scan images, PDF, bmp,etc will not be accepted).
• Save your assignment with your ID (e.g. bc020200786.doc).
• No assignment will be accepted through email.Rules for Marking:
It should be clear that your assignment will not get any credit if:
• The assignment is submitted after due date.
• The submitted assignment does not open or file is corrupted.
• Your assignment is copied from internet, handouts or from any other student
(Strict disciplinary action will be taken in this case).Assignment
Question No. 1 [Marks: 10]
a) You are required to install Omnet++ Simulator by providing detail of all the necessary steps.
b) Omnet++ IDE has many built in examples of simulations.
You are required to open and run any available example of TicToc by providing screen shots of each step (at least two screen shots including opening and running that example).Note: Installation guide is available in download section on VULMS.
Question No. 2 [Marks: 10]Simulation is one of the most significant technologies in the world that provides us the facility to get a virtual environment that behaves like a real environment without having expensive hardware and software. For this purpose we have various types of networking tools or simulators.
You are required to make comparison between the Omnet++ and NS3 simulators. Provide at least five points for each of the mentioned simulators.
Note: Your answer should be very concise and concrete. Avoid providing unnecessary detail.
Deadline: Your assignment must be uploaded/submitted on or before 14th November, 2019.
-
Assignment No. 01
Semester: Spring 2020
CS432 –Network modeling and simulation Total Marks: 20Due Date: 21/05/2020
Assignment Objectives:
• To enhance the knowledge of use cases as part of simulation building process
• To improve the learning of creation of the project in Omnet ++ simulation tool.Uploading instructions:
• Your assignment must be in .doc format (Any other formats like scan images, PDF, bmp, etc will not be accepted).
• No assignment will be accepted through email.Rules for Marking:
It should be clear that your assignment will not get any credit if:
• The assignment is submitted after due date.
• The submitted assignment does not open or file is corrupted.
• Your assignment is copied from internet, handouts or from any other student
(Strict disciplinary action will be taken in this case).Assignment
Question No. 1 [Marks: 10]
You are required to install OMNET++ in your system and write down all installation steps.
When installation is completed, do the following tasks:• Open OMNET++ IDE.
• Create a new empty project.
• Give your VUID as project name.
• After creation of project takes a snapshot of the newly created project, in which your VUID is shown as project name.Sample of snapshot is given as under.
Note: Installation guide is available in download section on VULMS.
Question No. 2 [Marks: 10]
Following is a XYZ University Registration System’s use case. You are required to identify and define the Simulation Building Process activities (Entities, states, Events) of given use case.
Deadline: Your assignment must be uploaded/submitted on or before 21st May 2020.
-
@zareen said in CS432 Assignment 1 Solution and Discussion:
Question No. 2 [Marks: 10]
Simulation is one of the most significant technologies in the world that provides us the facility to get a virtual environment that behaves like a real environment without having expensive hardware and software. For this purpose we have various types of networking tools or simulators.
You are required to make comparison between the Omnet++ and NS3 simulators. Provide at least five points for each of the mentioned simulators.Omnet++
Modules:
Simple Module
Compound Module
User Interface:
TKENV (GUI based)
CMDENV
Execution:
Parallel support
Language: NEDNS-2
Modules:
Modules are one inseparable unit. Also supports hierarchical models.
Interface:
GUI-based execution environment.
Language:
It is a dual-language simulator.
C++ and python.
Although it’s difficult but memory efficient. -
@zareen said in CS432 Assignment 1 Solution and Discussion:
b) Omnet++ IDE has many built in examples of simulations.
-
@zareen said in CS432 Assignment 1 Solution and Discussion:
a) You are required to install Omnet++ Simulator by providing detail of all the necessary steps.
Solution
Installing OMNET++:Download the OMNeT++ source code from
http://omnetpp.orgMake sure you select the Windows-specific archive, named omnetpp-4.6-src-windows.zip
The package is nearly self-contained, in addition to OMNeT++ files.Copy the OMNeT++ archive to the directory where you want to install it. Choose a directory whose full path does not contain any space; for example, do not put OMNeT++ under Program Files.
Extract the zip file. To do so, right-click the zip file in Windows Explorer, and select Extract All from the menu. You can also use external programs like Winzip or 7zip. Rename the resulting directory to omnetpp-4.6.
When you look into the new omnetpp-4.6 directory, should see directories named doc, images, include, tools, etc., and files named mingwenv.cmd, configure, Makefile, and others.
Configuring and Building OMNeT++:Start mingwenv.cmd in the omnetpp-4.6 directory by double-clicking it in Windows Explorer. It will bring up a console with the MSYS bash shell, where the path is already set to include the omnetpp-4.6/bin directory.
Then enter the following commands:
$ ./configure
$ make
The build process will create both debug and release binaries.Verifying the installation:
You should now test all samples and check they run correctly. As an example, the dyna example is started by entering the following commands:
$ cd samples/dyna
$ ./dyna
By default, the samples will run using the graphical Tkenv environment. You should see GUI windows and dialogs.Starting the IDE:
OMNeT++ comes with an Eclipse-based Simulation IDE. You should be able to start the IDE by typing:
$ omnetpp
To create a new empty project, open File menu, select New then select OMNET++ Project… option.
New OMNET++ Project window is opened
In Project name field give your VU ID for example
Project name:
Click on Next> button
Select Empty project and click on Finish button.
An empty project is now created. Following is the screenshot
50% Off on Your FEE Join US!


