jagomart
digital resources
picture1_Steps In Computer Programming Pdf 197612 | Gsah   Cadette Coding Basics   Pseudocode


 163x       Filetype PDF       File size 0.96 MB       Source: www.girlscouts.org


File: Steps In Computer Programming Pdf 197612 | Gsah Cadette Coding Basics Pseudocode
coding basics badge pseudocode pseudocode is a way to plan a computer program using human friendly language pseudo is greek for false so pseudocode is false or imitation code it ...

icon picture PDF Filetype PDF | Posted on 07 Feb 2023 | 2 years ago
Partial capture of text on file.
              Coding Basics Badge
              Pseudocode
              Pseudocode is a way to plan a computer program using human-friendly language. “Pseudo” is 
              Greek for “false,” so pseudocode is “false (or imitation) code.” It’s not actual coding, but a written description 
              of the key elements of an algorithm or program. It’s used as a quick way of thinking 
              about a program without completely writing it out in code. Pseudocode saves the programmer 
              time and still lets her check that her program will run.
              PSEUDOCODE SYNTAX
              Programming syntax has to be exact, but pseudocode syntax can be more flexible. For beginning 
              programmers, thinking of a series of steps — like a recipe that can be followed — is a good place to start. 
              Here’s an example of pseudocode for a program called Drawing a Smiley Face:
                   • Take a sheet of paper
                   • Get a pencil
                   • Draw an circle
                   • Draw the eyes
                   • Draw the smile
              You can be a little more specific, but it’s best not to use too many details. Just plan out the order of the 
              steps you think you’ll need. For example, you could write:
                   • Get a sheet of paper
                   • Get a pencil
                   • Draw a circle in the middle of the page
                   • Draw one eye inside the circle on the right side
                   • Draw the other eye inside the circle on the left 
                        side
                   • Draw the smile inside the circle under the eyes
               TIPS FOR WRITING PSEUDOCODE:
                   1.    Write only one statement per line. The main purpose of pseudocode is to break down a complex
                         process into simpler parts. Keeping one statement per line helps with this process.
                   2. Capitalize the first keyword of each main direction. This is typically the verb of the statement, and it
                         helps later when you are naming the functions in the code you write.
                   3. Write what you mean, not how to program it.
                   4. Use general programming structures so it looks like code -- this helps when changing the
                         pseudocode into real code! Use blocks of pseudocode to structure steps. Use indents in your
                         pseudocode to clarify the algorithm’s structure.
                   5. Add comments if necessary. Comments can be helpful in clarifying the pseudocode. Comments can
                         be shown with “//” in front of the start of the note, and end with another “//”.
              © 2019 GSUSA. All rights reserved. Not for commercial use. This material is proprietary to GSUSA and may be used, reproduced, distributed                                                                      1
              exclusively by GSUSA staff, councils, Girl Scout volunteers, service units and/or troops solely in connection with Girl Scouting. 
    HERE’S AN EXAMPLE OF PSEUDOCODE THAT USES BLOCKS, INDENTS, AND COMMENTS:
       //steps for an animated image with text//
      // get images //
          Get picture of cat
          Get picture of sunglasses
      //write the text on the image //
          Get green marker
             Write “I was coding before coding was cool” at the bottom of the picture
      // loop sunglasses appearing & disappearing on cat //
          Repeat forever:  Show cat picture with text for 3 seconds
          Then show cat picture with text and sunglasses on cat for 3 seconds
                                                  3
The words contained in this file might help you see if this file matches what you are looking for:

...Coding basics badge pseudocode is a way to plan computer program using human friendly language pseudo greek for false so or imitation code it s not actual but written description of the key elements an algorithm used as quick thinking about without completely writing out in saves programmer time and still lets her check that will run syntax programming has be exact can more flexible beginning programmers series steps like recipe followed good place start here example called drawing smiley face take sheet paper get pencil draw circle eyes smile you little specific best use too many details just order think ll need could write middle page one eye inside on right side other left under tips only statement per line main purpose break down complex process into simpler parts keeping helps with this capitalize first keyword each direction typically verb later when are naming functions what mean how general structures looks changing real blocks structure indents your clarify add comments if nec...

no reviews yet
Please Login to review.