Pseudocode is a set of instructions written in simplified programming language to represent the flow and operation of a program. It helps students to write the steps of an algorithm using a mix of technical terms and plain English without focusing on syntax. Pseudocode follows the structure of a programming language but can be easily written and understood by any programmer, novice or expert. This strategy simplifies the planning stage for computer programs and helps students to test a concept, recognize errors in structure, and problem solve before they convert the pseudocode to a programming language that can be read by a computer. Using pseudocode as an instructional strategy helps students to understand programming logic and the structure and key elements of code without worrying about the conventions of a particular programming language. Essentially, students map out a program using their own words.
As a learning strategy, use pseudocode when you want students to:
As an instructional strategy, use pseudocode when you want to:
Advance Prep
Include keywords that refer to common coding concepts, such as:
Follow these conventions:
Implementation
Allowing students to use pseudocode to represent the algorithm for a computer program aligns with culturally responsive teaching. Because the premise of using pseudocode is to use one’s own words and syntax to describe a program’s logic, students can learn programming logic using language that makes sense to them. Using pseudocode makes learning the basics of computer programming more relevant and accessible. It also helps to break down barriers of entry for underrepresented students in computer science education by providing a non-intimidating introduction to computer programming that prepares novice learners for formal programming challenges.
We can use pseudocode to scaffold the learning of programming concepts.
Used as a detailed step in the process of developing a program. It allows designers or lead programmers to express the design in great detail and provides programmers a detailed template for the next step of writing code in a specific programming language (Techtarget, 2005).
5.4 Algorithms & programming