Project: Chatbot
  • Chatbot Introduction
  • Challenge & Background
    • Skills & Exploration
  • Project Instructions
    • 1 DEFINE PROBLEM & VALUE PROPOSITION
      • 1.1 Warm-Up Project
      • 1.2 Initial Ideas
      • 1.3 Background Research
      • 1.4 Personas
      • 1.5 Concept Narrowing
      • 1.6 Task Analysis
      • 1.7 Value Proposition & Features
      • 1.8 Team Proposal
    • 2 DESIGN & BUILD SOLUTION
      • 2.1 Database Development
      • 2.2 Sample Dialogues
      • 2.3 Pseudocode Functions
      • 2.4 Develop Complete Dialogue Script
      • 2.5 Style Guide
      • 2.6 Code Development Outline and Begin Coding
      • 2.7 Marketing card
      • 2.8 Code Testing
      • 2.9 Prepare Development Review and Demonstration
    • 3 EVALUATE & REFINE SOLUTION
      • 3.1 Evaluation and Post Interview
      • 3.2 Chatbot Usage Analysis
      • 3.3 App Refinements
      • 3.4 Poster
      • 3.5 Prepare for Poster Review and Demonstration
      • 3.6 Public Presentation Plan and Practice
      • 3.7 Individual Reflection
      • 3.8 Present to the public
      • 3.9 Celebrate
  • Reference
    • Chatbot Code Docs
Powered by GitBook
On this page
  1. Project Instructions
  2. 2 DESIGN & BUILD SOLUTION

2.3 Pseudocode Functions

Previous2.2 Sample DialoguesNext2.4 Develop Complete Dialogue Script

Create for each programming function your chatbot will need to perform your defined tasks.

Resource:

See the example pseudocode below as a guide. Don't worry about syntax. Pseudocode is meant to describe, in plain english, what you will need the computer to process.

function: calculate ingredient amounts for recipe    
    - read ingredient amounts for a single serving from database    
    - read number of servings desired by user    
    - multiply number of servings by the single serving amounts    
    - return result

❏ Deliverable

A document containing each functions pseudocode.

✓- Below Standard

✓ At Standard

✓+ Above Standard

The pseudocode is incomplete and doesn't clearly describe what each function will do.

The pseudocode clearly defines the basic operations of each chatbot function, providing a good template for coding the Javascript functions.

The pseudocode provides a detailed description of each function that thoughtfully considers the logic needed for the programming.

pseudocode
Pseudocode on Wikipedia