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
Cloud [144]
2 years ago
6

A project manager wants to look at employee attendance data. Given that rn employees are working on the project , and the manage

r has the record of the employees present on n days of the project , find the maximum number of consecutive
History
1 answer:
givi [52]2 years ago
7 0

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.

<h3>What is Zero Indexing?</h3>

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:

brainly.com/question/25012091

You might be interested in
Which presidential diplomatic power requires a 2/3 vote from the Senate?
Andre45 [30]
It is "C. the power to make treaties" that requires a 2/3 vote from the Senate, since the Founding Fathers wanted to ensure that the United States only made such treaties with reliable nations. 
4 0
3 years ago
Why did the cotton gin lead to more slavery apex?
Roman55 [17]
Slave owners turned to cotton production as a way to prosper due to its high demand and so did the demand on slavery.
8 0
3 years ago
Read 2 more answers
The _______ government is the only level of American government that has the right to coin money.
sp2606 [1]

Answer:

C. Federal

Explanation:

3 0
3 years ago
Read 2 more answers
How did the budget crisis in 1995 effect the American peoples feelings toward president clinton
Reptile [31]
<span>Americans blamed Republicans for the shutdown and Clinton's approval ratings improved.</span>
4 0
3 years ago
Read 2 more answers
Which countries are in the southeastern region of Asia? Select two options.
Naily [24]
Indonesia and Philippines ;)
3 0
3 years ago
Other questions:
  • What was the name given to the German (Austria today) Protestants who came to Georgia in the 1730s seeking religious freedom?
    13·1 answer
  • Write a Thesis Statement about the Isolation of the US in the early years.(1800's) Use three reasons
    9·1 answer
  • Which was one result of China's isolation from the rest of the world?
    11·2 answers
  • Which river is the center of the largest river system in the Tropical North?
    11·2 answers
  • What event resulted in the peace at the end of World War I?
    12·2 answers
  • Which of the following statements is false?
    9·1 answer
  • 5.
    12·1 answer
  • The Kansas-Nebraska Act was an 1854 bill that mandated "popular sovereignty"–allowing settlers of a territory to decide whether
    14·1 answer
  • Free BRAINLIEST!!! Free BRAINLIEST!!! Free BRAINLIEST!!!
    10·2 answers
  • Question 2
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!