What is a Repo Rate?

A: Repo rate is the rate at which our banks borrow rupees from RBI. Whenever the banks have any shortage of funds they can borrow it from RBI. A reduction in the repo rate will help banks to get money at a cheaper rate. When the repo rate increases, borrowing from RBI becomes more expensive.

Fuzzy logic

Fuzzy logic
Fuzzy logic is an approach to computing based on "degrees of truth" rather than the usual "true or false" (1 or 0) Boolean logic on which the modern computer is based.


Example
Fuzzy set theory defines fuzzy operators on fuzzy sets. The problem in applying this is that the appropriate fuzzy operator may not be known. For this reason, fuzzy logic usually uses IF-THEN rules, or constructs that are equivalent, such as fuzzy associative matrices.
Rules are usually expressed in the form:
IF variable IS property THEN action
For example, a simple temperature regulator that uses a fan might look like this:
IF temperature IS very cold THEN stop fan
IF temperature IS cold THEN turn down fan
IF temperature IS normal THEN maintain level
IF temperature IS hot THEN speed up fan
There is no "ELSE" – all of the rules are evaluated, because the temperature might be "cold" and "normal" at the same time to different degrees.
The AND, OR, and NOT operators of boolean logic exist in fuzzy logic, usually defined as the minimum, maximum, and complement; when they are defined this way, they are called the Zadeh operators. So for the fuzzy variables x and y:
NOT x = (1 - truth(x))
x AND y = minimum(truth(x), truth(y))
x OR y = maximum(truth(x), truth(y))
There are also other operators, more linguistic in nature, called hedges that can be applied. These are generally adverbs such as "very", or "somewhat", which modify the meaning of a set using a mathematical formula.

Difference between Store Procedure and Trigger?

Difference between Store Procedure and Trigger?

  1. We can call stored procedure explicitly.
  2. But trigger is automatically invoked when the action defined in trigger is done.      ex: create trigger after Insert on
  3. This trigger invoked after we insert something on that table.
  4. Stored procedure can't be inactive but trigger can be Inactive.
  5. Triggers are used to initiate a particular activity after fulfilling certain condition.It need to define and can be enable and disable according to need.