Home >Education >Software development slides

Software development slides

Date post:02-Nov-2014
Category:
View:4 times
Download:0 times
Share this document with a friend
Description:
 
Transcript:
  • Software Development

    Mr Arthur

  • Aims of the Lesson

    To introduce the 7 steps of the Software Development ProcessTo exam in detail the Analysis Stage
  • The Software Development Process

    When developing new software the developer would follow these stepsAAnalysisDanceDesignInImplementationTheTestingDarkDocumentationEveryEvaluationMondayMaintenance
  • Analysis Stage

    Analysis = Deciding what type of software you want to create, and what features you want it to have.At the Analysis stage the Customer, Systems Analyst and Programmer agree on the software required and create a Software SpecificationSoftware Specification = a legally binding document that outlines what the developer is going to create
  • Programming Task

    I want a program that asks for 5 pupils names. The program then asks for their NAB scores out of 20. The program then displays the name of each pupil, their score and whether they have passed or failed. Pass is >=12. Use TABS to display
  • Aims of the Lesson 2

    To exam in detail the Design, Implementation and Testing Stage of the SDP
  • Design Stage

    At the Design Stage the problem is broken down and a method of solving the problem is identifiedDesign NotationsAlgorithms pseudocodeWhere you break the program up into steps in EnglishStructure DiagramsWhere you create a graphical representation of the steps
  • Implementation and Testing Stages

    ImplementationThe programmer coding the algorithm into the chosen languageTestingMay involve an Independent Test Group to make sure the program meets the Program SpecificationNormal = data within the normal rangeExtreme = data at the boundaries of the normal rangeExceptional = data outside the normal range
  • Program Task

    I want a program that asks for the names of 5 contestants and their votes. The program should validate the votes between 0 and 1000. The program should display the name of each contestant, their votes using tabs and display the person with the least votes.
  • Aims of the Lesson 3

    To exam in detail the Documentation, Evaluation and Maintenance Stages of the SDP
  • Documentation and Evaluation Stages

    Documentation

    User Guide = A set of instructions on how to install and use the software. May include tutorials and FAQsTechnical Guide = This document details the technical requirements i.e RAM, disk space. It may also info on previous versions and upgrades

    Evaluation

    The software would be evaluated on the following:Fitness for purposeDoes the program do what it is meant to do?User interfaceHow user friendly is the interface ReadabilityDoes the program has suitable commentaryHave tabs been used on If statements, for loops to make it easier to read
  • Software Revision Quiz

    List the 7 stages of the Software Development Cycle

    What document is created at the Analysis Stage

    Give 2 Design notations that are used at the Design stage

    A program asks for a number between 1 and 100. Name 3 tests that would be carried out to fully test the program. Give examples of the test data

    Give 2 documents that are created at the Documentation stage of the SDP process

  • Aims of the Lesson 4

    To exam in detail the Maintenance Stages of the SDPTo complete the baby programming task in pairs
  • Maintenance Stage

    Maintenance

    Corrective Fixing errors in the programCorrective Maintenance is not paid for by the customer as the software does not do what it is meant to and does not match the Software Specification Adaptive Changing the software to run on a different Operating System or environment Perfective Adding new features and improving the program in some wayThe customer would pay for this as not in Software Spec
  • Program Task

    I want a program that asks for the name, date of birth, birth weight in pounds and hospital born of 5 babies. The program should validate their weight between 1 pound and 13 pounds. The program should classify the babies asUnderweight < 3 poundsNormal >=3 and < 9 Overweight >=9. The program should then generate a baby id that will be put on their baby bracelet. The id should be the first 3 letters of their name, date of birth and first 5 letters of the hospital The program should use Tabs and display name, dob, birth weight, classification, hospital and baby id.
  • Aims of the Lesson 5

    Machine CodeHigh Level Languages
  • Machine Code

    Machine Code is the only language a computer can process101010101It is an impossible language to program in and errors would be inevitable
  • High Level Languages

    A High Level Languages is a programming language that uses everyday wordsIF, Then, For FeaturesEnglish like wordsBuild in functions like left, right, mid, ucaseMust be translated to machine codeCan be run on different environmentsArithmetic functions can be performed */+-
  • Aims of the Lesson 6

    TranslatorsInterpreterCompiler
  • Translators

    All programs written in a High Level Language must be translated to Machine CodeInterpretersTranslates the program one line at a timeEasier for user to identify errorsInterpreter takes up RAM as it is present during translationCompilersTranslates the High Level Language into Machine Code in one operationUses less RAM as after translation Compiler does not need to be presentHard to find errors
  • Name, Section 1, Section 2, Section 3, Programming Coursework, System Coursework, Overall Score, Grade (A. B etc

    I want a program that asks for the marks of 3 pupils. It should ask for their name, section 1 marks (15), section 2 (30), section 3 (25), Programming Coursework (15), Systems Coursework (15). It should add up their score and display their gradeA = 70+/B = 60-69/C = 50-59/D = 40-49/NA =
  • Lesson Starter

    What is the difference between a High Level language and machine code?

    What is the difference between an Interpreter and a Compiler

    What document is created at the Analysis stage of the SDC

    Give 3 different factors we Evaluate software on (FUR)

  • Aims of the Lesson 7

    Todays Lesson

    MacrosText Editors

    Last Lessons

    Software Development CycleAnalysis Software SpecificationDesign Algorithm/Structure DiagramTesting Normal/Extreme/ExceptionalEvaluationMaintenanceMachine CodeHigh Level LanguagesTranslatorsInterpreterCompiler
  • Macros/Text Editor

    MacroA feature of Application program where the user can record mouse clicks and assign them to a shortcutFormatting text Adding page numbersChanging page layoutSave/Print documentText EditorA window where the programmer enters a high level languageCopy and paste codeEdit codeIndent loops/ifsHighlight commentary
  • Aims of the Lesson 7

    Todays Lesson

    VariablesArrays

    Last Lessons

    Software Development CycleAnalysis Software SpecificationDesign Algorithm/Structure DiagramTesting Normal/Extreme/ExceptionalEvaluationMaintenanceMachine CodeHigh Level LanguagesTranslatorsInterpreterCompilerMacrosText Editors
  • Variable/Arrays

    VariableA variable is an item of data that is given a name and data type and is stored in the computers memory for later use in a programData TypesString = storing textInteger = whole numberSingle = non whole numbersOne dimensional ArrayAn array is used to store a list of values that are the same data typeEach value is given an index numberDim age(5) as integerAge(1), Age(2) etc
  • Lesson Starter

    What is a Macro?

    Give 2 features of a Text Editor

    What is a Variable?

    What is an Array?

    Give 2 data types you would associate with an Integer

  • Aims of the Lesson 7

    Todays Lesson

    Programming Theory

    Input/Process/Output

    Arithmetic Operations

    Predefined Functions

    Logical Operations

    Last Lessons

    Software Development CycleAnalysis Software SpecificationDesign Algorithm/Structure DiagramTesting Normal/Extreme/ExceptionalEvaluationMaintenanceMachine CodeHigh Level LanguagesTranslatorsInterpreterCompilerMacrosText EditorsVariablesArrays
  • Software Development

    All program can be split up into 3 stepsInput

    length = InputBox()

    Process

    Area = length * breadth

    Output

    pctDisplay.print Area

    Arithmetic Operations

    Area = length * breadth

    Addition +Subtraction Division /Multiplication *
  • Software Development

    Predefined FunctionsA predefined function is a piece of code that has already been written for youUCASE(uname)LCASE(uname)LEFT(uname,3)RIGHT(uname,5)ROUND(Depth)Logical Operators

    AND

    If length = 5 AND breadth = 10 then

    pctDisplay.print ..

    OR

    If length = 5 OR breadth = 10 then

    pctDisplay.print ..

    NOT

    If NOT(length = 10) then

    pctDisplay.print ..

  • Aims of the Lesson 8

    Todays Lesson

    Programming Theory

    Loops

    Fixed

    Conditional

    Nested

    Standard Algorithms

    Input Validation

    Counting Occurrences

    Finding Max

    Finding Min

    Linear Search

    Last Lessons

    Software Development CycleAnalysis Software SpecificationDesign Algorithm/Structure DiagramTesting Normal/Extreme/ExceptionalEvaluationMaintenanceMachine CodeHigh Level LanguagesTranslatorsMacrosText EditorsVariablesArraysInput/Process/OutputArithmetic OperationsPredefined FunctionsLogical Operations
  • Loops

    A Loop is used to repeat a group of instructionsFixed LoopA fixed loop repeats the code a set number of times

    For num = 1 to 10

    Age(num) = inputbox(Enter age)

    Next num

  • Loops

    Conditional LoopWhere the loop ends when the condition is met

    Do While

    Do while age < 1 and age > 100

    Age = inputbox(Not valid)

    Loop

    Loop Until

    Do

    Age = inputbox(Enter age)

    Loop until age

Popular Tags:

Click here to load reader

Embed Size (px)
Recommended