Answer:
(d) if (radius > 0) System.out.println(radius * radius * 3.14159);
Explanation:
Given
Code segment (a) to (d)
Required
Which is correct
Code segment (a): radius <=0
This means that radius is 0 or less, i.e. 0 or negative
Code segment (b): radius !=0
This means that radius is not equal to 0 i.e. it could be positive or negative but definitely not 0
Code segment (c): radius >=0
This means that radius is 0 or greater, i.e. 0 or positive
Code segment (d): radius >0
This means that radius is greater than 0 i.e. positive
<em>Hence, (d) is correct</em>
Answer:
All the ports in a hub are in the same collision domain and a hub sends frames from one host to all other hosts in the network. This makes it prone to collision and poor network throughput. Just like a network switch, it uses the CSMA/CD protocol to detect collision in its network.
A network switch reduces its collision domain to just a port and sends frames from one host to another using its mac table as a route. This makes the network very efficient with high throughput. It also uses the CSMA/CD protocol to detect collision
Explanation:
Switches and hubs are used in networking to connect computer devices in a network. A hub is an obsolete device networking that broadcast a frame to all other ports or host in the network except for the send host port. This increases the rate of collision as all the ports in a hub share the same collision domain. A switch is an efficient frame switching device in a network, which uses its MAC table to decide and find a destination host.
CSMA/CD is a collision detection protocol used in a network to detect and prevent a collision. With this protocol, a host is able to listen, wait, send and resend frames to prevent a collision.
Hi there!
For #1 the answer is the site may not be trustworthy, and you risk identity theft. If you are not sure a site legit then don't trust it. Some sites can easy to tell if they can be trusted by the amount of detail put into the site itself, but others are not so easy to tell. In general, if a site does not have https:// in the web address, but instead has just http:// (no "s" in it) then don't trust it.
For #2 the answer is to use<span> a secure browser. If the browser you are using is insecure then the info you put into a site can be compromised and stolen by the browser itself because it reads all info put on it.
For #3 the answer is i</span><span>t has a secure payment page. Again going back to the https:// vs. the http:// if the page that you pay on is not secured then your credit card info can be stolen when put in because the site without a secured page will allow others with access to see your info.
-Your friend in tech, </span>ASIAX Frequent Answerer