Answer:
Both A and B
Explanation:
Took the PF test, this one is right.
Answer:
This code is written in MATLAB.
function [result] = isPalindrome(array,length)
if length == 0 || length == 1 %if the array is empty or contains only one element, the array is a palindrome
result = 1;
else
for i = 1:length/2 %check all the elements forward and backward until the middle is reached
if array(i) ~= array(end+1-i)
result = 0;
return
end
end
result = 1;
end
Explanation: Please read the comments in the code. In MATLAB, Boolean values are 1 or 0 instead of True or False.
Answer:
Spyware
Explanation:
Spyware is the software which is used to track the online movements, it also track the user action on the computer they are also called sneakware or stealthware
- This software is used in the business purpose which it may be used in the office to track the record of employee in the working hours .
- Spyware software is used to track the information without knowing the user.
<span>The technical relationship between inputs and outputs, which is needed to understand the difference between the short run and the long run, is called a production function.
Hope I helped ;)
</span>
that could be both *shrugging*