Wednesday, March 16, 2011

REPETITON/ITERATION STATEMENTS


This program is an example of a repetition statement because it loops.

Monday, March 14, 2011

SELECTION

OUTPUT
SOURCE CODE

This program in Visual Basic 6.0 uses a selection structure because the results yield a true or false value.

Tuesday, March 1, 2011

Programming Practices

1. PROGRAMMING READABILITY

   "In computer programming, readability refers to the ease with which a human reader can comprehend the purpose, control flow, and operation of source code."


Readability is an important phase in computer programming. It determines what language the machine can read and execute.

LOGIC STRUCTURE

    "Logic is used in most intellectual activities, but is studied primarily in the disciplines of philosophymathematicssemantics, and computer science. Logic examines general forms which arguments may take, which forms are valid, and which are fallacies. It is one kind of critical thinking. In philosophy, the study of logic figures in most major areas: epistemologyethicsmetaphysics. In mathematics, it is the study of valid inferences within some formal language".


In computer Science, logic is somehow the basis for a program to execute properly.


CODING PRACTICE

"Best coding practices for software development can be broken into many levels based on the coding language, the platform, the target environment and so forth. Using best practices for a given situation greatly reduces the probability of introducing errors into your applications, regardless of which software development model is being used to create that application."

source: http://en.wikipedia.org/wiki/Best_Coding_Practices


2. Program Documentation


"Program documentation includes hard-copy or electronic manuals that enable users, program developers and operators to interact successful with a program. User documentation normally consists of a user's manual. This manual may provide instructions for running the program."

Like it said, a hard copy or a manual that contains set of instructions to interact successful with a program.

Program Listing

"Program Listing is a verbatim environment for program source or source fragment listings. Program Listings are often placed in Examples or Figures so that they can be cross-referenced from the text."


Program Specification

"A statement of the precise functions which are to be carried out by a computer program, including descriptions of the input to be processed by the program, the processing needed, and the output from the program. "



MICROSOFT VISUAL BASIC 6.0

I chose this language for it is easy to use and it provides a GUI.