Questions
The hunt for Red October is on! (Remember the 1990 Sean Connery

The hunt for Red October is on! (Remember the 1990 Sean Connery

In: Physics

The Pool class of the multiprocessing Python module. There is a defined run method to perform...

The Pool class of the multiprocessing Python module. There is a defined run method to perform the tasks. Create a pool object of the Pool class of a specific number of CPUs your system has by passing a number of tasks you have. Start each task within the pool object by calling the map instance method, and pass the run function and the list of tasks as an argument.Hint: os.walk() generates the file names in a directory tree by walking the tree either top-down or bottom-up. This is used to traverse the file system in Python.

Multisync.py

#!/usr/bin/env python3
from multiprocessing import Pool
def run(task):
  # Do something with task here
    print("Handling {}".format(task))
if __name__ == "__main__":
  tasks = ['task1', 'task2', 'task3']
  # Create a pool of specific number of CPUs
  p = Pool(len(tasks))
  # Start each task within the pool
  p.map(run, tasks)

The hierarchy of the subfolders of /data/prod, data is from different projects (e.g., , beta, gamma, kappa) and they're independent of each other. You have to use multiprocessing and subprocess module methods to sync the data from /data/prod to /data/prod_backup folder.

Try applying multiprocessing, which takes advantage of the idle CPU cores for parallel processing. Here, you have to use multiprocessing and subprocess module methods to sync the data from /data/prod to /data/prod_backup folder.

Hint: os.walk() generates the file names in a directory tree by walking the tree either top-down or bottom-up. This is used to traverse the file system in Python.

Dailysync.py

#!/usr/bin/env python
import subprocess
src = "/data/prod/"
dest = "/data/prod_backup/"
subprocess.call(["rsync", "-arq", src, dest])

In: Computer Science

Stealing the Examination As part of your preparation for the upcoming examination, you have the goal...

Stealing the Examination

As part of your preparation for the upcoming examination, you have the goal of stealing a copy of the examination.

*Note that this is a thought experiment that is you should not try it out in real life.

When preparing the exam, the files are stored on the IT servers in a private directory only accessible to academic and examination admin staff (e.g., Julian and Hooman). All staff use their Massey username and passwords to authenticate themselves and gain access. A physical copy of the examination is also stored in the School office in a locked file cabinet and in the Science Faculty office in a locked room. Neither Julian nor Hooman has copies of the examination stored in their offices.

If you are permitted to only use publicly available information when building your profile, describe a scenario explaining how you use the social engineering techniques, e.g., phishing, pre-texting, baiting, quid pro quo and tailgating, —as described in the lecture— to achieve your goal.

Note that you do not need to include filenames or directory name but you should be as specific as possible in your answer.

Question 2.1: Name the human target or target(s) for the scenario.

Question 2.2: Identify ONLY the information necessary for the attack, the reason why each piece of information is required and the source of the information (provide URLs where appropriate).

Question 2.3: What are the steps describing how you will carry out the attack? These should be written such that you could provide these steps plus the previous information to a third party to carry out the attack.

Question 2.4: Describe which of the concepts from the course that have been applied in your attack (you should use at least one!).

In: Computer Science

design enterprise network. design of your enterprise environment. The design shall include at least two physical...

design enterprise network.

design of your enterprise environment.

  1. The design shall include at least two physical offices with WAN connectivity between them.
  2. The design shall include the appropriate devices to support the design and accepted industry best practices.
  3. The design shall include all services and components to support a functional business.
  4. The design shall include data network speeds and redundancy as appropriate to minimize loss of service.
  5. The design shall include infrastructural services to ensure maximum uptime and performance while minimizing administration.
  6. The design shall include current versions of operating systems.
  7. The design shall include protocols that are current, and industry-accepted.
  8. The design shall maximize the security of the data internally and externally.
  9. The design shall include the backing up of critical design and operational data.
  10. The design shall include the use of Active Directory, DNS, DHCP, and WDS.
  11. The design shall include at least one workstation per physical office.

This package should include the following (at a minimum):

1. Word document/s describing each element of your design. Provide detailed information, the justification for your design decisions, and areas of consideration.

2. Spreadsheet/s detailing your servers, network devices, etc with all critical information for maintaining and accessing the devices.

3. Visio or equivalent diagrams showing your various site design data and layouts.

4. Document and/or spreadsheet detailing Active Directory Group Policy.

5. An implementation schedule to complete your enterprise design.

6. A PowerPoint or equivalent presentation that you will make to your instructor, prior to beginning your work.

In: Computer Science

For this part of the assignment I want you to execute the script CS50_hw_session04b. This will...

For this part of the assignment I want you to execute the script CS50_hw_session04b. This will create a directory called hw_session04 in your home directory. Change directories to hw_session04.

- Execute file_1 in hw_session04

- Read file_2 in hw_session04

- Create the file dir_3/name with the output of the whoami command and the first secret code when you execute file_1. Save the output of executing file_1 exactly as shown. There should be two lines in dir_3/name.

- Create the file dir_3/now with the output of the date command and the second secret code when you read file_2. Save the output of reading file_2 exactly as shown. There should be two lines in dir_3/now.
- Create a file called jamesbond in hw_session04 with the output of the date command. Change the permissions of the file jamesbond so that user has no access, group has no access but other has full access.

- Create a file called myfriend in hw_session04 with the output of the date command. Change the permissions of the file myfriend so that user has full access, group has read and execute access and other has no access.

- Execute the following commands and add the output to a file call session04b_hw

--- Echo your first and last name as the first line of the file session04b_hw
--- Get a long listing of the files in hw_session04
--- Display the contents of the file dir_3/name
--- Display the contents of the file dir_3/now
--- Echo the following message "The permissions of jamesbond is XXX". When you echo this message replace the XXX with the numeric permission value for the file jamesbond before echoing out the message.

Once you have executed the above commands, look over the file session04b_hw and check that it looks like you would expect based on the commands you have executed.

In: Computer Science

Question 1. James Company is preparing budgets for the Third quarter of 2019. All relevant information...

Question 1. James Company is preparing budgets for the Third quarter of 2019. All relevant information is presented below.

A. James Company expects sales as shown below:

Budgeted Sales (Units)

July

25,000

August

28,000

September

36,000

October

42,000

November

50,000

December

58,000

The sales price is $32 per unit. The desired ending inventory of units is 15% higher than the beginning inventory of 1,000 units.

  1. Prepare a sales budget for the third quarter, in total, October by month.

2019

July

August

September

Q3

Total

October

Budgeted sales in units

25,000

28,000

36,000

42,000

Sales Price Per Unit

Total Budget Sales

B. James Company is preparing a production budget for the third quarter. Ending inventory level must equal 15% of the next month’s sales.

  1. Prepare a production budget for the third quarter, in total, October and November by month.

2019

July

August

September

Q3

Total

October

November

Next Month Budget Sale

Ratio of Inventory

Desired Units in Ending inventory

Plus: Budgeted sales in units

Total Units Needed

Less: Units in Beginning Inventory

Budgeted units to be Produced

In: Accounting

A mechanical engineering lab was hired to test the distance travelled by a new design of...

A mechanical engineering lab was hired to test the distance travelled by a new design of Dunlop brand golf balls, when struck by a standardized mechanically-driven club. Over several months of production, 30 randomly selected golf balls were tested. The mean distance travelled by the balls in the sample was 369 yards, and the standard deviation was 8.4 yards. Studies of pro golfers and their results have shown that balls that reach 350 yards in this test (not more, not less) are correlated with the best performance during matches. Report answers for multiple choice as a single letter with no punctuation, i.e. A

(1) What would the lab's null hypothesis be? A. The golf ball will travel 350 yards. B. The golf ball will travel a distance different from 350 yards. (2) Find the normalized tobs t o b s score for the observed mean distance travelled by Titleist. Report 2 digits after the decimal. tobs= t o b s =

(3) Sketch a normalized t distribution (see the Practice Problems for examples), and add tobs t o b s on the plot of the null t t -distribution. Shade in the appropropriate region that represents the probability of a value as large or more extreme that tobs t obs , in either direction. (I.e. don't forget the other tail.) You next find that for this sample, tcrit=t0.05(2),df t c r i t = t 0.05 ( 2 ) , d f = 2.04. Add this value to your t t distribution plot. Which of the following graphs most resembles your sketch?

(4) Find the 95% confidence interval for the mean distance travelled by Dunlop golf balls when hit by the mechanical golf club. Report 1 digit after the decimal for each value. 95% confidence interval: \[,\]

(5) What statistical conclusion should the researchers arrive at from this study? A. Reject the Null Hypothesis. B. Fail to Reject the Null Hypothesis. C. Accept the Null Hypothesis.

(6) What more colloquial conclusion should the researchers arrive at from this study? A. Golf balls from this brand do not travel the 350 yard target distance. B. The data does not provide evidence that this brand's golf clubs produce a distance other than 350 yards. C. The brand's golf balls travel on average 350 yards. Previous Page Next Page

In: Statistics and Probability

Many employees of the middle class in America will by necessity have to transform and learn...

Many employees of the middle class in America will by necessity have to transform and learn new skills that can't be either automated or performed equally well at a lower cost in Asia or other parts of the world - what does that say about the US jobs that will be created in the next decade and the business strategies that will create them??

In: Economics

a. What is the Lucas critique? Why does it matter? Illustrate your answer with references to...

a. What is the Lucas critique? Why does it matter? Illustrate your answer with references to a famous episode in U.S. monetary history.

b. Using your knowledge from this course, assess the extent to which the European Monetary Union is a successful system of fixed exchange rates in comparison with the United States of America.

In: Economics

How do you think small businesses will be affected in America & Worldwide once the tragic...

How do you think small businesses will be affected in America & Worldwide once the tragic pandemic of CV-19 is over? Provide examples, and justify why both small and big businesses alike received a $2 trillion dollar bailout from the government this week. Was it fair? Is the travel industry dead?

In: Operations Management