My guess is d but I’m not positive
Answer:
Following code will store the largest value in array parkingTickets in the variable mostTickets
mostTickets = parkingTickets[0];
for(int k = 0; k<parkingTickets.length; k++)
{
if(parkingTickets[i]>mostTickets)
{
mostTickets = parkingTickets[i];
}
}
Explanation:
In the above code segment, initially the number of tickets at first index is assumed as largest value of tickets in array.
Then using a for loop each value in the array parkingTickets is compared with the current mostTickets value.
If the compared value in parkingTickets array is larger than the current mostTickets value. Then that value is assigned to mostTickets.
This process is repeated for all elements in array.
Thus after looping through each element of array the largest value in array will get stored in mostTickets variable.
The following is not an interconnector :
A wireless keyboard jack
Explanation:
- An interconnector is a structure which enables energy to flow between networks.
- An electrical or optical connection or cable that connects two separate devices.
- Since a wireless device does not have a cable connecting the two, they are not an interconnector.
- The cable that connects your monitor or hard drive to the computer system is called an interconnect.
- Switches can be used to connect together a number of end-user devices such as workstations, or to interconnect multiple network segments.
- A standard computer system will contain multiple interconnects.