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
The type of government that was created in Athens was called a democracy.
9966 [12]
True:) hope this helps!
6 0
2 years ago
Read 2 more answers
At the Arcadia Conference in January, 1942, what argument persuaded President Roosevelt and Prime Minister Churchill to
garri49 [273]

Answer:

c is the answer I took the quiz

5 0
2 years ago
Read 2 more answers
Which are correct definitions for history? Choose all answers that are correct. A. the story of human activity before writing wa
stich3 [128]
The answer to your question is b+d
4 0
3 years ago
Read 2 more answers
Why did so many people migrate to america in the 1800’s
Alenkinab [10]

Answer:they came to america to leave crop failure,land and job shortages, rising taxes, etc

Explanation: basically they came because america was perceived as the land of economic opportunity

7 0
3 years ago
Read 2 more answers
Which of the following statements about Europen efforts to trade in the East is not true
Anika [276]

Answer:

Europeans waited for the Civil War to collapse the Mughal kingdom & then moved to India

Explanation:

Hope this helps, and please mark me brainliest if it does!

8 0
2 years ago
Other questions:
  • Heeelp please! History class
    5·1 answer
  • As the united states slipped into the great depression in the early 1930s, president hoover's most generous response was to lend
    13·1 answer
  • What is the official language of the United States? What benefits and problems do you see with this choice
    9·1 answer
  • Why was the second awakening popular?
    8·2 answers
  • What were the causes and effects of the scopes trial and racial tension
    7·1 answer
  • The "shot heard round the world," refers to the fighting between the colonists and British soldiers that broke out at __________
    10·1 answer
  • Mr. Phelps is 1 a detective, 2 a husband, and 3 a father.
    11·1 answer
  • 1. How did events and actions in the United States and by Americans affect the course and consequences of World War 2?
    8·1 answer
  • How has the spread of protestantism changed europe's cultural geography ?
    11·1 answer
  • Which civilization was able to gain wealth &amp; increase its trade because of its powerful navy?
    10·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!