* Adjective: Describing something as unpredictable or lacking a pattern.
* Example: "He chose a random number."
* Noun: Something that is chosen or happens without any specific reason or pattern.
* Example: "The random selection of names from a hat."
* Adverb: In a way that is unpredictable or without any specific reason or pattern.
* Example: "The students were randomly assigned to groups."
So, to determine the part of speech of "random," you need to look at how it is used in the context of the sentence.