Can UML used for Procedural language?

Is it compulsory to use UML with Object oriented language? Can we use it with normal procedural language. I am finding Sequence diagram for my project. Can I Use it? I am doing academic project which is based on procedural language.
Do examine wil cut my marks if i use sequence diagram in it?

It is by no means compulsory to model object-oriented systems with the UML. However, this is the intended use of the UML.

Sequence diagrams are useful for showing the time-ordering of messages passed between instances. This probably isn’t all that helpful for a procedural language.

You’re probably better off using an activity diagram as it can map well to a procedure. There are plenty of resources on the web for getting started with activity diagrams.