SUNY OLD WESTBURY NAME:HYUN-JUNG IM
COMPUTER AND BUSINESS
FY 1000-016
FOR PROF. EBRAHIMI
SUBJECT:MYSTERY
The word of "Mystery" means that something not understood or beyond understanding; enigmatic quality or character.
Simply, it means a puzzle. A puzzle that we have can't solve by understanding. The programming has the similiar situation. When we have a hard time to solve the math problems, sometimes we have to simplify as much as we can or factor them first before we are going to solve them as a logically. This is it. The program is too. We can see the bunch of unfailiar symbols, names and the rules. "Some may remain a mystery while ohters may reveal themselves as the learner gains knowledge and experience."
Several examples are followed: From the text book
1) Why the symbol * is used for multiplcataion and Not X?
��The reason why the computer uses it because the computer wouldn't confuse with the letter of X.
2) What number comes after integer 32767?
��The next nmber is -32768 followed by -32767 because "the mystery stems from the decision of the language designer to allocate a limited amount of memory location which as a result can only hold from -32767 to 32767. The programmer must explicitly request a longer interger to resolve this matter."
3) Nesting Parentheses- From C++ in 10minutes by Jesse Liberty./Internet
��4*(3+(6/2))
This complicated expression should be read from the inside out. First, divide 6 by 2. Then add 3 to that result. Then multiply the updated result by 4. Because C++ doesn't require an expression to be written on a sinlge line, you can make this more understandable by using the parentheses as if they were braces:
4*
(
3+
(6/2)
)
"Programming is a concept that consists of a set of rules that is not difficult to learn. A good programming language leads to better programming performance and results." home page