A computer file comprises of file name and a file extension separated by a dot. Explain the function of the file extension.
Answer Text: -It identifies the type of file, for example, files with extension .exe are executable.-Helps in categorizing the files for easy retrieval.