What is the difference between "set" logic, and "procedural" logic. When would you use each one and why?



What is the difference between "set" logic, and "procedural" logic. When would y..

Answer / Khajan Singh Chauhan

Set logic, also known as declarative programming, focuses on defining what the desired output should be without specifying how to achieve it. It is commonly used in artificial intelligence, databases, and logical reasoning. Procedural logic, on the other hand, describes a series of steps or procedures that are executed in order to achieve a goal. It is more common in traditional programming languages such as C and Fortran. Set logic is often more efficient for complex mathematical problems and logical operations, while procedural logic is more suitable for low-level system control and manipulation of hardware resources.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Embedded Systems AllOther Interview Questions

Explain the properties of a object oriented programming language.

1 Answers  


What is an embedded system and why it is used?

1 Answers  


What source control systems have you worked with?

1 Answers  


Explain some of the commonly found errors in embedded systems?

1 Answers  


What are the differences between analytical and computational modeling?

1 Answers  


Explain the differences between stateless and stateful systems, and impacts of state on parallelism.

1 Answers  


What is so great about <cool web technology of the day>?

1 Answers  


How does combination of functions reduce memory requirements in embedded systems?

1 Answers  


What trade offs do you have for resource contention?

1 Answers  


What is the need for dmac in es?

1 Answers  


what is the difference between embedded systems and the system in which rtos is running?

1 Answers  


How might a task-based model differ from a threaded model?

1 Answers  


Categories