pseudocode n.
Download
Skip this Video
Loading SlideShow in 5 Seconds..
Pseudocode PowerPoint Presentation
Download Presentation
Pseudocode

Loading in 2 Seconds...

play fullscreen
1 / 5

Pseudocode - PowerPoint PPT Presentation


  • 240 Views
  • Uploaded on

Pseudocode. Chapter 13. Designing with Pseudocode. Pseudocode is “fake code” that allows the designer to represent the outline of essential or crucial code segments for the purpose of discussion. Pseudocode stops short of actual implementation. What is Pseudocode?.

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

Pseudocode


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
    Presentation Transcript
    1. Pseudocode Chapter 13

    2. Designing with Pseudocode • Pseudocode is “fake code” that allows the designer to represent the outline of essential or crucial code segments for the purpose of discussion. • Pseudocode stops short of actual implementation.

    3. What is Pseudocode? • Pseudocode is usually not compilable. • Some “formal” Pseudocode can be considered a “PDL”: Program design language. However many times it is just “made up as we go along.” • Pseudocode can be useful for estimating how much real code needs to be written: some pseudocode can be converted to real code and a ratio established to estimate how many lines of real code might be written.

    4. What is represented by pseudocode? • Major and important control flow: • Decisions (if/then/switch) • Function calls • Major and important data manipulation: • Dereferencing of major structures • Data comparisons and conversions

    5. What shouldn’t be represented by pseudocode? • Mundane manipulations: • Character-by-character operations (finding the end of string, etc.) • Just about anything that can be represented by a “code idiom”: leave something for the programmer to do!