Programming

Algorithm for adding N Natural numbers

Intro¬≠duc¬≠tion In this arti¬≠cle we are going to ana¬≠lyze an algo¬≠rithm to add the num¬≠bers from 1 to 10, that is to say we will cre¬≠ate a func¬≠tion that solves the oper¬≠a¬≠tion 1+2+3+‚Ķ+10, this func¬≠tion will be pro¬≠grammed in a gener¬≠ic way to cal¬≠cu¬≠late the sum of all the nat¬≠ur¬≠al num¬≠bers from 1 to N, ‚Ķ

Algo¬≠rithm for adding N Nat¬≠ur¬≠al num¬≠bers Read More ¬Ľ

What are Scripts and what are they for? ‚ÄĒ Example of use in Unity

Intro¬≠duc¬≠tion A Script is a doc¬≠u¬≠ment that con¬≠tains pro¬≠gram¬≠ming instruc¬≠tions in a cer¬≠tain lan¬≠guage, which is the one under¬≠stood by the tool we are using to devel¬≠op any appli¬≠ca¬≠tion that requires pro¬≠gram¬≠ming. Some exam¬≠ples of the use of Scripts For exam¬≠ple, a Script may con¬≠tain a list of instruc¬≠tions for an Arduino to per¬≠form a ‚Ķ

What are Scripts and what are they for? ‚ÄĒ Exam¬≠ple of use in Uni¬≠ty Read More ¬Ľ

What is an INSTANCE in Programming ‚ÄĒ Examples in Unity

Intro¬≠duc¬≠tion The word instance in com¬≠put¬≠er sci¬≠ence is used with dif¬≠fer¬≠ent mean¬≠ings, for exam¬≠ple we can talk about the instance of a com¬≠put¬≠er pro¬≠gram to refer to the pro¬≠gram that is being exe¬≠cut¬≠ed. In this arti¬≠cle we are going to see the con¬≠cept of INSTANCE in object ori¬≠ent¬≠ed pro¬≠gram¬≠ming, i.e. the instances that are created ‚Ķ

What is an INSTANCE in Pro¬≠gram¬≠ming ‚ÄĒ Exam¬≠ples in Uni¬≠ty Read More ¬Ľ

{ What is a LOOP in programming } ‚ÄĒ Programming theory

The loop is a repet¬≠i¬≠tive con¬≠trol struc¬≠ture that allows us to repeat a sequence of instruc¬≠tions until a con¬≠di¬≠tion is no longer true. In a com¬≠put¬≠er pro¬≠gram, instruc¬≠tions are exe¬≠cut¬≠ed instruc¬≠tion by instruc¬≠tion in a sequen¬≠tial man¬≠ner, this is known as the pro¬≠gram flow. The con¬≠trol struc¬≠tures allow us to alter this exe¬≠cu¬≠tion flow, enabling ‚Ķ

{ What is a LOOP in pro¬≠gram¬≠ming } ‚ÄĒ Pro¬≠gram¬≠ming the¬≠o¬≠ry Read More ¬Ľ

What is a BOOLEAN? ‚ÄĒ Programming theory

Def¬≠i¬≠n¬≠i¬≠tion of BOOLEAN A BOOLEAN is a type of prim¬≠i¬≠tive vari¬≠able that is char¬≠ac¬≠ter¬≠ized by being able to be in only two states, "true" or "false". The name of this vari¬≠able is due to the math¬≠e¬≠mati¬≠cian George Boole who cre¬≠at¬≠ed Boolean alge¬≠bra, which is the basis of all dig¬≠i¬≠tal oper¬≠a¬≠tions. Here is a more detailed ‚Ķ

What is a BOOLEAN? ‚ÄĒ Pro¬≠gram¬≠ming the¬≠o¬≠ry Read More ¬Ľ

{ STRING type variables } ‚ÄĒ Programming theory

Def¬≠i¬≠n¬≠i¬≠tion of STRING A STRING is a data type used to store text, it is not a prim¬≠i¬≠tive vari¬≠able such as int, bool or float, but a set of prim¬≠i¬≠tive vari¬≠ables of the char¬≠ac¬≠ter type. Here is a more detailed arti¬≠cle about what are vari¬≠ables in pro¬≠gram¬≠ming and the dif¬≠fer¬≠ent types of vari¬≠ables. Syn¬≠tax of ‚Ķ

{ STRING type vari¬≠ables } ‚ÄĒ Pro¬≠gram¬≠ming the¬≠o¬≠ry Read More ¬Ľ

What is the SYNTAXIS in programming? ‚ÄĒ Programming theory

Def¬≠i¬≠n¬≠i¬≠tion SYNTAXIS in pro¬≠gram¬≠ming is the set of rules that define the way to write code instruc¬≠tions. Each pro¬≠gram¬≠ming lan¬≠guage has its own syn¬≠tax, that is why it is not con¬≠ve¬≠nient to study pro¬≠gram¬≠ming based pure¬≠ly on writ¬≠ing code, but under¬≠stand¬≠ing the way of think¬≠ing, the basic con¬≠cepts, know¬≠ing the con¬≠trol struc¬≠tures and how to ‚Ķ

What is the SYNTAXIS in pro¬≠gram¬≠ming? ‚ÄĒ Pro¬≠gram¬≠ming the¬≠o¬≠ry Read More ¬Ľ

What is a FLOAT? Floating Point Variables ‚ÄĒ Programming Theory

Def¬≠i¬≠n¬≠i¬≠tion of FLOAT The name FLOAT comes from the "float¬≠ing point" numer¬≠i¬≠cal rep¬≠re¬≠sen¬≠ta¬≠tion sys¬≠tem and refers to a type of prim¬≠i¬≠tive vari¬≠able that is char¬≠ac¬≠ter¬≠ized by being a numer¬≠i¬≠cal vari¬≠able that admits a dec¬≠i¬≠mal part, it can be used to rep¬≠re¬≠sent pos¬≠i¬≠tive and neg¬≠a¬≠tive real num¬≠bers with¬≠in a cer¬≠tain range and with a cer¬≠tain pre¬≠ci¬≠sion that ‚Ķ

What is a FLOAT? Float¬≠ing Point Vari¬≠ables ‚ÄĒ Pro¬≠gram¬≠ming The¬≠o¬≠ry Read More ¬Ľ

Differences between Classes and Objects in Object oriented programming

Intro¬≠duc¬≠tion In this arti¬≠cle we are going to see what are the dif¬≠fer¬≠ences between a class and an object in object-ori¬≠en¬≠t¬≠ed pro¬≠gram¬≠ming (OOP). These are two con¬≠cepts that can help us to solve com¬≠plex prob¬≠lems because they allow us to increase abstrac¬≠tion, that is to say, to look at prob¬≠lems from a broad¬≠er per¬≠spec¬≠tive. It ‚Ķ

Dif¬≠fer¬≠ences between Class¬≠es and Objects in Object ori¬≠ent¬≠ed pro¬≠gram¬≠ming Read More ¬Ľ

What is a REFERENCE in programming

Intro¬≠duc¬≠tion One of the most impor¬≠tant things we have to under¬≠stand in object ori¬≠ent¬≠ed pro¬≠gram¬≠ming is the con¬≠cept of "REFERENCE", know¬≠ing what a ref¬≠er¬≠ence is and how to find it will allow us to manip¬≠u¬≠late any object, access its data and its pub¬≠lic func¬≠tions. In this arti¬≠cle we will see the con¬≠cept of Ref¬≠er¬≠ence in ‚Ķ

What is a REFERENCE in pro¬≠gram¬≠ming Read More ¬Ľ

articulo y video sobre programacion basica c# para unity, como programar una sentencia if

IF Statement ‚ÄĒ Decision Control Structure

Intro¬≠duc¬≠tion The IF state¬≠ment allows us to make a deci¬≠sion based on whether a con¬≠di¬≠tion is true or false. The sim¬≠ple deci¬≠sion is to per¬≠form an action if the con¬≠di¬≠tion is true and oth¬≠er¬≠wise do noth¬≠ing. The dou¬≠ble deci¬≠sion allows us to per¬≠form a sec¬≠ond action if the con¬≠di¬≠tion is false. In the fol¬≠low¬≠ing video you can ‚Ķ

IF State¬≠ment ‚ÄĒ Deci¬≠sion Con¬≠trol Struc¬≠ture Read More ¬Ľ

How to read VARIABLES from other Scripts. Example in C# Unity

Intro¬≠duc¬≠tion In this arti¬≠cle we will see how to read vari¬≠ables that are defined in a script from a sec¬≠ond script.  In the fol¬≠low¬≠ing video you can see how to use the vari¬≠ables of oth¬≠er scripts step by step.  Pro¬≠ce¬≠dure for using vari¬≠ables from oth¬≠er scripts 1. Let 2 scripts A and B. In A Script ‚Ķ

How to read VARIABLES from oth¬≠er Scripts. Exam¬≠ple in C# Uni¬≠ty Read More ¬Ľ

How to call FUNCTIONS defined in another Script. Examples in C# Unity

Intro¬≠duc¬≠tion In this arti¬≠cle we will see how to exe¬≠cute func¬≠tions defined in one script from a sec¬≠ond script. First we look at the gener¬≠ic pro¬≠ce¬≠dure. IMPORTANT Here you have a video about access¬≠ing call¬≠ing func¬≠tions from anoth¬≠er script. All the infor¬≠ma¬≠tion is pre¬≠sent¬≠ed to you as a gener¬≠ic exam¬≠ple, two scripts, "Scrip¬≠tA" and "ScriptB", the func¬≠tion we ‚Ķ

How to call FUNCTIONS defined in anoth¬≠er Script. Exam¬≠ples in C# Uni¬≠ty Read More ¬Ľ

How to know if a number is EVEN or ODD in programming

Intro¬≠duc¬≠tion In this arti¬≠cle we will see how to tell if an inte¬≠ger is odd or even using pro¬≠gram¬≠ming. We solve the algo¬≠rithm in C# lan¬≠guage for Uni¬≠ty. An even num¬≠ber is a num¬≠ber that is a mul¬≠ti¬≠ple of 2, that is we can express that num¬≠ber as 2 mul¬≠ti¬≠plied by anoth¬≠er num¬≠ber and the whole ‚Ķ

How to know if a num¬≠ber is EVEN or ODD in pro¬≠gram¬≠ming Read More ¬Ľ

Modularization in Programming

Intro¬≠duc¬≠tion In this arti¬≠cle we see what MODULARIZATION is in pro¬≠gram¬≠ming and why it is impor¬≠tant. We will also see exam¬≠ples of appli¬≠ca¬≠tions in C# lan¬≠guage in Uni¬≠ty. What is MODULARIZATION in Pro¬≠gram¬≠ming and what is it for? The word mod¬≠u¬≠lar¬≠iza¬≠tion comes from mod¬≠ule, whose tex¬≠tu¬≠al def¬≠i¬≠n¬≠i¬≠tion is: " each of a set of stan¬≠dard¬≠ized parts or ‚Ķ

Mod¬≠u¬≠lar¬≠iza¬≠tion in Pro¬≠gram¬≠ming Read More ¬Ľ

YouTube
Scroll to Top
Secured By miniOrange