Поиск

Полнотекстовый поиск:
Где искать:
везде
только в названии
только в тексте
Выводить:
описание
слова в тексте
только заголовок

Рекомендуем ознакомиться

Остальные работы->Реферат
So many battles, so many wars, and so much bloodshed. The unprecedented amount of casualties, deaths, destruction and cruelty will truely make this ce...полностью>>
Остальные работы->Реферат
Social realism, in art, describes both a specific stylistic approach and an overall attitude toward the subject. Social realism aims toward the not so...полностью>>
Остальные работы->Реферат
There was once a time when Goliath white men roamed the earth. They had names similar to Boog, Harmon, and Moose (Richmond 184). They wandered through...полностью>>
Остальные работы->Реферат
As people get upset with something, they need to find another to blame. Most likely results stick out more than causes, and in turn the result gets th...полностью>>

Главная > Реферат >Остальные работы

Сохрани ссылку в одной из сетей:

Programming Is Just Problem Solving Essay, Research Paper

A computer cannot think, so this means that in order to get it to do any useful work, a user must provide it with a program. A program is a list of instructions that describe how to solve a particular problem, written in a language that a computer can understand, although programming a computer is a lot more involved than simply writing a list of instructions. Problem solving is a crucial component of programming and a broadly defined useful skill. It is a skill you already know a great deal about, one which you use every day, but one which you probably have never studied methodically.

Initially, you will probably spend a lot of time in the laboratory entering the programs. Later you will spend more time removing the errors that inevitably will be present in your programs. Resist the temptation to start entering your program as soon as you have some idea how to write it. Instead, take your time and think carefully about the problem and its solution before you write any program instructions. This means you must first recognize the problem that exists, and clarify what the problem is before you begin your programming tasks. Before you write a program to solve a particular problem, you must consider carefully all the aspects of the problem and then develop and organize its solution to fit the problem at hand. You must state the problem and get a clear understanding of what is required for its solution in order to begin the process of problem solving. Although this step sounds easy, it can be the most critical part of problem solving and must be done as accurately as possible. You must study the problem carefully, eliminating aspects that are unimportant and zeroing in on the root problem. This process is called abstraction.

If the problem is not totally defined, you should request more information from the person or program posing the problem. That is the first step; the second is the analysis. Here you must understand what the problem asks you to do. Gain a clearer understanding of what the problem is asking and then eliminate unnecessary information, identify the program’s inputs, its desired outputs, and then define any formulas, requirements, or constraints on the solution. Identify what information is to be supplied by the program’s data and what results should be computed and displayed accordingly. Determine the required form and units in which the results should be displayed (for example, as a table with specific column headings). After the analysis comes the design. Break down the problem into smaller subproblems, which will make each task smaller and easier to manage. Flow-charts (a chart that shows the program flow) are used in this stage to help break down the problem. Once enough design detail has been added, develop a list of steps called an algorithm to solve each subproblem, and verify that the algorithm solves the problem as intended.

Writing the algorithm is often the most difficult part of the problem-solving process. Once you have an algorithm, you should verify that it is correct before proceeding further. The algorithm should be complete, cover all parts of the problem, unambiguous, deterministic and finite. The next step is the implementation. Implement the algorithm as a program in order to annunciate its criteria. Knowledge of a particular programming language is required because each algorithm step must be converted into a statement in that programming language. At the end, test the completed program and verify that it works as expected. Check the results if they are valid, make sure that the solution you gave is the solution to the problem. Don’t rely on just one test case; run the program using several sets of data.

Once you have written the program out, check your solution by carefully performing each instruction as the computer would. Compare these results with the expected results, and make any necessary corrections to your program.


Загрузить файл

Похожие страницы:

  1. Age Is But A Number Essay Research

    Реферат >> Остальные работы
    Age Is But A Number Essay, Research Paper Alcohol, a colorless, volatile, ... through role modeling and educational programs (Engs, Forbidden Fruit ). The ... of may factors and not just the rise in purchase ... age at 21 is not going to solve that problem. The idea ...
  2. Who Is Free To Choose Essay Research

    Реферат >> Остальные работы
    Who Is Free To Choose Essay, Research Paper Who Is Free To Choose? ... to other countries, not just the United States. Not ... the Internet is the last route to solving the problem. If anything ... find objectionable, but filtering programs that deny children and ...
  3. Is Television Good For Children Essay Research

    Реферат >> Остальные работы
    Is Television Good For Children Essay, Research Paper Television has become ... that these days parents just sit their kids in ... how unrealistic television programs can be is Full House. This ... the only ways to solve a problem. This is always the case with ...
  4. Y2k Essay Research Paper Y2KT h e

    Реферат >> Остальные работы
    Y2k Essay, Research Paper Y2K T h e Y e a r 2 0 0 0 P r o b l e ... some of their programs survive for only ... problem looks straightforward, all we need is just to check each ... problem. Moreover, the problem cannot be solved individually. Y2K is a universal problem ...
  5. The Ticking Bomb Y2k Essay Research Paper

    Реферат >> Остальные работы
    The Ticking Bomb (Y2k) Essay, Research Paper T h e Y e a r 2 0 0 0 P r o b ... of their programs survive for ... problem looks straightforward, all we need is just to check each ... problem. Moreover, the problem cannot be solved individually. Y2K is a universal problem ...

Хочу больше похожих работ...

Generated in 0.0014100074768066