C++ Implementation ( Version 1 – Text Interface ) Elimination of services of our system. Elimination of services of our system. General Flow of the program.

Slides:



Advertisements
Similar presentations
DT FMA Planning Guide. Task For your FMA you are required to implement the database that you designed for your TMA –Create the appropriate tables –Import.
Advertisements

Database management system (DBMS)  a DBMS allows users and other software to store and retrieve data in a structured way  controls the organization,
Overview of Data Structures and Algorithms
Database Concepts Lec. 5. What Is a Database? Data are unprocessed raw facts that include text, number, images, audio, and video. Information is processed.
Data Dictionary What does “Backordered item” mean? What does “New Customer info.” contain? How does the “account receivable report” look like?
Object Oriented Design An object combines data and operations on that data (object is an instance of class) data: class variables operations: methods Three.
Recap of Feb 27: Disk-Block Access and Buffer Management Major concepts in Disk-Block Access covered: –Disk-arm Scheduling –Non-volatile write buffers.
Ch1: File Systems and Databases Hachim Haddouti
Database Design Concepts Info 1408 Lecture 2 An Introduction to Data Storage.
ASP.NET Programming with C# and SQL Server First Edition
Introduction - The Need for Data Structures Data structures organize data –This gives more efficient programs. More powerful computers encourage more complex.
The Project AH Computing. Functional Requirements  What the product must do!  Examples attractive welcome screen all options available as clickable.
CPSC 203 Introduction to Computers Lab 21, 22 By Jie (Jeff) Gao.
1.3 System Design Parts of a System InputProcessOutput Input Devices Central Processing Unit Output Devices The main parts of any computer system.
PROGRAMMING LANGUAGES The Study of Programming Languages.
ACCESS CHAPTER 1. OBJECTIVES Tables Queries Forms Reports Primary and Foreign Keys Relationship.
Systems Analysis – Analyzing Requirements.  Analyzing requirement stage identifies user information needs and new systems requirements  IS dev team.
Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall 9.1.
Array.
C++ Programming. Table of Contents History What is C++? Development of C++ Standardized C++ What are the features of C++? What is Object Orientation?
Unit 18: Database Modelling
Avalanche Internet Data Management System. Presentation plan 1. The problem to be solved 2. Description of the software needed 3. The solution 4. Avalanche.
1 DATABASES & DATABASE MANAGEMENT SYSTEMS (DBMS). MS ACCESS What is a database Database terms DB constructing stages DB models Relational model Normal.
Microsoft Visual Basic 2008 CHAPTER ELEVEN Multiple Classes and Inheritance.
TVAC Electronic Call Sheet System Team HeatWave Summer 2007.
Design. Stages of Design i.Nature of the solution 1.Agreed set of objectives 2.Output design 3.Input design 4.Data Flow Diagram 5.System Flowchart 6.Data.
Chapter 10 Applications of Arrays and Strings. Chapter Objectives Learn how to implement the sequential search algorithm Explore how to sort an array.
NMED 3850 A Advanced Online Design January 12, 2010 V. Mahadevan.
File Systems (1). Readings r Reading: Disks, disk scheduling (3.7 of textbook; “How Stuff Works”) r Reading: File System Implementation ( of textbook)
Bookkeeping Tutorial. Bookkeeping & Monitoring Tutorial2 Bookkeeping content  Contains records of all “jobs” and all “files” that are created by production.
1 CS 350 Data Structures Chaminade University of Honolulu.
Online aggregation Joseph M. Hellerstein University of California, Berkley Peter J. Haas IBM Research Division Helen J. Wang University of California,
Chapter 5-1. Chapter 5-2 Chapter 5: Database Forms and Reports Introduction Forms Reports.
Chapter 5-1. Chapter 5-2 Chapter 5: Database Forms and Reports Introduction Forms Reports.
Introduction to Computers Lesson 10B. home Database A collection of related data or facts.
Rebecca McCready Faculty of Medical Sciences Newcastle University Lecture 3 – Queries and Reports.
Andrew S. Budarevsky Adaptive Application Data Management Overview.
A Level Computing#BristolMet Session Objectives#U2 S7 MUST understand the difference between an array and record SHOULD be able to estimate the size of.
Chapter 1 Program design Objectives To describe the steps in the program development process To introduce the current program design methodology To introduce.
ECDL. Word processing Work with documents and save them in different file formats Choose built-in options such as the Help function to enhance productivity.
CPSC 203 Introduction to Computers Lab 60 By Jie Gao.
Microsoft Visual Basic 2008 CHAPTER ELEVEN Multiple Classes and Inheritance.
Computer Science Projects Internal Assessment. Mastery Item Claimed Justification Where Listed Random Access File – Searching Lines P. 53 Random.
Database Management Systems (DBMS)
Data Structures and Algorithms Dr. Tehseen Zia Assistant Professor Dept. Computer Science and IT University of Sargodha Lecture 1.
Programming Problem Presentation Sport Complex Booking System.
IST 220 – Intro to Databases Lecture 2 Touring Microsoft Access.
Bookkeeping Tutorial. 2 Bookkeeping content  Contains records of all “jobs” and all “files” that are produced by production jobs  Job:  In fact technically.
Interface for Glyco Vault Functionality and requirements. Initial proposal. Maciej Janik.
Central Processing Unit (CPU)
Copyright (c) 2014 Pearson Education, Inc. Introduction to DBMS.
Techniques for List Creation (2) Data formatting and control level processing Basics for Interactive Lists Detail lists The Program Interface Interactive.
Chapter – 8 Software Tools.
NOTE: To change the image on this slide, select the picture and delete it. Then click the Pictures icon in the placeholder to insert your own image. DATABASE.
Programming Language: C++ Part Main topic 1.What Library and tool do we choose to implement C++ & GUI? 2.The progress of our implement data file and System.
Program Design. Simple Program Design, Fourth Edition Chapter 1 2 Objectives In this chapter you will be able to: Describe the steps in the program development.
MANAGEMENT INFORMATION SYSTEM
Maitrayee Mukerji. INPUT MEMORY PROCESS OUTPUT DATA INFO.
Andy Wang Object Oriented Programming in C++ COP 3330
IST 220 – Intro to Databases
Introduction to Visual Basic 2008 Programming
Architecture Concept Documents
Array.
Phil Tayco Slide version 1.0 Created Oct 2, 2017
Learning to Program in Python
Andy Wang Object Oriented Programming in C++ COP 3330
Chapter 11 The Accounting Information System
Database Design Hacettepe University
Introduction to Data Structure
Database management systems
Presentation transcript:

C++ Implementation ( Version 1 – Text Interface ) Elimination of services of our system. Elimination of services of our system. General Flow of the program. General Flow of the program. Sample Output Results. Sample Output Results. Programming Algorithm Analysis. Programming Algorithm Analysis. Presented by Peter

Elimination of services of the system. Functions that we will remain in our system: A manageable of database system that stores about the patients records. A manageable of database system that stores about the patients records. Provide a neat and tidy prescription to patients. Provide a neat and tidy prescription to patients. Information system that provide lists of suggested nutrition recipe, some details about the medical properties of the herbs, etc. Information system that provide lists of suggested nutrition recipe, some details about the medical properties of the herbs, etc. Functions that we have to modify: A clear and detail described receipt to patients. A clear and detail described receipt to patients. Functions that we have to eliminate: A simple simulated query system about the registered patients. A simple simulated query system about the registered patients. A manageable database system that concerns about the storage. A manageable database system that concerns about the storage. An accounting system that calculates the income and expenditure of the shop. An accounting system that calculates the income and expenditure of the shop.

How we will present our program. We have built two stage of C++ program implementations. One is in text-mode version, and the other one with GUI. The difference between them is noticeable, but they are still logical and acceptable. we want to emphasize the problems in implementation of the GUI from text mode and the change in problem ideas To show there is a linkage within the two versions of the programs.

General flow of the program Herb System Patients Records and Medical Records Information System Patients Records and Medical Records Management of Patients’ Records Management of Medical Records Information System Herbs and Medicine Properties Nutrition Recipe

General flow of the program Management of Patients’ Records Create RecordsDelete RecordsSearch Records Modify Records List Records

General flow of the program Management of Medical Records List Past Medical Records Create New Medical Records Produce Receipt Produce Prescription Search Records

The relationship between each object inside the system. MenuRecordsHistory HerbsOrder HerbsInfo Herbs Prescription Receipt Herbs Info. Inheritance Output Result

The format of data files. FileNameList.dat : Stores the sorted order of Patients ID of valid patient records. Patient’sID.dat ( e.g dat ) : Stores the general information of the particular patient. It has a particular format and it only consists of a list of strings only. Patients’sIDHistory.dat ( e.g. 1536History.dat ) : stores the past medical information of that particular patient. This file can be appended for new medical records but unable to be modified. ( but not physically ) herb_noList.txt : stores the simplest information for all herbs. ( e.g. Herb ID, Its Name, Its First Division and its second Division ) HerbsDetail.dat : stores the full information that will be used in the information system for all herbs. It includes the medical function and the main cure.

Output Screen

Output Screen – Create Records

Output Screen – Delete Records

Output Screen – Search Records

Output Screen – Modify Records

Output Screen – View Past Medical Records

Output Screen – Create New Medical Records

Output Prescriptions and Receipt.

Noticeable Programming Algorithm in the system. In the first version of C++ Implementation of program, there are some noticeable programming algorithms and techniques that is necessary to be introduced. They are: 1. Binary Search. 2. Insertion Sort 3. Overloading of Constructors. 4. Inheritance of basic class.

Noticeable Programming Algorithm in the system. Binary Search played a large role in the writing the program. For example, creation of patient records, searching of a patient record through Patient’s ID and Searching the Herb’s ID. good advantage in its running time great dependence in the order of the data structure The program has a lot of searching processes when proceeding with the above services the running time is greatly reduced when the number of patient records is increased Insertion Sort. this function has played a main role in the creation and deletion of Patient Records and Herbs Records. Insertion Sort has a great advantage in running time when the input records are almost sorted.

Noticeable Programming Algorithm in the system. Overloading of Constructors Widely used in creating objects. Foe example: the Herbs, the Patient Records, the History records, etc. reduce a lot of assignment and initialization task while there is a reading of data from data files It provides a convenience to programmers. Inheritance of basic class In our program, we have created a basic class “Herbs” and two inherited classes “HerbsOrder” and “HerbsInfo” They are a good example in implementation of inheritance. to provide the overloading of functions from the basic class “Herb” and provides some private functions that related to the new objects. everything will become very clear and easy to understand.