Answer:
The location of A on the grid is (-200, 100).
Explanation:
Because A is left of the origin 200 units, the x-coordinate will be negative 200. Also, A is above the origin 100 units, so the y-coordinate will be positive 100. Therefore, the answer is C, or (-200, 100).
Answer:
Please find the answer in the attached image.
Explanation:
I wrote this program using JavaScript programming language.
// A function to check tickets
function tickets(user_tickets){
var num_tickets;
if (user_tickets < 5) {
num_tickets = 1;
return ('num_tickets: '+ num_tickets);
}
else {
num_tickets = user_tickets;
return('num_tickets: '+ num_tickets);
}
}
// Testing the tickets function
// With user_tickets = 3, 5, 8, and 1
console.log(tickets(3));
console.log(tickets(5));
console.log(tickets(8));
console.log(tickets(1));
Answer: B. ISO 38500
Explanation:
ISO 38500 is an international Standard specifically developed by the International Organization for Standardization to oversee corporate governance of Information Technology. It lays down principles to guide directors and leaders of organizations on how to comply with regulatory requirements in the use of Information Technology within the firm.
The framework consists of six guiding principles in the use of I.T and they include; establishing responsibilities, planning or strategizing on how best to support the organization, acquisition of validity, ensuring performance, conformity with rules and respect of the human factor or behavior.
It was derived from the Australian Standard for Corporate Governance of Information and Communication Technology - AS 8015 - 200.
Answer:
C. 22
Explanation:
Given that the argument is being passed by value, there is no memory to consider. So cookieJar(7) returns 7 and cookieJar(22) returns 22.
If the argument parameter was passed by reference or pointer, then perhaps the value from cookieJar(7) would be considered with cookieJar(22).
Note, this code block really isn't doing anything other than returning the value passed into it. The "amount" variable is immediately set to 0, and then the value passed in is added to amount (which is 0), and returns. The following code could replace this function:
public static int cookieJar(int addCookies){
return addCookies;
}
The above code will return an equivalent output to the given code.
Notice, the function is not dependent on any previous call, so the value for each is unique to the call itself, i.e., cookieJar(22) returns 22 and cookieJar(7) returns 7.
So, C. 22 would be correct.