Preview

03 - Client / Server and Peer to Peer

 1. If you work with computers long enough, sooner or later you’ll hear the terms “client/server” and “peer-to-peer.” These terms may seem strange at first, but each describes a particular __________________________________.
peertopeer_clientserver_both.png

  networking protocol

  internet connection method

  router and switch structure

  networking architecture

 2. There’s a huge difference between client/server and peer-to-peer networks. One of the main differences is that a peer-to-peer network has _____________________________________.

  no clients

  no central server.

  no cables

  a large central server

 3. In a peer to peer network: each workstation on the network _____________________________________________ and there is no central storage or authentication of users.

  stands on its own and is not connected to others

  cannot share its files equally with others

  shares its files only with the central server

  shares its files equally with the others

 4. There are separate dedicated servers and clients in a ______________________________

  client/server network

  routed network

  internet connected network

  wireless network

 5. For the following excerpt on Client-Server networks, fill in the blanks:
Through client workstations, users can access most files,
which are generally stored on the ____________
The ____________will determine which users can access 
the files on the  network.
client_server_server.png

  client

  internet

  server

  router

 6. Peer-to-peer networks should be installed in homes or in very _______________ businesses where employees interact regularly
peertopeer.gif

  enormous

  small

  large

  rich

 7. What type of network is being described in the following description?
What type of network is being described?
========================================
This network is inexpensive to set up (comparatively speaking); however, it offers 
almost no security.

This network can support about ten clients (workstations) before it begins to suffer
from some serious performance and management problems.

The concept behind this type of networking is to share files and printers 
 as inexpensively as possible; therefore, there’s no main server on the network

Each client functions both as a client and as a server simultaneously

  This describes a router-switch set up

  This describes a cilent/server

  This describes the Internet itself

  This describes a peer to peer

 8. What is the following a definition of?
Definition
==========

A _______________ is a computer which requests the services or resources of the server. 

  desktop

  client

  cable

  PC

 9. In a school, you can access files on computers in different buildings. This is because they are not stored on the computer you are using but (most likely) on ....

  a network

  a binary bit

  a client

  a file server

 10. There are different types of servers such as a web server, file server and email server. What is a server?

  a powerful computer which provides services or resources required by any of the clients

  an ordinary computer that requests the services or resources provided by the user

  a powerful satellite that sends out data signals to client computers

  a powerful client that accepts network packets to distribute them

 11. In a peer to peer network a backup must be done separately for each computer.
In a Client-server network...
==============================
Backup is done centrally on the server

  False

  True

 12. What are the security implications of a Client-Server network?

  Security can be controlled by every individual computer

  Security can be controlled by the central computer

  Security can be entirely managed and controlled by the Internet's router

  Security cannot be controlled in any way whatsoever

 13. The following are disadvantages of a:
Disadvantages of a ________________ newtork
============================================
1. A specialist network operating system will be needed
2. The server is expensive to purchase
3. Specialist staff such as a network manager would be nedded
4  If any part of the network fails, disruption could occur for all users. 

  file-server network

  peer to peer network

  client-server network

  router based network

 14. Select from the given list: What are three advantages of Client-Server networks.
Advantages of Client-Server networks:
=====================================

1. A central backing store is available to all computers
2. Security is controlled by the central computer
3. Network peripherals (such as printers) can be controlled centrally
4. Backups are controlled centrally
5. Inexpensive and simple to set up
6. No server necessary which makes maintenance easy
7. User can access shared data which is centrally controlled and managed.

  2 and 5 only

  1,2,3,5,6

  1,2,3 and 7

  1,2,3,4,7

 15. Here's an interesting extension question and some additional reading that will help you understand the network architecture is extremely relevant - for instance, in app design. What architecture?
Have you thought about the actual architecture that a famous app company like whatsapp use?

Would they be more likely to use client-server architecture over peer to peer?
===================================================================================

Here is something to consider: (for a app like whatsapp)

"Bob" would like to be able to send "Alice" a message on Whatsapp, even though Alice is currently 
in a no reception area (an Elevator etc.) while Bob is.

What Bob doesn't want is that he can only send a message if both he AND Alice 
are connected at the same time or that his message would never have been transferred or received
unless Alice was also connected at the same time.

Unlike computers, Cellphones go in and out of reception areas (surprisingly) and sometimes 
disconnect or turn off.

IMPORTANT NOTE: The image mentions P2P ...what could that mean? Of course, the answer is more complex
in that sometimes a combination of architectures and new architectures are used. Network architectures
especially with regard to app design is hot business. It is worth trying to answer this question and then
looking more deeply into the whole subject, if you're interested!
whatsapp_p2p.jpg

  Peer to Peer because there is never need for a central server (given the above description)

  For the description above, Client-Server seems to fit.....

  No-Internet architecture

  Neither architecture

 16. Skype started based on its own decentralized P2P protocol, which leverages on each user’s device as a resource for data transfer on the network.

  FALSE

  TRUE

 17. What were the reasons Skype moved away from its P2P model?
The client-server model is simple -- each user is a client  that connects to a Skype-controlled server to request the service. Clients connect to  servers like this in a one-to-many fashion. And many here means a real huge amount.

  High volumes of user nodes requesting service and requiring greater security

  Battery efficiency on mobile devices (as all devices would act as 'active' nodes - draining power)

  increasing number of connected users and being unable to cope with it

  All of the above

 18. The key point about a client-server model is that the client is NOT dependent on the server to provide and manage the information

  TRUE

  FALSE

 19. Websites are stored on webservers. A web browser is the ___________which makes the request to the server and the server sends the site to the browser.

  client

  server

  website

  browser

 20. The client side of a web application is often referred to as the front end and the __________ side as the backend.

  internet

  code

  machine

  server