Computer Programming Logic & Algebra Statistics 1
Computer Programming Logic & Algebra Statistics 1
some acronyms to always remember what has been read, provided you can learn them by
heart and also with the aid of each course textbook , I guarantee you success in every exam
pertaining to these courses below you are gonna sit for as a Laspotech SPST-R first semester
ND1 computer science student, here are the important courses :
Computer Programming
Logic & Algebra
Statistics 1
FLOWCHART
This is the diagrammatical representation of an algorithm using the standard symbols
Data Flow diagram can be categorized into two: logical data Flow diagram
Physical data flow diagram
LOGICAL DFD: this visualizes the data flow that is essential for a business to operate, it focuses on the business
and the information needed
PHYSICAL DFD: it shows how the system is actually implemented or how it will be.
DECISION TABLE
This is a tabular form that presents a set of conditions and their corresponding actions . The purpose of decision
table is to provide information concerning a problem and solution in concise format that is easy to read and
understand
Decision table is divided into four (4) zones : Zone 1 contains the condition of the statements
Zone 2 contains action statement
Zone 3 contains the rules
Zone 4 contains the result of the action to be taken
Different stubs on a decision table
Condition stubs: describe the condition that will affect the decision or policy
Action stubs: describe in form of statement the possible policy actions or decision
Rules: describe which actions are to be taken under specific combination
Result.
DEBUGGING
This is the identification and removal of localized implementation of bugs or errors in a program or system while
BUGS are errors in coding or logic that make the computer to malfunction or to produce incorrect result
PROGRAM MAINTENANCE
This is the modification of a software product after delivery to correct faults, to improve performance or other
attributes.
TAUTOLOGY
A compound preposition whose truth value is always T, no matter the initial truth value of its component
CONTRADICTION
A compound preposition whose truth value is always F, no matter the initial truth value of its component
FALLACY
A compound preposition whose truth value is either true (T) or false (F) .
Law of Thought
Law of Identity: believes that everything is exactly what is supposed to be , a boy is a boy and a chair is
chair
Law of Contradiction : believes that whatever is declared to be cannot at the same time declared not to
be
Law of excluded middle: states that a thing is either is or is not .
NB: Those things with their symbols mentioned above under laws of truth table are called CONNECTIVES, just
like as we have “and” & “or” as conjunction in English Language , so the mathematical equivalence of these
conjunctions are known as CONNECTIVES.
NB: Learn the above laws of truth table by heart, it is very important and also take note of the following topics
Mathematical induction
Binomial theorem and series
Matrix
If you have any problem on those topics, contact my number or whatsapp me (08093379386)
COURSE: DESCRIPTIVE STATISTICS
Definition of statistics: Statistics is defined as a science that deals with the techniques used in the Collection,
Organization, Presentation, Analysis, Interpretation and Utilization of numerical data to make inferences.
USE OF STATISTICS
To FEMID, i.e
To Forecast/predict the future
To Evaluate policy impact
To Monitor policy implementation
To Identify problems that need to be addressed
To Design policy options and make choices
NATURE OF STATISTICS
Descriptive statistics: deals with the collection, tabulation and summarization of numerical data
Inductive statistics: deals with the tools or techniques used to analyze data to make estimate or draw
conclusion from the data
Decision making: is concerned with taking good decisions on certain action in the form of selecting one or
more alternative courses
DATA COLLECTION
Data is a numerical facts or series of observations/measurements that can be quantified while data collection
is the process of counting or enumeration or measurement and systematic recording of result in a statistical
enquiry/investigation. The person who conducts the statistical enquiry is known as investigator while the
person from which the information is collected is called the respondent and the items which the
measurements are taken are referred to as statistical unit
NB: Variable is a characteristics of a population or sample which varies from one unit to another. The value of
a variable is known as observations
CLASSIFICATION OF DATA
Data is classified into two:
Numeric data – data that can be quantified or data that takes number values. It can either be discrete or
continuous. Discrete data are integers or whole numbers obtained by counting and represented by points
while continuous data are data not restricted to a specific values or data measured on a continuous scale.
Example: height, weight, volume, pressure etc
Non numeric data – are qualitative data that cannot be quantified, they do not take number values, examples
are sex, state of origin, nationality etc
PRIMARY DATA
Refers to firsthand information or data obtained from a particular study or investigation and used for the
purpose of collection . e.g autobiography, financial statement e.t.c
SECONDARY DATA
These are data published or data that already exist and used for different purposes
TYPES OF DATA
Interval Data: are real numbers or are qualitative or numerical data, e.g are height, weight, temperature.
Nominal Data: are qualitative data . Examples are response to questions about marital status , gender ,
religion and e.t.c
Ordinal Data : appear to be nominal but their values are ordered or ranked
Ratio Data: same thing with interval data
DATA ORGANISATION
This is the presentation of data in a condensed form that will show the important characteristics of the data.
The stages of data organization are ;
Classification: is the gathering together of data with similar characteristics
Tabulation : is the systematic presentation of a well classified data into rows and columns in
accordance with some important features