Practiceproblem Solving
If you are deciding that making a career change into web development is your next move, you have probably researched the soft skills that you will need. Doing a quick Google search on soft skills for programming you will find problem-solving as one of the skills often listed.
The Problem Solving practice guide is also included with the course. A continuing education certificate is available for download after successful completion of the course. Learning Objectives: Recall that Problem Solving is a structured and systematic method to negotiate everyday problems and consider alternate solutions.
Let’s solve one simple example of a linear equation with one variable: 4x – 2 = 2x + 6. When we are given this type of equations, we are always moving variables to the one side of the equation, and real numbers to the other side of the equals sign. Always remember: if you are changing sides, you are changing signs. Make sure your setting is a protective 'laboratory' where children know they can experiment and practice problem-solving skills throughout each day. Give children opportunities for open ended play activities in long periods of time. Use diagrams and words to explore the very start of algebra, with puzzles and intuition guiding the way. By the end of the course, you'll be able to simplify expressions and solve equations using methods that impart deep understanding rather than just procedures. You'll sharpen your problem solving.
If problem-solving is a skill that reminds you of a high school standardized test. And, if you are hesitant to begin your coding journey because you didn’t score very well, or are afraid of not getting the correct answer, stop.
You will indeed encounter math problems when you are developing a digital product. But it is not every day or every project problem. Most of the problems you will face do not require math.
Also, you can throw away the fear of not getting the correct answer. A programmer does not write the correct code. A correct answer implies that, like in math, there is only one answer. Because you can solve the same problem in multiple ways, a programmer writes the best code she/he can write.
Problems that you will face in the web development world require imagination and mental mapping because computer processes are abstract. Therefore, the more you practice writing code, the more familiar you get with processes so when a problem arrives, it will get easier to understand it.
But you do not need to start writing code to sharpen your problem-solving skills for web development purposes. Because a computer’s job is to follow a set of instructions, problem-solving revolves around understanding step instructions.
Let’s take three examples that will help you understand how to take everyday tasks and step them through. Keep this methodology in mind once you start to write code and you will see that it will be easier to detect problems and solve them.
Step: DIY (Do it Yourself) Furniture and Food Recipes
Writing, reading and following instructions for mounting furniture or preparing a food recipe are great examples of stepping through processes to obtain a known result.
These activities require detailed step by step instructions so someone else, or yourself can follow them on a future occasion. So if you were the steps writer or reader, understanding the order of the part assembly or food preparation is the essential key in understanding future problems.
Practice Problem Solving
Let’s say that a chair I mounted has a squeaky sound, or the mofongo stuffed with chicken that I prepared didn’t taste as expected. If I wanted to understand where the misstep was so it won’t happen again, I would go back to the beginning of the instructions and verify each step.
Practice Problem Solving Math
The same goes as with coding. Even if it seems a longer process, stepping through the code when searching for the cause of a bug will help you solve the problem faster.
Once you find that bug, it is up to your combination of creativity and understanding of instructions for the desired results that will help create multiple solutions.
Segment: Order of mathematical operations
Let’s do a quick recap of what is the order of mathematical operations. It is a set of rules that decide which method (addition, subtraction, etc.) is performed first when evaluating a math equation. The order goes as:
- Parentheses
- Exponents and roots
- Multiplication and division
- Addition and subtraction
If we have some equation like:
Applying the order of equations would look like:
Notice how this solving method requires us to restructure the equation (3 * 4) + (2 * 6). It isolates each segment it into (3 * 4), (2 * 6) and (12 + 12). It solves each segment between parenthesis and finally, solves the operation between segments.
Not only programming languages also follow these order of math operations, but also almost every coding problem can be segmented or isolated into smaller ones.
Every time I remind myself to try and segment even more the problem that I am having while writing code, it seems as if I get to the aha moment quicker.
A Typical User Login
So, let’s do what we came here for, step through a web development problem without having to code!
On the article The Programming Pedestal, I described in a high-level way the process of creating a user account.
For the sake of this example, let’s assume that you already know how to create an online account, and now you just want to log in to your account. But oh, oh! You cannot log in but there is no message displaying the error.
By using the step and segment techniques described earlier, let’s figure out what may be the problem and create possible solutions.
What are the usual steps you follow when login into an account?
- Locate the user login section.
- Type username and password.
- Click the Submit button.
- Wait for the webpage to display the account profile.
From those steps, can you segment even more those steps?
You can segment the second step into two more steps:
- Type username.
- Type password.
And also you can segment the third step into:
- Click Submit button.
- Submit button calls a function.
- The function that validates the data.
- The function sends data to the database.
So let’s step again through the login process:
- Locate the user login section.
- Type username.
- Type password.
- Click the Submit button.
- Submit button calls a function.
- The function validates data.
- The function sends data to the database.
- Wait for the webpage to display the account profile.
Alright! It seems that to step through the process again will take longer, but remember, the more detailed the steps, the easier it will get to find a possible issue.
Now let’s assume that this particular webpage has a username character requirement. And let’s assume that after reading the username character requirement, you remembered that the password you entered was the incorrect one. After correcting the password, the function validates the information and you gain access to your user account.
I know that the example had a lot of assumptions. The point is that when a problem arrives, always verify the steps you performed and try to segment even more some of the steps.
Practice this technique with your everyday activities. So, when you start coding, writing programs and debugging will come easier because you trained your mind to step and segment processes.
By the way
This post was written while I was listening to the new Chemical Brothers album No Geography. I have listened to this album so many times since it came out, that I can write out my thoughts while listening to it. If not, I would not be able to ignore the music and I would be doing mental music videos.
What do you think about these techniques? Do you know any other techniques that can help develop problem-solving skills for web development purposes without having to code? Comment below!
weblink: http://www.yale.edu/bestpractices/resources/docs/problemsolvingmodel.pdf
This six-step model is designed for the workplace, but is easily adaptable to other settings such as schools and families. It emphasizes the cyclical, continuous nature of the problem-solving process. The model describes in detail the following steps:
Step One: Define the Problem
Step Two: Determine the Root Cause(s) of the Problem
Step Three: Develop Alternative Solutions
Step Four: Select a Solution
Step Five: Implement the Solution
Step Six: Evaluate the Outcome