1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Flauer [41]
4 years ago
8

The critical path in a project network is:______ A. The Shortest path through the network. B. Longest path through the network.

C. Network path with the most difficult activities. D. Network path using the most resources.
Computers and Technology
1 answer:
Softa [21]4 years ago
4 0

Answer:

B

Explanation:

You might be interested in
Info, and Contact Us. She will create a hierarchy of page elements and revise the style sheets. In this case, the Home page cont
Alchen [17]

Answer:

link

Explanation:

3 0
3 years ago
and assuming main memory is initially unloaded, show the page faulting behavior using the following page replacement policies. h
Svet_ta [14]

FIFO

// C++ implementation of FIFO page replacement

// in Operating Systems.

#include<bits/stdc++.h>

using namespace std;

// Function to find page faults using FIFO

int pageFaults(int pages[], int n, int capacity)

{

   // To represent set of current pages. We use

   // an unordered_set so that we quickly check

   // if a page is present in set or not

   unordered_set<int> s;

   // To store the pages in FIFO manner

   queue<int> indexes;

   // Start from initial page

   int page_faults = 0;

   for (int i=0; i<n; i++)

   {

       // Check if the set can hold more pages

       if (s.size() < capacity)

       {

           // Insert it into set if not present

           // already which represents page fault

           if (s.find(pages[i])==s.end())

           {

               // Insert the current page into the set

               s.insert(pages[i]);

               // increment page fault

               page_faults++;

               // Push the current page into the queue

               indexes.push(pages[i]);

           }

       }

       // If the set is full then need to perform FIFO

       // i.e. remove the first page of the queue from

       // set and queue both and insert the current page

       else

       {

           // Check if current page is not already

           // present in the set

           if (s.find(pages[i]) == s.end())

           {

               // Store the first page in the

               // queue to be used to find and

               // erase the page from the set

               int val = indexes.front();

               

               // Pop the first page from the queue

               indexes.pop();

               // Remove the indexes page from the set

               s.erase(val);

               // insert the current page in the set

               s.insert(pages[i]);

               // push the current page into

               // the queue

               indexes.push(pages[i]);

               // Increment page faults

               page_faults++;

           }

       }

   }

   return page_faults;

}

// Driver code

int main()

{

   int pages[] = {7, 0, 1, 2, 0, 3, 0, 4,

               2, 3, 0, 3, 2};

   int n = sizeof(pages)/sizeof(pages[0]);

   int capacity = 4;

   cout << pageFaults(pages, n, capacity);

   return 0;

}

LRU

//C++ implementation of above algorithm

#include<bits/stdc++.h>

using namespace std;

// Function to find page faults using indexes

int pageFaults(int pages[], int n, int capacity)

{

   // To represent set of current pages. We use

   // an unordered_set so that we quickly check

   // if a page is present in set or not

   unordered_set<int> s;

   // To store least recently used indexes

   // of pages.

   unordered_map<int, int> indexes;

   // Start from initial page

   int page_faults = 0;

   for (int i=0; i<n; i++)

   {

       // Check if the set can hold more pages

       if (s.size() < capacity)

       {

           // Insert it into set if not present

           // already which represents page fault

           if (s.find(pages[i])==s.end())

           {

               s.insert(pages[i]);

               // increment page fault

               page_faults++;

           }

           // Store the recently used index of

           // each page

           indexes[pages[i]] = i;

       }

       // If the set is full then need to perform lru

       // i.e. remove the least recently used page

       // and insert the current page

       else

       {

           // Check if current page is not already

           // present in the set

           if (s.find(pages[i]) == s.end())

           {

               // Find the least recently used pages

               // that is present in the set

               int lru = INT_MAX, val;

               for (auto it=s.begin(); it!=s.end(); it++)

               {

                   if (indexes[*it] < lru)

                   {

                       lru = indexes[*it];

                       val = *it;

                   }

               }

               // Remove the indexes page

               s.erase(val);

               // insert the current page

               s.insert(pages[i]);

               // Increment page faults

               page_faults++;

           }

           // Update the current page index

           indexes[pages[i]] = i;

       }

   }

   return page_faults;

}

// Driver code

int main()

{

   int pages[] = {7, 0, 1, 2, 0, 3, 0, 4, 2, 3, 0, 3, 2};

   int n = sizeof(pages)/sizeof(pages[0]);

   int capacity = 4;

   cout << pageFaults(pages, n, capacity);

   return 0;

}

You can learn more about this at:

brainly.com/question/13013958#SPJ4

4 0
1 year ago
What tag works as a dictionary between text &amp; computer bytes?
Lynna [10]

Answer:

Here is some python code

Explanation

5 0
3 years ago
Which of the following activities can be simulated using a computer? I. Waiting time in a line at a restaurant II. Tossing a coi
german

Answer: I,II,III

Explanation:

to simulate using a computer means to create a scenario which would correspond to the actual environment. Here, waiting time in a line can be simulated using waiting queue time algorithms similar to those used in networking packets. Tossing a coin and shuffling card game based on game theory and using AI algorithms we can easily achieve their simulation.

7 0
3 years ago
You will locate a presentation online that focuses on your field (for example you might choose a TED talk focused on your field)
Bogdan [553]

Answer:

presentation: "How to stop screwing yourself over" A ted talk by  Mel, an American television host. She constructively used  presentation skills such as clear verbal communication, humor, story telling  and of course, good preparation and research to present in the video, the video has more than 22 million views.

Explanation:

verbal communication: She communicated in a clear and concise language to pass her message across to the audience. This  is a vital skill for a good presentation.

Humor: She was able to use humor to lighting the presetation atmosphere without derailing from the main point. Effective use of humor will increase audience attention during the presentation.

story telling: Everybody loves story, when stories that are related to the main point of the presentation are shared, it will instill the main of point of the presentation in the mind of the audience.

Good preparation and research: Adequate preparation is key to the success of any presentation. It allows the speaker to understand his or her audience before the actual presentation as well as get all need resources for the presentation.

8 0
4 years ago
Other questions:
  • Norman Bates has a very unusual hobby what is it?
    13·1 answer
  • A user found that their personal data had been exfiltrated from their computer by a malicious program that they clicked on sever
    12·1 answer
  • The user can set their own computer hostname and username. Which stage of the hardware lifecycle does this scenario belong to?
    6·1 answer
  • You store sensitive data on your computer and need to restrict access to this data by others who use your computer. What will yo
    15·1 answer
  • We cannot create a blank table true or false​
    8·1 answer
  • Translate each of the following binary representations into its equivalent base ten representation.
    7·1 answer
  • Aisha designed a web site for her school FBLA club. Which item should Aisha consider for improved responsive design?
    6·2 answers
  • Which important aspect of the Roman Empire did the barbarians destroy?
    14·2 answers
  • List out any four hardware and software components required for multimedia​
    10·1 answer
  • What type of os must be installed on your machine to allow this type of action by another person?
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!