SLIDE 1
CS302: Paradigms of Programming Logic Paradigm
Manas Thakur
Feb-June 2020
CS302: Paradigms of Programming Logic Paradigm Manas Thakur - - PowerPoint PPT Presentation
CS302: Paradigms of Programming Logic Paradigm Manas Thakur Feb-June 2020 Declarative vs Operational Square root of x : A number y such that y 2 = x Declarative Newtons method Operational 2 Sum a list of numbers: Imperative
Feb-June 2020
2
3
4
5
6
7
8
PC: Rishi Sharma
9
10
11
Rules of the game (aka Syntax):
fact/rule.
parenthesis.
indicate disjunction.
conjunction.
12