1. Trang chủ
  2. » Công Nghệ Thông Tin

Lecture Using information technology (11/e): Chapter 10 - Brian K. Williams, Stacey C. Sawyer

57 91 0

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 57
Dung lượng 3,99 MB

Các công cụ chuyển đổi và chỉnh sửa cho tài liệu này

Nội dung

Chapter 10 - Building systems & applications: software development, programming, & languages. The topics discussed in this chapter are: Systems development & the life cycle of a software project; programming: traditionally a five-step procedure; five generations of programming languages; programming languages used today; object-oriented & visual programming; markup & scripting languages.

Trang 2

UNIT 10A: Systems Development & Programming

10.1 Systems Development & the Life Cycle of a Software

Project

10.2 Programming: Traditionally a Five-Step Procedure

UNIT 10A: Programming Languages

10.3 Five Generations of Programming Languages 10.4 Programming Languages Used Today

10.5 Object-Oriented & Visual Programming

Trang 3

UNIT 10A: Systems Development & Programming

Learning to tell a computer what to do—that is, learning systems development and programming, the subject of this chapter—can be a great career booster.

You can do some computer-related projects yourself—including apps.

You can become a better communicator.

3

Trang 5

• A system is a collection of related components that interact

to perform a task in order to accomplish a goal.

• A computer-based system consists of hardware, software, people, procedures, and data, as well as communications setups.

5

Trang 6

How It Starts, Who’s Involved

Users: The new system must ALWAYS be developed in

consultation with the people who will be using the completed system

Management: Managers within an organization should be

consulted about the system, because they control the budget and resources

Technical staff: The Information Systems or IT staff must be

involved, because they will have to execute the project or work with the people who do

Systems Analyst: Information specialist who performs 6

Trang 7

Six Phases of Systems Analysis and Design

Systems analysis and design is a six-phase

problem-solving procedure for examining an information systems and improving it.

• The systems development life cycle (SDLC) is the particular step-by-step process followed during systems analysis and design.

7

Trang 9

• Conduct a preliminary analysis

• Propose alternative solutions

• Interview people within the organization

• Study what competitors are doing

• Decide to leave the system as is, improve it, or develop a new system

• Describe costs and benefits

• Submit a preliminary plan with recommendations

Trang 10

• Interview employees and managers

• Develop, distribute, analyze questionnaires

• Review current written documents

• Observe people and processes at work

• Analyze the data

• Use modeling tools, such as CASE tools

• Create a data flow diagram to show how data flows through the system

• Write a report

• Document how the current system works

• Document problems with the current system

• Describe the requirements for the new system

10

Trang 13

SDLC Phase 4: Develop the System

• Develop or acquire the software

• Make-or-buy decision

• If creating own system, programming (coding must be done)

• Acquire or upgrade the hardware

• Test the system

• Unit testing: performance of system’s individual parts tested

• System testing: parts are linked and tested to see if they work together properly; real data may be used

13

Trang 14

SDLC Phase 5: Implement the System

• Choose a strategy to convert to the new system

Direct implementation: quit the old and start using the new

Parallel implementation: use both the old and the new side by side, until the new

system has been proved reliable

Phased implementation: phase in parts of new in gradually as parts of old are

phased out

Pilot implementation: have the new system tried out by a few users

• Train the users

Trang 15

SDLC Phase 6: Maintain & Update the System

• Perform system audits and periodic evaluations

• Make changes to the system based on new conditions

• Finalize documentation

• Note that documentation should have been continuously maintained during the entire SDLC

15

Trang 16

UNIT 10B: Programming Languages

One of the first requirements for being a software developer

or engineer is to learn not just the steps in programming but also programming languages.

Trang 18

A program is a list of instructions that the computer must

follow to process data into information.

Programming is done during phase 4 of the SDLC.

• The five steps:

1 Clarify/define the problem

2 Design a solution

3 Code the program

4 Test the program

Trang 19

1e Programming Step 1: Clarify the Programming Needs

• Clarify objectives & users

• Clarify desired outputs

• Clarify desired inputs

• Clarify the desired processing

• Double-check the feasibility of implementing the program

Trang 20

Programming Step 2: Design the Program

• Create an algorithm, or set of clear steps, to solve the problem

• Determine program logic using top-down approach and modules,

using a hierarchy chart (graphic form), pseudocode (narrative form),

and flowcharts that use control structures

Trang 21

The taxi algorithm:

Go to the taxi stand.

Get in a taxi.

Give the driver my address.

The call-me algorithm:

When your plane arrives, call my cellphone.

Meet me outside baggage claim.

The rent-a-car algorithm:

Take the shuttle to the rental car place.

Rent a car.

Follow the directions to get to my house.

The bus algorithm:

Outside baggage claim, catch bus number 70.

Transfer to bus 14 on Main Street.

Get off on Elm street.

Walk two blocks north to my house.

ALGORITH

M EXAMPLES

Trang 25

• In structured program design, three control structures are used

to form the logic of a program: sequence, selection, and iteration (or loop).

• Sequence: one statement follows another in logical order

• Selection: IF-THEN-ELSE

25

Trang 26

3

Trang 27

© 2015 by McGraw-Hill Education This proprietary material solely for authorized instructor use Not authorized for sale or distribution in any manner This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole

Programming Step 3: Code the Program

Coding: Translating the logic requirement from flowcharts and

pseudocode into a programming language

• Select a programming language (set of rules that tells the computer what operations to do)

Each programming language has a syntax, or set of grammatical rules

to follow to write valid expressions

• Syntax rules must be followed or there will be syntax errors 27

Trang 28

Programming Step 4: Test the Program

• Desk checking is reading through, or checking, the program for syntax errors and logic errors

• Debugging is the process of detecting, locating, and removing all syntax errors and logic errors in a computer program

• Beta testing is the process of testing the program using real data

• One phase of testing uses correct data

• Once the program works, the next phase of testing uses invalid data and untrained users to root out hidden errors

Trang 29

Programming Step 5: Document and Maintain the Program

• Documentation is written descriptions of what a program is and how to fix it; should be done through all 5 steps

• User documentation – for the people who will use the program (e.g., user manual – hardcopy or CD, and online)

• Operator documentation – for the computer operators, so they know what to do if the program or hardware malfunctions

• Programmer documentation – for the next programmer who must modify and maintain what has been written

• Maintain the program – keep everything in working condition 29

Trang 31

31

Trang 34

1e First Generation: Machine Language

• The basic language of the computer – all 0s and 1s

• Each CPU model has its own machine language, thus machine language is machine dependent

• Not convenient for people to read and use

• Evolution of languages started in 1945

Trang 35

Second Generation: Assembly Language

• Low-level mnemonic version of machine language; uses abbreviations and simple words

• Faster to program in than machine language

• Is also machine dependent

• Assembler program needed to translate assembly language into machine language

35

Trang 37

• Examples are FORTRAN, COBOL, BASIC, Pascal, C

The programmer writes the source code, then uses a translator

program to interpret or compile the code into machine language

(object code)

Interpreter translates and executes immediately

Compiler translates and saves the code as an entire unit to be

37

Trang 39

Application generators (NOMAD, FOCUS)—used to create parts

for other programs

39

Trang 40

Fifth Generation: Natural Languages

• Used mainly for artificial intelligence (AI) and neural networks

• Use regular human languages

Trang 42

• The language of mathematics

• The first high-level language written

• A machine-independent procedural language

COBOL

The most-frequently used language for business legacy

applications on large computers

• A machine-independent procedural language

Trang 43

• Designed to be a language to teach programming

• Structured, compiled language

43

Trang 44

• Used for portability, operating systems And scientific use

• Used to write the Unix operating system

• Widely used for writing common software applications and is necessary for programmers to know

C++

• Enhanced object-oriented version of C; used for Microsoft system software and

Trang 45

• Used to control AI programs

• Used to write expert systems and natural language programs

45

Trang 48

• One object can be used as the foundation for other objects

• Objects can be arranged in hierarchies – classes and subclasses

• Objects can inherit actions and attributes from one another

Trang 49

• Object-oriented language that was developed after C

• Often used to write computer games and CPU- and graphics-intensive applications

Java

• Developed at Sun Microsystems in early 1990s

• Derivative of C++ with simpler memory management and syntax

• Used to develop Java applets to be downloaded into web browsers to make websites interactive and more attractive (e.g., with animations)

49

Trang 50

• Using a mouse, the programmer drags and drops objects on screen

• This makes it fast and easy to build prototype user interfaces and get end-user approval before doing a lot of programming

• Visual BASIC is an example of visual programming

Trang 52

HTML is a markup language (Internet use)

• Has codes for indicating layout and styling (such as boldface, italics, paragraphs, insertion of graphics, etc.)

SGML: improved markup language

• Specifies a syntax for including the markup in documents

• Allows users to create and use any markup they wish

Script: short list of self-executing commands embedded in a 52

Trang 53

• Hypertext markup language

• Used to create 2-D web pages

• Also lets you insert hypertext links in web pages

VRML

• Virtual Reality Modeling (Markup) Language is used to create 3-D web pages, including interactive animation

• Requires special VRML browser to view VRML pages

• Used by web designers, along with HTML 53

Trang 54

• XML lets you create your own tags (“extensible”)

• XML statements define data content

JavaScript

• Not the same language as Java

• An object-oriented scripting language that adds interactive

Trang 55

reusable components that can be plugged into other applications

• ActiveX controls are written in C, C++, Visual BASIC, and Java

• Often used by crackers to propagate viruses and/or Trojans; before you allow an ActiveX component to download from your browser to

55

Trang 56

CGI (Common Gateway Interface)

• Standard protocol for interfacing external application software with

Trang 57

• Allows creation of dynamic content that interacts with databases

• Normally found on Linux servers with MySQL databases

• General-purpose scripting language

57

Ngày đăng: 30/01/2020, 01:32

TỪ KHÓA LIÊN QUAN

TÀI LIỆU CÙNG NGƯỜI DÙNG

TÀI LIỆU LIÊN QUAN