COMP1005/5005 - Practical Test 3 Run a web browser in the Virtual Machine and download the...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
COMP1005/5005 - Practical Test 3 Run a web browser in the Virtual Machine and download the zip and data file from Blackboard/Assessments Unzip them into the PracTest3 directory. Complete the four tasks below - one mark for each task 1. Modify the code to: a. Use loops and indexing to create a list of 5 butterflies and a list of 5 ants, b. Use more loops to draw them for 5 timesteps (use the stepChange method as-is). c. Update the plot title to include the timestep #. 2. Read in the terrain file from the garden3.csv file. a. Change the colour map to terrain for showing soil and sky. b. Update LIMITS to match the size of the data that was read in 3. Update the stepChange method in the Butterfly to a. Use Moore neighbourhoods for the movement of the butterfly. b. Make all movements equally likely - including staying still 4. Update the stepChange method in the Ant class to a. Use Von Neumann neighbourhoods b. Only move through the tunnels README Update a README file to include info on your code and images Submission and Assessment Ask your tutor to assess your work when complete. All of your work should be submitted via Blackboard through the link on the Assessment page. This should be done as a single "zipped" file. zip PracTest2_ID* End of Test This is Plot 1 - space them out like Prac Test 2 Initial Code : 0 This is Plot 3- reckless ants, Moore butterflies Initial Code : 6 This is Plot 2 - with the wrong colormap Initial Code : 0 This is Plot 4 - well-behaved Von Neumann ants Initial Code: 26 IST COMP1005/5005 - Practical Test 3 Run a web browser in the Virtual Machine and download the zip and data file from Blackboard/Assessments Unzip them into the PracTest3 directory. Complete the four tasks below - one mark for each task 1. Modify the code to: a. Use loops and indexing to create a list of 5 butterflies and a list of 5 ants, b. Use more loops to draw them for 5 timesteps (use the stepChange method as-is). c. Update the plot title to include the timestep #. 2. Read in the terrain file from the garden3.csv file. a. Change the colour map to terrain for showing soil and sky. b. Update LIMITS to match the size of the data that was read in 3. Update the stepChange method in the Butterfly to a. Use Moore neighbourhoods for the movement of the butterfly. b. Make all movements equally likely - including staying still 4. Update the stepChange method in the Ant class to a. Use Von Neumann neighbourhoods b. Only move through the tunnels README Update a README file to include info on your code and images Submission and Assessment Ask your tutor to assess your work when complete. All of your work should be submitted via Blackboard through the link on the Assessment page. This should be done as a single "zipped" file. zip PracTest2_ID* End of Test This is Plot 1 - space them out like Prac Test 2 Initial Code : 0 This is Plot 3- reckless ants, Moore butterflies Initial Code : 6 This is Plot 2 - with the wrong colormap Initial Code : 0 This is Plot 4 - well-behaved Von Neumann ants Initial Code: 26 IST
Expert Answer:
Answer rating: 100% (QA)
To download the zip and data file from BlackboardAssessments and unzip them into the PracTest 3 directory we can use the following commands import wge... View the full answer
Related Book For
Modern Systems Analysis And Design
ISBN: 9781292351629
9th Global Edition
Authors: Joe Valacich, Joey George
Posted Date:
Students also viewed these programming questions
-
Depreciation is a decrease in the value of an asset over time. Computers depreciate over time. Vince buys a Macbook Pro for 6200 dollars. After 6 years, Vince is only able to sell the laptop for 1700...
-
Googles ease of use and superior search results have propelled the search engine to its num- ber one status, ousting the early dominance of competitors such as WebCrawler and Infos- eek. Even later...
-
Planning is one of the most important management functions in any business. A front office managers first step in planning should involve determine the departments goals. Planning also includes...
-
A puck on a horizontal, frictionless surface is attached to a string that passes through a hole in the surface, as shown in FIGURE 11-52. As the puck rotates about the hole, the string is pulled...
-
Determine the couple forces F that must be applied to the handle of the machinist's vise in order to create a compressive force FA in the block Neglect friction at the bearing A. The guide at B is...
-
How would ask for funds from an investor? What are the difference between pre-money valuation and post-money valuation? Illustrate the final answer on an expandable pie. Number of shares = 2,000,000...
-
You should have found that the confidence interval when utilizing the paired structure of the data was narrower than the confidence interval ignoring this structure (this will generally be the case,...
-
Tom Brown, controller of Microbiology Labs, informs you that the company has sold a segment of its business. Mr. Brown also provides you with the following information for 2012: The following...
-
3. The market share of Seattle Mills is $407 million. The claims on Seattle Mills are split between common stock and a 12% debt that has a face value of $350 million and that matures in five months....
-
The following are selected account balances from Penske Company and Stanza Corporation as of December 31, 2021: Penske Stanza Revenues $ (834,000 ) $ (500,000 ) Cost of goods sold 296,900 125,000...
-
Salwid-Mort, a mortgage broker, has hired you to develop a spreadsheet they will use with their clients. Theyve noticed that thirty-year loans with an interest offset facility are popular with their...
-
Interview at least ten people and ask the following questions: What are your auto liability insurance limits and deductibles? If you own your own home, do you have an all-risk or named perils...
-
Lee Chiew is borrowing \($170\),000 from Asia Bank USA to open Asian Health Foods in Virginia. She agrees to repay the loan at 10 percent compounded annually. Since she expects it to take a few years...
-
Solve the IVP. Do not use Laplace transformation. \(\dot{y}=(1-y) \sin t, y\left(\frac{1}{2} \pi ight)=2\)
-
Do a Google search on something like home loans; mortgage lenders; home financing; fixed loans; ARM and spend 10 minutes seeing what you can learn about available home loans. Give the URL of any Web...
-
A series of 10 end-of-year deposits is made that begins with $7,000 at the end of year 1 and decreases at the rate of $300 per year with 10 percent interest. a. What amount could be withdrawn at t =...
-
Develop an outline of the product life cycle for Adidasshoes (introduction stage, growth stage, maturity stage, declinestage). Post the outline of the product life cycle,provide some supporting...
-
A bar of length = 1 has one fixed and one free end and stiffness function c(x) = 1 - x. Find the displacement when subjected to a unit force. Pay careful attention to the boundary condition at the...
-
Match each of the key terms above with the definition that best fits it. Network diagram ____ A systems analyst with a diverse set of skills management, leadership, technical, conflict management,...
-
What are the key factors determining how design can assist user performance in the best possible way?
-
This chapter states that the distinction between training and support becomes more and more blurred. What is the reason for this?
-
The energy levels of an imperfect Fermi gas in the presence of an external magnetic field \(\boldsymbol{H}\), to the first order in \(a\), may be written as...
-
Solve the Gross-Pitaevskii equation and evaluate the mean field energy, see equations (11.2.21) and (11.2.23), for a uniform Bose gas to show that this method yields precisely equation (11.2.6).
-
Rewrite the Gross-Pitaevskii equation and the mean field energy, see equations (11.2.21) and (11.2.23), for an isotropic harmonic oscillator trap with frequency \(\omega_{0}\) in a dimensionless form...
Study smarter with the SolutionInn App