Lecture 2 Flashcards
What is a network in the context of computing?
A computer network is a set of interconnected nodes or computing devices that exchange data and resources using communication protocols such as TCP/IP, SMTP, and HTTP.
What does networking refer to in computing?
Networking refers to the practice of connecting computers or other devices to share resources and information.
What are nodes in a network?
Nodes are devices connected to a network, such as computers, servers, routers, switches, and printers.
What is the role of a router in a network?
Routers connect different networks together and route data packets to the correct destination network.
What is the function of a switch in a network?
Switches connect devices within a network and forward data packets to the correct device based on MAC addresses.
What are access points in networking?
Access points create a wireless network that other devices can connect to.
What is TCP/IP?
TCP/IP (Transmission Control Protocol/Internet Protocol) is a set of networking protocols used for communication between computers on the internet, providing a reliable, connection-oriented communication mechanism.
What is HTTP used for?
HTTP (Hypertext Transfer Protocol) is an application layer protocol used for transferring hypertext documents on the World Wide Web.
What is the difference between TCP and UDP?
TCP (Transmission Control Protocol) provides reliable, connection-oriented communication, while UDP (User Datagram Protocol) offers connectionless, unreliable communication suitable for real-time applications.
What is FTP and its purpose?
FTP (File Transfer Protocol) is a standard network protocol used for transferring files between a client and a server on a computer network.
What are network topologies?
Network topologies describe the physical or logical layout of a network, including how devices are connected and how data flows between them.
What is the client-server model in networking?
The client-server model structures applications by dividing tasks between clients, which initiate requests, and servers, which provide resources or services in response.
What is the java.net package used for?
The java.net package in Java provides tools for network programming, including classes and interfaces for sockets, URLs, and network communication.
What are sockets in networking?
Sockets are endpoints for communication between two nodes over a network, identified by an IP address and port number.
What are the port number ranges in networking?
Port numbers range from 0-65535, with well-known ports (0-1023), registered ports (1024-49151), and dynamic or private ports (49152-65535).