Skip to main content

Programming Fundamentals: Pseudocode and Control Structures Study Guide

Learn about pseudocode as a tool for algorithm design and explore various control structures that dictate program flow. This guide covers case statements, different types of loops (DOWHILE, REPEAT..UNTIL), and the importance of accumulators in programming. Ideal for beginners learning software development logic.

Save this study guide to your study set

Sign up free

Your learning path

Fundamentals of Program Design and Algorithms

Steps in Program Design

This content outlines the steps in program development, including defining the problem, developing an algorithm, and coding into a specific programming language.

  • Program development steps
  • Problem definition
  • Solution outlining
  • Algorithm development
  • Algorithm testing
  • Desk checking
  • Coding
  • Program running
  • Program documentation
  • Program maintenance
  • Pseudocode
  • Flowcharts
  • Control structures
  • Indentation

Program Data, Types, and Structures

Programs process data using variables, constants, and literals through elementary data types and data structures.

  • variables
  • constants
  • literals
  • elementary data types
  • real
  • character
  • data structures
  • record
  • file
  • array
  • string
  • sequential files
  • random-access files
  • data validation

Programming Essentials Program Flow Charts

A program flow chart is used to describe the flow of data through a particular computer program, showing exact sequence of operations performed by that program.

  • Program flow charts
  • Terminal symbol
  • Input/Output symbols
  • Process Symbol
  • Decision symbol
  • Flow lines
  • Connector Symbol
  • Sequence control structure
  • Selection control structure
  • Repetition
  • Combined IF statement
  • Nested IF
  • Case structure

Developing an Algorithm and Defining Problems

Defining the problem involves identifying input, output, and processing components to develop an algorithm.

  • Defining the problem
  • Input
  • Output
  • Processing
  • Algorithm
  • Defining Diagram

Algorithm Design and Programming Essentials

This content explains how an algorithm name describes the function of the algorithm and demonstrates how to calculate average temperature using processing statements.

  • Algorithm name
  • END statement
  • Processing statements
  • Defining diagram
  • Input
  • Output
  • Calculate average temperature

Computing Mowing Time Algorithm

A program is required to read the length and width of a rectangular house block and a rectangular house to compute and display the mowing time required to cut the grass.

  • algorithm
  • compute mowing time
  • rectangular house
  • rectangular house

How to Write Pseudocode

A guide on how to write pseudocode using variables, basic computer operations, and mathematical calculations.

  • variable naming
  • CamelCaps method
  • computer operations
  • input verbs
  • output verbs
  • arithmetic operations
  • order of operations
  • value assignment
  • selection using IF THEN ELSE
  • repetition using DOWHILE

Basic Programming Control Structures

This topic covers basic control structures including sequence, selection, and repetition using pseudo code.

  • sequence control structure
  • selection control structure
  • repetition structure
  • pseudo code
  • DOWHILE loop
  • simple selection
  • combined IF statements
  • logical operators
  • NOT operator
  • nested IF statements
  • relational operators
  • leading decision loop

Python Programming Essentials and Fundamentals

Programming Essentials Pseudo Codes and Structures

This content explains pseudo codes including the case control structure and different types of repetition control structures.

  • case control structure
  • repetition control structures
  • leading decision loop
  • trailing decision loop
  • counted loop
  • DOWHILE structure
  • REPEAT ..UNTIL structure
  • endless loop
  • accumulators

Introduction to Python Programming Language

Python is a powerful modern computer programming language that uses an interpreter and relies on indentation as a control structure.

  • Python language
  • IDE
  • Data types
  • Mathematical operators
  • Input /Output
  • Strings
  • Range() function
  • Control structure
  • Iteration
  • For loop
  • while loop
  • Variables
  • Indentation
  • Object-oriented nature
  • Interpreter
  • Memory management

Python Variables and Built-in Data Types

This content covers Python variables, assigning values, built-in data types, and mathematics operators.

  • Variable naming rules
  • Case sensitivity
  • Assigning values to variables
  • Built-in data types
  • int
  • float
  • str
  • bool
  • type() function
  • Mathematics operators

Python Programming Essentials and Fundamentals

An introduction to Python language basics including built-in functions, string manipulation, conditional statements, and iteration using for loops.

  • print() function
  • sep keyword argument
  • comments
  • input() function
  • built-in functions
  • int()
  • str()
  • bool()
  • chr()
  • ord()
  • strings
  • string concatenation
  • string repetition
  • indexing
  • slices
  • range function
  • comparison operators
  • iteration
  • for loops

Python Iteration and Control Flow Statements

This content covers the while loop, break statement, continue statement, and pass statement within Python iteration.

  • Iteration
  • While Loop
  • break statement
  • continue statement
  • pass statement

Make it your own.

Keep these readings and topics in a new study set, or add them to one you already use.