Answer:
B. Can't stop things from doing wrong.
Explanation:
Life is never for certain there are so many unpredictable things that can happen like at one moment you are turning onto the street and you get into a car accident you didn't plan for that to happen. Anything can happen on a day to day basis that's why something can go wrong and all your plans won't work anymore.
Answer:
Explanation:
The following code is written in Java and creates all the classes as requested with their variables, and methods. Each extending to the Person class if needed. Due to technical difficulties I have attached the code as a txt file below, as well as a picture with the test output of calling the Staff class.
Answer:
Switches break up collision domains and routers break up broadcast domains.
Explanation:
- Collision domain depicts the part within a network where a collision can happen.
- Collision occurs when two hosts transmit data packet at the same time within a network. Theses packets collide and the hosts have to resend the data after some time.
- Too many collisions can result in slow traffic speed and can effect network performance.
- So switches break up collision domains between the devices on a network and each port in a switch depicts a collision domain. This reduces the chance of packet collisions between the devices or hosts.
- When data is to be sent to a host, the switch keeps that data frame and waits for availability of the destination host before sending the data frame.
- Moreover full duplex switch mode there is not chance of collision as the transmitting path on one host is the receiving path on other host.
- Broadcast domain contains all the hosts that can reach each other at the Data Link layer via broadcast.
- Routers break up broadcast domains as routers contain separate broadcast domains for each interface.
- Routers do not forward broadcasts from one broadcast domain to other and drop the packet when they detect a broadcast address.
Answer:
- common = []
- num1 = 8
- num2 = 24
- for i in range(1, num1 + 1):
- if(num1 % i == 0 and num2 % i == 0):
- common.append(i)
- print(common)
Explanation:
The solution is written in Python 3.
Firstly create a common list to hold a list of the common factor between 8 and 24 (Line 1).
Create two variables num1, and num2 and set 8 and 24 as their values, respectively (Line 3 - 4).
Create a for loop to traverse through the number from 1 to 8 and use modulus operator to check if num1 and num2 are divisible by current i value. If so the remainder of both num1%i and num2%i will be zero and the if block will run to append the current i value to common list (Line 6-8).
After the loop, print the common list and we shall get [1, 2, 4, 8]
Answer:
TRUE
Explanation:
TRUE - A recipe for deducing the square root involves guessing a starting value for y. Without another recipe to be told how to pick a starting number, the computer cannot generate one on its own.