Now that I have learned to write codes for regular variables such as sentences and words, I have now learned to write codes for numerical variables using the symbol %s or %d to appear with us in this image.
Computer language The computer only understands the language 1 and 0. Every letter I want to deliver to it has a specific code, and not just languages, but even pictures and videos. There are two systems for learning that language Binary System Decimal System I learned some basics about them, the most important of which is that each number has a specific value that is different from the other To represent any value, we must operate a number of switches to equal the same desired value For example, a binary system contains 8 keys, and each key represents a value if it were the first key It equals 1 and the second key equals 2 then If you want 1, I will open the first key If I want 2, I will open the second key If I want 3, I will o...
Game I'm now starting to apply the concepts I've learned to designing a game. Each character will have its own code. We will have three characters, and I will add each character with its own commands The game will be like this
Programming has many specializations such as web mobile desktop cyber security But first we have to be properly established at the beginning of studying any language in a simple way, such as the CS50 curriculum The main idea of programming is to solve problems in the simplest way Firstly We have input, which is the problem to be solved The device in which we process Output of the solution to this problem In order to communicate with the computer to solve the problem, we must understand its language, which is the language of zero and one. The smallest computer unit is a bit The slightly larger unit is a byte, consisting of 8 bits The summary of all this is that every letter, number, or any word has a symbol for them in the language 0 or 1 We will learn more about how to communicate with the computer in this language in the coming days
Comments
Post a Comment