Ss2 Second Ter Lesson Note
Ss2 Second Ter Lesson Note
SCHEME OF WORK
WEEKS TOPICS
1. REVIEW OF FIRST TERM
2. COMPUTER DATA CONVERSION
3. CONCEPT OF COMPUTER FILES
4. HANDLING COMPUTER FILES
5. WORD PROCESSING
6 SYSTEM DEVELOPMENT CYCLE
7. SYSTEM DEVELOPMENT CYCLE II
8. PROGRAM DEVELOPMENT
9. ALGORITHMS AND FLOW CHART
10. INTRODUCTION TO BASIC PROGRAMMING
11. REVISION
12 EXAMINATION
1
WEEK 2
COMPUTER DATA CONVERSION
Register
This is a special high-speed storage area within the CPU. All data must be represented in a
register before it can be processed, for example, if two numbers are to be multiplied, both
numbers must be in registers, and the result must be placed in register. (The register can contain
the address of a memory location where data is stored rather than the actual data itself.)
Address
An address is used to reference a storage location in main memory. You can think of computer
memory as an array of storage boxes, each of them has an address (a unique number) assigned to
it.
Bus
A collection of wires through which data is transmitted from one part of a computer to another.
You can think of a bus as a highway on which data travels within a computer. When used in
reference to personal computers, the term bus usually refers to internal bus. This is a bus that
connects all the internal computer components to the CPU and main memory
Types of Registers
The types of registers are Memory data register (MDR) and Current
instruction Register (CIR)
The types of registers can be explained better by their functions.
MDR
The memory data register is used to hold data or the memory address that contains either the next
piece of data or an instruction that is to be used. The memory data register acts like a buffer and
holds data that is transferred from the memory to the processor. The memory data register is used
whenever data is being transferred between central processing unit and main memory.
CIR
Current instruction register is the register, usually in the control unit, that contains the instruction
that is being executed by the CPU. The CIR stores the instruction currently being executed. In
simple processors each instruction to be executed is loaded into the instruction register which
holds it while it is decoded, prepared and ultimately executed.
Differences between Register and Main Memory:
Factor considered: storage, speed, storage capacity and relative cost.
Storage devices: Speed, Storage capacity, Relative cost
2
Register: Fast, Very low, Very high.
Main memory: Very fast, Low and moderate, High speed
DATA-FETCH-EXECUTE CYCLE
Fetch execute cycle is the very basic way a computer works. All commands are executed through
the running of this cycle. The cycle itself has very few commands, however when linked up
together it is possible to create a large program, or even an operating system.
The cycle contains 3 main parts
1. Fetch the instruction
2. Decode the instruction
3. Execute the instruction
OPERATING PROCEDURE OF COMPUTER DATA PROCESSING
Data processing consists of all activities which are necessary to transform data into information.
Computer data processing is grouped under five basic categories as shown below;
COLLECTION CONVERSION MANIPULATION
STORAGE COMMUNICATION
3
WEEK 3
CONCEPT OF COMPUTER FILES
Computer files: Computer files are the most basic unit of data that users can store on a disk.
Every program, image, video, song employee numbers, a 3-digit, and document is stored as a file
Record: A record is a collection of related data items or fields. Each record normally
corresponds to a specific unit of information. For example, employee number, employee’s name,
basic salary and house rent allowance.
Field: Data items are physically arranged as fields in a computer file. Their length may be fixed
or variable. Since all individuals have 3 digits field is required to store the particular data. Hence,
it is a fixed field. In contrast, since customer’s name varies considerably from one customer to
another, a variable amount of space must be available to store this element. This can be called
variable field.
Data item: Data item is the smallest unit of information stored in computer file. It is a single
element used to represent a fact such as an employee’s name, item price and so on.
TYPES OF DATA ITEMS
Numeric: this type of data item consists of numbers 0-9.
Alphabet: this type of data item consists of letters A-Z.
Alphanumeric: also known as alphameric is a combination of alphabetic and numeric characters,
and is used to describe the collection of Latin letters and Arabic digits or a text construct from
this collection. There are either 36 (single case) or 62(case-sensitive) alphanumeric characters.
The alphanumeric character set consists of the numbers 0-9 and letters A-Z.
File structure:
Data: a data item is the smallest unit of information stored in
computer file.
Field: is a collection of related items.
Record: is a collection of related fields.
File: the collection of records is called a file
Types of File Organization Method
Serial: A serial file is one which the records have been stored in the order in which they have
arisen. They have not been sorted into any particular order. An example of a serial file is an
unsorted transaction file. A shopping list is an example of a non-computerized serial file. Serial
files can be stored on tape, disc or in memory.
4
Sequential: in sequential file organization, records are organized in the sequence by which they
were added. A sequential file contains records organized in the order they were entered. The
order of the records is fixed. The records are stored and sorted in physical, contiguous blocks
within each block the records are in sequence. Records in these files can only be read or written
sequentially.
Indexed: An indexed file organization contains reference numbers, like employee numbers, that
identify a record in relation to other records. These references are called the primary keys that
are unique to a particular record. Alternate keys can also be defined to allow alternate methods of
accessing the record. For example, instead of accessing an employee’s record using employee
numbers, you can use an alternate key that reference employees by departments. This allows
greater flexibility for users to randomly search through thousands of records in a file. However,
it employs complex programming in order to be implemented.
Random file: This is the file organized via an index. Also called a “direct file” or “direct access
file,’’ it enables quick access to specific records or other elements within the file rather than
having to read the file sequentially. The index points to a specific location within the file, and the
file is read from the that point.
Methods of accessing files:
Sequential files: the method of access used is still serial but of course the files are now in
sequence, and for this reason the term sequential is often used in describing serial access of a
sequential tape file. It is important to note that to process (e.g. update) a sequential master tape
file, the transaction file must also be in the sequence of the master file. Access is achieved by
first reading the transaction file and then reading master file until the matching record using the
record keys) is found. Note therefore that if the record required is the twentieth record on the file,
in order to get it into storage to process it the computer will first have to read in all nineteen
proceeding records.
Random files: Generally speaking the method of accessing random files is RANDOM. The
transaction record keys will be put through the same mathematical formula as were the keys of
the master records, thus creating the appropriate bucket address. The transactions in random
order are then processed against the master file, the bucket address providing the address of the
record required.
Computer files classification:
Master file: there are files of a fairly permanent nature, e.g. customer ledger, payroll, inventory,
and so on. A feature to know is the regular updating of these files to show a current position. For
example, customer’s order will be processed, increasing the “balance owing “figure on a
customer ledger record. It is seen therefore that master records will contain both data of a static
nature, e.g. a customer name, address, and data that, by its nature will change each time a
transaction occurs, e.g. the” balance” figure already mentioned.
Transaction file: This is also known as movement file. This is made up of various transactions
created from the source documents. In a sales ledger application the file will contain all the
5
orders received at a particular time. This file will be used to update the master file. As soon as it
had been used for this purpose it is no longer required. It will therefore have a very short life,
because it will be replaced by a file containing the next batch of orders.
Reference files: A file with a reasonable amount of permanency. Examples of data used for
reference purposes are price lists, tables of rates of pay, names and addresses.
Criteria for classifying computer files: Criteria for classifying
computer files are:
By nature of content: it refers to the nature of file content.
By organization method: it refers to the way files are arranged e.g.. Serial, sequential, random
and so on.
By storage medium: it refers to storage devices in which a file’s could only be stored such as
magnetic or optical disk and magnetic tape and so on.
6
WEEK 3
HANDLING COMPUTER FILES
BASIC OPERATIONS OF COMPUTER FILES:
Create: Creating a file with a given name.
Delete: Deleting a file that are unwanted.
Retrieve: Retrieving a stored file or lost file.
Copy: Copying a created file to either an external or in-built storage device.
View: Viewing a created file or granting privilege of viewing.
Open: Opening a file to use its contents.
Close: Closing the file, thereby losing access until it is opened again.
7
CODE
The combination of all these records forms a file. Thus, a file is a group of related records. To
facilitate the retrieval of specific records from a file, at least one field in each record is chosen as
record key. Usually, the key is
unique to every record to avoid duplication of records in a file.
BASIC File Processing statement to read and display files
The table below would be used in a BASIC program. The table would be
stored in a file named “EXAMFILE.TXT” the content would be retrieved
from the file and output to the screen
8
METHODS FOR FILES SECURITY
Backup
Backup or the process of backing up a file refers to making copies of files so that these additional
copies may be used to restore the original after the data loss event.
Backup has two distinct purposes. The primary purpose is to recover data as a reaction to
data loss, be it by data deletion or corrupted data.
The secondary purpose of backups it is recover data from historical period of time within
the constraints of a user-defined data retention
policy.
Antivirus
An anti-virus program protects a computer file from malicious virus attack, detects and heals
files that have been attacked. Usually it consists of a firewall, a virus scanner and remover and
sometimes other tools as well.
Password
It is a chosen secret string of characters that allows access to a computer, interface, files etc. The
use of password is at user’s discretion and caution must be exercised by the user to remember the
password always.
Differences between computer files and manual files
Manual is using old method without the help of the technology or maybe less to perform certain
task or work while; computerized file system is using latest technology of ICT to carry out
various tasks that is more effective when compared with manual system in terms of the
productivity and time usage.
9
WEEK 4
WORD PROCESSING 2
What is word processing?
Word processing is the use of computer software to create, edit. View, store, retrieve and print
text documents. A text document is a written communication like letters reports, memo and so
on. The software that is used for word processing is called a word processor.
Examples of word processors
Microsoft word
WordStar
WordPerfect
Word pro
Corel WordPerfect
Lotus notes
Perfect writer
MultiMate advantage
Professional write
Word processors are used in place of typewriters because of the quality of outputs, ability to
replicate copies without having to retype or photocopies.
Application areas of word Processing
Word processing is used in the following areas:
In offices
In publishing
In journalism
In education
For writing articles
Version:
Microsoft Word Versions: MS office 2000, 2003, 2007, 2010.
Facilities available in a word processor:
Typing document
Editing document
Storing or saving documents
Move, copy and paste
Insert, remove words, sentences, paragraph etc.
Type, using different fonts types and sizes.
10
Editing features of a word processor
Editing features in MS word include:
Copy, cut and paste
Format painter
Find and replace
Go to
Spelling and grammar
Thesaurus
Word count
Shortcut method
Highlight the portion of a document to be copied
Right-click on the highlighted text
Select Copy
Position the insertion point in a new location
Right-click in an empty space
11
Select paste
Keyboard method
Highlight the document to be copied.
Press the keys *CTRL + C *to copy.
Position the cursor on the insertion point
Press the keys *CTRL + V *to paste.
Drag and drop method
Highlight the document to be copied.
Hold down the *CTRL *key as you drag the highlight to a new location.
Release the mouse button.
Ribbon bar method
Highlight the document to be copied.
Click copy on the Home Ribbon.
Position the insertion point in a new location
Click Paste from the Home Ribbon.
Right click mouse method
Highlight the document to cut.
Right click on the highlights and select cut
Position the insertion point in a new location
Right click on an empty space.
Click on paste.
_FIND and REPLACE_
When a mistake is made all over a document, for example, you mistakenly typed fred instead of
fried, the find and replace feature helps to locate the errors and quickly replace them with the
expected text. To apply the find and replace feature in a document:
Click on Home Ribbon
Click on the Find icon and drop down arrow and click find
Click on the Replace Tab
Type the error text in the *FIND WHAT *text box and the corrected in the
12
*REPLACE *if you want it one after another.
Click cancel button to abort the operations.
13
Type the text
Highlight the text
From the Home Ribbon, click on the Font size (ctrl + shift + F)
Click the drop down arrow and select a font size of your choice.
Font style: This displays effects on text such as bold, italic, regular,
bold italic.
*BOLD*
To select a bold font style for your text, do the following:
Type the text
Highlight the text
From the Home Ribbon, click on the *B*
/ITALIC/
To select a bold font style for your text, do the following:
Type the text
Highlight the text
From the Home Ribbon, click on the */I/*
_UNDERLINE_
To select an underline font style for your text, do the following:
Type the text
Highlight the text
From the Home Ribbon, click on the *U*
To select the different underline font style for your text, do the following:
From the Home Ribbon, click on the drop down arrow
Click on the desired underline style.
Font Color: This displays color for your text, do the following:
Type the text
Highlight the text
14
From the Home Ribbon, click on the *A icon *drop down arrow.
Click on the desired color of your choice.
*Font Effect: *This displays other effects on your text such as strike
through, subscript, superscript
*Strikethrough*
To apply Strikethrough effect on your text, do the following:
Type the text
Highlight the text
From the Home Ribbon, click on the” *Abc” icon *drop down arrow.
*Double Strikethrough*
Type the text
Highlight the text
From the Home Ribbon, click on the *icon *beside font.
*Subscript*
Type the text
Highlight the text
From the Home Ribbon, click on the”X2” icon.
*Superscript*
Type the text
Highlight the text
From the Home Ribbon, click on the “*X2” *icon.
*Change case*
Type the text
Highlight the text
From the Home Ribbon, click on the “*Aa” icon*.
*Character spacing: *This displays different characteristics of spacing
that can be applied on a text they include: Expanded or condensed, kerning, and so on
15
Paragraph:
Indent and spacing: This feature creates a text with spacing before
and after. The effects here are : alignment , indentation , spacing , tabs.
*Alignment*
Right click the white space on a document and select paragraph.
Click on indent and spacing tab. In the general options in the alignment
drop down menu, select your desired choice.
Click ok to apply to the document.
*Indentation*
Type the text
Highlight the text
Right click on the text and select paragraph
Click on indent and spacing tab. In the indentation options, select your desired choice as shown
in the dialog box.
Click ok to apply to the document.
Ctrl+0 Toggle 6pts of spacing above the paragraph.
Ctrl+A Select all contents of the page.
Ctrl+B Bold highlighted selection.
Ctrl+C Copy selected text.
Ctrl+D Open the font preferences window.
Ctrl+E Align the line or selected text to the center of the screen.
Ctrl+F Open find box.
Ctrl+I Italic highlighted selection.
Ctrl+J Align the selected text or line to justify the screen.
Ctrl+K Insert a hyperlink.
Ctrl+L Align the line or selected text to the left of the screen.
Ctrl+M Indent the paragraph.
Ctrl+N Open new, blank document window.
Ctrl+O Open the dialog box or page for selecting a file to open.
16
Ctrl+P Open the print window.
Ctrl+R Align the line or selected text to the right of the screen.
Ctrl+S Save the open document. Like Shift+F12.
Alt+F, A Save the document under a different file name.
Alt+X Show the Unicode code of a highlighted character.
Ctrl+T Create a hanging indent.
Ctrl+U Underline the selected text.
Ctrl+V Paste.
Ctrl+W Close the currently open document.
Ctrl+X Cut selected text.
Ctrl+Y Redo the last action performed.
Ctrl+Z
17
WEEK 5
SYSTEM DEVELOPMENT CYCLE 1
INTRODUCTION
Information systems are important for the success of any modern business for organization.
Every many information systems are being developed to make them more competitive and
improve the productivity and profit.
The two keys required for a successful development of information system are:
* Thorough Systems analysis and design
* Understand what the Business or organization requires.
Definition of terms
Systems analysis is the process of understanding in detail what a system should accomplish,
how it will accomplish it required to accomplish it.
Systems design is the process of specifying in detail how components of an information system
should be implemented physically.
Systems analyst is a person that uses analysis and design techniques
to solve business problems using information technology.
Skills of a systems analyst To be a good and successful systems analyst, the person must have
the following skills:
* Information technology knowledge and programming expertise.
* Understand business problems.
* Use logical methods for solving problems.
* Ability to find facts about the problem and develop how it should be
solved.
* Always wanting the improvement of the system.
* People management knowledge and skills.
18
1. Study and understand the problem: The analyst must identify that
there is a problem to be solved and specify that it is feasible to
solve the problem.
2. Define the requirements for solving the problem: The analyst will
identify the facts or data that are required to solve the problem.
3. Develop a set of possible or alternative solutions: If there are
alternative solutions, the systems analyst must develop them and
decide on the best solution to use. However, in most cases, there
may be only one solution which is chosen.
4. Define the details of the chosen solution: All the facts and method
need to solve the problem are specified in detail.
5. Solve the problem: The problem is solved using the chosen solution
method.
6. Monitor to ensure that desired result or outcome is accomplished:
Here, the analyst will make sure that the formula is not miscalculated.
Example: let us apply this process in solving a simple interest (SI) problem: A man invested the
sum of N500, 000.00 for 5 years at an interest rate of 12% per annum. Calculate the amount at
the end of the period.
Solution:
Step1: Study and understand the problem: the simple interest is understood as defined.
Step 2: verify that the benefits of solving the problem outweigh the cost: The SI can be solved
with our current knowledge and the resources that we have like four figure tables, calculator and
so on. We do not need to hire anybody.
Step3: Define the requirements for solving the problem: the requirements for solving the SI
problem are Principal (N500, 000.00), rate (12%) and Time (5years).
Step4: Develop a set of possible or alternative solutions: The problem can be solved in two ways:
First calculating the SI using the formula (I=P*R*T/100) and then calculate the amount as
A=Principal + Interest.
Secondly, another way is calculating the Amount using the formula that
A=P (1+(R*T/100))
19
Note that *means multiplication.
Step 5: Decide which solution is best and recommended: We decide touse the first method
because it is simpler than the second.
Step 6: Define the details of the chosen solution: The variables (facts) that we need to solve this
problem are as stated in step 3 above and the procedure are as stated on step 4(1) above.
Step 7: Implement the solution: The problem is solved as follow:
1. I=P*R*T/100
= 500,000*12*5/100= N300, 000.00
ii. Amount= P+I= N500, 000+ 300,000 =800,000
Step 8: Monitor to ensure that desired result is accomplished. To make sure that the formula
procedure and calculations are correct.
CONCEPT OF SYSTEMS
What is a system? A system is a collection of interrelated components that function
together to form a whole and achieved outcome. Examples: What is an information system?
An information system is a collection of interrelated components that collect, process, store and
provide as an output the information needed to complete a (business) task.
In systems development, application systems are referred to as information systems. Therefore,
an information System can also be defined as a collection of programs running on computers
which interact with one another as well as humans to provide the necessary information needed
to make decisions within an organization.
What is a subsystem?
A subsystem is a part of a larger system that can function on its own to perform a task. It can be
a system having subsystems or it may just be a single system. The components that make up the
overall computer system can be described as sub-systems. These are mainly hardware and
software subsystems. The process of dividing a system into subsystems and components is called
_Functional Decomposition_
20
Information Systems and Component Parts
The main components of information systems are:
1. IT i.e. hardware and software
2. Data/information
3. Procedures/policies
4. People
5. Communication Networks
21
WEEK 6
SYSTEM DEVELOPMENT CYCLE 2
Systems Development Life Cycle (SDLC)
Systems development is a planned undertaking with a fixed beginning and end that produces the
desired result or product. It may be a large job that involves many people working for a long
period or it can also be a small assignment that one person can finish in a day. the SDLC
provides an overall formalized method for managing the systems development processes and
activities. It represents a detailed and specific set of procedures, steps, and documents that are
required for the development of an information system development.
The SDLC believes that the development of information systems should follow a structured and
methodical way, requiring each stage of the life cycle from inception of the idea to delivery of
the final system, to be carried out in rigid and sequential order.
Definition of SDLC: The systems development life cycle is the process of understanding how an
information system (IS) can support the business needs of an organization, designing the system,
building it and delivering it to the users.
Objectives of SDLC
The objectives of SDLC are:
1. To ensure high quality systems are delivered.
2. To provide strong controls over the system development
3. To maximize the productivity of the systems staff
1. Investigation stage
2. Systems Analysis stage
3. Systems Design Stage
4. Systems Implementation stage
22
5. Systems Deployment
6. Systems maintenance Stage
1. Investigation stage: this stage involves the investigation of the existing system. The existing
system is studied and evaluated to identify its problems and deficiencies. It involves gather
information about the existing systems. The information could be gathered through Observation
(observing the system), Questionnaire (preparing questionnaires based on the existing system
and give to the users to fill) and Interviewing (asking the user verbal questions about the system).
The information gathered is used in a feasibility study. The aim of the feasibility study is to
identify the problems and proffer feasible solution through feasibility report. It also identifies
how this problem is to be solved (either manually or computerized), when it is to be solved and
why it should be solved. It defines the objectives and goals that the new system to be developed
will achieve. The feasibility report is the main output of the investigation.
* Systems Analysis stage: This stage starts with a more detailed investigation into the existing
system. The same facts finding methods of observation, questionnaire and interview are used to
gather end-users information such as data and procedures and processes. The data and
procedures are analyzed to define the new system requirements. The new system requirements
are defined addressing the deficiency in the existing system with specific proposals for
improvement. The output of the analysis stage is the users’ requirements.
* Systems Design Stage: At this stage the proposed system is designed. It involves layout plans
for the physical construction, hardware requirements, operating systems, programming,
communication, and security. The design describes the desired features and operations of the
proposed system in detail, including screen layouts, business rules, process diagrams, flow
charts, pseudo-code and other documentation such as data dictionary and so on. The system
design stage produces the Systems Specification.
* Systems Implementation stage: This stage is the stage where programs of the new system are
written in the specified programming language in line with the systems specifications. It involves
testing of all the new system and adjustments and corrections are made where necessary.
23
* Systems Deployment: Here the system that was developed in stage 4(four) is put into use. It
involves bringing all the different parts the proposed system together. All parts of the system is
integrated and tested for errors, bugs and how they operate. It includes the installation and
deployment. This is the stage where the software is put into use and runs the actual business.
* Systems maintenance Stage: once the new system is deployed and running, it is subjected to
exhaustive evaluation on how it is able to achieve its setup goals. Areas for improvement will be
modified and enhanced. Sometimes the mistakes or errors can be detected. Procedures and
processes may change. Thus, the remaining life of the system is subject to changes, correction,
additions, moves to a different computing platform and more. The system maintenance stage
involves all the activities, processes and procedures required by the system to exist forever.
ADVANTAGES OF SDLC
24
WEEK 7
PROGRAM DEVELOPMENT
Definition of a Program
A computer program can be defined as a list of instruction issued to the computer to perform a
particular task. Programs are written in computer programming languages.
Characteristics of a good program
Every good program must have the following characteristics:
1. Accuracy: every good program must be error free.
2. Readability: the program should be easy for any programmer to read
and understand.
3. Maintainability: a careful written program should be very easy to
amend and maintain if need be.
4. Efficiency: Should have the ability to solve a particular problem
skillfully.
5. Generality: should be able to solve all similar problems.
6. Clarity: should be straight forward and easy to understand.
7. Reliability: should be depended upon at all times.
Precaution
Do not rush. Be careful, stable and patient when writing programs.
No step should be skipped.
The order of execution must be followed sequentially.
Steps in Program Development
Problem definition: the programmer is expected first of all to understand the problem and know
exactly what the problem entails. The definition of the problem must be unambiguous.
Problem analysis: The programmer is expected to analyze the problem to determine how it will
be solved, the required inputs and output
Planning the solution: before a program is written, the algorithm or flowchart for that program
must be drawn and tested before the actual coding of the program and this is called dry running a
25
program. The flowchart therefore, is a diagrammatical representation of the steps involved in
writing a given program.
Program coding: This is the actual writing or coding of the program in a particular programming
language e.g. BASIC, VBASIC, FORTRAN, Pascal, COBOL and so on.
Disk checking: This is used to check or verify that the design represents a correct solution to a
problem and it is very important to follow through the design using suitable test data.
Problem compilation: when the coding process is completed, the program will be compiled if it
is necessary. It is necessary to compile if the programming language allows it.
Program testing: this is similar to proofreading. The written program is tested and errors
corrected to check the program is able to solve the problem it is expected to solve
Program documentation: this involves writing a detailed description about the program and some
specific facts pertaining to the usage and maintenance of the program.
Program running: this is the actual running or execution of the program with the compiler or
interpreter so as to check if the desired output is generated.
Maintenance:
It is the process of updating or amending previously written program for current use.
26
WEEK 8
ALGORITMS AND FLOWCHARTS
Algorithm is the step by step procedure of solving a particular problem. It is simply a sequence
of clear and precise instructions for solving a particular problem. Algorithms are usually written
in English and some few mathematical notations (signs, symbols)
Characteristics of Algorithms
1. They are written in sequence.
2. They are written in English like statements.
3. Finite, it must have a beginning and an end.
4. Should be effective
5. Should not be ambiguous. Should be consistent.
Example
An algorithm to calculate average of three numbers:
Step1: Enter the first number N1
Step2: Enter the second number N2
Step3: Enter the third number N3
Step4: Calculate the total (N1+N2+N3)
Step5: Calculate the average (N1+N2+N3)/3
Step6: Print total
Step7: Print Average
Step8: End
Flowcharts
The flowchart is the diagrammatic representation of an algorithm. It shows the steps involved in
solving a particular task.
Characteristics of flowchart
Different flowcharting symbols are used for different operations
Flow lines are used to connect the flowcharting symbols.
Flowcharts are read and drawn from top to bottom.
The start symbol indicates the beginning of a program.
27
WEEK 9
INTRODUCTION TO BASIC PROGRAMMING*
_BASIC_ stands for BEGINNNERS ALL-PURPOSE SYMBOLIC INSTRUCTION CODE.
It is a single easy to use language designed also for beginners. It is not only simple but also
powerful. It is science oriented. Professor John Kemeny and Thomas Kurtz developed the
language for programming a computer. The program can be used to solve problem covering a
wide range of application on many different types of digital computer. Because the BASIC
Language has been designed for ease of use and is readily available on most computers, program
For the computer to execute your instructions in order to produce the desired result, the
instruction must be first be interpreted to what thecomputer can understand by another program
called the BASIC INTERPRETER (or TRANSLATOR). The BASIC interpreter converts your
program into a form that can be executed directly by the computer.
*_KEYWORDS IN BASIC_*
28
REM STATEMENT
The REM statement is a remark statement. It is used to insert remarks in the program. Such
remarks are used to explain what the program is all about.
Example:
29