Programs - programming language, Basic Computer Science

Programs - programming language:

Programs to implement algorithms on the computer must be written in a language that the computer can understand. It is fruitful, therefore, to describe algorithms in a language that resembles the language used to write computer programs.  This is called pseudo code.  It is not a programming language with a rigid syntax, but is similar to one.  The idea is that it should be easy to write a program by looking at the pseudo code.  

Let us take few problems to illustrate how to express the solution to a problem in the form of an algorithm. We will also see how algorithm can be diagrammatically represented using flow chart, and also how a program can be written based on the algorithm.  For providing a solution to any problem some input from the user is required. In the following examples the number n that is expected from the user should be an  integer. In the program, it will be declared of the required type only, referred as data type of the variable. A Detailed description of variable and data type is given in a later section.  

Posted Date: 10/23/2012 3:33:40 AM | Location : United States







Related Discussions:- Programs - programming language, Assignment Help, Ask Question on Programs - programming language, Get Answer, Expert's Help, Programs - programming language Discussions

Write discussion on Programs - programming language
Your posts are moderated
Related Questions
Brief Define the Phases of Waterfall Model

Writing Assignment 1: Your boss wants to know about the risks of corporate blogging and recommended policies to prevent companies from liability. Write a properly informal for

For multi-national business IT system, free and open source software (FOSS) is recommended over a proprietary system. The reasons for this recommendation are: 1. Security I


Operating Systems: The operating system is the software that mediates between the applications programs and a level of instructions nearer to the machine's operations. In othe

Briefly explain who a hacker is and what the activities of a hacker are?k question #Minimum 100 words accepted#

Application Software:   Application software is designed and developed to accomplish one or more specific task or solve a particular problem.    Application software may be

Digital Camera: A Digital camera is an electronic device which takes video or still photographs or both, digitally by recording images via an electronic image sensor. Digital

QUESTION (a) Convert each of the following expressions to prefix and postfix. (i) (A+B)*(C+D) (ii) A-B/(C*D^E) (^ denotes exponentiation) (b) The following algorithm c

Mobile telephone networks started with analog technology. Analog cellular networks were known as first generation (1G) networks. Such networks had limited capacity, and were subjec