Answer: c) Run-time Exception
Explanation: Runtime Exception is the exception that works in the JVM(Java Virtual Machine) as a super-class. It can also act during the general working of the JVM and are not checked by any resources. The exception that are followed from the Runtime exception is Arithmetic exception and Null pointer exception as the subclass. Therefore ,the correct option is option(c).
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:
There's a parking lot that is 600m² big. The lot must be able to hold at least 3 buses and 10 cars.
Each car takes up 6m² and each bus takes up 30m².
However, there can only be 60 vehicles in the lot at any given time.
The cost to park in the lot is $2.50 per day for cars and $7.50 per day for buses. The lot must make at least $75 each day to break even.
What is a possible car to bus ratio that would allow the lot to make profit?
Answer:Active Directory-integrated
Explanation: Active Directory-integrated is the service that is introduced by the Microsoft .This service provides the directory form for functioning in Windows. It serves the purpose of active directory(AD) transferring to the Dynamic web database. Whenever the user gets connected to any website, it provides validation to qualifications . So, it does not get support the specification when there is working of DNS.