(True or false) A folder may contain many files with same names.
Answers
Hope it'll help..:)
Answer:
False
In the very same folder, there cannot be two files with the same name. Either you must save every user's documents in a folder assigned to their account, as you suggest, or you would have to append a random string to the end of each file. Activate this post's status.
Explanation:
since the primary key in the operating system's file system is a file's name. Beginning with the name of the unit and extending through the full folder hierarchy, the name is regarded as complete. How could you tell one file from another if they were both at the same location and had the same name. The majority of filesystems lack a way to deal with these name collisions. Some filesystems include the ability to keep multiple "versions" (sometimes known as "snapshots") of a single file (name). Although this is typically thought of as retaining a history of file modifications, this is only a question of purpose and habit.
The name of a file and the folder (directory) in which it is located serve as its exclusive identifiers. The system will recognise that you are attempting to replace the current file if you attempt to create a second file with the exact identical name.
#SPJ2