Professional Documents
Culture Documents
Discrete Structures: Maeeda Khalid
Discrete Structures: Maeeda Khalid
MAEEDA KHALID
INTRODUCTION
Types of Data
Quantitative Qualitative
Continuous Discrete
TYPES OF DATA
1. Continuous data
that can be measured
it can be infinite no. of possible value within a specified range.
2. Discrete Data
countable data
raw/discrete values
numerical numbers (whole no.)
DISCRETE STRUCTURES
Definition
It is not the branch of maths, like no. theory, algebra, calculus etc. Rather, it is
description of a set of branches of maths that all have in common feature that
they are discrete rather than continuous.
WHY IT IS IMPORTANT ?
Logic:
It is the study of principles and methods that distinguishes between a valid and invalid
argument/statement.
TYPES OF SENTENCE
1. Declarative
statement/experience
e.g. 2 + 2= 4, This is an apple
2. Imperative
commands
e.g. Eat the apple
3. Interrogative
questions
e.g. Is this an apple?
THE FOUNDATION: LOGIC, SET AND FUNCTIONS
Statement/ Proposition:
It is a statement/declarative sentence that is either true or false but not both.
Examples:
1. Today is Friday [T/F]
2. Eat the apple Truth value of propositions
3. Washington is the capital of USA [T/F]
4. 2+2=6 [T/F]
PROPOSITIONAL LOGICS
Notation:
It can be denoted by any letter, say
p, q, r, s, t, ……
Example:
p: today is Friday
q: Washington is the capital of USA q is true
The area of logic that deals with proposition is called Propositional logic
EXAMPLE
13