What are Conditions?
A condition is a command that lets you test a result in true or false.
What is Conditional Coding?
Conditional Coding is a block of code created by a programmer that will run is a set variable is true.
What is a Boolean?
A Boolean is a value that can only be true or false. The programmer has to set what "True" and "False" will mean for the Boolean.
What is a Logical Operator?
A logical operator is a symbol or word that connects 2 or more Booleans, which will make more specific conditional decisions.I learned lots about logical think as a human vs. a computer. For example, I learned that logical thinking a human is very different, as human will institutionally assume certain things to happen. For example, during our courtyard "Hide and Seek w/ Commands", some people didn't put it in their command to grab the object, a they assumed you would do that. To logical think as a computer, you need to think about what a computer would do, and the most efficient way to do that.
I would say that it is harder to think as a computer as you have to think of every action. Humans assume and have muscle memory, whereas a computer does not. It is certainly harder to think a computer because I am not used to it, but if I continue coding for a long time, I would eventually get used to it.
No comments:
Post a Comment