Protocal
I need to make this 20 charaters so ye
Client/Server and Peer-to-Peer networks are the two major network architecture models in use today. They each have advantages and disadvantages that can be used to benefit a particular outcome.
Briefly, the client/server model relates to one or many client performing relatively simple requests, which are then executed by a server. The server is performing more complex tasks, and often interacting with many clients simultaneously. Examples of client/server models include most websites, including the Brainly page you are running right this instant. Your web browser is acting as a client, and the Brainly.com website is running as a web server. It receives simple requests or information from your browser, such as clicking on a question or text typed by your keyboard, and then acts on this information by consulting a database, returning values, or returning a whole new web page to your browser. The client/server model is very powerful in business as it allows powerful and secure server-side processing and relatively simple clients. Office 365 that runs all microsoft office suites such as word and excel in a web browser on 'the cloud' is an example of a highly sophisticated client/server architecture.
By contrast, peer-to-peer networks are a distributed architecture of equals. Instead of a simple client and complex server, all clients are equals and link together to form nodes on a distributed network. There is no central control (server) and each node acts as a client and server to other nodes. This is also an extremely powerful network; as there is no central control it is difficult to shut down a peer-to-peer network. Taking out one node will not break the network in comparison to the client/server architecture where if the server goes down, services halt. Prime examples of famous peer-to-peer networks are the Bitcoin network and similar cryptographic currency networks, and music and file sharing networks such as Torrents. The torrent tracker websites are client/server however once a torrent is loaded into a torrent downloading application, the file is collectively downloaded from hundreds of 'peers' across the world as part of the torrent peer-to-peer network.
Answer:
The PHP code is as follows
<?php
for ($i = 10; $i>1; $i--)
{
echo $i.' ';
}
?>
Explanation:
The code is self explanatory and doesn't require comments before it can easily understood.
The program starts with a php opening tag <?php
And it ends with the closing tag ?>
The interpretation of the question is to print integer values from 10 to 1
To do this, an iteration is needed.
The above program makes use of a for loop iteration.
Analysis;
for ( -> This shows that it is a for loop iteration
$i = 10; -> Iterating variable $i is initialized to 10 (that is; printing will start at 10)
$i>1; -> Iteration is valid while $i is greater than 1 (e.g. 2,3,4...10)
$i-- -> For every Iteration, decrease $i by 1
) -> End of Iterating condition
echo $i.' '; -> This line prints the valid values of $i. In this case, the values of $i is from 10 and stops at 2
The output is as follows
10 9 8 7 6 5 4 3 2
Answer:
A how I feel about myself
Explanation:
Self-esteem is your overall opinion of yourself — how you feel about your abilities and limitations. When you have healthy self-esteem, you feel good about yourself and see yourself as deserving the respect of others. When you have low self-esteem, you put little value on your opinions and ideas.
Answer:
a. Convenience
b. Random
c. Stratified
d. Systematic
Explanation:
Types of sampling:
The selection of sample is arbitrary and each member has an equal chance of selection.
This selection does not take probability of selection into account rather focuses on the convenience and proximity of the member for selection.
An ordered system is decided to choose the members for this sample.
This sampling plan divided the population into groups, called clusters. A cluster is then randomly selected from the selected population.
The members of the population are divided into groups, called strata. A random sample is drawn from each strata.