






















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!























CIE 0420
1 Applications Of Computers, Their Social & Economic Implications................................ 1 1.1 The Range And Scope Of Computer Applications ............................................................................. 1 1.2 The Social And Economic Implications Of The Use Of Computers....................................................... 3
2 System Analysis ......................................................... 6 2.1 Systems Analysis ................................................................... 6
3 Problem Solution, Algorithm Design & Programming Concepts............................. 8 3.1 Making An Overall Plan .......................................................... 8 3.2 Programming ........................................................................ 10
4 Generic Software And The Organisation Of Data ................................................ 15 4.1 Generic Software .................................................................. 15 4.2 Data ........................................................................................ 18
5 Hardware, Systems And Communications....................................................... 22 5.1 Hardware ............................................................................... 22 5.2 Systems And Communications ........................................... 26 5.3 Types Of System................................................................... 28
The range of computer applications is vast. You should have an awareness of as many applications as possible, and for each, try to know the following:
1 The purpose of the application. 2 The required outcome. 3 The overall system design , including both the computerised and the non- computerised parts of the application. 4 The necessary inputs to the system and the means by which any data is captured. 5 The overall organisation and processing of the data within the system. 6 The use and organisation of the major software and hardware components of the system. 7 The need for recovery in the event of a system failure. 8 The interface between the system and its users. 9 The effectiveness of the system in practice. 10 The effects of the application on individuals and organisations.
Data is exchanged between computers. The data can be in the form of text, images, sound or video.
Electronic mail (e-mail) simple message exchange. Can attach other files Electronic conferencing can either be a text, voice or video conference
Computers are often placed in locations where the public can use them to lookup information.
Information retrieval online databases, encyclopaedias, dictionaries, bus timetables, etc. Library systems documents are stored digitally where they can be searched Multimedia systems stored information contains text, sound, video, etc.
These are often batch-processing systems involving data being collected over a period of time, and then processed later. The collected data is stored in a transaction file, and this is used to update the master file to give a new master file.
Banking systems bank accounts are updated based on daily transactions Personnel records employee's pay is calculated based on hours worked Stock control when items are sent / received, the stock is updated Order processing received orders are dealt with
Effects on people, organisations and on society in general.
Redundancies jobs lost when staff replaced by computer-based systems De-skilling replacement of skilled staff by computers. Staff are then left to do less skilled jobs Electronic 'scabbing' if staff are striking, work can easily switched to non-striking staff via a network, even in a different country Tactical striking unions maximise impact of strikes by selecting computing staff first. Whole company is then affected 'New tech,' agreements benefits to workers (cleaner, safer workplace) and management (more cost-effective) of using computer- based systems
There are many financial reasons for using computers, and computer controlled systems, even though they are expensive to set-up initially.
More efficient tasks completed quicker, and with lest wastage Work longer than people automated systems need no rest, can work for 24 hours a day Save on wages computers can often do the work of several people, so people are made redundant
Businesses change the way they work, and provide different, and better services to clients.
On-line banking more convenient for customer, cheaper for banks, less real staff required to deal with cash E-commerce selling goods online means less overheads, so better prices for customers, and more profit for company EPOS (Electronic Point of Sale) tills in shops where the good purchased are automatically taken from the database of stock. Can automatically generate orders for new stock EFT (Electronic Funds Transfer) allows people to pay for goods using a card which is 'swiped' in the store, authorising the transfer of money from the customer's bank account
Computers have lead to the development of new markets and businesses.
Using computers within businesses has altered the environment that we work in
Cleaner and safer dangerous / messy jobs done by computer systems Work injuries can go up due to prolonged computer use – RSI, back ache, etc.
The use of computers in the workplace has an impact on the way people work
Retraining of staff software packages upgraded, staff need to be trained. This is often a regular thing. However… Individual training training can be personalised to staff's needs through the use of CAL systems, CD-ROMs, etc.
So much personal data is stored within computer systems that companies and governments have to have guidelines and laws to protect the privacy of people and their information.
The Data Protection Act gives the following requirements to anyone who stores data about someone else:
Data must be protected. This involves a number of procedures.
Back-ups of critical data should be performed on a regular basis. A full copy of all files is taken (can use CD-R, magnetic tape, etc.) Usual technique is to keep 3 generations of back-ups (today's, yesterday's and the day before's). This is the grandfather, father, son system. Batch-Processing Backup of both transaction files and master files required. If today's master file is lost, we can re-build it from yesterday's backed-up master file and transaction file. Archiving of old data to reduce the amount of system resources required (disk space, etc.) and keep the system running smoothly, old data that is no longer used (but may be required for future reference) is moved into an archive file.
Systems Analysis describes the process followed when replacing or upgrading a system with a computer-based one. The steps followed are:
What exactly is/are the problem(s) that needs to be solved? How do we find out as much as possible about the present system? We need to do some fact-finding:
Before continuing with solving the problem identified, it is important that it will be worthwhile. The feasibility Study, and the resulting Feasibility Report, will give an idea of:
Based on the contents of the study and report, the company will decide if they are going to proceed with the project.
If the project is to continue, then a much more detailed look at the business and its systems is required. Data will be collected and analysed thoroughly to aid in the design of a replacement system. In particular this stage will provide:
Designs will need to be produced including:
A solution will need to be selected, based on the objectives that were set: Which solution fulfils all of the objectives?
This can be done in one of three ways:
Direct implementation the new system simply replaces the old one. Only suitable for small systems Phased implementation parts of the old system are slowly replaced by the new one, taking time to make sure each bit works before the next is begun Parallel running the new system runs alongside the old one to check it works as well. When all problems have been solved, the old one stops.
We must ensure that any new system functions as expected, both in normal use, and when potential problems arise. We test the system with:
Normal data to see if correct, expected results are achieved Data with errors to check that our validation and error-checking routines Large amounts of data to ensure that the system can cope with high loading Rare / uncommon events like yearly reports, just to see that they work as expected Extreme data to make sure that validation works, and calculations cope with the large / small values
There are two main type of document that are required:
User documentation explaining how to use the new system (a user guide) Technical documentation to allow people to alter / upgrade the system in the future
Finally, the new system has to be assessed. Did it meet its objectives? Ask the new users!
Any software system will need some hardware to run on. The configuration of the hardware is dependent upon:
Outputs required items like printers, monitors, loudspeakers, etc. will be required depending on the output of the system Processing needs a modern computer will have a processor running at about 3GHz. That's a lot of processing power! If less speed is required, money can be saved Environment Certain items of hardware are suited to certain workplaces (e.g. extra-rugged keyboards for factories) Space available some hardware (e.g. flat-screen monitors) is very space efficient Cost s hardware costs very greatly. A CRT monitor is much cheaper than a flat-screen one.
Top-down design a software problem is solved by breaking it down into smaller and smaller modules, until each of these is easy to solve, and write software for. The final solution is formed by joining the modules together. Usually represented using a structure diagram. Structure diagrams (see Section 3.2 below) Flowcharts (see Section 3.2 below) Menus these are an effective way of breaking up a software task. The user has menu options, each of which is handled by a separate bit of the software (like the top-down structure) Libraries of subroutines Many common software problems have been solved already, and you can buy in libraries of software modules that can be 'glued' together to form an application
You should be able to work out the purpose of an algorithm and to suggest and apply suitable test data.
Valid data data that tests the normal operation of the algorithm (e.g. if entering test scores, your test data could include 0%, 20%, 56%, 89%, 100%) Extreme data including values that are at the limits of the expected input (e.g. 0% or 100% for exam result, or a text string that is the Abnormal data data that may be valid, but is not usual (e.g. all test scores 0%, or all 100%, or no test scores at all) Invalid data this includes data that is not of the correct type or format (e.g. text into a number field)
A computer program is a collection of commands that the computer is to follow. The main requirements of a programming language are:
Sequence Following one command by another by another, etc.
i.e. Instruction 1 Instruction 2 the computer executes each instruction in order Instruction 3 etc…
Selection The computer is given a question as then performs different tasks based on the answer i.e. Has something happened?
Yes No
Instruction 1 Instruction 1 the instructions that are executed depend Instruction 2 Instruction 2 answer to the question etc… etc…
Repetition Following the same group of commands over and over again (loop) The loop may go on forever (infinite loop) or may stop due to a certain condition (conditional loop) i.e.
Instruction 1 Instruction 1 Instruction 2 an infinite loop Instruction 2 a conditional … … loop Stop now? No
Low level languages are close to the actual language that computers use (machine code)
Within any computer program, data needs to be stored whilst it is being processed. We store it in special locations in memory called variables (their contents can change, so they are 'variable'!)
These diagrams show the flow of our program (the order that instructions are executed)
This is a way of describing an algorithm (or program) using words. It is an alternative to a flowchart, and is often easier to write, and more understandable, since it is close to English.
Start
Instruction
Question
File
File
Print-out
Add Score to Total
In/Out
Output "Enter score"
Input Score
Was Score = 0?
Start
Output Total
Start
There are several standard pseudocode structures that are commonly used:
Input ( variable ) Gets data from the user and stores it in the variable
Output ( variable / "text" ) Prints the contents of the variable, or the text on the screen for the user to see
Repeat ... Until Repeats the instructions between the 'Repeat' and 'Until' lines until a condition is met e.g. Repeat Output ( "Please enter a score:" ) Input ( score ) Until score equals 0
If ... Then ... Else ... Endif Allows for selection or decision-making. A condition is tested and if it is true then one set of commands is executed, else if it is false another set is executed. e.g. If Score is greater than 60% Then Output "You have passed. Well done!" Else Ouput "You have failed. Sorry!" Endif
Case of ... Otherwise ... Endcase If you want to have different things happening depending on the value of a variable. e.g. Case of score is greater than 70 Output ( "You have an A" ) score is greater than 60 Ouptut ( "You have a B" ) score is greater than 50 Output ( "You have a C" ) Otherwise Output ( "You have failed" ) Endcase
While ... Do ... Endwhile This is another form of loop (like Repeat…Until) except that this one keep going whilst a condition is true , and the condition is checked before the loop starts e.g. Set count to 10 While count is greater than 0 Do Output ( count ) Take 1 away from count Endwhile Output ( "Blast off!!!" )
Many problems can be solved using generic software packages:
Small businesses accounts can be calculated using a spreadsheet, letters written using a word-processor, stock details kept using a database Schools / charities don’t need to employ expensive consultants to produce professional looking reports, posters, flyers, etc.
Cut / copy / paste data can be easily moved between applications Mail-merge a standard letter can be sent to a number of people by merging a database of names and address with the letter template. Special codes in the template are replaced each time by the appropriate name / address Sorting of data a list of items (e.g. names) can easily be sorted into order Import / export of data Applications can save data in a format that is suitable for another application (export), or can open files that they wouldn't normally use (import)
Information is data that has been processed.
e.g. 234567 is simply data (a number) but it could mean many things – a membership number, a mathematical result, etc. Once it is given this meaning, it becomes information.
There are many methods for collecting data for computer systems:
Questionnaires These can be closely matched to the on-screen computer form so the data from them is easily transferred, or… OMR forms where marks are made with a pencil (e.g. multiple choice test) and read into a computer by a special reader Bar-codes Bar-code readers can scan the codes in very rapidly, e.g. at a till in a store, or from books in a library Scanners Paper documents can be scanned into a computer. They become large, graphic images which can then be… OCR of documents (Optical Character Recognition) after text documents are scanned , the image file can be processed by software that recognises the shapes of the characters. Output is a text file containing the original text. Not always 100% right Sensors these can record things such as temperature, light levels, sound, etc. and the readings can be entered into a computer for logging and processing
Data can be checked in two ways: validation (is it valid and logical?) and verification (is it correct?)
To ensure that the data being processed is accurate it must be checked to see that it makes sense. It is asking too much of a computer to check if it's true - somebody may just be lying! Certain validation checks can be carried out:
Range-check e.g. a driver's age should be between 17 and 99 Type-check e.g. a name should only contain alphabetic characters Format-check e.g. a data should be entered as dd/mm/yyyy Presence-check e.g. certain data must be entered (e-mail address) Checksum e.g. the numeric values in a file should always add up to a known amount Check-digit e.g. the last digit of an account number is calculated from the previous digits, and then recalculated on input to see if it matches
Once we know our data is valid (i.e. it is logical, and in the right format, etc.) then we also need to check if it is correct (it maybe a valid date-of-birth, but is it your date-of-birth?!)
Proof-reading the person entering the data simply reads through what they have entered to check it is correct Double-entry the data is entered twice , either by the same, or another operator. The computer compares the data, and any that doesn’t match is questioned.
Before data is entered into a computer system, it needs to be put into a suitable format:
Data, particularly data held in files, requires access in different ways depending on the particular application. Some applications require the data to be ordered in a particular way for processing, whilst some need the data to be very easily searchable for rapid access to specific items
The medium on which the data is stored, and particularly the way in which it is organised, depend on the requirements for access. You would not store a file on magnetic tape, if you needed quick access to any part of the data – it would take too long to find items.
Sequential access is the storage of data in a way that you can only read one item at a time (like recording a film on video tape – you have to work your way through the film from the start) A magnetic tape is a sequential access device. You read it from the start until you find the data you want, re-winding and starting again if you need to do another search Sequential indexed the file is still accessed sequentially, but each item of data has an index (a number or code to identify it). This index can be used to search for data more rapidly Random access any item of data can be accessed immediately. A hard drive is a random access device – you do not need to read all of the data from the start to get to a particular file, you simply jump straight to it.
Some common file processing:
Sorting the data on the file is arranged into a logical order (perhaps by numeric index, or alphabetically) Merging two files are combined , creating a new file. The data is often sorted at the same time so the two sets are mixed in the correct order