Introduction to programming concept
Starting from the six steps of problem-solving because in most cases programming does problem-solving.
So, coming to the second part I learned about variables its definition, rules for naming them.
Definition: It is a name given to a memory location whose value may change during the execution of the program.
Rules for naming variables:
To be continued.......
Reference from book"Problem solving and programming concept by Maureen Sprankle"
- Identifying the problem
- Understand the problem
- Identify alternate ways to solve the problem
- Select the best ways to solve the problem
- List introductions that enable you to solve the problem using selected solution
- Evaluate the solution
So, coming to the second part I learned about variables its definition, rules for naming them.
Definition: It is a name given to a memory location whose value may change during the execution of the program.
Rules for naming variables:
- Name a variable according to what it represents.
- There is no spacing between names if you want to put spaces but an underscore in between e.g. course_name.
- Start a variable name with a letter.
- Do not use a dash(or mathematical operators) in a variable name.
To be continued.......
Reference from book"Problem solving and programming concept by Maureen Sprankle"
Comments
Post a Comment
Feel free to leave a comment...