Category Archives: Undergraduate

Java PriorityQueue & Nodes

I need two assignments done. (Instructions are uploaded as a photo)
First assignment must be submitted with a few screenshots of the program.
The second one must have at least one screenshot of the output submitted.

The 1st assignment must be submitted by 7/4 the second you will have until 7/11.

CSS-Html-Calendar

Modify the existing HTML code so that it uses an external CSS file instead of inline CSS.

Start by creating a file called calendar.css and use the <link> tag in the header of calendar.html to link it to that page.

Then create CSS rules in calendar.css based on the style attributes of the HTML elements in calendar.html. Group the rules together based on elements class attributes and/or HTML element types, keeping the exact same styling rules.

When you are finished putting the CSS rules in calendar.css, delete the style attributes for all HTML elements in calendar.html and it should look the same.

Computer Networks Assignment 1

General instructions

This tutor-marked assignment (TMA) should be done after you have completed your study of Unit 1 and Unit 2. Your assignment must be written in MS-WORD or HTML format and, in either case, it must begin with a cover page containing the course number and title, assignment number, your name and your student id, as well as the time you spent on the assignment. The file containing the cover page must be named TMA1.doc or TMA1.htm. If you have more than one file for the assignment, those files and all other files should be accessible through the file containing the cover page, either directly or indirectly through hyperlinks.

Organization of your assignment files
You need to create a root directory or folder named comp347 somewhere on the file system of your computer, and keep all your work related to the course under that directory; for this assignment you need to create a subdirectory or subfolder named tma1 and put all the necessary files for the assignment under that dedicated subdirectory. When you submit your assignment, you must zip the entire subdirectory of tma1 in a zip file named tma1.zip, and send the compressed file for marking through the appropriate drop box on the course home page.

Part one: (30%) short answer questions

1. Run Traceroute (or Tracert on Windows, or whatever similar utility on your computer) between a source and destination in Canada (or in the country where you live) at three different time of the day, summarize your findings at each of the times in terms of average and standard deviation of the round-trip delays, number of routers in the path, and explain your findings. Please read the article at https://support.microsoft.com/en-us/kb/314868 if you are not familiar with the tool.

2. What are the five layers in the Internet protocol stack? Draw a diagram showing what each layer does and how they are related to each other.
What are packet switches, circuit switches, and message switches respectively? Give two examples of packet-switched networks and explain how they work and what features they have.

3. What are processing delay, queuing delay, transmission delay, and propagation delay respectively? Explain in detail why the traffic intensity should be no greater than one (1) when designing a network system?

4. What is Web-caching? Why is Web-caching important especially for big corporations? What problem does Conditional Get in HTTP want to solve? Download Apache from httpd.apache.org, and install and run it as a proxy server on your computer, then write a brief report on what you have done to make it work and how you use it from your Web browser. You are encouraged to search on the internet for Apache as proxy server, select the most relevant articles to read, and include the titles and links in the report.

5. Suppose you have a web-based email account, such as Gmail, and you have just sent a message to a friend, Alice, who accesses her mail from her mail server using IMAP. Further assume that both you and Alice are using smartphone to access emails. Discuss in detail how the message went from your smartphone to Alices smartphone, by listing the series of application-layer protocols that were used to move the message between the two smartphones, as well as all events that occurred at each application layer protocol.

Part two: (70%) solve the following network problems and show your work in detail

Q2.1. (10%) one important factor in the total delay of a store-and-forward packet-switching network is how long it takes to store and forward a packet through a switch. If the switching time of each switching device is 1 microsecond, is this likely to be a major factor in the response of a client-server system where the client is a computer you use to access the internet, and the server is somewhere in Europe? Explain your answer. You can assume the average propagation speed in all media involved is 2/3 the speed of light in a vacuum; you may calculate or estimate the distance between the server and your computer; you need to find out the number of routers/switches in between using Traceroute or Tracert.

Q2.2. (10%) Carefully study Overlay Network in the textbook and other sources. Consider an overlay network with M active peers, with each pair of peers having an active TCP connection. Additionally, suppose that the TCP connections pass through a total of N routers. How many nodes and edges are there in the corresponding overlay network? Draw a graph to show the network for M = 7 and N = 3.

Q2.3. (15%) Consider sending a file of F bytes over a path of Q links. Each link transmits at R bps. The network is lightly loaded so that there are no queuing delays at any link. The propagation delay on each link is Tp seconds on average.

a) Suppose the network is a packet-switched virtual-circuit network. Assume the VC setup time is Ts seconds. Suppose the sending layers add a total of h bits of header to the file, and the size of each packet is P. How many packets are needed to send the file? How long does it take to send all the packets from source to destination?

b) Suppose the network is a packet-switched datagram network and a connectionless service is used. Now suppose the size of each packet is P including 2h bits of header. How many packets are needed to send the file? How long does it take to send the file to its destination?

c) Finally, suppose that the network is a circuit-switched network. Further suppose that the transmission rate of the circuit between source and destination is R bps. Assuming Ts setup time and h bits of header appended to the file, how long does it take to send the file to its destination?

Q2.4. (20%) In a computer network, two hosts, A and B, are separated by 1,000 kilometres and are connected by a direct link of R = 5 Mbps. Suppose the propagation speed over the link is 2*10^8 meters/sec.

a) What is propagation delay Tprop from A to B through the direct link?

b) What is the bandwidth-delay product R*Tprop?

c) Consider sending a file of 512KB from Host A to Host B. Suppose the file is sent continuously as one big message. What is the maximum number of bits that will be in the link at any given time?

d) Based on the results from b and c, what does the bandwidth-delay product imply?

e) What is the width (in meters) of a bit in the link?

f) Derive a general expression for the width of a bit in terms of the propagation speed s, the transmission rate R, and the length of the link m.

Q2.5. (15%) Suppose within your Web browser you click on a link to obtain a Web page. The content of the web page is not cached in the local caching server, and the IP address for the associated URL is not cached in your local host either, so that a DNS look-up is necessary to obtain the IP address. Suppose that n DNS servers need to be visited before your host receives the IP address from DNS, and each of successive visits incur round trip delay of RTT1, RTT2 … RTTn respectively.

Further suppose that three images, sized 100KB, 120KB and 80KB respectively, are embedded in the Web page associated with the link, which are stored on the same web server as the web page itself, while the size of the Web page is 4KB. Let RTT0 denote the round trip delay between your computer and the server containing the web page, and let R denote the average end-to-end transmission rate between your computer and the Web server. How much time elapses from when you click on the link until you see the entire content of the web page associated with the link? Your calculation should include all the RTTs and transmission delays and show them in a properly simplified mathematical formula.

The reasons that the United States entered the Great War (World War I).

Overview
This content discussion looks at some of the challenges that the United States faced upon entering the Great War (World War I) and the consequences of that war on the home front during the war, as well as the postwar period.

Instructions
Select one (only one!) topic from the below and write a response to the prompt by the initial post due date.

Based on at least two primary sources and your readings (course readings and links), explain the reasons that the United States entered the Great War (World War I).
Based on at least two primary sources and your readings (course readings and links), describe the Red Scare of the 1920s and its causes. Could something like this occur again? Why or why not?
Based on at least two primary sources and your readings (course readings and links), summarize the rise of consumerism in the 1920s and determine its consequences for the period. Make sure to keep your perspective in the 1920s!
Read through the primary sources on the 1920s. Based on at least two primary sources and your readings (course readings and links), do you believe the description of the 1920s as Roaring is accurate or not. Explain your answer citing examples.
Make sure you use evidence from the sources and source types noted in your prompt to support your points. You may use sources other than those found in Recommended Resources, but you should write at least 300 words in your response.

Array Searches and Sorts

Submit    the    zipped    Eclipse    project including    at    least    Project1.java,    Country.java and   
Countries1.csv.        The    zip    file    should    be    named    <your    last    name>_Project1.zip (for    example,   
Liu_Project1.zip).        The    Countries1.csv    file    contains    information    about    all    155 countries    (and   
regions) in    the    world.        We    shall    call    all    these    places    countries for    our    projects.        The    program   
should    be    well    documented    in    the    format    of    doc    comments    in    Java.        Detailed    formats    are    found   
at    http://www.oracle.com/technetwork/articles/java/index-137868.html.
Requirements:
1. Create a class named Country that will store information about a country and provide
methods to get, and set the data, and compare the countries by several fields.
a. Fields: Name, Code, Capitol, Population, GDP, HappinessRank
b. Constructor
c. Get and set methods for each field
d. Compare method to compare based on Name (expects a Country object as a
parameter)
e. Method to print a country object
2. Create a class named Project1 that will:
a. Prompt user to enter the name of the CSV file, e.g., Countries1.csv, as input to the
system.
b. Parse Countries1.csv and create an array of country objects containing the data in the
file.
c. Offer the user the following options:
1) Print a countries report
2) Sort by Name (alphabetically using Insertion sort)
3) Sort by Happiness Rank (ascendingly using Selection sort)
4) Sort by GDP per capita (descendingly using Bubble sort)
5) Find and print a country for a given name (using binary search if the data is
sorted by name, sequential search if not)
6) Quit
d. Implement the given option, then prompt again. (deal with invalid choice)
Project1 should have main and methods for each option 1-5.
e. The Country report in option 1 should be in this form:  see form in pdf
f. The Country report in option 5 should be in this form:  see form in pdf

Geometry modelling

I will send the films Watch all films and make all models, save files in SLDPRT and PDF3D format.Make model of  wrench (missing quiz III – attachment).Create models presented in the attachments.Make assembly 1,2,3,4,5.
I request the expert to help me to finish this tasks as soon as possible. If any questions please message or if you need my phone number as well as whatsapp too please ask.

IFSM Research paper

A complete description of the research paper requirements can be seen by clicking on the “Research Paper” in the Assignments tab on the top blue navigation bar. You will download the attached requirements file. The second file (“Using the References tool…”) provides additional help on including citations and references in your paper. However, there is a great list of resources found under the Content/Course Resources/Writing Resources link in this classroom. Of particular note is the file titled “APA Requirements for IFSM Courses.” There are also citation examples, a sample paper. and help with grammar, etc.

Excel project 3

Instructions

This final project puts together the functions you used in preceding projects and has you present the data in a PowerPoint presentation. So you will be completing both an Excel spreadsheet and a separate PowerPoint presentation for submission. Please make sure to look at the attached files that contain all the information, and further instructions for this project

malware forensics

I need the lab 2 word document completed by july 11th 8pm eastern time. there is a small disucssion question , I need done by next week too. but for now just the word document. I will send you and attach the additional files need to finish the lab 2 document.

Python Two-way Authentication

The point of this assignment is to create a two-way authentication system using python. It should use twilio to send messages to the user for authentication. It also needs a GUI made with the python module Tkinter. All other specifics will be in the attached proposal document and any solution should try to stick to the proposal as close as possible. All instructions on what is exactly needed will also be attached.