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
What are some of the animals that make up Russia's ecosystems ?
alekssr [168]

Answer:

Astiatic black bears, snow leopards, polar bears, and pikas which look like rabbits.

Explanation:

As big as Russia is, it's no surprise that it is home to a large number of ecosystems and species. Its forests, steppes, and tundras provide habitat for many rare animals, including Asiatic black bears, snow leopards, polar bears, and small, rabbit-like mammals called pikas.

7 0
2 years ago
Openstudy using the map, which sentence correctly compares the middle united states to the western united states? the middle uni
nikklg [1K]

The correct answer is C) The middle United States has fewer changes in elevation than the Western United States.  

<em>The sentence that correctly compares the middle of the United States to the Western United States is the middle United States has fewer changes in elevation than the Western United States.  </em>

The Midwest U.S. lies from the Appalachians and the Rocky Mountains until Ohio River. It comprises states such as North and South Dakota, Illinois, Nebraska, Kansas, Minnesota, Iowa, Missouri, Wisconsin, Indiana, Michigan, and Ohio. The Western U.S. is considered west the Great Plains and comprises the states of California, Oregon, Washington, Nevada, Arizona, Idaho, Montana. New Mexico, Utah, and Wyoming. Comparing the two regions, the middle United States has fewer changes in elevation than the Western United States.  


5 0
2 years ago
Read 2 more answers
Complete the following sentences about the antebellum period.
Bezzdna [24]

Answer:

1. Support

2. made imported goods more expensive to buy than American-made goods and the money is used by the government on transportation

3. Oppose

4. would make exchanged foreign manufactured goods more expensive.

Explanation:

Considering the antebellum period which lasted between 1783 to 1861 which is characterized by the development of northern and southern economies albeit in different ways.

During this period, The North "SUPPORTED" higher tariffs because tariffs MADE IMPORTED GOODS MORE EXPENSIVE TO BUY THAN AMERICAN-MADE GOODS AND THE MONEY IS USED ON TRANSPORTATION.

The South OPPOSED higher tariffs because tariffs WOULD MAKE EXCHANGED FOREIGN MANUFACTURED GOODS EXPENSIVE

6 0
3 years ago
What is the period of time before interest starts accumulating on charged purchases?
Rainbow [258]

Answer:

Accumulation Period

Explanation:

7 0
3 years ago
Read 2 more answers
Name two new developments in the way Americans work
KATRIN_1 [288]
One new development in the way Americans work is the work ethic has improved since modern technology. Modern technology has increased the need for well done work. 

Another would be the new amount of jobs. This is because more and more people are getting into computer science and that way there is more jobs for those in America. 
6 0
3 years ago
Read 2 more answers
Other questions:
  • Which one of the following provisions was part of the first draft of the Articles of Confederation submitted to the Second Conti
    5·2 answers
  • Calligraphy _________________
    5·2 answers
  • A Egypt<br> B Indus Valley<br> C China<br> D Mesopotamia<br><br> Need help please thank you
    8·2 answers
  • What american product fueled the global economy much like oil does today?
    11·2 answers
  • In your opinion, why is Jesus a good fit for a king?
    6·1 answer
  • What was the date of the battle of York town???
    11·1 answer
  • What is your favorite Christmas movie? Why? Tell about the Plot, Characters, and Setting.
    14·1 answer
  • Paul sent the Epistles to the Corinthians with Silas.<br> O True<br> O False
    8·1 answer
  • How many marriages did Hazrat Imam Hussain (RA) have?
    6·1 answer
  • Why do you think Merkel says that people had a "rather stereotypical notion of life in East
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!