adspace


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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Tell me about some of your hobby projects that you've written in your off time.

975


Would you call yourself a craftsman (craftsperson) and what does that word mean to you?

930


Are you still writing code? Do you love it?

864


What software languages have you used to design, develop, and debug software application interfaces?

944


What is your experience with qa engineering?

928