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 were the international implications of southern nationalism?
Zepler [3.9K]
This debate isn't merely historical. As could be gleaned from the flaps surrounding statements by Attorney General John Ashcroft and Interior Secretary Gale Norton during their confirmation periods, issues stemming from the Civil War go to the heart of many current political debates: What is the proper role of the federal government? Is a strong national government the best guarantor of rights against local despots? Or do state governments stand as a bulwark against federal tyranny? And just what rights are these governments to protect? Those of the individual or those of society? Such matters are far from settled.

So why was the Civil War fought? That seems a simple enough question to answer: Just look at what those fighting the war had to say. If we do that, the lines are clear. Southern leaders said they were fighting to preserve slavery. Abraham Lincoln said the North fought to preserve the Union, and later, to end slavery.

Some can't accept such simple answers. Among them is Charles Adams. Given Adams' other books, which include For Good and Evil: The Impact of Taxes on the Course of Civilization and Those Dirty Rotten Taxes: The Tax Revolts that Built America, it isn't surprising that he sees the Civil War as a fight about taxes, specifically tariffs.

In When in the Course of Human Events, he argues that the war had nothing to do with slavery or union. Rather, it was entirely about tariffs, which the South hated. The tariff not only drove up the price of the manufactured goods that agrarian Southerners bought, it invited other countries to enact their own levies on Southern cotton. In this telling, Lincoln, and the North, wanted more than anything to raise tariffs, both to support a public works agenda and to protect Northern goods from competition with imports.

Openly partisan to the South, Adams believes that the Civil War truly was one of Northern aggression. He believes that the Southern states had the right to secede and he believes that the war's true legacy is the centralization of power in Washington and the deification of the "tyrant" Abraham Lincoln. To this end, he collects all the damaging evidence he can find against Lincoln and the North. And he omits things that might tarnish his image of the South as a small-government wonderland.

Thus, we hear of Lincoln's use of federal troops to make sure that Maryland didn't secede. We don't learn that Confederate troops occupied eastern Tennessee to keep it from splitting from the rest of the state. Adams tells us of Union Gen. William Sherman's actions against civilians, which he persuasively argues were war crimes. But he doesn't tell us of Confederate troops capturing free blacks in Pennsylvania and sending them south to slavery. Nor does he mention the Confederate policy of killing captured black Union soldiers. He tells us that Lincoln suspended habeas corpus; he doesn't mention that the Confederacy did also.

Adams argues that Lincoln's call to maintain the Union was at root a call to keep tariff revenues coming in from Southern ports. Lincoln, he notes, had vowed repeatedly during the 1860 presidential campaign that he would act to limit the spread of slavery to the West, but he would not move to end it in the South. Lincoln was firmly committed to an economic program of internal improvements -- building infrastructure, in modern terms -- that would be paid for through higher tariffs. When the first Southern states seceded just after Lincoln's election, Adams argues, it was to escape these higher taxes. Indeed, even before Lincoln took office, Congress -- minus representatives from rebel Southern states -- raised tariffs to an average of almost 47 percent, more than doubling the levy on most goods.

7 0
3 years ago
how did immigration during the industrial revolution allow big U.S. companies to make even bigger profits​
Misha Larkins [42]

Answer:

the immigrants were in search of jobs and during the industrial revolution mass production began which meant workers didn't need to have skills therefore they could underpay workers and just replace those who complained because there were plenty of people in search of jobs

6 0
3 years ago
The United Nations Security Council is composed of __________ permanent members and __________ temporary members.
kenny6666 [7]


The best answer is B.

In the UN Security Council, there are five permanent members and ten temporary members elected for two year  terms by the General Assembly.

The five permanent members are China, France, Russian Federation, the United Kingdom and the United States.

The ten non-permanent members (with end of term date) are:

1. Angola (2016)

2. Egypt (2017)

3. Japan (2017)

4. Malaysia (2016)

5. New Zealand (2016)

6.  Senegal (2017)

7. Spain (2016)

8. Ukraine (2017)

9. Uruguay (2017)

10. Venezuela (Bolivarian Republic of) 2016

8 0
3 years ago
Read 2 more answers
Who held the most power in the Italian city states
frosja888 [35]
The correct answer is <span>The wealthiest people

</span>
5 0
3 years ago
One reason for the rise of public interest groups in the 1960s and 1970s was
Lilit [14]

In the 1960s and 1970s, the U.S. witnessed a rise of public interest groups, due to the progressive spirit of the time where a good number of them established their offices after 1960 and opened their doors after 1970s. The interest groups comprised of:  professional associations, public interest groups, business and agricultural groups, labor groups, ideological groups, and public-sector groups. Several factors determined the growth interest groups in the United States. First, The U.S. is heterogeneous in several aspects: its geography, climate, economic potential, culture, ethnicity, and religions. The heterogeneity resulted in political, socio-economic and cultural divisions which led to the evolution of several interest groups, each with unique objectives.

8 0
3 years ago
Read 2 more answers
Other questions:
  • What do federal, unitary and confederation systems of government have in common?
    12·1 answer
  • What was the transition of early societies in the world?
    12·2 answers
  • Which is the change early farmers made to their environment
    9·1 answer
  • The soviet union's development of an atomic bomb in 1949 contributed to the beginning of what
    12·1 answer
  • How did US land grants affect Texas ? Pleasssssseeee help 100 points
    13·2 answers
  • Those loyal to President Jackson would get government jobs. If you actively campaigned for the Democrats you would get a federal
    7·2 answers
  • I need help ASAP
    5·2 answers
  • What were two things that Hammurabi's Code and the Bible had in common?
    10·2 answers
  • Both kingdoms (Lower and Upper Egypt)<br> had capital cities what are the names of<br> these cities?
    12·1 answer
  • Why did Beecher compare intemperance to slavery and the slave trade?
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!