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
Why is child labor and white men and black men slavery back in Africa?​
Ann [662]

Answer:

this makes nosence

Explanation:

4 0
3 years ago
How did confucius want to determine who could hold a civil service position?
Law Incorporation [45]

Confucius wanted to determine who could hold a civil service position by passing the civil service examination by merit as against using a connections or bloodline to attain the government position.

<h3>What was the Chinese civil service?</h3>

It was the administrative system of early Chinese government when the members of the service of which were selected by a competitive examination. Then, the system gave the Chinese empire stability for more than 2,000 years and as well, provided a major outlets for social mobility in Chinese society which eventually served as a model for the civil service systems that developed in other Asian and Western countries.

Even though the civil service system was categorized under government than religion, it was discussed to highlight the central role that the examination system played in the dissemination of the Confucian worldview throughout traditional Chinese society, that is, it was purely based upon the Confucian classics and upon recognized commentaries on those classics. .

Read more about Chinese civil service

brainly.com/question/28337993

#SPJ1

7 0
1 year ago
In the years before World War II, why did some dictators believe they could take over Europe and other parts of the world?
kenny6666 [7]
Germany as they were jealous of England ?
8 0
4 years ago
How do social environments, mass media, exe. influence public opinion
Scilla [17]

Answer:

Social environments and mass media can influence public opinions by spreading information that is not true and made up.

8 0
3 years ago
Read 2 more answers
Gawain sa Pagkatuto Bilang 6: Isulat ang tinutukoy ng bawat
Studentka2010 [4]

Answer:

1. dahil magaganda ang babae

charot

2. ewn ko pwede din naman mag researc diba

char lang

3. syempre pilipinas lang sakalam

char

4. basta nakalimutan ko nag sisimula yon sa letter B

5. simbahan char

8 0
3 years ago
Other questions:
  • What led to the creation of the Magna Carta?
    12·2 answers
  • What happens during a committee hearing process?
    13·2 answers
  • Who did the english send to the settlements to increase population in australia​
    12·1 answer
  • the great increase of the slave population on the first half of the nineteenth century was largely due toa-the reopening of the
    10·1 answer
  • A group of historians are doing research on the causes and effects of the Great Depression in the United States. Each record can
    15·2 answers
  • How was it before the civil war as a former slave ?
    10·1 answer
  • Protect Your Pets (Monday Intervention 11/30 6 of 7 6 of 7 Items Item 6 POSSIBLE POINTS: 0.91 Which head circumference measureme
    10·1 answer
  • According to Alan Singer, why are many people surprised when we talk about slavery in the North?
    12·1 answer
  • Nêu vài nét về phong trào công nhân cuối thế kỉ XĨ đầu thế kit XX
    15·1 answer
  • PLEASE HELP WILL GIVE BRAINLIEST 37+
    9·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!