hanegreefs.com/Business Information SystemsBIS
Home › Compare

Compare

Concepts, loops, data structures and models that are easy to mix up, side by side.

Lecture 2: Goal and basic conceptsOpen

Internal versus external memory

RAM (internal)External memory
Locationinside the computer, next to the CPUhard disk, USB stick, external drive
Without powercontent is lostcontent is kept
Capacityrather smallmuch larger
Speedvery fastslower

Lecture 3: AlgorithmsOpen

While, Repeat and For

WhileRepeat ... UntilFor
Testbefore the bodyafter the bodycounter against end value
Minimum runs010
Stops whencondition Falsecondition Truecounter passes the end
Typical useunknown number of passesact first, then testknown number of passes

Three representations

Flow chartNassi-SchneidermanPseudo code
Formfigures and arrowsnested blocksstructured text
Loops shown asan arrow back to a diamonda block that wraps the bodyWhile ... EndDo, Repeat ... Until
Riskspaghetti of arrowsneeds planning before drawingambiguity if keywords are loose

Lecture 4: Programming conceptsOpen

Language generations

Machine languageAssemblerThird generation
Looks like01001101LD, ADDI, STif, for, x = y + 3
Translationnoneassembler programcompiler or interpreter
Machine specific?yesyesno
Statements per machine instructiononeonemany machine instructions per statement

Compiler versus interpreter

CompilerInterpreter
When translatedwhole program, before runningone instruction at a time, while running
Syntax errorsall reported before anything runsfound when the line is reached
Examples in the courseFortran, Pascal, COBOLBASIC, Prolog, Python

Python 1: Data types, operators and stringsOpen

Three kinds of division

///%
Namedivisionfloor divisionmodulo
17 and 53.432
Result type with two intsalways floatintint
Typical useaverages, priceshow many whole timeseven or odd, last digit, leftovers

Python 2: If, while and forOpen

Loops: algorithm versus Python

AlgorithmPythonNote
While condition Do ... EndDowhile condition:same meaning, tested first
Repeat ... Until conditionwhile True: ... if condition: breakno built-in Repeat; body runs at least once
For X from E1 to E2 Step E3for x in range(E1, E2 + 1, E3):range stops before its stop value
Caseif ... elif ... elsefirst True branch wins

Python 3: Lists, tuples, sets and dictionariesOpen

List, tuple, set, dictionary

listtuplesetdictionary
Brackets[ ]( ){ } with values{ } with key: value
Orderedyesyesnoinsertion order, no positions
Mutableyesnoyesyes
Duplicatesallowedallowednot possiblekeys unique
Accessby positionby positionmembership onlyby key

Python 4: Functions and filesOpen

File modes

"r""w""a"
Purposereadwriteappend
File missingFileNotFoundErrorfile is createdfile is created
Existing contentkepterased firstkept, new text added at the end

Python 5: Reading code, errors and testingOpen

When errors appear

Syntax errorsRuntime errorsLogical errors
Examplesmissing colon, unclosed quoteNameError, TypeError, KeyErrorwrong formula, off by one
Detectedbefore the program runswhen the line is reachedonly by testing
Output before the errornoneeverything printed so farthe program runs and gives wrong results

Lecture 5: Functionalities: BPMN and use casesOpen

Three gateways

ExclusiveParallel (fork)Inclusive
Paths takenexactly oneallone or more
Symbolempty diamond or Xdiamond with +diamond with circle
Examplebeamer needed: yes or noprepare invoice and ship goods at the same timebeverages and/or beamer

Include versus extend

IncludeExtend
Meaningalways part of the base use caseoptional extra behaviour
Examplewithdraw money includes adjust balancebuy car extended by add option
Arrowdashed, from base to included use casedashed, from extension to base use case

Lecture 6: Project managementOpen

Resource types

WorkMaterialCost
Examplespeople, equipmenttapes, cement, papertravel, catering
Cost driverhours worked x rateunits used x priceamount entered
Max unitsyesno (label such as cassette)no
Affects durationyesnono

Lecture 7: Classes and databasesOpen

Spreadsheet list versus relational database

Spreadsheet listRelational database
Structureone two-dimensional sheetseveral tables linked by keys
Empty cellsmany in large listsavoided by separate tables
Repetitionsame information repeatedstored once, referred to by key
Good forsmall lists, quick sorting and filteringlarge, shared, changing data

Composition, aggregation, generalisation

CompositionAggregationGeneralisation
Relationshipstrong part ofweak part ofis a
Symbolfilled diamondhollow diamondhollow triangle
Exampleroom of a buildingplayer in a teamsavings account is an account
An association?yes, specialyes, specialno

Lecture 8: Informatics in a business contextOpen

Three phases of computer architecture

MainframePC and client/serverBrowser and cloud
Period1960s to 1980sfrom the 1980sfrom the 1990s
Clientdumb clientfat clientthin client
Where logic and data arecentraldistributed over clients and serversmainly on servers in the network
Main riskcost, peak loadconsistency between clientsnetwork uptime, security

Network topologies for n nodes

Fully connectedStarRingLine
Linksn(n - 1) / 2n - 1nn - 1
One link breaksno problemone node cut offstill connected the other waynetwork split in two
Weak pointcost of linksthe central nodetwo breaksevery link

Lecture 9: Enterprise applicationsOpen

ERP, SCM and CRM

ERPSCMCRM
Focusall internal processesflow of goods with suppliers and channelsrelationship with customers
Key benefitintegration, one databaselower stock and lead timesretention and sales growth
Lecture remarkoften fails in implementationnot feasible without ITthree types; de-marketing

Lecture 10: New business modelsOpen

B2C, B2B and C2C

B2CB2BC2C
Sellercompanycompanyprivate person
Buyerconsumercompanyprivate person
Typical featureweb shop, marketing to manylarge orders, EDI integrationplatform takes a fee or advertising
ExampleAmazonTradeKeyeBay

Lecture 11: Current trends in ITOpen

Cloud service models

IaaSPaaSSaaSBPaaS
Provider deliversinfrastructureinfrastructure + platformcomplete applicationcomplete business process
Customer managesOS and softwareown applicationssettings onlyinputs and results
Control for customerhighmediumlowlowest
Examplevirtual serversdevelopment platformweb mail, online CRMpayroll

Malware

VirusWormTrojan horseSpyware
Stand-alone?no, attaches to a programyesyes, disguisedyes
Spreads by itself?with the infected programyesnono
Main harmdamage, spreadingspreading, network loadopens the door to otherswatches what you do

Readers: The five readersOpen

Public, private and hybrid cloud

PublicPrivateHybrid
Owned bythe providerone organisation (or hosted for it)mix
Shared with othersyesnopartly
Strong pointcheap, scalablesecurity, controlflexibility
Typical usersmall businesses, consumersbanks, governmentslarge companies