Imagine that you are managing a supercomputer that runs jobs for your clients….

Imagine that you are managing a supercomputer that runs jobs for your clients. A client

can submit a set of computing jobs, numbered from 1 to n, and the dependencies

among them. The dependencies are expressed as pairs. For example, (1, 2) means job 2

depends on job 1, i.e. job 2 can only start after job 1 finishes.

a) Write a program that determines if it is possible to finish all the jobs without

actually running them. Below are some example inputs and their expected

outputs.

Input: number of jobs = 2, dependencies = [(1, 2)]

Output: true

Explanation: We can run job 1 first followed by job 2.

Input: number of jobs = 2, dependencies = [(1, 2), (2, 1)]

Output: false

Explanation: We need job 1 to finish before we can run job 2, and job 2 to finish

before we can run job 1. This is clearly impossible.

Implement your algorithm in the method canFinish in job.cpp.

b) Write a program that checks if a given job j can be run in the ith time slot on a

sequential computer. You can assume that i ranges from 1 to n, each job can

finish in one time slot, and you can run no job in a slot. You can also assume the

answer to part a) is true for the input given in this part. Below are some example

inputs and their expected outputs.

Input: number of jobs = 2, dependencies = [(1, 2)], j = 2, i = 1

Output: false

Explanation: We have to run job 1 first before we can run job 2, so job 2 cannot

be run as the 1st job.

Input: number of jobs = 2, dependencies = [(1, 2)], j = 1, i = 2

Output: true

Explanation: we can run no job in the 1st time slot, and then run job 1 in the 2nd

time slot.

 

"Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"

Write a bash shell script that copies all files from your UnixShells to workngDir and analyze…

Write a bash shell script that copies all files from your UnixShells to workngDir and analyze the new directory information such as number of files categorized by file permission and disk usage. MCIS 5013(030) – Unix Operating System Summer I, 2018 Page 2 of 4 Direction 1. Make sure you are current directory on bash by issuing command echo $0 2. Write a bash shell script name “DirAnalyze+your 4 digit ID” #File name should be DirAnalyze+1864 3. The script need to be started with a line #! /bin/bash 4. Create a file named DirAnalyze_id.sh . put your name, section name and simple description for the assignment . print Title and date at the same line use echo command . Print Title and date at the same line use echo command and cut command << MCIS 5013 Directory Analysis Report >> Date: wed June 20, 2018 Eg. Wed June 20 17:48:15 CDT 2018 to Wed June 20, 2018 a. Display current directory b. Create new directory and copy files

Document Preview:

MCIS 5013(030) – Unix Operating System Summer I, 2018 Project 2- bash script (200 Marks) No Name, ID and section name: 2 point deduction No output is provided: 10 point deduction, Don’t copy other students’ work Objective: Write a bash shell script that copies all files from your UnixShells to workngDir and analyze the new directory information such as number of files categorized by file permission and disk usage. Expected Output << MCIS 5013 – Unix Operating System >> date: wed June 20, 2018 Directory info analysis Report =========================================================================== A. Current Directory: /home/jongyk/UnixShells B. New Directory Created at: /home/jongyk/UnixShells/9123 C. File information 0) Total Number of files: 22 1) Directory files: 0 2) Plain text files: 10 3) Files have Read only permission: 3 4) Files have Read and Write permissions: 4 5) Files have Execute only permissions: 2 6) File have length of zero: 0 7) Others: 0 files D. Disk usage of this di: 50 Kb E. Biggest 5 files in directory: Lab3.class , Lab4.java, Lab5.class ========================================================================== Reported by: Jongyk Page 1 of 4MCIS 5013(030) – Unix Operating System Summer I, 2018 Direction 1. Make sure you are current directory on bash by issuing command echo $0 2. Write a bash shell script name “DirAnalyze+your 4 digit ID” #File name should be DirAnalyze+1864 3. The script need to be started with a line #! /bin/bash 4. Create a file named DirAnalyze_id.sh . put your name, section name and simple description for the assignment . print Title and date at the same line use echo command . Print Title and date at the same line use echo command and cut command << MCIS 5013 Directory Analysis Report…

Attachments:

 

"Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"

Quistion 20. Solve it plz

Quistion 20. Solve it plz

Attachments:

 

"Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"

Read Chapter 2 – Data Analytics Lifecycle and answer the following questions. 1. In which phase woul

Read Chapter 2 – Data Analytics Lifecycle and answer the following questions.

1. In which phase would the team expect to invest most of the project time? Why? Where would the team expect to spend the least time?

2. What are the benefits of doing a pilot program before a full-scale rollout of a new analytical method- ology? Discuss this in the context of the mini case study.

3. What kinds of tools would be used in the following phases, and for which kinds of use scenarios?

a.Phase 2: Data preparation
b.Phase 4: Model building

Requirements:

– Typed in a word document.
– Each question should be answered in not less than 150 – 200 words.
– Follow APA format.
– Please include at least three (3) reputable sources

Textbook(s) Required: EMC Education Service (Eds). (2015) Data Science and Big Data Analytics: Discovering, Analyzing, Visualizing, and Presenting Data, Indianapolis, IN: John Wiley & Sons, Inc. ISBN: 9781118876138

 

"Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"

The file P02_12.xlsx includes data on the 50 top graduate programs in the U.S.,according to a… 1 answer below »

The file P02_12.xlsx includes data on the 50 top graduate programs in the U.S.,according to a recent u.s. news & reprt survey.1-Create a table of correlations between all of the numerical variables . discuss which variables are highly correlated with which others.2-The overall score is the score scholls agonize about. create a scatterplot and corresponding correlations of each of the others variables versus overall , with overall always on the y axis. what do you learn from these scatterplots ?

 

"Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"

M2.A5 – Assignment Men’s Health Read the scenario below. Respond to the questions in full sentences.

M2.A5 – Assignment Men’s Health Read the scenario below. Respond to the questions in full sentences. Be sure to use standard English grammar and spelling How might you address the problem of HIV at the population level? What additional information might you need to determine appropriate interventions for the problem? What other segments of the community would you involve in developing your interventions? Scenario: You have identified a high rate of HIV among gay men in your community. Significant disparities are noted in the incidence rates among Caucasian, African American, and Latino men, with a higher incidence among African Americans, although the incidence among all three groups is high.

 

"Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"

Global Economics Discussion Question Activity Instruction Identify a commodity (other than coffee) t

Global Economics Discussion Question

Activity Instruction

Identify a commodity (other than coffee) that is or has been impacted by global market changes and regulations. Explain the economic implications of those changes and regulations in relation to that commodity. Use the internet to research your commodity as needed, and cite all sources using APA format.

 

 

300 WORDS

    • Posted: 4 years ago
    • Due: 13/09/2015
    • Budget: $50
     

    "Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"

    Select assets you want to trade and discuss reasons that justify your investment decision…. 1 answer below »

    1. Select assets you want to trade and discuss reasons that justify your investment decision. One page is

    sufficient. It is due on February 13.

    2. Use the forms provided to record your futures trading activities. You can get maintenance margin

    requirements on CMEGROUP.COM. Normally, initial margin is 110% of the maintenance margin.

    Remember, you need to make profits as much as you can by using initial investment of $1,000,000. You

    should understand the volatility nature of futures trading!

    3. You have to create two Excel files with the AutoFit for both row height and column width in your

    project. One is for the basic contract information and the other for trading log which involves seven

    columns.

    4. Trading period is up to the end of March. The project is due on April 16, 2020. No past due project

    will be accepted! The project is worth for 50 points.

     

    "Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"

    What are some of the problems of international trade that What are some of the problems of…

    What are some of the problems of international trade that

    What are some of the problems of international trade that are faced by developing countries? What suggestions would you have for the government of a developing country as it plans its trade strategy?

    What are some of the problems of international trade that

     

    "Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"