Answer:
Explanation:
This program is written in Python. It is a function that takes in two arrays. Then it loops through the first array twice, adding each element with the others and comparing the sum to the values in the second array. If a similar value is found in the second array, the program prints out the value and returns True to the user. Otherwise, it returns False. A test case has been created with two array variables that print out False, the output can be seen in the attached image below.
def sumArray(arr1, arr2):
for i in range(len(arr1)):
for x in range(len(arr1)):
sum = 0
if i != x:
sum = arr1[i] + arr1[x]
if sum in arr2:
print(str(sum) + "Found in Second Array")
return True
return False
arr1 = [1, 9, 10, 44]
arr2 = [2, 4, 8, 14]
print(sumArray(arr1, arr2))
Answer:
C. But
Explanation:
Boolean operators are the operators that may have only two outputs which are True/False, On/Off and 1/0.
"But" can also be the example of Boolean operator. It is used in the meaning of "except" or "other than".
In Boolean operators "But" can be used as "AND" operator.
for example
<em>I am busy but I will go.</em>
In above example but is used as and which is combining two oposite statements. as
I am busy and I will go.
Both statement oppose each other, so to make sense in English "But" is used.
Answer:
Answer: C Scrum
Explanation:
Answer: C Scrum would BEST support this objective, to collect and evaluate user stories related to the organization’s internally designed CRM tool.