Answer:
highest of five numbers in the file
Explanation:
- This code reads the file "some-file.txt" and saves the result in variable "somefile"
- The runs a for loop for a count of 5.
- In each loop it compares the current value of the file with the value of the variable result and if the result is true it updates the value of the variable result.
- At the end of this code the variable result will contain the highest value in the file "some-file.txt" and print it.
Answer:
Explanation:
The programming language in terms of their performance reliability and robustness can be grouped into five different generations, First generation languages (1GL) Second generation languages (2GL) Third generation languages (3GL)
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.
Answer:
It depends on the structure of the sentence.
Explanation:
This will be shown as grammatical mistake because both the spellings are correct. If we write the word weather instead of the whether, Ms word shows the grammatical mistake. This is because, if we want to write the word whether, we should use or in our sentence. Both of these words are comes together.
Example
I will take a leave whether its raining or not.
In above sentence, both whether and or comes together. If we write weather instead of whether it just show the grammatical mistake in the sentence.