Flow charts You can use flow chart to help design a program. A flow chart is a diagram that shows how a program works and the routes can be taken through it. A flow chat shows where the program starts and where decisions are taken. Processing operations, inputs, and outputs. Process – Used to represent a calculation or general processing operation carried out by the program. Terminator – Shows where the program starts or finishes. Decision box – used in any place where the program makes a test to decide on a choice of directions to run the next code. Data (input/output) – Represents any part of the program that takes data in or shows prints or outputs data. Connector – aka flow line. These lines connect other parts of the flow chat to show the routes the program can take. Flow lines usually have an arrow at one end to the show the direction the program takes. If there is no arrow the direction will be either downwards or to the right. The components of a flow chart Copyright goes to it...
Data Types Programs need to use data for calculations, comparisons, and for output to various devices. The best programs will allways use the most appropriate data types to make the most effective use of memory and to ensure that only the correct types of data are allowed to be input. A variable can be declared to have a data type, including: = character – allows any single letter or number = string – allows any combination of letters, numbers and spaces = integer – for whole numbers = real – for numbers with whole parts and fractional parts = Boolean – can only hold true or false Data structures Programs allow the use of data structures with variables including records and simple arrays. They are defined below: - A record, data structure contains fields to store information In a similar way to a database table. - An array of data structure is a variable with many parts, in simp...
Different types of computer software Software – is any program that can run on a computer containing a microprocessor, when a program runs, it directs the operation of the technology system by controlling the processing and peripheral devices. There are two main categories of software: Off the shelf – These programs are usually cheaper than custom made software; they are instantly available, well tested, bug-free, with good support available from books or the internet. Eg. Microsoft Office. Custom Made – These programs are written especially for the client to meet a specific need. Custom made (aka Bespoke) programs usually take weeks or months to write, but will deliver exactly what the client specified. Some organisations commission custom-made software to solve a specific problem, such as carrying out financial transactions or a robot control program for an automated car production line.
Comments
Post a Comment