Select all correct options (you will receive points only for correct selections) that align with a logic/constraint (declarative) approach to the course-registration problem. Here is the recap: You are designing a course-registration checker. Students propose a set of courses, and the system must enforce: prerequisites (A must be taken before B) mutual exclusions (cannot take X and Y together) choose at least one of {M, N, P}                                                                                                        You want the system to either accept the plan or automatically find an alternative plan that satisfies all constraints. Which programming paradigm (or style) is the best conceptual fit for expressing this problem?Multiple choice

A

Correctness mostly depends on remembering operator precedence rules in arithmetic expressions.

B

Backtracking/search is a natural execution strategy for finding a valid solution.

C

The core control structure is usually explicit loops that update mutable variables.

D

The program primarily describes constraints/rules; the runtime searches for assignments that satisfy them.

E

You can often write "what" properties must hold without prescribing "how" to iterate.

Log in for full answers

We've collected over 50,000 authentic original questions and detailed explanations from around the globe. Log in now and get instant access to the answers!

More Practical Tools for Students Powered by AI Study Helper

Join us and instantly unlock extensive past papers & exclusive solutions to get a head start on your studies!