Get Coding with Logic

Get Coding with Logic — page 1
Coding and Logic True Logic is reasoning If someone is using logic in everyday life they are explaining something by following a set of rules Guessing is not using logic Everything that a computer does involves logic A computer cannot guess or be random At its most basic level a computer can only test to see if something is true or false False TruE or False Computers use a number system known as binary The binary number system uses two numbers 0 and 1 Computers only really understand two things their electrical supply being off or on Coders can use these two states to get the computer to test for True or False Yes or No or On or Off Coding tips When coders program computers the computer language they use changes the commands into binary Coders don’t have to know binary but it is helpful to understand the logic behind the two states off or on There’s a joke that says Binary is as easy as 1 10 11 Read the next page and see if you can decode the joke 4