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



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

Answer / Tarun Gupta

"Set logic is a declarative programming paradigm that focuses on defining a collection of items (called a set) and specifying relationships between them. It does not describe how to perform the operations but only what the final result should look like. Procedural logic, on the other hand, is an imperative programming paradigm that describes a sequence of steps or procedures to be followed in order to solve a problem. It describes both the input and output of each step."

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Embedded Systems AllOther Interview Questions

Tell me what is interaction semantics used in embedded systems?

1 Answers  


Explain what is meant by a sandbox, why you would use one, and identify examples of sandboxes in the wild.

1 Answers  


What is the volatile keyword used for?

1 Answers  


Explain what are the essential components of embedded system?

1 Answers  


Tell me what are the uses of the keyword volatile?

1 Answers  


What is refactoring? Have you used it and it is important? Name three common refactorings.

1 Answers  


What are the components of embedded system?

1 Answers  


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

1 Answers  


Tell me what is the need for having multibyte data input and output buffers in case of device ports?

1 Answers  


What elements of oo design are most prone to abuse? How would you mitigate that?

1 Answers  


How do you identify hardware errors?

1 Answers  


What are the functional requirements that are used in the embedded systems?

1 Answers  


Categories