Cadence Design Systems interview question

What is the difference between Moore and melay circuits? Implement and write a code to detect 10110 Sequence? Frequency divide by 7 UVM phrases What is inheritence, ploymorphism, and abstraction in SystemVerilog?