A project manager wants to look at employee attendance data. Given that rn employees are working on the project , and the manager has the record of the employees present on n days of the project , find the maximum number of consecutive

Answers

Answer 1

The maximum number of consecutive days in which all the employees are present is only 2 days.

To solve this question, we need to understand the concept of zero indexing.

What is Zero Indexing?

The zero-based index is a method of addressing arrays in which the first element of a series is allocated the index 0, instead of the index 1, as is common in non-programming situations.

From the given information, Let assume that:

There are r = 3 employees and,n = 5 workdays to analyze.

The attendance data strings, data = [YYY, YYY, YNN, YYN, YYN].

We will realize that:

There are only two days at the start of the period in which all the workers are present.

By applying zero indexing for employees:

Employees 1, as well as 2, are not present (i.e absent) on the third day, and Employee 2 is also absent on the fourth and fifth days.

Thus, the maximum number of consecutive days is 2 days and it takes place only at the beginning.

Learn more about zero indexing here:

https://brainly.com/question/25012091


Related Questions

The changes in the distribution of cities in the period 1800 to 1900 c. e. best illustrate the impact of:.

Answers

Answer: The industrial revolution

Explanation: im a tad smart :)

The least prosperous group in the 1920s consisted of:.

Answers

Answer:

Farmers

Explanation:

Specifically from the Midwest and the South. The years between 1921 to 1929 was a period of fast dwindling of prices for agricultural products.

Who is considered the first american woman to be ordained by full denominational authority in 1864, and who also campaigned vigorously for full woman suffrage?.

Answers

Answer:

Olympia Brown

Explanation:

The sum of money available for lending by a bank is determined by:

A. the lender
B. the size of the reserves
C. the bank
D. the borrower

Answers

Answer:

B . the size of the reserve

Answer:

B

Explanation:

When was the first thanksgiving?

Answers

Answer: October 1621

Explanation:

The event that Americans commonly call the "First Thanksgiving" was celebrated by the Pilgrims after their first harvest in the New World in October 1621.

Can someone please help me? :(

Answers

Answer:

B.

Explanation:

lmk if helped

during the AD 500’s, a clan called the ___ ruled japan

Answers

Answer:

Fujiwara

Hope this helps! Please mark Brainliest!

Answer:

Your answer is: Yamato

Explanation:

Hope this helped : )

what the preamble means in American Living

Answers

The preamble sets the stage for the Constitution (Archives.gov). It clearly communicates the intentions of the framers and the purpose of the document. The preamble is an introduction to the highest law of the land; it is not the law. It does not define government powers or individual rights.

Establish Justice is the first of five objectives outlined in the 52-word paragraph that the Framers drafted in six weeks during the hot Philadelphia summer of 1787. They found a way to agree on the following basic principles:

"We the People of the United States, in order to form a more perfect Union, establish Justice, insure domestic Tranquility, provide for the common defense, promote the general Welfare, and secure the Blessings of Liberty to ourselves and our Posterity, do ordain and establish this Constitution for the United States of America

Informative Video:

https://youtu.be/u_-mtDXtW0g

Sometimes called Free Enterprise which allows for private ownership of
businesses and property
Is it traditional command or market

Answers

Market

I hope this helps you :)

I need help with this plz it's due soon

Answers

Answer:

Mississippi

Explanation:

The Most battles went down there and they are known for inventing so much things we use everyday and slavery took place mainly there.

Assume that you are a member of a special interest grohat wants to raise taxes on certain items. Who would you present your idea to if you wanted it to be proposed as a bill? А. a Supreme Court justice B. the president C. the American people D. a senator E. a member of the House​

Answers

Answer:

it is D

A member of the House

Explanation:

Can someone help me with question 7 please

Answers

Answer: The romans had a unique government, with multiple early democratic features.

Explanation: Sounds about right

“We the people of the United States…do ordain and establish this constitution for the United States of America.”

Which principle does this show?

Answers

Principle as in like popular sovereignty? Or what do you mean?

Answer:

popular sovereignty

Explanation:

Why did some unions prefer a "closed shop"? Closing the doors decreased productivity and pressured owners. Stopping work for a time often boosted employee morale. Nonunion members in a workplace weakened the unions. Open shops made employees pay higher prices for their daily purchases.

Answers

Answer:

Nonunion members in a workplace weakened the unions.

Explanation:

Closed shop, is a form of arrangement where employers only accept to employ individuals that are a member of a labor or trade union. This employment will be based on the terms and conditions of a labor agreement or contract.

Consequently, the reason some unions prefer a "closed shop" is because, it gives assurance that all workers will follow the regulations of the union, such as participating in strikes, payment of union dues, unified deal agreement with the employers, etc. Otherwise, nonunion members in a workplace weakened the unions.

name the best low risk investments

Answers

Answer: AAA rated bonds are considered to be among the safest investments, but they also have the lowest yields. On opposite end, stocks have higher risks and higher returns. However, you can reduce your risk exposure by investing in stock exchange-traded funds.

Explanation:

What factors increased the deadliness of the war over the previous wars? Choose all that apply. Limited medical care led to many deaths by infection. On the east coast, neither side could gain a clear and decisive victory in the early part of the war. Due to efficient new weapons (more accurate rifles and deadlier bullets), more than 10,000 casualties could result in one day General George Washington did an excellent job in killing Union soldiers.

Answers

Answer:

Option A. Limited medical care led to many deaths by infection.

Explanation:

The lack of effective medical care and poor medication resulted in infection growth and gangrene. Most of the deaths were due to infections and gangrene, not by the weapons on the field. Furthermore, smallpox was also one of the major causes of death during the revolutionary war. Hence the option A is correct here.

Option B is incorrect because it was a decisive victory.

Option C is incorrect because the total casualties by weapons during the revolutionary war were at 6,800. So saying 10,000 casualties a day is exagerration.

Option D is incorrect because General George Washington was trying to capture back the fallen cities and thatswhy he shake hands with the french army which gave the american victory. His intentions were not to kill the Union soldiers.

Use the drop-down menu to complete each statement. according to the chart, the percentage of people living in poverty in europe from 1987 to 1995. the country with the greatest jump in percentage of population living in poverty was . according to what you have learned in the lesson, the was a contributing factor to the trends shown on the chart.

Answers

A person who does not have the basic necessities of life such as food and shelter is considered poor.

What is poverty?

Poverty can easily be defined as the state of extreme need. A person who does not have the basic necessities of life such as food and shelter is considered poor

According to the chart, the percentage of people living in poverty in Europe increased from 1987 to 1995.

The country with the greatest jump in the percentage of the population living in poverty was Romania.

According to what you have learned in the lesson, the collapse of communism was a contributing factor to the trends shown on the chart.

Thus, the percentage of people living in poverty in Europe increased from 1987 to 1995 according to the verse.

To learn more about poverty in Europe, refer:

https://brainly.com/question/14315243

How does leyasu justify the society hierarchy in Tokugawa Japan

Answers

The Leyasu justifies the hierarchy that was in Tokugawa Japan by establishing the roles and the reasons for the system.

The role of the Tokugawa according to the LeyasuThe Tokugawa is responsible for the establishment of all roles that would be of help to the society.The person has to be a kind and compassionate person.He always has to be a person that is ready for war.The Tokugawa has to maintain peace and discipline in the nation.

Read more on the Tokugawa here:

https://brainly.com/question/221021

Analyze Effects What did Christian missionaries bring to China

Answers

religion and european science + tech

True or false. England had a colony in america, the residents were British but lived on a different continent.

Answers

Answer:

I hope this helps

Explanation:

The answer is true

Requiring people to serve in the military or other service

Answers

conscription, also called draft, compulsory enrollment for service in a country's armed forces.

hope this is what your looking for

How did southern whites react to their fear of rebellions by enslaved people?

They compromised and allowed enslaved people to have the freedom of assembly.

They ended enslavement and paid their workers.

They tightened restrictive regulations and passed slave codes.

They forced enslaved people to go to school and learn to read.

Answers

They tightened restrictive regulations and passed slave codes.

They did this because they wanted to have more control over if a slave could get away or not essentially did this to make sure that the slaves had no possible way to escape

Answer:

Took the K12 Test

Explanation:

FAST PLEASE
How did the Qin dynasty reform the social, economic, and political structures of China?

Answers

Qin Shi's political changes also had economic impacts. When he removed the aristocrats from their lands, he divided the land and gave it to the peasant farmers. Rather than pay their taxes to the aristocrats, peasants would now be taxed directly by the emperor.

Explain your thoughts on how the Japanese must have felt immediately after the Atomic Bomb was dropped on them.

Answers

Answer:

I think the Japanese felt scared because they knew that was the end of their life when the US  drop the atomic bomb on them. They must have regretted their decision on bombing the Pearl Harbor. they probably knew  it was not worth it in the end because in the end they die.

I would have  felt regretful, scared. I would have felt regretful because if our ruler or whatever  didn't drop the bomb on Pearl Harbor or if we never voted him to be a ruler this probably would not have happened.

I would have felt scared because they're about to die by a big bomb and there's no way that they would survive. So yeah.

Explanation:

how would you compare the foundation if the american economy in the 1920s with its foundation in the 1980s

Answers

The modern American economy traces it is rooted in the quest of European settlers moving to groups for economic gain in the 16th, 17th, and 18th centuries.

Almost all Muslims hate Westerners and support Muslim terrorists.



True or false?

Answers

Answer:

false because we cannot assume almost all of them do

Explanation:

It’s false because not all of them

What action did Hitler take in defiance of the Versailles Treaty? How did he explain his action?

Answers

Answer:

Hitler took action on the treaty If Versailles by sending his troops to the Rhineland demilitarized zone and he explains it by german government must be compelled by diplomatic pressure first and by stronger pressure if needed.

Explanation:

my explanation for this question would have to be that Hitler wanted to either protect himself and his people by sending troops to take revenge and attack the Versailles treaty in the Rhineland zone or he just wanted to take control of not only his troops and the people from within the treaty.

I hope that I helped you answer your question!!!!!!

Why were so many
people headed to
California in 1849?

Answers

Answer:

So many people were headed to California because of a gold rush.

I hope this helps. :)

Have an AMAZING day.

Help please number 23 please pick correct answer

Answers

Answer:

The best answer here is A) merry

Explanation:

Answer: The correct answer to this question is A: Merry

Explanation: Jocund is to be cheerful and thoughtful. Since B is already the definition of Jocund, the right answer would be Merry.

What countries were members of the central powers in world war 1 jiskha.

Answers

Answer:

so austria-hungary, Germany, and the Ottoman Empire were the main forces of the central powers.

Explanation:

Other Questions
How does the U.S economic output compare with those of other world nations? Please help. Parallel lines and proportional parts. Explanation would help. (a) Complete the table of values below. Show your work.x y -1 0 1 (b) Identify the slope and y-intercept of the equation. slope = y-intercept = 0, 5(c) Choose the graph that matches the equation y = 3x 5. What makes this statement effective? It makes an appeal to emotion. It quotes another historical figure. It includes the use of repetition. It is a counterclaim that disproves facts. -5x - -4x - 10 = ?Please Help Me! The two angled ropes are used to support the crate in the picture. The sum of the tension in the ropes can have any value up to 1500 N. When the tension in the ropes exceeds 1500 N the rope will break. What is the largest mass the ropes can support? good evening! Can someone please answer this, ill give you brainliest and your earning 50 points. Would be very appreciated. How the function of enzymes help the digestion of food in the human body If 1,000 ml = 1 L, how many milliliters are there in 5 liters?Group of answer choices A line intersects the points(-2,9) and (3, -11).What is the slope of the line insimplest form?m = [?] 3 - 5 + 3(2 - 1) + 4 = 2 =A)3.5 B)2.5 C)3 D)5 Mount Everest is the highest mountain on Earth, measuring 8848 meters high. It takes 40 days to climb Mount Everest. Suppose that a climber climbed the same number of meters each day. About how many meters would he climb each day (rounded to the nearest 10)? brielle wants to center a print that is 25 3/4 inches wide in the horizontal center of a wall that is 150 inches wide Almonds are a crop that grows on trees. Farmers do not need to replant trees every year to produce a crop of almonds. It takes at least five years after planting for trees to bear fruit. Several factors such as weather, disease, and long term projections about price impact the supply of almonds available. Barley is a grass that must be planted each year to produce a crop. The growing season is short, about three to four months. Several factors influence farmers' decisions to plant barley each year, including price, weather, and disease.Based on this information. Which of the followings are true? a. Almonds have a more inelastic supply in the short run because little can be done to change production in the short run. b. It is impossible to infer anything about the price elasticity of supply for these two crops. c. Barley has a more inelastic supply in the short run because barley is more dependent on price in the short run. d. The crops have the same price elasticity of supply because they are both agricultural commodities. PLEASE I NEED IT FASTHow can scientists support the conclusion that as exercise eternity increases, the breathing rate and volume of air moving through the lungs will also increase? Use evidence from the text and graphics to support your answer. A simple random sample of 90 is drawn from a normally distributed population, and the mean is found to be 138, with a standard deviation of 34. what is the 90% confidence interval for the population mean? use the table below to help you answer the question. confidence level 90% 95% 99% z*-score 1.645 1.96 2.58 remember, the margin of error, me, can be determined using the formula m e = startfraction z times s over startroot n endroot endfraction. 128.75 to 147.25 130.98 to 145.02 132.10 to 143.90 137.38 to 138.62 Which Sunni Muslim scholar is BEST known for traveling throughout most of the Islamic world in the 14th century, keeping detailed records of his observations A system equation is-[tex]\bf\begin{cases} & \bf x^4y^5+x^5y^4=810 \\ & \bf x^6y^3+x^3y^6=945 \end{cases}[/tex]Solve for real x and y .How to solve it? Please explain. The question is correct. Suppose the United States can produce two goods, cloth and tea. Suppose there was a technological breakthrough in making cloth ONLY. Would the PPF curve shift inward or outward in this case and can we indirectly allocate resources from cloth to tea production along the new PPF curve? Explain. Please draw and the label the initial PPF curve PPF 1 and then please draw the new PPF curve PPF 2. Please draw an arrow to indicate the shift in the PPF curves. Also, put tea on the y-axis and cloth on the x-axis. what is buccopharyngeal?