What is Problem Solving?
- Problem solving is the act of generating a solution to any given problem using logic, reasoning and analytical skills.
- Stages in problem solving.
- Define the problem
- Analyze the problem
- Propose and evaluate possible solutions
- Select and justify the optimal solution
- Implementation and review
Identifier, Constant vs Variable vs Literals
- Identifier
- The name used for identifying variables and/or constants. The names can be comprised of letters and numbers but not spaces. These name usually denotes/abbreviates the item of data being stored. There are two types of identifiers:
- Constant
- Variable
Constants vs Variables vs Literals
- Constants
- Location in memory where a fixed item of data is stored.
- Variables
- Location in memory where a item of data can be stored and can be changed.
- Literals
- These are constants that the item of data is written literally as itself (in worded form) rather that a value.
Data & Data Types
- What is Data?
- Data is facts and figures that can be mainly categorized as:
- Text
- Numerical
- Alpha-numerical
- What is Data Type
- A classification/categorization of data in specific groups (string, character, integer,etc..)