Computer Operations, Solving Problem and Algorithm

Authors Avatar

Computer Operations, Solving Problem and Algorithm

University of Phoenix

Mayada Set

        PRG/210        

Fundamental of Programming with Algorithm and Logics

Instructor Name: Guillermo A. Hernandez

Date: May 10, 2009

During today’s lecture on programming languages and program development cycle, computer programming involves a lot more than merely entering instructions into a computer. To help document a solution algorithm, programmers use design tools. Two structured design tools are program flowcharts and pseudocode. This paper attempts to provide six basics computer operations and introduces common words and keywords used to represent these operations in pseudocode. Pseudocode uses short, English-like phrases to describe the outline of a program. It’s not actual code from any specific programming language, but sometimes it strongly resembles actual code.

  1. A computer can receive information.

The verbs Read and Get are used in the pseudocode, when a computer is required to receive input from a particular source, whether it is a terminal, a disk or any other device. The verb Read is used when the algorithm is used to receive input from a record on a file. The verb Get is used when the algorithm is to receive input from the keyboard.

Join now!
  1. A computer can put out information

When a computer is required to supply information or output to a device, the verbs Print, Write, Put, Output or Display are used in the pseudocode. Print is usually used when the output is to be sent to the printer, while Write is used when the output is to be written to a file. If the output is to be written to the screen, the words Put, Output or Display are used in the pseudocode. An output Prompt instruction is usually required before an input Get instruction. The Prompt verb is used when ...

This is a preview of the whole essay