Compression is a way of encoding digital data so that it takes up less storage space and requires less network bandwidth for transmission. There are two basic types of compression: the lossy method, where some data is lost when the file is decompressed, and the lossless method, in which no data is lost when the file is restored in the . initial. As long as bandwidth is expensive and people are impatient, data compression is here to stay. Simply put, compression methods transform text, graphic, audio, or video data into a computer-readable shortcut that is 10-99% of its original size. Data takes up less storage space and requires less bandwidth to travel over the Internet. In addition, there are many methods that can compress multiple files into a single file called an archive. There are two basic methods of data compression: lossy and lossless. The Lossless technique compresses the data without destroying or losing anything in the process. When the original is decompressed, it will be bitforbit-like with the original. The Lossy technique allows the compressed file to be smaller, but some data will be lost forever.
Logic gates are used to make decisions such that electrical outputs do not "turn on" until the correct logic sequence is applied. Each logic gate has a name that describes how the different inputs will identify possible outputs. Logic gates can be combined in many ways. To determine what the final output should be, a truth table should be used to keep track of the output and input along with the combination of logic gates, much like solving a puzzle.