1 / 6

Introduction

Introduction. Roadmap to Programming work, right, fast KISS. A Roadmap to Programming (0). Mathematical Model (Graph, Tree, Set, List, ...) Strips away unimportant details may show that this problem is just like some other problem (already solved? known to be hard? Informal Algorithm

filbert
Download Presentation

Introduction

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. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Introduction Roadmap to Programming work, right, fast KISS CS 303 – Introducton Lecture 2

  2. A Roadmap to Programming (0) Mathematical Model (Graph, Tree, Set, List, ...) Strips away unimportant details may show that this problem is just like some other problem (already solved? known to be hard? Informal Algorithm Sketch of a program; overall control structure Operates on Mathematical Model CS 303 – Introducton Lecture 2

  3. A Roadmap to Programming (1) Abstract Data Types Mathematical Model Operations from Informal Algorithm Pseudo-Code Almost compiles No resource allocation To be read by humans! CS 303 – Introducton Lecture 2

  4. A Roadmap to Programming (2) Data Structures Representation details Resource (storage) allocation Code Compiles! Executes! CS 303 – Introducton Lecture 2

  5. Criteria • Easy to: • Understand • Code • Debug • Efficient use of Resources • User • Programmer • Computer CS 303 – Introducton Lecture 2

  6. Method - KISS • KISS – Keep It Simple, Stupid! • Make it: • Work • Compiles, Executes • Right • Gets the right answer • Fast • Input (size, conditioning) • Algorithm Complexity • Speed of hardware • Quality of coding CS 303 – Introducton Lecture 2

More Related