Chapter Four Software Basics: The Ghost in the Machine.

Slides:



Advertisements
Similar presentations
Chapter 3: Modules, Hierarchy Charts, and Documentation
Advertisements

Lecture 1: Overview of Computers & Programming
Lesson 6 Software and Hardware Interaction
Software Basics The Ghost in the Machine 4.  2001 Prentice Hall4.2 Chapter Outline Processing with Programs Software Applications: Tools for Users System.
Software: Systems and Application Software
Software. Application Software performs useful work on general-purpose tasks such as word processing and data analysis. The user interacts with the application.
1 DOS with Windows 3.1 and 3.11 Operating Environments n Designed to allow applications to have a graphical interface DOS runs in the background as the.
Software: Systems and Application Software
Computer Parts There are many parts that work together to make a computer work.
Objectives Machine language vs.. High-level language Procedure-oriented, object-oriented, and event- driven languages Background of Visual Basic VB Integrated.
Chapter 3 Software Two major types of software
Course: Introduction to Computers
Computing Fundamentals Module Lesson 4 — Computer Software
Systems Software Operating Systems.
Computer Software.
Operating System.
Computer for Health Sciences
Lesson 4 Computer Software
Lesson 4: What Is Software?
Chapter 3: Software Solutions for Personal and Professional Gain
Chapter 4 Computer Software.
Hardware vs. Software Computer systems consist of both hardware and software. Hardware refers to anything you can physically touch. Keyboards, mice, monitors,
© Paradigm Publishing Inc. 4-1 Chapter 4 System Software.
System Software System software deals with the physical complexities of how the hardware works. System software generally consists of four kinds of programs:
Lesson 6 Operating Systems and Software
1 ITGS – Software Basic Food for Thought: Recipe for food Precise steps How many steps Processing with Programs 1.
Chapter Four Software Basics: The Ghost in the Machine.
 2002 Prentice Hall Chapter 4 Software Basics: The Ghost in the Machine.
Chapter Lead Black Slide Powered by DeSiaMore Powered by DeSiaMore.
B.A. (Mahayana Studies) Introduction to Computer Science November March Software What is software? What are the main types of software?
COMPUTER SOFTWARE Section 2 “System Software: Computer System Management ” CHAPTER 4 Lecture-6/ T. Nouf Almujally 1.
Chapter 4 System Software.
4 - 1 Copyright © 2006, The McGraw-Hill Companies, Inc. All rights reserved.
Software Prepared By: Sir Mazhar Chapter No 5.
 2002 Prentice Hall Chapter 4 Software Basics: The Ghost in the Machine.
Computer Software Computer Technology Day 5. Software  Provides step-by-step instructions that tell the computer how to perform  Categories  System.
Warranty buyer beware. software manufacturers limit their liability for software problems by selling their software “as is”. can’t guarantee error free.
Digital Planet: Tomorrow’s Technology and You
Software.
Software Software consists of the instructions issued to the computer to perform specific tasks. –The software on a computer system refers to the programs.
Chapter 4 System Software. Software Programs that tell a computer what to do and how to do it. Sets of instructions telling computers to perform actions.
Chapter 3: Computer Software. Stored Program Concept v The concept of preparing a precise list of exactly what the computer is to do (this list is called.
Systems Software Operating Systems. What is software? Software is the term that we use for all the programs and data that we use with a computer system.
Lead Black Slide. © 2001 Business & Information Systems 2/e2 Chapter 5 Information System Software.
CE Operating Systems Lecture 3 Overview of OS functions and structure.
© Paradigm Publishing Inc. 4-1 OPERATING SYSTEMS.
Fundamentals of Hardware and Software 1. Distinguish between systems programs and application programs 2 System software - This software is usually called.
Chapter 5 Information Systems in Business Software
Foundation year Lec.3: Computer SoftwareLec.3: Computer Software Lecturer: Dalia Mirghani Year: 2014/2015.
Computer Literacy for IC 3 Unit 1: Computing Fundamentals © 2010 Pearson Education, Inc. | Publishing as Prentice Hall.1 Chapter 4: Identifying Software.
1 Software. 2 What is software ► Software is the term that we use for all the programs and data on a computer system. ► Two types of software ► Program.
© Paradigm Publishing, Inc. 4-1 Chapter 4 System Software Chapter 4 System Software.
Course Title: Introduction to Computer Course Instructor: ILTAF MEHDI Chapter No: 04 1BY ILTAF MEHDI (MCS, MCSE, CCNA)
Computing Fundamentals Module Lesson 23 — Computer Software
Software Rashedul Hasan. Software Instructions and associated data, stored in electronic format, that direct the computer to accomplish a task. Instructions.
Slide 6-1 Chapter 6 System Software Considerations Introduction to Information Systems Judith C. Simon.
Computer software: There are at least six step developmental procedures the programmer: Define problem Make or buy decision Design program Code program.
Graphical User Interfaces (GUI’s ). & Command-Line Interfaces.
An operating system (OS) is a collection of system programs that together control the operation of a computer system.
1 Lesson 6 Software and Hardware Interaction Computer Literacy BASICS: A Comprehensive Guide to IC 3, 3 rd Edition Morrison / Wells.
Chapter 1 WHAT IS A COMPUTER Faculty of ICT & Business Management Tel : BCOMP0101 Introduction to Information Technology.
CHAPTER 2 COMPUTER SOFTWARE. LEARNING OUTCOMES At the end of this class, students should be able to:  Explain the significance of software  Define and.
Computer Software. Two Major Types of SW System SW Programs that generally perform the background tasks in a computer. These programs, many times, talk.
THE SOFTWARE Computers need clear-cut instructions to tell them what to do, how to do, and when to do. A set of instructions to carry out these functions.
System SOFTWARE.
Chapter-3 Computer Software.
Fundamentals of Information Systems, Sixth Edition
Processing with Programs 1
Software Basics: The Ghost in the Machine
National Diploma in Computer Studies
Presentation transcript:

Chapter Four Software Basics: The Ghost in the Machine

 1999 Addison Wesley Longman4.2 Chapter Outline Processing with Programs Application Software: Tools for Users System Software: The Hardware- Software Connection The User Interface: The Human- Machine Connection

 1999 Addison Wesley Longman4.3 Processing with Programs Software programs: –Are invisible and complex –Must be clear –Must be free of errors –Are a set of instructions that tell a computer what to do

 1999 Addison Wesley Longman4.4 A Fast, Stupid Machine Computers: –Have limited capabilities –Can only do basic mathematics and logical comparisons –Must be instructed with programs what to do

 1999 Addison Wesley Longman4.5 The Language of Computers Programmers begin with an algorithm, which is: –A set of step-by-step instructions (written in a natural language, e.g., English) Algorithms are translated into the vocabulary of a programming language

 1999 Addison Wesley Longman4.6 Flow Chart (I) process decision terminal joint flow line

 1999 Addison Wesley Longman4.7 Flow Chart (II) predefined procedure input output I/O

 1999 Addison Wesley Longman4.8 Control Structures sequential execution ( concatenation ) conditional execution ( alternation ) looping ( iteration )

 1999 Addison Wesley Longman4.9 Top-Down Structure Design define the problem design the algorithm as procedures refine the procedures into pseudo code code the program

 1999 Addison Wesley Longman4.10 Programming languages bridge the gap between the natural language of the human and the numeric codes (zeros and ones) understood by the computer Examples include: –COBOL, BASIC, and C++ Programming Languages

 1999 Addison Wesley Longman4.11 Programming Languages low level languages –machine language –assembly language (symbolic language) high level languages –machine independent –problem oriented –familiar notations

 1999 Addison Wesley Longman4.12 High Level Languages 1957FortranZ=X+Y 1960COBOLADD X TO Y GIVING Z 1965BASICZ=X+Y 1971Pascalz:=x+y; 1972Cz=x+y;

High Level Languages 1980 Ada 1985 C Java

 1999 Addison Wesley Longman4.14 Sorting ( Ordering ) internal sort external sort

 1999 Addison Wesley Longman4.15 Internal Sort straight –exchange ( bubble sort ) –insertion sort –selection sort advanced –shell sort –heap sort –quick sort

 1999 Addison Wesley Longman4.16 Bubble Sort

 1999 Addison Wesley Longman4.17 Bubble Sort 1000 REM bubblesort subroutine 1010 FOR M = 2 to N 1020 FOR I=N to M step IF A(I-1) <= A(I) THEN TEMP = A(I-1) 1050 A(I-1) = A(I) 1060 A(I) = TEMP 1070 NEXT I 1080 NEXT M 1090 RETURN

 1999 Addison Wesley Longman4.18 Insertion Sort

 1999 Addison Wesley Longman4.19 Insertion Sort procedure straightinsertion var i,j: index; x:integer; begin for i := 2 to n do begin x := a[i]; a[0] := x; j := i-1; while x< a[j] do begin a[j+1] := a[j]; j := j-1 end; a[j+1] := x; end end;

 1999 Addison Wesley Longman4.20 Selection Sort

 1999 Addison Wesley Longman4.21 Selection Sort for (i=1;i<n; i++) { min = i; for( j= i+1; j<n; j++) if (a[j] < a[min]) min= j; temp= a[i]; a[i] = a[min]; a[min] = temp; };

 1999 Addison Wesley Longman4.22 Shell sort sort sort sort each pass profits from previous pass diminishing increment yields better result

 1999 Addison Wesley Longman4.23 Heap sort | | | | | | | |

 1999 Addison Wesley Longman4.24 Quick sort

 1999 Addison Wesley Longman4.25 Application Software: Tools for Users Software applications include: –Consumer software –Integrated software –Vertical-market and custom software

 1999 Addison Wesley Longman4.26 There are thousands of different consumer software titles Consumer software differs based on: –Documentation –Upgradability –Compatibility –Warranty –Extent of ownership/license Consumer Applications

 1999 Addison Wesley Longman4.27 Documentation Documentation includes: –Printed tutorial and reference manuals that explain how to use the software –On-line manuals and help screens which offer immediate help to the user

 1999 Addison Wesley Longman4.28 Upgrades Rather than buy the latest version and discard your old one, often you can pay a fee to the software maker and upgrade the old version to the new one Newer versions of a software company’s product usually have additional features and fewer bugs

 1999 Addison Wesley Longman4.29 Compatibility Compatibility means the software will function properly with the hardware, operating system, and any peripherals To date, there is no industry standard that software must follow

 1999 Addison Wesley Longman4.30 Warranty Buyer beware! Software manufacturers limit their liability for software problems by selling their software “as is” Error-free software does not exist

 1999 Addison Wesley Longman4.31 Ownership/Licensing Three categories: –Purchased software grants you a license to use the software as the software company tells you –Shareware software is free for the trying, but a nominal fee is to be paid to the programmer if you continue to use it –Public domain software is legally free and cannot be owned or licensed

 1999 Addison Wesley Longman4.32 Integrated Applications and Suites: Multipurpose Software Multipurpose software that includes most of these modules: –Word processing –Database –Spreadsheet –Graphics –Telecommunications

 1999 Addison Wesley Longman4.33 Integrated Software: Advantages Costs less than buying the applications individually Data is easily transferred between modules Commands used in each module are usually the same Usually there is a seamless integration of the modules

 1999 Addison Wesley Longman4.34 Vertical-Market and Custom Software Job-specific software: –Medical billings –Library cataloging –Restaurant management –Single-client software needs

 1999 Addison Wesley Longman4.35 System Software: The Hardware-Software Connection Operating Systems Language Processors Utility Programs

 1999 Addison Wesley Longman4.36 Language Processors Assemblers Compilers Interpreters

 1999 Addison Wesley Longman4.37 What the Operating System Does The operating system controls: –Communication with peripherals –Coordination of concurrent processing –Memory management –Monitoring of resources and security –Management of programs and data –Coordinating network communications

 1999 Addison Wesley Longman4.38 Operating System to make users comfortable to make machines efficient MS-DOS –single user, single-task WINDOWS –single user, multi-task Unix –multi user, multi-task

 1999 Addison Wesley Longman4.39 Microsoft O.S. 1980MS-DOS –text mode 1990MS-Windows 3.0 –graphic mode –multi-tasking 1995MS-Windows 95 –native O.S. –plug & play –network management

 1999 Addison Wesley Longman4.40 Microsoft O.S.(II) 1998 MS-Windows 98 –Web integration –support multi-medium 2000 MS-Windows Me –more reliable

 1999 Addison Wesley Longman4.41 Utility Programs Utility software controls tasks such as: –repairing damaged files –making it easy for users to copy files from one storage device to another –translating files so different software can read them –guarding against viruses

 1999 Addison Wesley Longman4.42 The User Interface: The Human-Machine Connection The user interface is what the user sees on the screen and interacts with Two major user interface types: –Character-based interface –Graphical user interface

 1999 Addison Wesley Longman4.43 A Character-Based User Interface: MS-DOS This is a disk operating system in which the user interacts with characters –letters –numbers –symbols

 1999 Addison Wesley Longman4.44 A Character-Based User Interface: MS-DOS MS-DOS™ is the most widely used general-purpose operating system Features include: –Command-line interface (commands are typed) –Menu-driven interface (commands are chosen from on-screen lists)

 1999 Addison Wesley Longman4.45 Graphical User Interfaces: Macintosh This is a disk operating system in which the user interacts with the computer by using a pointing device (e.g. a mouse) As early as 1984, the Macintosh™ computer was designed with this interface in mind

 1999 Addison Wesley Longman4.46 Graphical User Interfaces: Windows In 1995, Windows 95™ was released as a graphical user interface for IBM™ computers and their compatibles

 1999 Addison Wesley Longman4.47 Why WIMP Won Windows, Icons, Menus, and Pointing devices In this graphical user interface, the cursor of the pointing device (mouse) appears on the screen and can be used to point to icons, work within windows, and select from menus

 1999 Addison Wesley Longman4.48 Tomorrow’s User Interfaces Future interfaces will probably: –Make individual applications obsolete –Support natural languages (talk to the machine and it talks back) –Include artificial intelligence and agents that fit our needs –Be based on virtual reality (data in three-dimensional physical space)

 1999 Addison Wesley Longman4.49 Before you buy, you should consider: Rules of Thumb: Computer Consumer Concepts Cost Compatibility Capacity Customizability Capability Connectivity Convenience Company Purchasing Curve

 1999 Addison Wesley Longman4.50 Cost Before you buy: –Determine what you can afford –Allow for “extras” –Join a user group or talk with other computer and software owners

 1999 Addison Wesley Longman4.51 Compatibility Before you buy, make sure you know: –What is the right computer and software for what you want to do –If the computer and software you will need work well together

 1999 Addison Wesley Longman4.52 Capacity Before you buy, make sure you know: –How much computer power you are going to need –If the processor will be able to handle your demands –If you will be able to upgrade later on

 1999 Addison Wesley Longman4.53 Customizability Before you buy, make sure you know: –If your computer can be customized to fit your needs (such as video editing)

 1999 Addison Wesley Longman4.54 Before you buy, make sure you know: –Which computer is the right tool for you –If the computer and software will be able to meet your demands today and years from now Capability

 1999 Addison Wesley Longman4.55 Connectivity Before you buy, make sure you: –Have included a high-speed modem or some other network connection –Can take full advantage of the communication capabilities of your computer

 1999 Addison Wesley Longman4.56 Before you buy, make sure you determine: –Whether portability or permanent connection of peripherals is important –Which kind of user interface will help you do your work easier –If you should have the same machine as people around you Convenience

 1999 Addison Wesley Longman4.57 Company Before you buy, make sure you know: –if you are buying from a reputable company –if parts and service will be available if needed

 1999 Addison Wesley Longman4.58 Purchasing Curve Most models of personal computers seem to have a useful life span of just a few years Before you buy, make sure you know: –how new or old the computer is that you want to buy –not to buy a brand new computer model –not to buy an “obsolete” computer model