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
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

create a flowchart showing average score for the 3 quizzes assume that there are 3 sections each having 5 students the only valid number to be entered is 1-100 for the quizzes shou

QUESTION 1 Describe the binary search algorithm using an example of your own. QUESTION 2 (a) By showing all your workings, give a big-O estimate for f(x) = (x + 1)lo

hello do have c programming experts

Because it is enormously low level, assembly language can be optimized enormously well. Therefore assembly language is used where the extreme performance is needed for applications

what is the sql command to List all the join conditions or join paths (pairwise) existing between tables.

Question 1 Explain in detail the different modes of Transportation Question 2 State the meaning of Distribution Strategies. Discuss the different Distribution Strategies

Question 1. Explain the levels of management? Question 2. What are the advantages and disadvantages of DBMS Question 3. What are the advantages and disadvantages o

Question 1 List the Basic essential components of a computer network Question 2 What are the functions of (i) Routers (ii) Bridges Question 3 What are the advantag

Question 1 Elaborate the various steps in performing a Mail Merge. Execute one mail merge operation for sending invitation for a conference which is being conducted in your organi