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
In each of the thirteen colonies, X had the power to propose a budget, while Y had the "power of the purse"
xxMikexx [17]

Answer:

X = The President

Y = Congress

Explanation:

The Constitution gave the power of the purse, the nation's checkbook, to Congress. The Founders believed that this separation of powers would protect against monarchy and provide an important check on the executive branch.

The President has the power to propose a budget, who still has considerable agenda-setting power with the federal budget and submits a draft budget to Congress at the beginning of every year.

I hope this helps!

3 0
3 years ago
How were the gods of ancient Egyptians and the Aztecs alike?
MatroZZZ [7]
Egyptians and the Aztecs gods are alike because they believe in more than one. So, both would probably have a sun god or Anubis, protector of the underworld.
4 0
3 years ago
Select the correct answer from each drop-down menu.
lilavasa [31]

The correct answer to this open question is the following.

Although the question is incomplete because it does not provide any menu to see the options, we can say the following.

Different sources are aimed at different audiences. Sometimes a source can be directed at more than a single group of people. Documentary films are usually aimed at the general population across the globe. Some sources may have a very specific audience. A literary journal can be specifically aimed at students or scholars with a background in literature.

It all depends on the kind of audience or reader. It is very important that the author defines its audience and then try to collect the kind of correct source to support the information the author is about to share.

Many times documentaries are aimed at general audiences in order to create some kind of awareness about an issue. But in the case of a literary or scientific journal can be specifically aimed at students, researchers, or scholars with a background in those subjects. It is a specialized publication.

8 0
3 years ago
How did the stock market crash mainly lead to bank runs?
Vinvika [58]

Answer:

Maybe its d

Explanation:

If I'm wrong I'm very sorry

6 0
3 years ago
What problem that might occur by not having one person at the center of the government
sattari [20]

Answer:

For example, if you are missing one senator, then you would have an even number, which means you can't make a decision if 4 people agree on one side and the other 4 agree on something else.

Explanation:

3 0
2 years ago
Other questions:
  • The text below was written in 1918:
    10·1 answer
  • What was one of the causes of the Spanish American war?
    8·1 answer
  • Name the two shades whom odysseus encounters in the land of the dead
    6·1 answer
  • How have Israeli and Palestinian civilians been affected by the 2014 Gaza conflict
    12·1 answer
  • Based on Lincoln's quote, which statement best explains American democracy?
    9·2 answers
  • Defend why people follow Fascist leaders?
    5·1 answer
  • What was the ruling in the 1874 supreme court case minor v happersett?
    15·1 answer
  • Which of the following was not a result of the Cuban Missile Crisis?an easing of a)tensions in the Cold War
    9·1 answer
  • Which of the following was part of the Civil Rights Act of 1964? A. Discrimination in employment based on race was banned. B. Se
    7·2 answers
  • I need help
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!