Answer:
The correct answer for the given question is "Metropolitan Area Network"
Explanation:
The metropolitan area network connect the user with a geographic area of the size of metropolitan area.Metropolitan area network connect LAN i.e " local area network " to a single larger network thats provide efficient connection to the WAN network.Their are many advantage to use metropolitan area network which are mention above .
- Provides the better security then other network.
- Cheaper lost when we connect MAN with WAN.
- If we use MAN network then data will be fastly transferred.
<span>Two-tiered client/server architecture.
The two-tier is based on Client Server architecture. The two-tier architecture is like client server application. The direct communication takes place between client and server. There is no intermediate between client and server. Because of tight coupling a 2 tiered application will run faster</span>
Answer:
from socket import *
hostname = input('Enter the host to be scanned: ')
ip_add = gethostbyname(hostname)
connections = [ ]
for i in range(133, 136):
s = socket(AF_INET, SOCK_STREAM)
conn = s.connect_ex((ip_add, i))
print(conn)
connections.append(conn)
if 0 in connections:
print ('Host is online')
s.close()
else:
print ('system is unreachable')
Explanation:
The python source code above scans for all the available range of ports in the provided hostname, if any port is available, the host is online else the program print the error message "system is unreachable.
Answer: 0.1937
Explanation:
Given : A bowl contains 20 candies; 15 are chocolate and 5 are vanilla.
If we select 5 candies, then the number of ways to select them is given by permutations.
The number of ways to select 5 candies is given by :-

The number of ways of selecting any 5 candies out of 20:-

Now, the probability that all 5 are chocolate :-

Hence, the probability that all 5 are chocolate =0.1937