1 an introduction to information systems software is 340 by chandra s. amaravadi
TRANSCRIPT
1
AN INTRODUCTION TO
INFORMATION SYSTEMS SOFTWAREIS 340
BY
CHANDRA S. AMARAVADI
2
IN THIS PRESENTATION
Intro & types of SW Overview of systems software Operating systems
OS functions Applications Software Programming languages Applications of programming languages
3
Detailed instructions to the computer to control information processing operations.
Software/SW Program:
COMPUTER
INPUTS OUTPUTS
INSTRUCTIONS
SW
Sw concerned with the system(Systems sw)
Sw for a specific purpose/ (Applications SW or simply“application”)
Operating Systems
Compilers
Utility
Packaged or “business” or COTs
Customized
Open source
5
6
SYSTEMS SOFTWARE
OPERATING SYSTEM
COMPILERS
UTILITY PROGRAM
OPERATING SYSTEM: Software that manages and controls system operations.
COMPILERS: Convert a program (the “source program”) to machine code (“object code”).
UTILITY: Perform support functions inside the computere.g. screen savers, file management, network management, data conversion etc.
HARDWARE
SYSTEM SOFTWARE
APPLICATION SOFTWAREAPPLICATION SOFTWARE
EXAMPLES OF O/S
PC Environment Windows, Vista Mac OS
Workstation/server Unix, Linux
7
8
Runs the hardware CPU, memory etc.
Interacts/monitors users keyboard commands passwords etc.
COMMON TASKS PERFORMED BY OS
9
10
APPLICATIONS SOFTWARE
CUSTOMIZED APPLICATIONSInventoryAccounting Invoicing…….BUSINESS SOFTWAREWord processingSpreadsheetEmail……..
HARDWARE
SYSTEM SOFTWARE
APPLICATION SOFTWAREAPPLICATION SOFTWARE
Software for a specific purpose
11
CUSTOMIZED SOFTWARESoftware tailored to the needs of a business
“application” generally refers to “customized” example resume processing, benefits system etc.
developed in 3rd GLs or OO languages interface may be less finished than business more expensive
12
Example MS Word, Powerpoint etc. integrated under Windows
Common “look & feel” Point & Click -- GUI C&P functionality for DDE Dynamic, context dependent help
Note: DDE stands for Dynamic Data Exchange, C&P for cut and paste
Standardized software for a specific purpose
OPEN SOURCE SOFTWARE
publicly available or authored by the “public” aka “public domain” or “shareware” sometimes subscription/nominal fees e.g. Zimbra, Winscp
downside of open source?
14
15
All SW is written in a programming language. Programming languages have evolved based on factors
such as useability, features, and application. Initially programming languages attempted to control
machine components (e.g. memory) As O/S evolved there was less of a need for programmers
to control machine components and more of a need to fulfill user requirements.(e.g reporting)
16
1st e.g. Machine2nd e.g. Assembly
3rd e.g. COBOL, C
4th e.g. SQL, macros, Java Script5th e.g. Prolog, Java, C++
LLL
HLL
VHLL
Note: LLL = Low Level Languages; HLL = High Level LanguagesVHLL = Very High Level Languages
17
M/C and Assembly languages low level hardware dependent high execution speed
THE FIRST TWO GENERATIONS
18
N ds 1 ; first 8-bit number M ds 1 ; second 8-bit number P ds 1 ; third 8-bit number
sub8s ldaa N ; first number suba M ; subtract second number ; V bit set if signed overflow bvc SetP ; skip if no overflow bpl floor ; is positive, should be -128 ceil ldaa #127 ; set at maximum (ceiling) bra SetPfloor ldaa #-128; set to minumum (floor)SetP staa P rts
ASSEMBLY CODE TO SUBTRACT TWO NUMBERS (FYI)
19
20
The distinction between high level and lowlevel languages is based on the ratio ofthe # of lines of program code to the # ofactions carried out by the system
# of program lines : system actions
For L.L.L 1:1For H.L.L 1:10For VHLL 1:50
21
22
CHARACTERISTICS OF 3rd GLs
languages like COBOL & C aka “traditional languages”; HLL 60% of installed apps. formal - characterized by program
structure (not present in 1st, 2nd GLs)
23
CONCEPTUALIZING A PROGRAM
PROGRAM
INPUTS OUTPUTS
Module1 Module2
Module3 Module4
Data/variables
(A 3rd GL Program)
24
FD BookMasterFile.01 BMF-Record. 02 BMF-BookNum PIC X(5). 02 BMF-BookTitle PIC X(25). 02 BMF-AuthorName PIC X(25).FD BookSalesFile.01 BSF-Record. 88 EndOfBSF VALUE HIGH-VALUES. 02 BSF-BookNum PIC X(5). 02 BSF-Copies PIC 99. 02 BSF-SaleStatus PIC X. 88 NormalSale VALUE "N".
EXAMPLE OF VARIABLES
01 Book-Rank-TABLE. 02 BookDetails OCCURS 11 TIMES. 03 BookNum PIC 9(5). 03 BookTitle PIC X(25). 03 AuthorName PIC X(25). 03 BookSales PIC 9(4) VALUE ZEROS.01 Rank PIC 99.01 PrevBookNum PIC X(5).01 BookSalesTotal PIC 9(4).
25
Check_BookRank. IF BookSalesTotal >= BookSales(Rank) MOVE BookDetails(Rank) TO BookDetails(Rank + 1) MOVE BMF-BookNum TO BookNum(Rank) MOVE BMF-BookTitle TO BookTitle(Rank) MOVE BMF-AuthorName TO AuthorName(Rank) MOVE BookSalesTotal TO BookSales(Rank) END-IF.
EXAMPLE OF A MODULE (COBOL) -- FYI
PERFORM Check_BookRank VARYING Rank FROM 10 BY -1 UNTIL Rank < 1.
26
THIRD GENERATION LANGUAGES (3rd GL)
program is modular; has many parts explicit declaration of variables; data “Typing”
Acct_bal -- Numeric
Name – AlphaNumeric use delimiters procedural
27
THE FOURTH GENERATION
28
Associated with various applns. software Scripting/”macro” language Examples include SQL, Macro, Java script etc. Idea is to specify only goals, not how
Provide a list of students and their current grade standing.Across Years down Sales, COGs, margin.
29
EXAMPLES OF 4th GLs
<SCRIPT LANGUAGE="javascript">
document.write("<FONT COLOR='RED'>This Is Red Text</FONT>")
</SCRIPT>
Select Product.Name, Product.PriceFrom ProductWhere Product.price > $4000
30
THE FIFTH GENERATION – AI LANGUAGES
31
FIFTH GENERATION LANGUAGES (5TH GL)
involve symbolic reasoning, pattern matching as opposed to?
uses “facts”, “predicates” and clauses purpose of facts & predicates?
Sibling(X,Y) :- Parent_of (X,Z), Parent_of(Y,Z).
32
FIFTH GENERATION LANGUAGES (5TH GL) -- FYI..
PREDICATES bank_balance(symbol, symbol) credit_status(symbol, symbol)
FACTS bank_balance(Mary, substantial) credit_status(Mary, excellent) bank_balance(Jeff, good) bank_balance(Mark, substantial) credit_status(Mark, good)
33
FIFTH GENERATION LANGUAGES (5TH GL).. FYI
GOAL approve_loan(Mark)? approve_loan(Mary)? approve_loan(Jeff)?
CLAUSES approve_loan(X) :- bank_balance(X, substantial),
credit_status(X, good). approve_loan(X) :- bank_balance (X, reasonable), credit_status (X, excellent).
34
THE FIFTH GENERATION – OO LANGUAGES
35
Appln. a collection of objects, on which actions are taken
Classes are packaged to include data & methods Methods are actions involving data associated w
class Objects are grouped into classes
36
CONCEPTUALIZING AN OO PROGRAM
PROGRAM
INPUTS OUTPUTS
Class1.methodData
Data
Data
Data
Class2.method
Class3.methodClass4.method
37
CLASSES, OBJECTS..
Employee : John Smith
Department: FinanceSalary: $60,000 Manager: Steve
Update Salary (new_Salary)Change Department(new Department)Change Manager(new Manager)
PROPERTIES, METHODS
38
OBJECT ORIENTED CONCEPTS..
WINDOW
Win1 …Win2 Win 4
Which of these are classes and which are objects?What might be some properties of the class?What might be methods associated with the class?
39
OBJECT ORIENTED PROGRAMMING
Win1 = New WindowWin1.height = 10Win1.breadth = 20Win1.color = red
Win1.open.Win1.resize(15,5).Win1.close.
40
uses “byte-code” or applets. applet: tiny program to execute small function applets sent over network. interpreted by local interpreter. run on any computer & operating system.
Machine independent object oriented language introduced by Sun Microsystems (subset of C++)
41
L.L.L are efficient from the systems point of view. All languages need to be converted to m/c. language in
order to run on the Hardware. Parts of O/S in Assembly. H.L.L and V.H.L.L are convenient from the user’s point of
view.
42
1st GLs inside m/c 2nd GLs for parts of system’s sw and some
applications sw. 3rd GL’s for conventional applns. 4th GLs associated with applications sw. 5th GL’s used in AI.
OO for conventional applns and Java for web applns.
43
FOR DISCUSSION
What does systems software do? T/F: O/S is an example of systems software? What are other examples of systems software? What is the purpose of a compiler? What are examples of 5th Generation languages? What is the fundamental difference between 3rd & OO? What is Java? Why is it portable?
44