Lesson Note On Data Processing SS2 Second Term
Lesson Note On Data Processing SS2 Second Term
Lesson Note On Data Processing SS2 Second Term
8. PROGRAM
DEVELOPMENT
12 EXAMINATION
*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
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 CONVERSION
MANIPULATION STORAGE COMMUNICATION
*Evaluation*
1. Define the following;
1. Register
2. Bus
3. Address
2. List and explain types of register
*WEEK ONE (1) WEEKEND ASSIGNMENT*
*OBJECTIVE*
1. A collection of wires through which data is transmitted from one
part of a computer to another is known as _______ a. Address B. Bus
C. Register
2. Computer data processing is grouped into the following EXCEPT one. A.
Conversion B. Manipulation C. Register
3. The following are types of register EXCEPT ___________ a. CMR B.
CIR C. MDR
4. ___________ register acts like a buffer and holds data that is transferred
from the memory to the processor. a. MDR B. CIR C. CPU
5. All data must be represented in a register before it can be processed. A.
TRUE B. FALSE
* THEORY*
1. State two differences between register and main memory.
2. List and explain the factors affecting speed of data transfer.
*WEEK 2
*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
Field
Record
file
*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.
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.
*WEEK 3
*HANDLING COMPUTER FILES***
BASIC OPERATIONS OF COMPUTER FILES:
*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.
*EVALUATION*
1. State three advantages of computer files over manual files
2. State five limitation of computerize file system
3. List five operation that can be performed
*WEEK THREE (3) WEEKEND ASSIGNMENT*
*OBJECTIVE*
1. _______ refers to the unforeseen loss of data or information. a. Backup b.
Data loss c. Overwriting d. Antivirus
2. _______ is the process of making copies of files, so that the additional
copies may be used to restore the original after data loss event. a.
Manipulating b. Data Loss Event c. Backup d. Duplication
3. An occurrence of data loss can be called ________________ a. Data Loss
Event b. Data Loss Occurrence c. Data Loss Show d. Data Loss
occasion
4. The following are limitations of computerized file system EXCEPT one. a.
Vulnerable to virus attacks b. Incompatible data file c. Cheap to set it up d.
Data are often duplicated
5. The following are advantages of computer files over manual files EXCEPT
one a. Slow and inefficient in processing of information b. Accurate
information and faster decision making c. Takes less space d. More timely
information can be produced
*THEORY*
1. Outline steps to be taken when creating a sequential file
2. List and explain the three methods for files security
*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.
Editing features of a word processor
Editing features in MS word include:
Copy, cut and paste
Format painter
Find and replace
Goto
Spelling and grammar
Thesaurus
Word count
You can use word’s cut feature to remove information from a document. You can
use the *Paste *feature to place the information you cut anywhere in the same or
another document. In other words, you can move information from one place in a
document to another in the same or different document by using the *Cut *and
*Paste *features.
The office clipboard is a temporary storage area where copied and cut files are
kept. When you copy or cut, word stores the data you copied/cut on the Clipboard.
You can paste the information that is stored on the Clipboard as often as you like.
When you copy/cut a document, the copied/cut data can be pasted into a new
location.
*Copying a document*
Copying a document or portion of a document means duplicating the document.
The original document will still remain while the duplicate of it will be found in a
new location. To copy a document five major methods are involved and they are:
Shortcut method
Keyboard method
Drag and drop method
Ribbon bar method
Right click mouse method
*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
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
*REPLACE *if you want it one after another.
Click cancel button to abort the operations.
*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+JAlign 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.
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+XShow 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
*EVALUATION*
1. Define Word Processing and Word Processor
2. List five (5) examples of Word Processor
*WEEK FOUR (4) WEEKEND ASSIGNMENT*
*OBJECTIVE*
1. The following are examples of a word processor EXCEPT one. a. Corel
Draw b. Microsoft Word c. Word Perfect d. Perfect Writer
2. _______ is the use of computer software to create, edit, view, store, retrieve
and print text document. A. Word Processor b. Word Communication c.
Word Processing d. Word Application
3. The following are types of display effect of a Font Style EXCEPT one a.
Italics b. Underline c. Times New Roman d. Bold
4. ________feature create a text with spacing before and after. A. Indent and
Spacing b. Superscript c. Change Case d. Double strikethrough
5. The following are examples of Indent and spacing EXCEPT one a.
Alignment b. Indentation c. Tabs d. Ribbon
*THEORY*
1. Write out the steps to carry out the following; (i) Change
Case (ii) Subscript (iii) Superscript (iv)
Strikethrough (v) Double Strikethrough
2. List and explain the different methods in copying a document
*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.
*Definition of terms*
To be a good and successful systems analyst, the person must have the
following skills:
The steps taken by a system analyst to solve problems are stated below:
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.
*Solution:*
*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).
*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.
1. I=P*R*T/100
*CONCEPT OF SYSTEMS*
What is a system?
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_*.
1. Data warehouses
2. Enterprise resource planning
3. Enterprise systems
4. Expert systems
5. Geographic information system
6. Global information system
7. Office Automation
*EVALUATION*
Hiit @ School, Computer Studies for Senior Secondary Education. Pgs 101
– 103.
*OBJECTIVE*
*THEORY*
*WEEK 6
Date…………………..*
Objectives of SDLC
1. Investigation stage
2. Systems Analysis stage
3. Systems Design Stage
4. Systems Implementation stage
5. Systems Deployment
6. Systems maintenance Stage
*ADVANTAGES OF SDLC*
*DISADVANTAGES OF SDLC*
*Reading**Assignment*: *Reading**Assignment:*
Hiit @ School, Computer Studies for Senior Secondary Education. Pgs 104 -105
*WEEKEND ASSIGNMENT*
*OBJECTIVE*
*THEORY*
*WEEK 7
Date…………………..*
*PROGRAM DEVELOPMENT*
Definition of a Program
1. Accuracy
2. Readability
3. Maintainability
4. Efficiency
5. Generality
6. Clarity
7. Reliability
Maintenance:
It is the process of updating or amending previously written program for
current use.
*Reading**Assignment*: *Reading**Assignment:*
Hiit @ School, Computer Studies for Senior Secondary Education. Pgs 106
– 107.
*OBJECTIVE*
*THEORY*
1. Define a program
2. State four characteristics of a program
3. List the steps involved in program development
4. State two precautions to be taken when writing a program.
*WEEK 8
Date…………………..*
*Characteristics of Algorithms*
*Example*
Step8: End
*Flowcharts*
*Characteristics of flowchart*
Process
Terminator
Flow line
Decision (control)
Input/output
Connector
Pre-defined process/declaration
Preparation
*Reading**Assignment*: *Reading**Assignment:*
Hiit @ School, Computer Studies for Senior Secondary Education. Pgs 108
– 109
*OBJECTIVE*
*THEORY*
*WEEK 9
Date…………………..*
*INTRODUCTION TO BASIC PROGRAMMING*
*_EVALUATION_*
1. What is BASIC?
2. List FIVE versions of BASIC.
*_THE BASIC INTERPRETER_*
*_EVALUATION_*
*_KEYWORDS IN BASIC_*
1. *_REM STATEMENT_*
*_Example:_*
10 REM This program finds the average of 5 numbers
* *_LET STATEMENT_*
*_Examples:_*
10 LET A = B + C
* *_INPUT STATEMENT_*
*_Examples:_*
10 INPUT A, B, C
* *_PRINT STATEMENT_*
The print statement tells your computer to display the output of the
executed program on the screen of the monitor (VDU).
*_Example:_*
10 PRINT SUMS
* *_END STATEMENT_*
50 END
* *_RUN STATEMENT_*
*_EVALUATION_*
*Reading**Assignment*: *Reading**Assignment:*
Hiit @ School, Computer Studies for Senior Secondary Education. Pg 110
*THEORY*
1. What is BASIC?
2. Write the function of the following BASIC keywords
3. LET (b) INPUT (c) PRINT (d) REM
(e) RUN