Answer: network topology is the arrangement of nodes which includes routers and switches so that enables connection between the server and the client.
however due to times when there is huge traffic in the nodes there needs to be an optimal path for the exchange of information which is accomplished by different routing protocols.
Explanation:
Routing Information Protocol(RIP) is one such protocol which enables to route packets from the source to the destination having the least possible traffic along its path. There are two sets of routing algorithm which are
1. Static routing protocols
2. Dynamic routing protocols.
The difference between the two is that dynamic routing protocols helps to construct the routing tables dynamically as compared to static routing.
RIP is a type of dynamic routing whereby it sends the contents of its routing table the adjacent routers every 30 seconds and whenever a route is discarded from the routing table it is marked as unusable.
RIp is supported by almost all routers and also supports load balancing which is one of it advantages.
Answer:
def display_factors(num):
for counter in range(1, num+1):
if num % counter == 0:
print(counter)
int_num= int(input("Enter a number : "))
print("The factors for {} are : ".format(int_num))
display_factors(int_num)
Explanation:
The function display_factors is used to display all factors of a number entered by a user.
- In this for counter in range(1, num+1) the for loop is iterated until counter is greater to num is false. Counter variable starts from 1 and ends when it gets greater than the input number.
- if num % counter == 0: In this statement, each loop iteration, checks whether a number (num) is exactly divisible by counter. It is the condition for counter to be a factor of num.
- print(counter) This is used to display factors of an input number
- int_num= int(input("Enter a number : ")) This statement asks user to enter a number (int_num) which will be an integer.
- display_factors(int_num) This calls display_factors number to find the factors of an input number.
Answer:
Following are the correct code to this question:
phrase = "abcdefgh"#defining a variable phrase that holds a string value
print(phrase[3:6])#use print method for slicing and print its value
Output:
def
Explanation:
In the above code, a variable "phrase" is defined that holds a string value, and use a print method, inside the method, the variable is used as a list and use slicing.
It is a characteristic that enables you to access the series parts like strings, tuples, and lists. It also uses for modifying or removing objects in series, in the above slicing it starts from 3 and ends when it equal to the 6th letter, that's why it will print "def".
Go to insert < shapes < ellipses < get yer circle
Answer:
clear)
be clear about the purpose of the message you’re delivering.
concise)
When communicating messages of this nature it’s important to stick to the point and keep your messages short and simple.
concrete)
When shaping your communication you must ensure that you are specific and that the logic and messages that you’re using fit together, build on each other and support each other.
correct)
It’s essential that both the factual information and the language and grammar you use are correct.
coherent)
If your communications are not coherent they will not be effective.
complete )
When creating a message, it’s important to give the recipient all of the information they need to follow your line of reasoning and to reach the same conclusions you have.
courteous)
You can increase the effectiveness of your communications by being polite and showing your audience that you respect them.
Explanation: