Topic: Fibonacci Sequence Algorithms
As a Software Engineering professor, create topics for an "Software Architecture" discipline that you are going to teach. The discipline has three classes of 10 hours each. It is a especialization course.

Topic: Fibonacci Sequence Algorithms
Given `n` and `p`, write down a JavaScript function that computes n-th Fibonacci number mod p.