Casting in Python

Casting or Conversion is changing the data types of any variable from one type to another. Example:– int to float We can explicitly convert based on requirement. Casting in Python is therefore done using constructor functions: int():- Constructs an integer number from an integer literal a float literal (by rounding down to the previous whole number) or a string literal (providing the string represent a … Continue reading Casting in Python

Data Types in Python

Data types are the classification or categorization of data items. It represents the kind of value that tells what operations can be performed on a particular data. Since everything is an object in python programming, data types are actually classes and variable are instance (object) of these classes.
Following are the standard or built-in data type of Python: Continue reading Data Types in Python

How many types of Computer Network?

The first question”What is a Network or Computer Network?

Image from Pexabay

So we first discuss, what is computer network?

“Two or more Interconnected computers or other digital device and the systems connecting them are called  Computer  Network  or  Network.”

There are several different types of computer networks. Computer Network can be characterized by their size or area as well as their purpose.

Some of the different networks based on size or area are:

  1. Personal Area Network(PAN)
  2. Local Area Network(LAN)
  3. Metropolitan Area Network(MAN)
  4. Wide Area Network(WAN)

Some types of network serve a very specific purpose. There are a few different networks based on their main purpose:

  1. Storage Area Network(SAN)
  2. Enterprise Private Network(EPN)
  3. Virtual Private Network(VPN)
Continue reading “How many types of Computer Network?”