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
Multiprogramming Multiprogramming means capability of several programs to simultaneously occupy a portion of the computer’s memory and compete for central processor time. Th

Assignment :  It is composed of variable name, an assignment operator of the language and a value or variable or some expression as per composition allowed based on rules defined

Question 1 What are the features that Bash shell provides? Question 2 Explain Runlevels Question 3 Discuss the following                           1) Links 2) Doma

QUESTION (i) Write short notes on each of the following: a) Shelf reading b) Joint Fiction Reserve c) London and South-Eastern Library Region d) Document access

what is CAI? explain its pit falls.

different types of software interfaces which falls in different categories

Does Process Manager in Operating System know the dependency order that Process A depends on Process B?

Question 1 Describe HSV and CMYK color models Question 2 Describe gamma and its importance Question 3 What are the steps involved in image manipulation? Que

Create a database,show all ojectives and give a fruitful introduction and also state how it will be implemented

Algorithm : 1. Read the values of principal amount, time and rate of simple interest into the locations labelled as P, T, R. 2. Set the count T to 1 implying the end of a year. 3.