Consider a hybrid system where your computer has two CPUs.
- 1st CPU follows the SJF scheduling algorithm.
- 2nd CPU follows the RR algorithm for the processes having priority greater than 1.
Assume that, each process has process id, process arrival time, process burst time and priority.
Now calculate the WT, CT, AWT, ATAT of the hybrid system using C++.
Share code and show output.
***Filename must be 2018200010061***

Answers

Answer 1

We can use a combination of the SJF (Shortest Job First) and RR (Round Robin) scheduling algorithms. The output will be the WT, CT, AWT, and ATAT for the given processes.

To calculate the WT (waiting time), CT (completion time), AWT (average waiting time), and ATAT (average turnaround time) of the hybrid system with two CPUs, we can use a combination of the SJF (Shortest Job First) and RR (Round Robin) scheduling algorithms. Here's an example implementation in C++:

cpp

Copy code

#include <iostream>

#include <vector>

#include <algorithm>

// Structure to represent a process

struct Process {

   int id;

   int arrivalTime;

   int burstTime;

   int priority;

};

// Function to calculate WT, CT, AWT, and ATAT

void calculateMetrics(std::vector<Process>& processes) {

   int n = processes.size();

   // Sort processes based on arrival time

   std::sort(processes.begin(), processes.end(), [](const Process& p1, const Process& p2) {

       return p1.arrivalTime < p2.arrivalTime;

   });

   std::vector<int> remainingTime(n, 0); // Remaining burst time for each process

   std::vector<int> waitingTime(n, 0);   // Waiting time for each process

   int currentTime = 0;

   int completedProcesses = 0;

   int timeQuantum = 2; // Time quantum for RR

   while (completedProcesses < n) {

       // Find the next process with the shortest burst time among the arrived processes

       int shortestBurstIndex = -1;

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

           if (processes[i].arrivalTime <= currentTime && remainingTime[i] > 0) {

               if (shortestBurstIndex == -1 || processes[i].burstTime < processes[shortestBurstIndex].burstTime) {

                   shortestBurstIndex = i;

               }

           }

       }

       if (shortestBurstIndex == -1) {

           currentTime++; // No process available, move to the next time unit

           continue;

       }

       // Execute the process using SJF

       if (processes[shortestBurstIndex].priority > 1) {

           int remainingBurstTime = remainingTime[shortestBurstIndex];

           if (remainingBurstTime <= timeQuantum) {

               currentTime += remainingBurstTime;

               processes[shortestBurstIndex].burstTime = 0;

           } else {

               currentTime += timeQuantum;

               processes[shortestBurstIndex].burstTime -= timeQuantum;

           }

       }

       // Execute the process using RR

       else {

           if (remainingTime[shortestBurstIndex] <= timeQuantum) {

               currentTime += remainingTime[shortestBurstIndex];

               processes[shortestBurstIndex].burstTime = 0;

           } else {

               currentTime += timeQuantum;

               processes[shortestBurstIndex].burstTime -= timeQuantum;

           }

       }

       remainingTime[shortestBurstIndex] = processes[shortestBurstIndex].burstTime;

       // Process completed

       if (processes[shortestBurstIndex].burstTime == 0) {

           completedProcesses++;

           int turnAroundTime = currentTime - processes[shortestBurstIndex].arrivalTime;

           waitingTime[shortestBurstIndex] = turnAroundTime - processes[shortestBurstIndex].burstTime;

       }

   }

   // Calculate CT, AWT, and ATAT

   int totalWT = 0;

   int totalTAT = 0;

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

       int turnaroundTime = processes[i].burstTime + waitingTime[i];

       totalWT += waitingTime[i];

       totalTAT += turnaroundTime;

   }

   float averageWT = static_cast<float>(totalWT) / n;

   float averageTAT = static_cast<float>(totalTAT) / n;

   std::cout << "WT: ";

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

       std::cout << waitingTime[i] << " ";

   }

   std::cout << std::endl;

   std::cout << "CT: " << currentTime << std::endl;

   std::cout << "AWT: " << averageWT << std::endl;

   std::cout << "ATAT: " << averageTAT << std::endl;

}

int main() {

   std::vector<Process> processes = {

       {1, 0, 6, 1},

       {2, 1, 8, 2},

       {3, 2, 4, 1},

       {4, 3, 5, 2},

       {5, 4, 7, 1}

   };

   calculateMetrics(processes);

   return 0;

}

In this code, we define a Process structure to represent a process with its ID, arrival time, burst time, and priority. The calculate Metrics function performs the scheduling algorithm and calculates the WT, CT, AWT, and ATAT. It first sorts the processes based on their arrival time. Then, it uses a while loop to simulate the execution of the processes. Inside the loop, it checks for the next process with the shortest burst time among the arrived processes. If the process has a priority greater than 1, it executes it using the RR algorithm with the specified time quantum. Otherwise, it executes the process using the SJF algorithm. The function also calculates the waiting time for each process and updates the remaining burst time until all processes are completed. Finally, it calculates the CT, AWT, and ATAT based on the waiting time and burst time.

In the main function, we create a vector of Process objects with sample data and pass it to the calculateMetrics function. The output will be the WT, CT, AWT, and ATAT for the given processes. You can modify the input data to test the code with different sets of processes.

To learn more about  scheduling algorithms click here:

brainly.com/question/28501187

#SPJ11


Related Questions

what class of arthropods is mainly involved in the pollination process?​

Answers

Answer:

Insects

Explanation:

insects are the most pollinating arthropods.

Pocso Group of Institutions has hired you to set up a LAN connection so that the students in the hostel can easily avail the prerecorded classes. These classes are provided through video lectures on the desktops situated at the common rooms for each hostel within the campus. Which of the following standards will you apply to provide the fastest transmission for their requirement?

a.
10BASE-T

b.
10GBASE-T

c.
100GBASE-T

d.
100BASE-TX

Answers

To provide the fastest transmission for the students' requirements, the recommended standard would be 10GBASE-T.

Out of the given options, 10GBASE-T is the most suitable standard to provide the fastest transmission for the students' requirements. This standard supports a transmission speed of 10 gigabits per second (Gbps), which is significantly higher compared to the other options.

10BASE-T is an older standard that supports a maximum speed of 10 megabits per second (Mbps). While it might have been sufficient in the past, it may not meet the requirements of transmitting video lectures efficiently, especially if multiple students are accessing the content simultaneously.

100GBASE-T, on the other hand, is an advanced standard capable of supporting a transmission speed of 100 gigabits per second (Gbps). While it offers a significantly higher speed than 10GBASE-T, it might be overkill for the students' requirements and may come with higher costs and infrastructure complexity.

100BASE-TX is a standard that supports a maximum speed of 100 Mbps, which is faster than 10BASE-T but considerably slower than 10GBASE-T. It may not provide the desired level of performance for transmitting video lectures efficiently.

Therefore, considering the need for fast transmission and the practicality of implementation, the 10GBASE-T standard is the most suitable choice to provide the fastest transmission for the students' requirements at Pocso Group of Institutions.

learn more about  fastest transmission here:

https://brainly.com/question/32333549

#SPJ11

In a line chart, the data markers are the points connected by the line. T/F

Answers

True, in a line chart, the data markers are the points connected by the line.

In a line chart, data markers represent individual data points in a data series. These markers are visually represented as points on the chart, and they are connected by lines to illustrate the progression or trend of the data. The lines help to emphasize the overall direction and relationship between the data points.

Line charts are commonly used to display trends over time, compare multiple data sets, or to show the relationship between two variables. By connecting data markers with lines, it becomes easier to understand the data's behavior and identify patterns, trends, or outliers.

Learn more about line chart here:

https://brainly.com/question/29990229

#SPJ11

Tom only thinks about his own gain and does not care about the team objectives. What quality is he demonstrating? A. resourcefulness B. honesty C. dishonesty D. selfishness

Answers

Answer:

D. Selfishness

Explanation:

Selfishness is caring about yourself and not others

Answer:

selfishness

Explanation:

1).
What is a resume?
A collection of all your professional and artistic works.
A letter which explains why you want a particular job.
A 1-2 page document that demonstrates why you are qualified for a job by summarizing your
skills, education, and experience.
A 5-10 page document that details your professional and educational history in great detail.

Answers

Answer:

option 1

Explanation:

its not a job application cause your not appling for a job, a resume is a list of all the things you have done that would be beneficial to a job. for example, previous jobs, skills you have, hobby that pertain to a job you want, education and other professional things.

Hope this helps:)

how can online presence help others?

Answers

Answer:

Online Presence helps others who might be naturally introverted, stuck in a precarious situation, or even by allowing someone company who desperately needs it.

Explanation:

A programmer is developing an action-adventure game with a complex story
that is important to the gameplay. They want to describe this story and how it
makes this game different from other, similar games. Which part of the game
design document should include this information?

A programmer is developing an action-adventure game with a complex storythat is important to the gameplay.

Answers

Answer:

D Project Highlights

Explanation:

I think that's right hope i helped

what are some scams you should avoid when looking for a credit counselor?

Answers

Before any credit counseling services are offered, the company requires money.

What exactly does a credit advisor do?

Organizations that provide credit counseling can help you with your finances and bills, assist you with creating a budget, and provide training on money management. Its Fair Debt Collection Act's specific provisions have been clarified by the CFPB's debt recovery rule (FDCPA)

How is a credit counselor compensated?

Non-profit organizations typically obtain some funding to cover their costs from two sources: clients who pay to use their debt payback program and clients' creditors who agree to cover those costs as part of the credit counseling organization's negotiated agreements with creditors.

To know more about credit counselor visit:

https://brainly.com/question/15563363

#SPJ4

Another problem related to indefinite postponement is called ________. This occurs when a waiting thread (letâ s call this thread1) cannot proceed because itâ s waiting (either directly or indirectly) for another thread (letâ s call this thread2) to proceed, while simultaneously thread2 cannot proceed because itâ s waiting (either directly or indirectly) for thread1 to proceed. The two threads are waiting for each other, so the actions that would enable each thread to continue execution can never occur.

Answers

Answer:

"Deadlock" is the right solution.

Explanation:

A deadlock seems to be a circumstance where certain (two) computer algorithms that share a similar resource essentially prohibit each other during manipulating the asset, leading to both programs withdrawing to operate.This occurs when multiple transfers or transactions block everyone by maintaining locks onto assets that every other activity also needs.

So that the above is the correct answer.

definition statement should include

definition statement should include

Answers

Answer:c

Explanation:

Consider the following code:
C = 100
C = C + 1
C = C + 1
print (c)
What is output?

Answers

Answer:

The output of C is 102.

100 + 1 + 1 = 102

Which of the following is NOT an example of soft skill?
A- leadership
B- Creativity
C- Computer programming skills
D- Time management

Which of the following is NOT an example of soft skill?A- leadership B- Creativity C- Computer programming

Answers

Leadership because if you wanna be a leader you have to be soft so you can teacher and lease better

Check ALL of the correct answers.
What would the following for loop print?
for i in range(2, 4):
print(i)
2
2
3
4.
1

Help now please

Answers

Answer:

2,3,4

Explanation:

Starts at two, goes to four. Thus it prints 2,3,4

A computer _________ is any person whose primary occupation involves the design, configuration, analysis, development, modification, testing, or security of computer hardware or software.

Answers

Answer:

Engineering

Explanation:

Because they are the one who create software applications

What form of lookup is used when you have a small list of values and the values remain constant over time?.

Answers

Answer:

Array Form is used when you have a small list of values and the values remain constant over time.

Explanation:

Define Array Form.

The array form of the LO

The Lookup function's array form locates the supplied value in the array's first column or row and retrieves it from the same point in the array's last column or row.

Two arguments are provided for the array Lookup, and both are necessary:

lookup value, an array

Where:

A lookup value is a value that can be used to search an array.

An array is a group of cells in which you want to Lookup a value. In order to do a V-lookup or H-lookup, the values in the array's first column or row must be sorted in ascending order. Characters in both upper- and lowercase are considered to be equal.

To learn more about array form, refer to:

https://brainly.com/question/21613466

#SPJ4

Array Form

      When you have a small list of values that remain constant over time, use Array Form.

What is Array Form :

              The static method Array.from() creates a new, shallow-copied Array instance from an iterable or array-like object. It is defined as a sequence of objects of the same data type. It is used to store a group of data, and it is more useful to think of an array as a group of variables of the same type. It is possible to declare and use arrays. An array requires a programmer to specify the types of elements and the number of elements. This is known as a one-dimensional array. The array size should be a constant integer greater than zero. Arrays can be multidimensional as well. They can also be passed to functions and returned from functions. You can also use pointers to generate the first element of an array, and you can simply specify the array name without specifying the index.

          An array's memory can be allocated dynamically. This advantage of an array aids in the saving of system memory. It is also useful when the pre-defined array does not have enough memory. Memory can be manually allocated during run time. Furthermore, when memory allocation is not dynamic, data is stored in contiguous memory locations. The amount of storage required is determined by the type or size of the data. Zero-length arrays are also advantageous because they are flexible and can be used to implement variable-length arrays. When considering a structure, the user frequently ends up wasting memory, and the constants are too large. When using zero-length arrays, the allocated structures consume no memory. They serve as pointers. Zero-length arrays are pointers whose contents are identical to themselves.

To learn more about Array refer :

https://brainly.com/question/20351133

#SPJ4

which of the following regarding a data flow diagram is correct? a process must have both an input and output data flow. a data store must be connected to at least one process. external entities should not be connected to one another. all of the above

Answers

All of the above is correct regarding data flow diagrams.


A data flow diagram (DFD) is a graphical representation of the "flow" of data through a system. It illustrates the process of data transformation from one form to another.  A process must have both an input and output data flow. This means that any process in a data flow diagram must be connected to at least one input and one output data flow. This ensures that data is received, transformed, and passed on to the next step in the system.


A data store must be connected to at least one process. A data store is used to store data between processes and to accumulate and retain data. It must therefore be connected to a process that reads or writes data to it. External entities should not be connected to one another. External entities are used to represent the external sources or destinations of data, such as people or other systems. Therefore, they should not be connected to one another. In conclusion, all of the above is correct regarding data flow diagrams.

Know more about Data flow diagram here :

https://brainly.com/question/31066888

#SPJ11

Explain the expression below
volume = 3.14 * (radius ** 2) * height

Answers

Answer:

Explanation:

Cylinder base area:

A = π·R²

Cylinder volume:

V = π·R²·h

π = 3.14

R - Cylinder base radius

h - Cylinder height

who sang devil went down to georgia

Answers

Answer:

Charlie Daniels sang that one for sure

Question #2
Dropdown
Complete the sentence.
When you use
you display intermediate results to trace the program flow.

Answers

Answer:

print debugging

Explanation:

Answer:

print debugging

Explanation:

got it right

declare the variable town as a reference to a string object and initialize it to "any town, USA"

Answers

Using Lua:

print("Town")

local town = io.read()

print(town .. ", USA")

Not sure if this is what you needed. Let me know if it is.

What is a Live Shape?

Answers

Rounded Rectangle tool (Live Shape) This is similar to the Rectangle shape, but with more corner radius options. You can adjust your corners while drawing by using the up and down key arrows

Need it ASP please
like rte now plz help me ​

Need it ASP pleaselike rte now plz help me

Answers

Answer:

b

Explanation:

A path between two nodes in a network. It may be known to be  the physical cable, the signal transmitted within the cable or to a sub channel within a carrier frequency. In radio and TV, it refers to the assigned carrier frequency.

Answer:

Hey not to be mean but do I know you. you added me in my both accounts just asking

Explanation:

B

write a Visual Basic program that asks the user to enter their name and then uses a for loop to display their name 1000 times.​

Answers

Answer:

Module Module1

   Sub Main()

       Dim name As String

       Console.WriteLine("Enter your name: ")

       name = Console.ReadLine()

       For i = 1 To 1000

           Console.WriteLine(name)

       Next

       Console.ReadLine()

   End Sub

End Module

under the advanced options screen, what is the startup option that should be enabled to view what did and did not load during the bootup?

Answers

The Advanced Boot Options menu can be accessed by pressing F8 while Windows is loading.

Using the Advanced Boot Options menu, you can start Windows in advanced troubleshooting modes. We can reach the menu by turning on your computer and pressing the F8 key before Windows starts. Under Advanced starting, tap or choose Restart now. Tap or choose Troubleshoot from the list of available options when our computer has restarted. Tap or click Advanced settings if we can't see the Startup Settings option. Then you tap or click on Startup Settings after we restart. On computers where it is not possible to disable a UEFI device, Windows Boot Manager is prioritized at the top of the list, and incompatible UEFI devices are listed last.

Learn more about advanced here-

https://brainly.com/question/13945615

#SPJ4

he core networks are generally comprised of fixed-line networks with switches, routers and servers. For the same reason as in Question 3, they need to be left running all the time to provide the service level agreement (SLA). However, there are some opportunities to reduce the energy consumption in the core network while keeping them running. a) Describe at least 2 methods that can be used to reduce the energy consumption in the core network, including the routing algorithm. (4 marks) b) A benchmarking model can be used to evaluate the energy cost of networking devices in the core network, to predict and compare the energy consumption of networking equipment via software tools, i. ii. Describe one of the benchmark schemes available in the literature. (2 marks) Identify at least 4 of the main parameters that should be measured and explain why these are important. (2 marks) Evaluate the accuracy of such a benchmark scheme. (2 marks)

Answers

a) Methods to reduce the energy consumption in the core network are as follows: Packet switching: This method sends the data in packets, and it is more efficient than sending the data in a whole.

The routing algorithms used in the packet switching method include shortest path, flooding, and broadcast. Therefore, this method reduces the energy consumption of the core network due to its routing algorithms.

Enhanced network architecture: It measures the effect of network architecture on the energy consumed.

The accuracy of the benchmark scheme is good because the benchmark model is used to determine the energy consumed by a device in the laboratory.

The laboratory tests and results are evaluated and published in peer-reviewed journals, which increases the benchmark scheme's accuracy.

To know more about network visit :

https://brainly.com/question/1167985

#SPJ11

1
2
3
O Color view
5
Slide Sorter view
Normal view
10
If Maya wants to access a view that would control multiple slides within a presentation, which view should she utilize?
Master view
Save and Exit
TIME REMAINING
01:49:58
Next
Submit

Answers

The selected slide opens in Normal View, where you can edit its content, if you double-click a slide thumbnail in PowerPoint's Slide Sorter view or if choose a slide thumbnail and then press the "Enter" key on your keyboard.

What does the slide sorter view look like?

View in Slide Sorter You can view your slides as thumbnails in the Slide Sorter view. You can easily sort and arrange the order of your slides using this view as you develop your presentation and again when you get ready to publish it.

What distinguishes PowerPoint's slide Sorter view from the standard View?

Shows the ribbon, the complete slide, and the thumbnails. View in Outline: Shows a left-side outline of the presentation's content. Without pictures, it is simple to concentrate on your content. Slide Sorter: Provides a quick overview of all of your slides, making it simple to rearrange them.

to know more about Slide Sorter view here:

brainly.com/question/7696377

#SPJ1

You can't export data from Access to Word. True False

Answers

False. Exporting data from Access to Word is a relatively simple process that can be done in just a few steps. By doing so, you can create documents, reports, and other written materials that include data from your database.

You can export data from Access to Word.Access and Word are part of the Microsoft Office suite of productivity applications. Although they are separate applications, they can be used together to perform a variety of tasks. Access is a database management application that can be used to create, store, and manage data, while Word is a word processing application that can be used to create documents, reports, and other written materials.

While it is true that Access and Word are different applications, they can be used together to perform a variety of tasks. For example, you can export data from Access to Word to create a report or other document that includes information from your database. This process is known as a mail merge.In order to export data from Access to Word, you will need to follow these steps:Open the database that contains the data you want to export.Select the table or query that contains the data you want to export.

Click on the "External Data" tab in the ribbon.Select the "Word" option from the "Export" group.In the "Export - Word Document" dialog box, select the options you want for your export, such as the file name, file format, and data to include.Click "OK" to export the data from Access to Word.

To know more about export data visit :

https://brainly.com/question/14337731

#SPJ11

Addressing data privacy is a portion of which part of your internal processes?.

Answers

The portion of a part of internal processes that addresses data privacy is: data hygiene.

What is Data Hygiene?

Data hygiene, which is also referred to as data cleaning, is an internal process that is run to detect and correct records that are inaccurate or corrupt and also identify incomplete or irrelevant parts of a data.

It also goes further in replacing, deleting, or modifying the coarse data. All these internal processes are data hygiene that addresses data privacy.

Therefore, the portion of a part of internal processes that addresses data privacy is: data hygiene.

Learn more about data hygiene on:

https://brainly.com/question/25099213

a set of these should exist in both document form and software form for any organization.:__

Answers

A set of these should exist in both document form and software form for any organization are the standard operating procedures (SOPs).

SOPs are a set of instructions that outline how specific tasks should be performed in an organization. These procedures are essential to ensure consistency and efficiency in operations, reduce errors, and improve productivity.

Having SOPs in document form is necessary as it provides a physical copy that can be accessed easily by employees and stakeholders. This form can be printed and distributed to all relevant personnel, ensuring that everyone is aware of the procedures. It also serves as a reference document that can be used to train new employees.

To know more about software visit:-

https://brainly.com/question/985406

#SPJ11

3 countries that do not produce a lot of emissions but are responsible for the emissions from the production of all the things they consume.

Answers

Answer:

zjxnxnmznzxdjdjdjdjdddkdnnddndkkdmnd

3 countries that do not produce a lot of emissions but are responsible for the emissions from the production of all the things they consume are Switzerland, Costa Rica and Norway.

1. Switzerland: Switzerland has relatively low emissions due to its small population and advanced economy. This is largely due to its high energy efficiency and abundant hydropower resources. The country is highly urbanized and has strong regulations in place to promote sustainability. It also has some of the most stringent emissions goals in the world, such as the mandatory switching to non-emitting renewables, like wind and hydro, as the main source of electricity by 2050. Despite its small emissions, it is responsible for the emissions from the production of all the things it consumes, which can be attributed to its large, affluent population, making it a great example of a country reducing its emissions but remaining a major consumer.

2. Costa Rica: This Central American nation has a surprisingly low carbon footprint for both its size and economic standing. Costa Rica is committed to renewable energy production, with 98% of its electricity provided from green sources (mainly hydro and geothermal). Its vast national parks and protected areas also help to reduce emissions through their carbon sequestration capabilities. Despite its low direct emissions, Costa Rica is responsible for a large portion of the global emissions taken to provide it with the goods and services it consumes.

3. Norway: Norway has some of the world’s most ambitious carbon emission reduction goals. Thanks to its vast array of renewable energy sources, largely hydroelectric power and its focus on energy efficiency, Norway’s emissions are relatively low. This is despite the fact that it is one of the world’s richest countries, with a high standard of living. Its consumption-based emissions, however, are much higher, as the goods it imports to satisfy its population's needs are produced with much higher emissions than its domestic production. These emissions account for the majority of its contribution to the global emissions footprint.

Hence, 3 countries that do not produce a lot of emissions but are responsible for the emissions from the production of all the things they consume are Switzerland, Costa Rica and Norway.

Learn more about the emissions here:

https://brainly.com/question/33156294.

#SPJ2

Other Questions
A square technology chip has an area of 81 centimeters. How long is each side of the chip?The length of each side of the chip is ]]]blank]]]enter your response here cm.(Simplify your answer.) Of the forms of government in which one rules, we call that a kingship; that in which more than one but not many rule, we call aristocracy: when citizens at large administer the state for the common interest, the government is called _______. AristotleWhat system of government best completes the statement from this philosopher from Athens? theocracymonarchyoligarchydemocracy ______________ refers to the common physical characteristics of a group and generally describes skin color and the texture of hair. naturalism, idealism, balance, order, and harmony are central characteristics of sculpture from the archaic period. huang 3 shirts that each cost the same amount, a pair of pants that cost $12, and he pays with a $100 bill. Whichexpression represents the amount of change Huang should receive? Select three options.100-(3)100--12)(100-12) - 3(100-12)*x*)100-x) - 12 Imagine that you have been asked to write a letter to a 7thgrader. Using academic vocabulary and 5-7 complete sentences, write a letter teaching a 7thgrader about something you have learned in 8thgrade Math this year.please help me! what is known as the thermal property of an assembly, which is more directly related to heat flow through a building assembly. also known as thermal transmittance A trait is a quality of your own character. Solve the inequality.-2x + 8 < 14and -3x - 9 -12x>?andx Why is the Krebs cycle so important in metabolism? How do density dependent and density independent factors differ in there effects on population growth. Give some examples of each. Please help From the musical quality of these song clips, they were most likely recorded. Please help me I am stuck on this we inherited a rope of 2200, with an average daily demand of 200 units, a standard deviation of demand of 30 units, and a lead time of 10 days. how well are we satisfying our customers with this rop level? (find the avg. csl level at this rop level) rop 3. What is an advantage of Socialism?a. Addresses the FOR WHOM questionb. People use their power to elect officialsc. Both are correct (a) Determine electrical potential of K+ if K (outside)/K(inside) =4.65/155mM and resting potential inside cell is 90mV. (b) direction of K+ flow in / out / equilibrium? Show calculation Criminology is different than criminal justice in that:It can help improve the response to crime.It is more theoretical and focused on the root causes of crime.It is interested in crime.It needs to be separate from studies of criminal justice. Work out(3^5-5^3+2) divided 4^2 by the nucleus, protons and neutrons of an atom does it contain more mass untangling the history of christmas lights Cause & Effect: What was the main event described in the article? What were the causes of this event? Describe each cause by citing specific details from the article and explaining how it contributed to the main event.