Design f. describe a design specification including input design, diagrammatic depiction of the overall system, processing, data structure design and output.

Slides:



Advertisements
Similar presentations
COMPUTER INTERFACES.
Advertisements

User Interface. What is a User Interface  A user interface is a link between the user and the computer. It allows the user and the computer to communicate.
P5, M1, D1.
Chapter 11 Trisha Cummings. Structure Charts The recommended tool for designing a modular, top- down system is a structure chart. A structure chart is.
Programming Logic and Design Fourth Edition, Introductory
Chapter 1 - An Introduction to Computers and Problem Solving
Software Design Deriving a solution which satisfies software requirements.
Chapter 2: Developing a Program Extended and Concise Prelude to Programming Concepts and Design Copyright © 2003 Scott/Jones, Inc.. All rights reserved.
Chapter 1 Program Design
About the Presentations The presentations cover the objectives found in the opening of each chapter. All chapter objectives are listed in the beginning.
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Technology Education Copyright © 2006 by The McGraw-Hill Companies,
Chapter 4 Sec. 4.1, 4.2, 4.4 Procedures (User-defined)
BPC.1 Basic Programming Concepts
Programming Logic and System Analysis
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Extended Prelude to Programming Concepts & Design, 3/e by Stewart Venit and.
Describe the application and limits of procedural, object orientated and event driven programming. 
The Project AH Computing. Functional Requirements  What the product must do!  Examples attractive welcome screen all options available as clickable.
1.3 System Design Parts of a System InputProcessOutput Input Devices Central Processing Unit Output Devices The main parts of any computer system.
Ch 26 & 27 User Interfaces.
1 Shawlands Academy Higher Computing Software Development Unit.
Extended Prelude to Programming Concepts & Design, 3/e by Stewart Venit and Elizabeth Drake Chapter 2: Developing a Program.
Simple Program Design Third Edition A Step-by-Step Approach
1 The Software Development Process  Systems analysis  Systems design  Implementation  Testing  Documentation  Evaluation  Maintenance.
© 2011 Pearson Addison-Wesley. All rights reserved. Addison Wesley is an imprint of Stewart Venit ~ Elizabeth Drake Developing a Program.
IXA 1234 : C++ PROGRAMMING CHAPTER 1. PROGRAMMING LANGUAGE Programming language is a computer program that can solve certain problem / task Keyword: Computer.
INTRODUCTION TO COMPUTING CHAPTER NO. 04. Programming Languages Program Algorithms and Pseudo Code Properties and Advantages of Algorithms Flowchart (Symbols.
Cs413_design04.ppt Design and Software Development Design : to create a functional interface that has high usability Development : an organized approach.
Software refer to all the programs that can be run on the computer.
The Software Development Process
PROGRAM DEVELOPMENT CYCLE. Problem Statement: Problem Statement help diagnose the situation so that your focus is on the problem, helpful tools at this.
1 Program Planning and Design Important stages before actual program is written.
Define and describe operating systems which contain a Command Line Interface (CLI) Define and describe operating systems which contain a Graphical User.
Different Types of HCI CLI Menu Driven GUI NLI
How Are Computers Programmed? CPS120: Introduction to Computer Science Lecture 5.
Types of Software Chapter 2.
Chapter 2- Visual Basic Schneider1 Chapter 2 Problem Solving.
Programming Logic and Design Fourth Edition, Comprehensive Chapter 14 Event-Driven Programming with Graphical User Interfaces.
PROGRAMMING. Computer Programs  A series of instructions to the computer  pre-written/packaged/off-the-shelf, or  custom made  There are 6 steps to.
A user interface, like the one created by the DOS operating system, that makes use of typed commands.
How Computers Solve Problems Computers also use Algorithms to solve problems, and change data into information Computers can only perform one simple step.
Introduction to Computer Programming Concepts M. Uyguroğlu R. Uyguroğlu.
 Problem Analysis  Coding  Debugging  Testing.
Programming Logic and Design Seventh Edition Chapter 1 An Overview of Computers and Programming.
Chapter 7: Designing solutions to problems OCR Computing for A Level © Hodder Education 2009.
Development Environment
Lesson Objectives Aims You should be able to:
Possible exam questions with Scenarios
Introduction to Programming and Visual Basic
CSCI-235 Micro-Computer Applications
Key Ideas from day 1 slides
Information Systems Development (ISD)
Algorithms An algorithm is a sequence of steps written in the form of English phrases that specific the tasks that are performed while solving the problem.It.
Lecture 2 Introduction to Programming
Chapter Topics 2.1 Designing a Program 2.2 Output, Input, and Variables 2.3 Variable Assignment and Calculations 2.4 Variable Declarations and Data Types.
Software engineering USER INTERFACE DESIGN.
Understand the Programming Process
Computer Programming.
Designing and Debugging Batch and Interactive COBOL Programs
Problem Solving Techniques
For -G7 programing language Teacher / Shamsa Hassan Alhassouni.
Programming Fundamentals (750113) Ch1. Problem Solving
Chapter 2- Visual Basic Schneider
Chapter 2- Visual Basic Schneider
Understand the Programming Process
ICT Gaming Lesson 2.
Tonga Institute of Higher Education IT 141: Information Systems
Tonga Institute of Higher Education IT 141: Information Systems
Basic Concepts of Algorithm
Programming Logic and Design Eighth Edition
Presentation transcript:

Design f. describe a design specification including input design, diagrammatic depiction of the overall system, processing, data structure design and output design;

Top down design Top down design involves breaking down a large task into smaller (easier to solve pieces) Mobile Phone Voice Calls Receiving Voice Sending Voice Text messages Phone book

Modular program design Most of the programs you write will be fairly small but in industry programs can be tens of thousands of lines of code long. Windows Vista contains around 50 million lines of code Programming can be made easier by splitting the program into smaller modules. This is sometimes called the Divide and Conquer method.

Advantages of modular design 1.Some modules can be used many times in different programs. 2.It is easier to debug and understand a small module of code. 3.Maintenance is easier because it is easy to identify problem modules. 4.In a large project several programmers will work on the same program. Using the modular approach each programmer can be given a specific set of modules to work on.

Designing solutions The design will usually involve 3 stages: 1.Designing the user interface 2.Designing the data that is used in the program. 3.Designing the processing that needs to be done on the data.

A good user interface A good user interface meets three criteria: It is ……… Effective – Allows the user to input and output all the data correctly. This should reduce errors made by a user. Efficient – Makes the best use of the resources available to the program. Processor time etc This increases user productivity and prevents the user becoming frustrated. Satisfying – One that the end user enjoys using and is easy to learn. The user can focus on completing the task not on learning the new software.

Types of user interface 1.Command line interface 2.Graphical User interface (GUI) - Windows Icons Menus Pointers (WIMP) 3. Speech Recognition

Command line Example: DOS or the Linux Terminal Advantages: Very fast to use, require very little power to run. Disadvantages: Tricky to learn all the syntax, not very friendly for new users

Graphical User Interface Example: Windows, JellyBean Advantages: Much easier to learn to use, more intuitive Disadvantages: Slower than experienced Command Line users require much, more power to support and run.

Speech recognition Example: Siri Advantages: Good for short phrases like “CALL MUM” Disadvantages: difficult to carry out more complex operations.

Data requirements of a program When designing a system you need to specify what data the program will need and how it will be stored. This is usually done in a Data Dictionary. IdentifierData TypeSizeValidation PasswordString32 BitMust be more then 6 characters UsernameString32 BitMust be unique in the system

Flowcharts Start or Stop Process Decision

Pseudo Code Pseudo Code is just simplified code. It allows the author to focus on the logic behind the problem instead of the syntax of a particular language. BEGIN INPUT Password IF Password = StoredPassword Then AccessSystem() ELSE Message(Password incorrect) END IF END

Real code Notice that the basic logic is the same as the Pseudo code but the syntax is correct for Visual Basic. Public Sub PasswordCheck(Password as String, StoredPassword as String) If Password = StoredPassword Then AccessSystem() Else Msgbox(“Password Incorrect”) End If End Sub

Jackson diagrams Jackson Structure Diagrams are used to represent the structure of a program. Step 1: Break the Program down into its component modules. AcountzPro Edit Record Calculate Output Result Delete Record YesNo

Step 2: Show any Selective statements (IF, Case etc) Delete Record YesNo

Step 3: Show any Iterative statements (Loops) Calculate* Result Output Result While X > 3