Monthly Archives: April 2021

THE C# LANGUAGE

STRUCTURE OF A C# PROGRAM We will see the general structure of a program written with the C Sharp language. LINK TO LIST OF LANGUAGE RESERVED WORDS LANGUAGE RESERVED KEYWORDS These keywords cannot be used as identifiers. THE FIRST C# PROGRAM Let's create a folder and name it Corso C#. I created it under the main Windows directory. THE C SHARP LANGUAGE - OPEN VISUAL STUDIO CODE We open the command prompt and place ourselves in the newly created folder. We type the following command: dotnet [...]

By |2024-07-20T00:04:02+02:0030 April 2021|0 Comments

THE BINARY SYSTEM

OPEN AI BINARY SYSTEM The binary system is a numbering system that uses only two digits: 0 and 1. It is the fundamental basis of computers and all digital devices, as it represents the two states of a switch (on and off) in a simple and clear way. Here are some key points about the binary system: Main Characteristics of the Binary System: Base 2: Unlike the decimal system, which uses ten digits (0 to 9), the binary system uses only two digits, 0 and 1. Representation of Numbers: Each digit in a binary number is a power of [...]

By |2024-06-30T07:40:09+02:0021 April 2021|0 Comments

OPERATIONS IN THE BINARY SYSTEM

sistema binario THE FUNDAMENTAL OPERATIONS IN THE BINARY SYSTEM BINARY OPERATIONS - SUM OF TWO NUMBERS I leave you a link to the previous topic Introduction to the binary system. We will deal with sum, difference and multiplication for completeness. The division is beyond the scope of this article, and when we talk about two's complement you will only use the sum. With R I have indicated the carry that occurs when both values are at 1. The carry must be immediately lined up in the column on the left, otherwise the [...]

By |2022-10-27T21:28:04+02:0022 April 2021|0 Comments

THE BINARY QUANTITIES

BYTE, WORD [.....] The bit represents the unit of definition of a logic state, also defined as the elementary unit of information processed by a computer. The logical representation of the bit is represented only by the values {0, 1}. For programming purposes it is common to group sequences of bits into larger entities that can take values in much wider intervals than that allowed by a single bit. These groupings generally contain a number of binary strings equal to a binary power, ie equal to 2n; the best known is the byte (also called octet), corresponding to 8 [...]

By |2021-07-28T03:30:10+02:0022 April 2021|0 Comments

THE CODING OF CHARACTERS

ASCII CODING sistema binario ASCII (acronym for American Standard Code for Information Interchange) is a code for character encoding. The ASCII standard was published by the American National Standards Institute (ANSI) in 1968. In Italian it is pronounced aschi / ˈaski / or asci / ˈaʃʃi /, while the original English pronunciation is askey / ˈæski /. The initial specification based on 7-bit codes was followed over the years by many proposals for 8-bit extensions, with the aim of doubling the number of characters that can be represented. In IBM PCs, one of these extensions, now de [...]

By |2022-10-27T21:34:42+02:0022 April 2021|0 Comments

THE BINARY CODING OF NEGATIVE AND FLOATING POINT NUMBER

NEGATIVE NUMBERS AND TWO COMPLEMENT sistema binario The two's complement, or base's complement, is the most common method for representing signed numbers in computer science. The expression two's complement is often used improperly to denote the negation operation (change of sign) in computers that use this method. Its enormous diffusion is given by the fact that the addition and subtraction circuits do not have to examine the sign of a number represented with this system to determine which of the two operations is necessary, allowing simpler and more precise technologies; only one circuit, the adder, is used [...]

By |2022-10-23T15:18:43+02:0023 April 2021|0 Comments

THE BJT TRANSISTOR

THE TRANSISTOR AS AN AMPLIFIER AND AS A SWITCH THE BJT TRANSISTOR AS AN AMPLIFIER In electronics, the bipolar junction transistor (abbreviation commonly used: BJT , from the English bipolar junction transistor ) is a type of transistor widely used in the field of analog electronics mainly as a current amplifier and switch. It constitutes the most widespread family in electronics together with the field effect transistor with respect to which it is able to offer a greater output current with the disadvantage, however, of not having an isolated control terminal ( gate ). It is composed of [...]

By |2023-06-20T03:51:42+02:0023 April 2021|0 Comments

THE INTEGRATED CIRCUIT

THE INTEGRATED CIRCUIT An integrated circuit ( IC , from the English integrated circuit ), in digital electronics, is a miniaturized electronic circuit where the various transistors have all been formed at the same time thanks to a single physical-chemical process. A chip (lit. "piece") is the electronic component made up of a tiny silicon wafer plate ( die ), from which the integrated circuit is built; in practice, the chip is the support that contains the elements (active or passive) that make up the circuit. Sometimes the term chip is used to indicate the integrated circuit as a [...]

By |2023-06-23T04:12:44+02:0023 April 2021|0 Comments

THE LOGICAL GATES

THE LOGICAL GATES AND OR NOT A logic gate , in digital electronics and information technology, is a digital circuit capable of implementing (that is, of realizing, simulating its "mathematical logic" by means of suitable controls on electrical signals) a particular logical operation of one or more Boolean variables. This definition will be clearer when we talk about Boolean algebra. In this post we will introduce logic gates. Let's start with the fundamental logic gates (to then see all the others) capable of performing the operations of addition, product and negation indicated, respectively, with OR (logical sum), AND (logical [...]

By |2023-06-23T05:10:31+02:0023 April 2021|2 Comments

BOOLE’S ALGEBRA

BOOLE'S ALGEBRA Boolean algebra is an abstract algebra that operates with only the values ​​0 and 1 associated with the truth values ​​False and True (Boolean Logic). Algebra was developed in 1854 at University College Cork by Boole to write the logic of propositions in algebraic form. Today it forms the basis of the digital world. You study Boolean algebra or Boolean algebra because a digital circuit can be expressed through a boolean expression and vice versa (boolean logic). A Boolean function has one or more input variables and the output depends exclusively on the states assumed by the [...]

By |2023-06-27T23:33:55+02:0024 April 2021|0 Comments
Go to Top