451103 Information Science and Programming - PowerPoint PPT Presentation

1 / 32
About This Presentation
Title:

451103 Information Science and Programming

Description:

451-103 Information Science and Programming. Why do this course? ... 451-103 Information Science and Programming. Class Activity. What is the problem asking us to do? ... – PowerPoint PPT presentation

Number of Views:39
Avg rating:3.0/5.0
Slides: 33
Provided by: ram43
Category:

less

Transcript and Presenter's Notes

Title: 451103 Information Science and Programming


1
451-103 Information Science and Programming
  • Allison Kealy
  • akealy_at_unimelb.edu.au
  • Department of Geomatics
  • The University of Melbourne Victoria
  • 3010

2
Why do this course?
PLEASE TURN OFF ALL MOBILE PHONES
3
What we will cover today!
  • Course Outline
  • Software Development Method
  • Introduction to Visual Basic.Net
  • Assignment for Visual Basic

4
At the end of todays lecture .
  • Students should be able to approach a software
    development problem in a systematic way.
  • Students should be able to construct a software
    development plan.
  • Students will write their first VB.Net program

5
Course Outline
  • Course Outline
  • Software Development Method
  • Implementation of the Software Development Method
  • Assignment

6
Class Activity
  • Course Outline
  • Software Development Method
  • Implementation of the Software Development Method
  • Assignment
  • Problem
  • Your summer surveying job requires you to study
    some maps that give distances in km and some that
    use miles. You and your co-workers prefer to
    deal in metric measurements.
  • Write a program that performs the necessary
    conversion.

7
Software Development Method
  • Course Outline
  • Software Development Method
  • Implementation of the Software Development Method
  • Assignment

8
Software Development Method
  • Course Outline
  • Software Development Method
  • Implementation of the Software Development Method
  • Assignment
  • Specifying the problem requirements forces you to
    state the problem clearly and unambiguously and
    to gain a clear understanding of what is required
    for its solution. Your objective is to eliminate
    unimportant aspects and zero in on the root
    problem.

Specify the problem requirements Analyse the
problem Design the algorithm to solve the
problem Choose the interface Implement the
algorithm Test and verify the completed
program Maintain and document
9
Software Development Method
  • Course Outline
  • Software Development Method
  • Implementation of the Software Development Method
  • Assignment
  • Analysing the problem involves identifying the
    problem inputs, outputs and any additional
    requirements or constraints on the solution.

Specify the problem requirements Analyse the
problem Design the algorithm to solve the
problem Choose the interface Implement the
algorithm Test and verify the completed
program Maintain and document
10
Example
  • Course Outline
  • Software Development Method
  • Implementation of the Software Development Method
  • Assignment
  • Compute and display the total cost of apples
    given the number of kgs of apples purchased and
    the cost per kg of apples.
  • Problem Inputs
  • quantity of apples purchased (in kgs)
  • cost per kg of apples (in dollars per kg)
  • Problem Outputs
  • total cost of apples (in dollars)
  • Formula
  • total cost of apples cost per kg x kgs of
    apples

Specify the problem requirements Analyse the
problem Design the algorithm to solve the
problem Choose the interface Implement the
algorithm Test and verify the completed
program Maintain and document
11
Software Development Method
  • Course Outline
  • Software Development Method
  • Implementation of the Software Development Method
  • Assignment
  • Designing the algorithm to solve the problem
    requires you to develop a list of steps called an
    algorithm to solve the problem and then verify
    that the algorithm solves the problem as
    intended.
  • Discipline yourself to use top-down design. List
    the major steps or sub problems, then solve the
    original problem by solving each of the sub
    problems.

Specify the problem requirements Analyse the
problem Design the algorithm to solve the
problem Choose the interface Implement the
algorithm Test and verify the completed
program Maintain and document
12
Example
  • Course Outline
  • Software Development Method
  • Implementation of the Software Development Method
  • Assignment

Specify the problem requirements Analyse the
problem Design the algorithm to solve the
problem Choose the interface Implement the
algorithm Test and verify the completed
program Maintain and document
  • Get the data
  • Perform the computations
  • Display the results

13
Flowchart
flowline
  • Course Outline
  • Software Development Method
  • Implementation of the Software Development Method
  • Assignment

Specify the problem requirements Analyse the
problem Design the algorithm to solve the
problem Choose the interface Implement the
algorithm Test and verify the completed
program Maintain and document
terminal
input/output
processing
decision
14
Software Development Method
  • Course Outline
  • Software Development Method
  • Implementation of the Software Development Method
  • Assignment

Specify the problem requirements Analyse the
problem Design the algorithm to solve the
problem Choose the interface Implement the
algorithm Test and verify the completed
program Maintain and documentation
  • Identify the objects and controls you want to
    have on the screen.
  • This determines how the user interacts with the
    program.

15
Software Development Method
  • Course Outline
  • Software Development Method
  • Implementation of the Software Development Method
  • Assignment
  • Implementing the algorithm involves writing it as
    a program.
  • You must convert each algorithm step into one or
    more statements in a programming language.

Specify the problem requirements Analyse the
problem Design the algorithm to solve the
problem Choose the interface Implement the
algorithm Test and verify the completed
program Maintain and document
16
Software Development Method
  • Course Outline
  • Software Development Method
  • Implementation of the Software Development Method
  • Assignment
  • Testing and verifying the program requires
    testing the completed program to verify that it
    works as desired.
  • Dont rely on just one case

Specify the problem requirements Analyse the
problem Design the algorithm to solve the
problem Choose the interface Implement the
algorithm Test and verify the completed
program Maintain and document
17
Software Development Method
  • Course Outline
  • Software Development Method
  • Implementation of the Software Development Method
  • Assignment
  • Maintaining and updating the program involves
    modifying a program to remove previously
    undetected errors.
  • Organise all material that describes the program

Specify the problem requirements Analyse the
problem Design the algorithm to solve the
problem Choose the interface Implement the
algorithm Test and verify the completed
program Maintain and document
18
Example
  • Course Outline
  • Software Development Method
  • Implementation of the Software Development Method
  • Assignment
  • Problem
  • Your summer surveying job requires you to study
    some maps that give distances in km and some that
    use miles. You and your co-workers prefer to
    deal in metric measurements.
  • Write a program that performs the necessary
    conversion.
  • Step 1 Prepare a software development plan that
    will enable you to solve this problem

19
Class Activity
  • Course Outline
  • Software Development Method
  • Implementation of the Software Development Method
  • Assignment
  • What is the problem asking us to do?

Specify the problem requirements Analyse the
problem Design the algorithm to solve the
problem Choose the interface Implement the
algorithm Test and verify the completed
program Maintain and document
20
Class Activity
  • Course Outline
  • Software Development Method
  • Implementation of the Software Development Method
  • Assignment
  • Problem Inputs
  • Problem Outputs
  • Formula

Specify the problem requirements Analyse the
problem Design the algorithm to solve the
problem Choose the interface Implement the
algorithm Test and verify the completed
program Maintain and document
21
Class Activity
  • Course Outline
  • Software Development Method
  • Implementation of the Software Development Method
  • Assignment

Specify the problem requirements Analyse the
problem Design the algorithm to solve the
problem Choose the interface Implement the
algorithm Test and verify the completed
program Maintain and document
22
Class Activity
  • Course Outline
  • Software Development Method
  • Implementation of the Software Development Method
  • Assignment

Specify the problem requirements Analyse the
problem Design the algorithm to solve the
problem Choose the interface Implement the
algorithm Test and verify the completed
program Maintain and document
23
Class Activity
  • Course Outline
  • Software Development Method
  • Implementation of the Software Development Method
  • Assignment

Specify the problem requirements Analyse the
problem Design the algorithm to solve the
problem Choose the interface Implement the
algorithm Test and verify the completed
program Maintain and document
24
Implementation
  • Course Outline
  • Software Development Method
  • Implementation of the Software Development Method
  • Assignment

Specify the problem requirements Analyse the
problem Design the algorithm to solve the
problem Choose the interface Implement the
algorithm Test and verify the completed
program Maintain and documentation
  • Create the VB.Net interface for this program. Be
    sure to set the properties for all objects
    correctly.

25
Implementation
  • Course Outline
  • Software Development Method
  • Implementation of the Software Development Method
  • Assignment

Write the code that will execute. Use the
algorithm to help make this step simpler.
Specify the problem requirements Analyse the
problem Design the algorithm to solve the
problem Choose the interface Implement the
algorithm Test and verify the completed
program Maintain and documentation
26
Implementation
27
Class Activity
  • Course Outline
  • Software Development Method
  • Implementation of the Software Development Method
  • Assignment

Write the code that will execute. Use the
algorithm to help make this step simpler.
Specify the problem requirements Analyse the
problem Design the algorithm to solve the
problem Choose the interface Implement the
algorithm Test and verify the completed
program Maintain and documentation
28
Class Activity
  • Course Outline
  • Software Development Method
  • Implementation of the Software Development Method
  • Assignment

Test the program for all cases. What test cases
would you use?
Specify the problem requirements Analyse the
problem Design the algorithm to solve the
problem Choose the interface Implement the
algorithm Test and verify the completed
program Maintain and documentation
29
Class Activity
  • Course Outline
  • Software Development Method
  • Implementation of the Software Development Method
  • Assignment

Include some documentation in the code you have
just written
Specify the problem requirements Analyse the
problem Design the algorithm to solve the
problem Choose the interface Implement the
algorithm Test and verify the completed
program Maintain and documentation
30
Assignment
  • Course Outline
  • Software Development Method
  • Implementation of the Software Development Method
  • Assignment

31
At the end of todays lecture .
  • Students should be able to approach a software
    development problem in a systematic way.
  • Students should be able to construct a software
    development plan.
  • Students would have written their first VB.Net
    program.

32
Class Activity
  • Course Outline
  • Software Development Method
  • Implementation of the Software Development Method
  • Assignment

Construct a software development plan for the
assignment.
Write a Comment
User Comments (0)
About PowerShow.com