Answer:
def first_a(n):
lst1 =[x for x in range(1,n+1)if x%6==0 or x%11 ==0]
print(lst1)
Explanation:
Above is a function in python programming language. We have used list comprehension to check numbers that are multiples of 6 or 11 in a range.
When this function is called it will receive an argument (n) of type integer, a range will then be generated from 1 to n+1 since n is inclusive. The modulo operator is used to determine is a value is a multiple of 6 or 11, since their multiples will evaluate to 0
Answer:
Documentation tells users how to use software and what to do if software problems occur.
Explanation:
Documents and Standard Operating Procedures (SOPs) help users use the software that they want to use. This is an advantage to whoever is selling the software so that they don't receive customer complaints and people continue to buy their product.
Answer:
The technique used by the photographer which would be considered unethical today is:
Stage Managing
Explanation:
- The Migrant Mother is a famous that was captured by the photographer named Dorothea Lange. This photograph was taken during the era of great depression that shows the misery of a women as well as her courage.
- The photographer used the stage managing technique because the women in the photograph purposefully posed for the picture in order to let others know about their plight. She wanted to develop awareness as well as wanted the Government to help farmers.
- The name of the women in the picture is Florence Owens Thompson and she was a mother of seven children. She lived in California.
Answer:
Explanation:
temporal locality can be defined as: when a particular memory is referenced or accessed several times within a specific period of time. In the question, i think the variable that exhibit temporal locality are I, J and 0(all the variable). This is because the variable J and 0 are accessed several times within the loop. I would not have been part of it, but in the A[I][J]=B[I][0]+A[J][I], the variable "I" is also accessed in the addition. this is why it is part of the temporal locality.
Well we just benefit from it like it just helps as I guess