The answer I believe would be D
Answer:
Local-area network (LAN - It interconnects network components within a local region
Metropolitan-area network (MAN)- It interconnects locations scattered throughout a metropolitan area
Wide-area network (WAN) - It interconnects network components that are geographically dispersed between two locations.
Personal-area network (PAN) - It is a network whose scale is even smaller than a LAN. An example of this type of network is a connection between a PC and a digital camera via a universal serial bus
Explanation:
Local-area network (LAN - It interconnects network components within a local region, it is smaller compared to a WAN
Metropolitan-area network (MAN)- It interconnects locations scattered throughout a metropolitan area
Wide-area network (WAN) - It interconnects network components that are geographically dispersed between two locations.it uses routers to link between the geographical locations
Personal-area network (PAN) - It is a network whose scale is even smaller than a LAN. An example of this type of network is a connection between a PC and a digital camera via a universal serial bus
Answer:
4
Explanation:
The loop is used to execute the part of code or statement again and again until a condition is not true.
syntax of for loop:
for(initialize; condition; increment/decrement){
statement;
}
in the question, the value of n is zero.
then, for loop check the condition k<2, initially the value of k is zero. so, the condition is true and execute the code n = 0 +2=2
Then, k is increment by 1. so, the value of k is 1.
then, again loop run and check the condition 1<2, it true. then n = 2+2=4.
then, k is increment by 1. so, the value of k is 2.
Then, again check the condition 2<2, condition false and program terminate the loop and finally print the value 4.