Free Essay

Problem Solving

In:

Submitted By adukejames
Words 3441
Pages 14
Declaring constants in Pascal

A constant is a value that is given a name. The constant can be used anywhere in a program and will always have the same value.
Constants are declared in the declaration section of the program, that is the section before begin using the keyword, Const.
Value

Constant name Name: data type= value;

Data type

A command is an instruction that is a single word. Eg. READ
For example to declare a constant to store a value for tax:
Const Tax: real=.15;
TEST YOUR UNDERSTANDING
Initialize the following constants in Pascal: i. ii. The number of seconds in a minute. iii. The temperature at which water boils iv. The number of months in a year. v. The discount amount for 5%.

Writing data to the screen (WRITE and WRITELN)
Pascal uses write and writeln to display information on the computer screen. These statements are useful when prompting user for data and displaying information of a processed result to the screen.

* Writeln is also useful when a space is needed in the program. You can create a space by typing:
WRITELN;
* Writeln can also be used to display a string and a variable:
WRITELN (‘the sum is’, sum);
Before you read, you must write. The write is used when we want the data to be displayed on the same line, while writeln is used when we want to accept data in a new line. Place the information that you are writing to the screen in brackets and single quotes.
Example:
Write (‘enter your grade’); writeln (‘enter your grade’);
Read (G); Read (G);
Results
enter your grade 14 enter your grade 14
Reading data entered by the user (READ and READLN)
The READ statement and READLN statements are used to accept data that is input by the user. Take for example Read(G) takes the value entered by the user and stores it in the variable G.

The difference between Read and Readln is that when the data is accepted by read, it will stay on the same line, while Readln moves to the next line after accepting the data.

Readln should also be used to keep the data on the screen. If the readln statement is missing in the program, then output messages will be displayed on the screen without giving the user a chance to view. Therefore place READLN; before the END. statement.

TEST YOUR UNDERSTANDING
Write an algorithm to accept the name, age, height and amount paid the user. Print the information.
Rewrite it using Pascal syntax. After it is corrected, user your Pascal compiler to run the program.

PROCESSING INSTRUCTIONS
These instructions perform the calculations in a program. The symbol used for processing instructions is :=
For example A:=T + D

Depending on the data type of the values involved in a calculation, specific operator may be required as well as the result will be of a certain data type. The operators div and mod only work with integers.

Operator | Operation | Operands | Result | example | + | Addition | Real or integer | Real or integer | 2+3=5 | - | Subtraction | Real or integer | Real or integer | 10-8=2 | * | Multiplication | Real or integer | Real or integer | 2*3=6 | / | Real division | Real or integer | Real | 5.94/3.6=1.65 | Div | Integer division | Integer | Integer | 10 div 3=3 (the remainder is discarded) | mod | Modulus(remainder in a div operation | Integer | Integer | 10 mod 3=1 |

TEST YOUR UNDERSTANDING 1. Write a program to find the remainder R, when one integer A, is divided by another integer B. 2. Three integer variables are declared; num1, num2 and answer. Num1 is initialized to 20 while num2 to 5. Divide num1 by num2 and store the result in answer. 3. Write a program to accept three numbers and find the average. 4. A store is offering a 20% discount on all items. Accept the original price for the item and calculate the price after discount. 5. Write a program to compute the VAT payable on an item. The program should ask the user to enter price of an item and compute the VAT payable on the item using a fixed rate of 16% of the price. 6. There are seven errors in the program code below: correct them
Program TEST (output) ____________________________________
Var Number1, Number2; integer; ____________________________________
Begin; ____________________________________ Number1=24; ____________________________________ Number2:=Number1*4; ____________________________________ Writeln(‘help) ____________________________________
End ____________________________________

7. QUESTIONS 1. Identify the input and output statements between the BEGIN and END statements. 2. Identify the input statement between the BEGIN and END statements. 3. The total profit entered is $10,000, calculate omar, alvita and lov’a share of the profit.
PROGRAM profit_division;
VAR
total_profit : real; share_omar : real; share_alvita : real; share_lora: real;
BEGIN
{user enters the total profit} Writeln(‘enter the total profit’); Readln(total_profit); share_omar:= total_profit/2; writeln(‘omar receives$’, share_omar); share_alvita:= total_profit $*0.03; writeln(‘alvita receives $’, share_alvita); share_lora:= total_profit*0.02; writeln(‘lova receives $’, share_lora);
END.

8. A user enters letter a during the execution of a program, how would you describe that data? 9. What command would you use to create prompting statements in Pascal? 10. If a variable is declared called weight to store the weight of persons in centimetres, what would be the most suitable data type?

Special reserved word of the CRT unit
Pascal uses a number of functions that can enhance the presentation and perform special tasks. To include a library in a program, one should use the reserved word uses because it is used to call a library of functions and procedures.

The Cathode Ray Tube (CRT)library has a wide range of functions and procedures. Let us examine the functions below: Reserved Word | Description | Clrscr | Clears screen | Textcolor(word/int) | Color of text | Readkey | Reads a key; could be assigned to a variable |

Observe the following program

PROGRAM Sum;
Uses Crt; { The function is called using at the beginning of the programming in the declaration section.}
VAR
A, B, SUM: REAL;
BEGIN
Clrscr; {clears any information on the screen}
Textcolor(red);
Writeln (‘input two numbers’);
Writeln;
Readln (A, B);
Sum:= A+B;
Writeln (Sum);
Write(‘press any key to continue’);
Readkey; {program moves as soon as a key is pressed}
Readln;
END.

Lesson 9: Conditional Statements in Pascal
EXAMPLE
Program marks;
Var
m:integer; begin writeln(‘enter your marks’); read(m); If m>=50 then

writeln(‘you have passed the course’); end. To test a condition in a control structure, the relational operators that were taught in lesson 3 are used.

The IF-Then control structure
Syntax: if <condition> then <Statement>;

Notice that there is no End If at the end as we would have written in algorithm, only a semi-colon at the end of the last statement.

If we want to execute two or more statements if the condition is true, then we need to open a new begin and end statements to group the statements to be executed. The new begin and end act like brackets around the statements.

EXAMPLE
Program marks;
Var
m:integer;
Begin
writeln(‘enter your marks’); read(m); If m>=50 then
Begin
writeln(‘your mark is’, m ); writeln(‘you have passed the course’);
End;
End.

TEST YOUR UNDERSTANDING

1. Write a program to accept two values and interchange them if the first value is greater than the second. 2. A teacher wishes to assign comments for the student’s grades at the end of the term. If the grade is 80%, the output should be “you have done well!” write Pascal code to implement the program.

3. Write code to input a number. If it is 10, output its square.

4. Write code to input a grade. If this grade is greater than 100, output the message "TOO HIGH".

5. KFC decided to give a free coupon to persons whose order exceeds $1200.00. if the order is greater than $1200.00 then the computer will output “ Collect your free coupon”

6. A shop sells phone cards for $120.00 and reduces the amount a customer has to pay by subtracting $120.00 if the amount of phone cards bought for the week is ten or more. Read the phone cards bought and print the amount paid.

7. The IF-THEN-ELSE construct is one statement, hence use one semicolon
In a certain theatre where tickets normally cost 20 TL each. There is a 20% discount if one person buys more than 15 tickets. Input how many tickets a person has bought. Check if a discount is necessary and output the total amount he must pay.

The IF-then -Else statement
Syntax:

If <condition> then <statement1>
Else
<statement2>;

If <condition> then Begin <statement1>; <statement2>; End
Else
Begin <statement3>; <statement4>; End;

Please note that there is no semicolon after the word End If, if it is followed by an else.

TEST YOUR UNDERSTANDING

1. A bonus of $150.00 is given to employees who were absent for less than 4 days in a year. The bonus is added to the salary to arrive at the total income. If the total income is greater than $300.00, a tax of 5% is deducted. Input the days absent and the salary. Output the total income, the tax deducted and the income less tax. 2. Input a number. If it is less than 10, output its square. If it is more than 10, output the number only. 3. A technician charges fees based on the number of hours worked as follows: * Two hours or less, a fee of $90.00 per hour * Up to six hours, a fee of $75.00 per hour * More than six hours, a fee of $60.00 per hour
Write Pascal code to input the hours worked. The algorithm should output the hours worked and the fees charged.

4. Input a student's ID number and final grade. Print the student's ID with a message telling him whether he passed or failed according to his grade. If the final grade is greater or equal to 50 he passed, if the final grade is less than 50 he failed.

Boolean operators (AND or OR)

Boolean syntax:

IF(<condition1> )AND(<condition2>) THEN
IF (<condition1> )OR (<condition2>) THEN
TEST YOUR UNDERSTANDING

1. Write Pascal code to read the name of the student and the value of the student’s mark. Print the name of the student and the appropriate grade based on the following grading scheme:
80 or more A
Less than 80 but more than or equal to 65 B
Less than 65 but more than or equal to 50 C
Less than 50 but more than or equal to 35 D
Less than 35 F 2. A company gives out bonuses based on the amount of income generated by the sale representative. Once the income is greater than $5000.00, and less than or equal to $8000 then bonus of 10% of the generated income is payable, otherwise the bonus is 3% of the income generated. Read the income generated and print the bonus.

Lesson 9: Writing loops in Pascal

Repitition control structures (loops)

The While-do loop The Repeat-until loop The For-Loop
Syntax: syntax: syntax:
While <condition> do Repeat For <loop counter>:=<range> do <statement>; <statement>; <statement>; Until <condition>;

Please note that new begin and end statements for more than one statement also applies for loops!

For 1. Write Pascal code to display the name and age of fifty students in a class. 2. Amanda is a fitness consultant and charges $10 per hour with clients. Write Pascal code that takes in the number of hours she worked per day and calculates how much she has earned after 7 days. 3. Create a four times multiplication table for the numbers 1 to 6 4. Calculate the sum of all odd numbers between 1 and 20. Print the total. 5. Write Pascal code that takes in the ages of 25 people and find the youngest. 6. Write Pascal code to enter 10 numbers and find the highest and lowest exclusively

While 1. Find the largest of a series of integers terminated by 0. 2. Write Pascal code to enter the marks of students terminated by 999 3. Find the average of three numbers. Accept these three numbers and calculate the average until the user enters “no” to stop the program. Print the average.

Repeat until 1. Write Pascal code to input a set of numbers until number is equal to 0 reached. Find the highest and lowest of each number input by the user then print the highest and lowest.

Lesson 9: ARRAYS
There are times where you might have to store a list of items for one variable, for storing so many values to one variable you can use an array.
An array is made up of elements each of which acts like a separate variable. Every element in the array has the same name, but is distinguished from each other by a subscript or index, which is a number placed in brackets. All the elements in an array must have the same data type.
If the array called LETTERS is represented like this: Element | F | R | I | S | U | T | Subscript/ index | 1 | 2 | 3 | 4 | 5 | 6 |

The second tow contains all the subscripts or index. All subscripts are arranged in order and usually starts from one or zero (1/0).
The first row stores the contents of each subscript. It is known as the array element. These are arranged in the order in which the information was assigned or in the order that the user entered the data. Therefore the elements are in no specific order.
Declaring Arrays
When declaring an array, you specify the name, size and data type of the array. Please note that all elements in an array must have the same data type and are declared in the declaration section of the program.
Syntax: VAR ArrayName: ARRAY[1….number_of_elements] of data_ type;
Let us declare the array named LETTERS with in the above example:
PROGRAM ARR;
VAR
LETTERS : ARRAY[1..6]of CHAR;

TEST YOUR UNDERSTANDING
The following represents an array called SCORES: 45 | 78 | 90 | 35 | 78 | 90 | 34 | 12 | 56 | 89 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 1. Which of the rows has the subscripts? 2. Which row shows the elements? 3. What value is stored in index 7? 4. Declare the array
Declare each of the following:
Variable name data type Arraysize
NUMBER real 25
Studentname string 18

Manipulating an array
To manually store a value to an element in an array we follow the method:
<array_name>[subscript]:= value;
The procedure for storing the value D in the third element of the array LETTERS is: LETTERS [3]:=’D’;

You can also use an array to element to assign a value to assign a value to variable. For example
L := LETTER[4];
TEST YOUR UNDERSTANDING
Store the following values to the arrays declared above * 50 and 67 to the second and fifth element in SCORE. * Tom and Susan to the first and tenth element in Studentname. * 1000 to the 9th index in the NUMBER array.

Reading and Writing to an array * Elements can be read to and written from each subscript of an array manually.

lines
1 PROGRAM read_array;
2 VAR
3 num: Array[1..5] of integer;
4 BEGIN
5 num [2]:=25;
6 writeln (num [2]);
7 Write (‘input a number’);
8 Read (num[5];
9 Write (num[5]);
10 END.

Lines 1-3 is the block of the program where an array called num with 5 elements is being declared in line 3. The Execution of the program starts after the begin instruction. In line 5 the value 25 is being assigned to the second index of the array. In line 6, we use the write command to output the content of subscript 5.

In line 7, a prompt is printed to the user to enter a number. This number is read to the fifth index of the array. Line 9 will print the content of num[5].

* Arrays can also be used to perform calculations. Consider the following calculation:
Program cal_array;
Var
Grades1: array [1...6] of real; Grades2: array [1...6] of real; Ans: real;
BEGIN
Grade1[1]:5; Grade2[1]:17; Ans:= Grade2[1]:17- Grade1[1]:5; Write(Ans)
End.

TEST YOUR UNDERSTANDING 1. Write a program in Pascal that declares an array called NAMES. The array should have 10 elements and should assign Sam and Joy as the fifth and tenth elements. Print these elements. 2. Write a program in Pascal that declares an array called int_num. The array should have 16 elements and should assign accept three values from the keyboard to be entered into its 4th, 6th and 8th element. Print these elements.

3. Consider the code below.
Program Addition;
Var
A: Array[1...2] of integer; B: Array[1...2] of integer; S: Array[1...2] of integer; Sum: integer;
Begin
Writeln (‘input a number’); Read(A[1]); Writeln; Writeln (‘input a second number’); Read (A[2]); Writeln (‘input a third number’); Read (B[1]); Writeln; Writeln (‘input a third number’); Read (2[1]); Writeln; S[1]:= A[1]+B[1]; S[2]:= A[2]+B[2]; Sum:= S[1] + S[2]; Writeln(‘the sum of both arrays are’, Sum); Readln;
End.

1. State the name of the program 2. State the name of the Array/s. 3. What is the size of A? 4. In the line, Read(A[1]); what is the program doing? 5. What is the purpose of the single writeln? 6. If inputs to the program are 10, 2, 3, 5, what would be the sum at the end of the program? 7. State the purpose of the readln that falls before the end.

Traversing an Array
In the above question, what if the array size was 1000, this therefore means that when assigning values, we would need to request the values 1000 times then read them 1000 times then find 1000 some. This would however be burdensome to write. The array can be traversed that is using the For-loop to assign values to each element one at a time.

Consider the following example that will accept and the scores of 1000 students:
Program Loop;
Var
ArScore: array [1...1000] of integer; X: integer;
Begin
For X:= 1 to 1000 do Writeln (‘enter the student score’); Read (ArScore[X]); Writeln (ArScore[X]); Readln; End.

TEST YOUR UNDERSTANDING 1. Write code fragment to do the following: * Declare an array of 15 integers named img. * store 31 in the 10th element of array img. * Use a for loop to store values in each element. The program should request the amount paid of the fifteen persons and assign it to each element.

2. Consider the following program in Pascal and answer the questions that follow: 2010 Q 12
Program HUM (input, output);
VAR CSEC: array[1..8] of integer; Start, inc: integer;
Begin
Inc:=0; For Start: 1 to 8 DO CSEC[start]:=Inc;
End.

a. State the name of the program b. State the name of the array c. State the size of the array d. Explain the purpose of the array 3. The following shows the records of the miles that students walked in a marathon Students | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | miles | 34 | 12 | 2 | 34 | 61 | 32 | 12 | 12 | 45 | a. Which row contains the elements of the array? b. Write code to change the value for student 3 to 32. c. Write a program in Pascal to declare the array. d. Write code to display all the contents of the array.

Searching an Array
An array can be searched by using the for loop to compare each value until the desired result is found. This is called a linear search. Consider the Pascal code below that searches the elements of the array for the value 90:
Program search;
Var
ArScore: array [1...1000] of integer; X: integer;
Begin
For X:= 1 to 1000 do Writeln (‘enter the student score’); Read (ArScore[X]); If ArScore[X]:=90 then Writeln (ArScore[X]) Else Write (‘score not found’); Readln; End.

TEST YOUR UNDERSTANDING

1. A Pascal program contains 10 integers in an array named LONG. Write codes to print the sum of all the integers and find all integers smaller than the integer nine (9). 2011 Q 10

Similar Documents

Free Essay

Problem Solving

...Problem-Solving Process: Part I HUM/111 March 30, 2014 Pam Strunk Problem-Solving Process: Part I The situation in my life what I have chosen to use for is assignment is my sons weight. This is something his father and I have weekly discussions about. The problem is my son is overweight for his age and height and we want him to be a healthier weight. The issue is that his father believes he does not eat a healthy diet and I disagree with this. His father only sees and spends time with our son every other weekend and assumes that the diet I feed him is full of fast food and candy. I spend every day with my son and almost the 2 days every other weekend that he is with his father and know that he does eat a healthy diet that I prepare for him. The way that I distinguish what is a problem and what is an issue in this situation is by thinking about the main thing we both agree on and what we disagree on to some extent. In this situation the main thing we both agree on is that my son could be at a healthier weight, this is the problem. Something we disagree on to some extent is weather my son is eating a healthy diet, this is the issue. Another way is to ask myself the following questions to determine whether it was a problem or an issue. If the answers to these questions are yes then the subject is an issue and not a problem. If not, then it is a problem and not an issue.  Does the subject arouse...

Words: 656 - Pages: 3

Premium Essay

Problem Solving

...Emmitt Blevins GS1140 Mr. Ellington FAMILY PROBLEMS For my final assignment there was a list of topics to choose from, most of the topics I couldn’t relate to except what I have chosen, a family problem. This topic will be the most difficult to put together, as I will write about a dysfunctional mother. Before she became the dysfunctional mother she had a promising future. When I was in high school I met the mother of my daughter, we fell for each other and got married. Decided we wanted to start a family after a year of being married, we felt it was time. We got pregnant and lost the baby girl at 10 weeks, we were devastated, but we weren’t giving up. Month goes by and we learn we are pregnant once again, this time we took the proper medical steps that we didn’t know about before. We learned we were pregnant right after 9/11, which to us made our pregnancy that much more exciting. Time goes on, life choices have broken me and her up. Our daughter, that’s now 12 years, wasn’t 2 years old yet. I have often wondered to myself, if we didn’t get divorced would she be this way. Is this truly my fault? Then I realize she made her choices which put her where she is today. Since her and I broke up, we have both moved on and started separate lives but always connected. She had gotten remarried and had a new life with three children (2 his 1 hers). She had settled into her life happily, at least that’s how she showed herself to the public. She had started telling...

Words: 1902 - Pages: 8

Premium Essay

Problem Solving

...Individual Strength and Problem-Solving Techniques Decision making and problem solving are two different things. The text states, “Decision making refers to the “passing of judgment on an issue under consideration” and “the act of reaching a conclusion or making up one’s mind.” Engleberg and Wynn also agree that “group decision making results in a position, opinion, judgment, or action.” (Engleberg and Wynn, 2010). The text also states that “problem solving is a more complex process in which groups analyze a problem and develop a plan of action for solving the problem or reducing its harmful effects.” (Engleberg and Wynn, 2010). I am currently the president of the youth department at my church. Not only is decision making vital to having a successful group, but problem solving as well. There are four other adults that make up the group and are responsible for a specific unit of the department. The age range is six to nineteen years old. The youth are from diverse economic backgrounds, and their problems vary from one extreme to the other. Some are members of the church and some are not. The ultimate goal of the group is to provide a safe place outside of school and home in which they can communicate their feelings, let them know that someone cares about their wellbeing and they are not alone. They teach them that they can make a positive contribution to society and they are valuable. Meetings are held twice a month, we participate in various activities around the...

Words: 1394 - Pages: 6

Premium Essay

Problem Solving

...Problem Statement Jana LeBeau MGT/521 November 8, 2010 Sandra Griffin Problem Statement “Kudler Fine Foods is committed to providing our customers with the finest selection of the very best foods and wines so that your culinary visions can come true” (Kudler, 2003, p. 3). While holding true to their vision Kudler Fine Foods is having some select issues such as too many stores, high paid employees and the need to expand online ordering. Once these issues are addressed Kudler Fine Foods can begin to bring in the desired cash flow Kathy Kudler is looking for be for she decides to retire and sell off the company. Solving the issues such as location, lack of delegation to managers, and strengthening online sales will allow Kudler Fine Foods to continue with the vision to service customers in every way possible through the stores and online and achieve the goal of becoming a productive company. Issues Selected. Kudler Fine Foods (KFF) has several issues beginning with having too many stores for one person to run, opening too many stores in surrounding areas in a short amount of time, high paid employees, and the need to expand online ordering. These issues, if addressed properly can be resolved and allow KFF to continue in growth physically and financially thus allowing Kathy better leverage when she decides to sell off the company and retire. Management’s Efforts to Solve the Issues. Kudler Fine Foods currently has three locations and is looking to open another...

Words: 687 - Pages: 3

Premium Essay

Problem Solving

...The Case of the Filing System I had to really give this assignment some thought since most of my problem solving decision have to do with how to make my job more efficient. I had to consider if any of my decision-making or problem-solving solutions had ever affected the culture of the company in any way. Since, I have never held an official position as a manager or had the ability to manage a project within a company I kept running into a road block in deciding what decision or problem I had experienced in my current or pass workplace that I could discuss. In thinking about this I realized that sometimes the decision-making or problem-solving that can have a big impact on the company is a big way can be the smallest contribution an individual employee can make. In my experience in working, I have realized that you are only as effective as you are organized. In saying this, my discussion is based on the filing system at a pass job that was a huge problem for the accounting department. The current filing system in the accounts payable department was time consuming and not efficient. It was next to impossible to find files or file anything without fear of never finding your files. A major problem with the current filing system was that you had too many years in one location. It is very important when working in any area of accounting that you keep accurate records for auditing reasons. These records not only affect the individual employee, but the company as...

Words: 807 - Pages: 4

Premium Essay

Problem Solving

...University of Phoenix | Solving a Problem | Wedding Day Disaster | | Rachel Bronson | 12/10/2012 | | Step One: Finding a Problem Challenges are something that doesn’t always have to be found, since occasionally they will happen in the shape of an obvious issue or problem. In other examples, they won't always present in this way, they may offer as a chance to improve a present situation. It's a good habit to be prepared for as well as continuously searching for a problem to fix. Step Two: Stating the Problem Find the best method to express the issue or problem. While doing so, think about using as many solutions as is possible since every solution will open up different doors as well as offer different suggestions. Selecting the right solution is the most difficult part of this process, and it may be better to wait to determine which solution to use until later in the creative process when we have got more facts as well as suggestions available. Step Three: Research the Problem Analyze and get any kind of connected information to deal with the issue or problem at hand. Appropriate investigative ways incorporate thinking about experiences, getting any related information through recently experience, getting interviews of people educated on the subject matter, or old-fashioned study. Getting any information to help come up with a solution will only benefit you in the long run. Step Four: Come up with a Solution Discuss and gather as many solutions...

Words: 1241 - Pages: 5

Premium Essay

Problem Solving

...Monee Problem Solving GS 1140 Homework #1 6/22/14 Today we as people face problems some large some small. No matter the size these problems all need solving, but keep in mind the objective is to choose the best solution. We must practice our problem-solving skills often to enhance them. Knowing the perceived problem, identifying the real problem, and applying the Building Blocks of the Heuristics are a few of the known methods in problem-solving. A common mistake made today in problem-solving is not knowing the perceived problem. The perceived problem can have your attention misled to something less important than the actual problem and only focused on treating the symptoms, which can give us quick satisfaction but temporary results. Like “the leak” example referred in chapter 1 the perceived problem seemed to be the leaking on the floor making a mess. Solution was putting a bucket under leak to catch the water, quick satisfaction but temporary results. Identifying the real problem can be a little tricky because it’s a lot more difficult to find and can be often overlooked. The real problem in “the leak” example used in chapter 1 was the cause of the leak. If they find the cause of the leak and fix it the problem is fixed no leaks, no buckets, mess, and best of all long term results. Now the thought of never making a mistake or faulty judgments is unreal but methods and techniques such as “the Building Blocks of the Heuristic” come...

Words: 336 - Pages: 2

Premium Essay

Problem Solving

...Problem Solving and Judgment Selina Appel, Denise Locke, Christina Stamatien, and Amber Hamilton PSY 640 May 12, 2014 Dr. Brian Newbury Problem Solving and Judgment What is problem solving? Problem solving is a complex mental process that includes identifying, analyzing, discovering and solving problems. “Problem solving is described in terms of searching a problem space, which consists of various states of the problem” (Anderson, 2009, p. 212). Often times, problems can be difficult, and decisions can be challenging. Most problem solving issues require a lot of thought, emotion, and research in order to come up with a conclusion. The main goal in problem solving is to hinder and conquer obstacles and find the best solution to resolving the issues. Individuals use different strategies for problem solving in everyday life, whether at home, at work, or just in general. This paper will illustrate bullying in the workplace, and how to strategize. This paper will also demonstrate problem solving in the workplace, methods to problem solving, judgments in problem solving, and an implemented plan. Methods to Problem Solve Bullying in the workplace is a psychological harassment that impacts the mental health of individuals’ wellbeing. Bullying can lead to employee stress and it targets the physical and mental health of the individual (Namie & Namie, 2013). Bullying in the workplace is not acceptable behavior and there are ways to identify or deal with bullying. Mangers...

Words: 1516 - Pages: 7

Premium Essay

Problem Solving

...1. I think I am a problem- solving person because I take my time to understand all the facts accurately, and look for strategies for coming up with solution. “Good problem solvers are optimistic about the possibilities for solving a problem through a careful, persistent analysis. They start by breaking the problem into parts starting at a point where they can make some progress, and working from there. They are active in trying different problem solving methods, such as making diagrams, asking themselves questions, and trying to pin down abstractions as concrete examples.” 2. The characteristic I think I need to improve is that I do not know where to start when doing a project, essay, etc. 3. The way I think I can improve the characteristic of not checking for accuracy is by starting to re-check every step of the problem, going step by step approaching all the details, and re-read the instructions from the beginning, to avoid any guessing. Another way to improve is try to carry-out a self- testing procedure and test my own answers by not following my intuition and check for accuracy in my answers before finish and handle the assignment. 4. Hay que tener en cuenta que una persona que tiene problem-solving skills, que es la que escojimos anoche como “attitude- efectiva”es tambien aquella que re-lee y explora, que mira muy bien los detalles , entonces si escojes la ineffective como la que discutimos anoche la de “do not check” “no chekiar “ es como que contrario...

Words: 299 - Pages: 2

Premium Essay

Problem Solving

...Regina Gilman Unit 3 Analysis 3.1 Problem Solving Jason isn’t passing his computer class and the teacher is trying to give him the opportunity to make up late work or help stay above passing. Jason leaves early and doesn’t stay to for the whole class and that gives the instructor a reason to no longer try and help Jason pass the class since he isn’t putting for all of his efforts in passing. Jason isn’t applying himself like the instructor wants him to and Jason blames the instructor for him failing the class instead of himself. The instructor seems to understand that some things may come up outside of class but Jason leaves class early every week instead of trying to prove to his instructor that he is willing to work hard and make up the late or missed assignments. Jason should let the instructor know why he doesn’t stay for the entire class every week. Jason may be leaving early because his employer may not be working around his school schedule, or Jason could be a single dad and doesn’t have anyone to pick-up or watch his children while he is in class. Regardless Jason should inform the instructor about these issues so it doesn’t look like Jason just doesn’t want to be in class and isn’t applying himself. 1. Jason needs to accept the fact that he is 100% the problem 2. The Dean should tell Jason that he needs to have a meeting with the instructor to see if there is any way he could accept late completed work. 3. Jason needs to meet with the instructor and give...

Words: 439 - Pages: 2

Premium Essay

Problem Solving

...Problem Solving Renae L. Hayworth BEH225 Janurary 20, 2012 Ann Reed Problem Solving “Trial and Error, information retrieval, algorithms, and heuristics an all assist at problem solving. There are two ways most people think. Divergent thinking is usually someone who is open minded and can think outside the box. Convergent thinking can be thought of thinking inside the box or narrow minded thinking” (Morris & Maisto, 2010). When I try to solve a problem, I tend to think outside the box. However, my methods are never the same, depending on the situation. Trial and error are great if it is an easy problem. For example, buying new pants, I know this can be an obstacle. When I was young I could just go and pick out my size and leave. I never had to try on a pair of paints because my body didn’t change much. As I have gotten older and now have a child, my body has changed. I know have to grab pants that I think will fit and try them on. Not all woman jeans are made the same; some sizes are smaller or bigger than other brands. This can be a struggle and therefore, I need to use trial and error. I grab let’s say three pairs of pants and one will fit. This will be the ones I buy. Information retrieval is something I think of as when I studied for my driver’s license. I needed experience but I needed to study the driver’s manual. This helped me learn the rules of the road, because these rules of the road will keep me safe. Also, my grandfather has given me tips when...

Words: 697 - Pages: 3

Premium Essay

Problem Solving

...University of Phoenix Material Conflict Resolution Worksheet Complete the Resolving Conflicts in Teams simulation located on the student website. Reflect on the experiences with different conflict management styles in Ch. 9 of Working in Groups and on your own experiences. Answer the following questions. |1. |What are your strengths in resolving conflict? |My strengths would be compromising | | | ,collaborating will help achieve a win –win solution. This will help all parties involved to attain a measure of | | |satisfaction. | | |  | | | | | | | |2. |What skills do you want to improve? | I want to improve accommodation. | | |  | | |  | | | | | | ...

Words: 327 - Pages: 2

Free Essay

Solving the Problem

...PROBLEM-SOLVING PROCESS Restating the Problem The problem was discussed in detail in the previous assignment. The brief summary is that health problems of a close friend's family has left her emotionally drained. The time constraints of assisting with the medical treatment program have left her unable to properly focus on work and family considerations. Her inability to care for work matters leaves her with a sense of guilt and concern that she might be viewed negatively. In like manner, her inability to interact with her family as she previously had has left her bereft of normal support mechanisms. The loss of normalcy is as much the issue as is the serious health problem itself. Thus, the situation can be divided into two major elements: (a) the family health problem and (b) the accompanying disruptions to normal life. The health problem itself cannot be fixed or changed (except by the already progressing treatments). Therefore, what can be addressed is the emotional effects and the change in routine. Investigate the Problem The problem then must first be isolated. Each component can be addressed individually. The two broad themes are scheduling and emotional management. In the first case, the points are the lack of time and the feeling of being harried at all times. The time constraints of the medical program create this feeling. Investigating the problem calls for looking into how to better schedule time during family medical problems. Tips in this regard...

Words: 634 - Pages: 3

Premium Essay

Problem Solving

...03-60-207 Problem Solving and Information on the Internet Fall 2011 ------------------------------------------------- Assignment 1 Part I Webpage URL http://www.cnn.com/2011/09/27/tech/web/online-bullying-poll/index.html The issue “More than half of all teens and young adults say they have been bullied or harassed online, according to the results of a new poll on Internet behavior.” (Doug Gross) Conclusion A recent survey showed anonymous respondents who took part in the survey were teens who believed that they were being physically, emotionally and mentally harassed through the digital media. However, controversial the problem might be, the teens believed the most common forms of harassment included: “... posting something online that's not true, writing things online that are "mean" and sharing texts or other messages that were meant to stay private, according to the results…” The survey is part of MTV's campaign, a multiyear effort to stamp out digital abuse. Reasons concluded by Amos The survey is a part of MTV's "A Thin LIne," campaign, a multiyear effort to stamp out digital abuse. Ten percent of respondents who said they'd exchanged sexual messages said they'd done so with people they only know online -- a steep drop from the 29 percent who said they'd done so in 2009. “The ability to stay anonymous online is often cited as a reason why digital bullying can get so bad, survey respondents said that, more often than not, that's not the case” "Most say the...

Words: 559 - Pages: 3

Premium Essay

Solving Problems

...Five-Step Model of Problem Solving List the five steps in the model for problem solving from Ch. 6 of Critical Thinking in Everyday Life. Write a brief description of each in your own words. Cite any sources you use. |Step |Description | |Step 1: What is the problem? |My problem is deciding whether I should stay at my job. | |Step 2: What are the alternatives? |The alternatives would be to move on to a different job. | |Step 3: What are the advantages or disadvantages? |The advantages would be higher pay but the disadvantage is I would be | | |a new comer at a new job. | |Step 4: What is the solution? |My solution is to start at my new job but stay at my old job at the | | |same time so I have a back up plan. | |Step 5: How well is the solution working? |So far so good but I have no time at home. | As I fought with the struggle on whether it was worth it to go for my Bachelors or not my biggest problem was my job...

Words: 467 - Pages: 2