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 did people come to America for religious reasons ?
Elena L [17]

Colonies such as Massachusetts, Pennsylvania and Maryland were settled primarily by people seeking religious freedom. Pilgrim Separatists desired a break from the Church of England, and arrived in Massachusetts aboard the Mayflower in 1620. Later, a different religious sect, the Puritans, arrived in Massachusetts fleeing persecution in England. Unlike the Separatists, the Puritans did not want to break from the Church of England; they wanted to "purify" it. This was met with opposition -- including violence -- and by 1630 nearly 20,000 Puritans fled to Massachusetts. Colonies such as Maryland were founded as a refuge for other persecuted religious groups. English persecution -- like a ban on a Catholic priest officiating a marriage of two Catholics -- prompted many to come to Maryland. Lord Baltimore founded Maryland as a Catholic refuge in 1632.

5 0
3 years ago
In one or two sentences, state the difference between primary sources and secondary sources.
Artist 52 [7]

Answer:

A primary source is something written at the time of an event. An example would be a diary, journal, letter, etc. A secondary source is usually written after the event and uses primary sources to give an idea of what happened at that event. An example would be a history textbook, y0utube video, etc.

Explanation:

7 0
3 years ago
Can somone help me with this homework you can google the article
Zielflug [23.3K]

Answer:

David Gouverneur Burnet was an early politician within the Republic of Texas, serving as interim President of Texas, second Vice President of the Republic of Texas, and Secretary of State for the new state of Texas after it was annexed to the United States of America.

Samuel Houston was an American soldier and politician. An important leader of the Texas Revolution, Houston served as the first and third president of the Republic of Texas, and was one of the first two individuals to represent Texas in the United States Senate.

Antonio de Padua María Severino López de Santa Anna y Pérez de Lebrón, usually known as Santa Anna or López de Santa Anna, was a Mexican politician and general.

Moses Austin was an American businessman and pioneer who played a large part in the development of the lead industry in the early United States. He was the father of Stephen F. Austin, one of the earliest American settlers of Texas, which was at the time part of Mexico.

Stephen Fuller Austin was an American empresario. Known as the "Father of Texas", and the founder of Texas, he led the second, and ultimately, the successful colonization of the region by bringing 300 families from the United States to the region in 1825.

Benjamin Rush "Ben" Milam was an American colonist of Mexican Texas and a military leader and hero of the Texas Revolution.

James Bowie was a 19th-century American pioneer who played a prominent role in the Texas Revolution, culminating in his death at the Battle of the Alamo. Stories of him as a fighter and frontiersman, both real and fictitious, have made him a legendary figure in Texas history and a folk hero of American culture.

David Crockett was an American folk hero, frontiersman, soldier, and politician. He is commonly referred to in popular culture by the epithet "King of the Wild Frontier". He represented Tennessee in the U.S. House of Representatives and served in the Texas Revolution.

Explanation:

3 0
3 years ago
Why did the United States go to war against Great Britain in 1812?
Gnoma [55]
Because Britain<span> refused to stop seizing American ships that were trading  with France and at that time </span>Britain was France's<span> enemy in Europe. Sometimes they also seized american sailors. this is why they declared war.</span>
6 0
3 years ago
HELP ANYONE PLEZ .
nikklg [1K]
To be completely honest with you. I think on the left the crucifix, is when he is rising from the dead. In the middle I think it's when the virgin Mary is giving baptism to the child, and to the right i'm not so sure. but I hope some of this helped. :)
6 0
3 years ago
Other questions:
  • Which of the following best describes an important difference between the Maya and Teotihuacán civilizations?
    9·1 answer
  • 7. Which of the ghosts is probably one of the defenders of the fort?
    14·1 answer
  • Understanding the failures of the Articles of Confederation, what was called for in 1787 to fix these problems?
    8·1 answer
  • President Eisenhower believed in the domino theory as it applied to world politics, which held that Communism was widely dismiss
    13·2 answers
  • How did rivers help ancient people to increase food supplies
    12·1 answer
  • What options were available for people who had lost their jobs during the great depression
    5·1 answer
  • Which development would best serve as a turning point between two historical periods?
    14·2 answers
  • Giving up worldly desires is a main idea of what philosophy?
    12·2 answers
  • 1. Que opinión tiene usted del uso excesivo de la fuerza pública “policía y miembros del esmat” contra la población civil, desap
    5·1 answer
  • I want to know what's the meaning of government ​
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!