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 1 Explain different functions of an operating system. Explain the evolution of operating systems Question 2 Explain process creation and process termination Ques

hello do have c programming experts

Types of Printers 1. Impact printers The impact printers produce the image through a mechanism of striking on the stationary. 2. Line Printer This type of printer

sum of first 100 integers

Internal Structure of Agents We have looked at agents in conditions of their outside influences and behaviors: they take effort from the atmosphere and do lucid actions to chan

even though most systems only distinguish among user and kernel modes, some CPUs provide multiple modes. Multiple modes could be used to provide a finer-grained security strategy.

Question 1 Discuss the impacts of disaster faced by the organization Question 2 Explains the steps involved in disaster recovery planning Question 3 What do you mean by

1. Suppose that the meaning of the BUN instruction of the Basic Computer is changed to implement the relative addressing mode, i.e PC a) Write an optimal operation sequence to im

Mike sells on the average 15 newspapers per week (Monday – Friday). Find the probability that 2.1 In a given week he will sell all the newspapers [7] 2.2 In a given day he will sel

Binary Codes: We have seen earlier that digital computers use signals that have two distinct values and there exists a direct analogy between binary signals and binary digits.