answersLogoWhite

0

An algorithm is a description of a method for accomplishing some task. For example, an algorithm for driving to a friend's house could be:

1. Find your keys

2. Get into the car

3. Start the engine

4. Put transmission into gear

etc...

Psuedocode is an implementation of an algorithm in a code-like format. For example, the above algorithm in psuedocode could look something like:

while(keys.location != "in your hand")

{

search_for_keys();

}

walk_to_car();

if(car.door == locked)

car.door.unlock();

engine.start();

...
An algorithm describes the steps required to solve a problem. Algorithms are written using natural language (e.g., English).

Pseudocode is a human-readable version of an algorithm written using an informal language that is very similar to a programming language but which can be more easily translated into any specific programming language.

What else can I help you with?

Related Questions

What is difference between alogrithm and pseudo code?

An algorithm is an abstract set of rules used to solve a specific problem. Pseudocode is just one of many ways to represent an algorithm.


Types of algorithm?

pseudocode


What is the difference between an algorithm and pseusodocode?

Pseudocode is one method of describing an algorithm. Other methods use diagrams, prose, or maybe even regular programming languages. An algorithm, on the other hand, is a method, a recipe, of solving a particular problem or group of related problems.


What is a text based approach to documenting an algorithm?

pseudocode


Is a text based approach to documenting an algorithm?

pseudocode


What is the text-based approach to documenting an algorithm?

pseudocode


Difference between pseudocode and structured English?

structured English resembles spoken Englishwhere as pseudocode resembles programming languageWhat_are_the_differences_between_structured_English_and_pseudo_code


Develop an algorithm to display all prime numbers from 2 to 100 Give both the pseudocode version and the flowchart version Convert your pseudocode into a Java program?

Develop an algorithm to display all prime numbers from 2 to 100. Give both the pseudocode version and the flowchart version. Convert your pseudocode into a Java program.


Why do we need computer group and organisation?

algorithm pseudocode (a+b)-2?


How to write an algorithm in pseudocode effectively?

To write an algorithm in pseudocode effectively, start by clearly defining the problem and breaking it down into smaller steps. Use descriptive variable names and comments to explain each step. Test your algorithm with different inputs to ensure it works correctly. Keep the pseudocode simple and easy to understand for others who may read it.


What are the primary methods used to develop an algorithm?

Three methods commonly used to develop the algorithm are flowcharts, pseudocode, and hierarchy charts.


What is the difference between pseudocode and trace table?

pseudocode is a sentence-like representation of a piece of code while a trace table is a technique used to test a algorithms.