Machine-translated by Google. Questions are authored in English.
Top

Discussion

Which of the following scenario necessitates file locking to be enabled by an Integrated Development Environment (IDE) ?

  • A.To ensure the privacy of a source code file
  • B.To prevent un-authorized access to a source code file
  • C.To prevent concurrent access to a source code file
  • D.To enable proper versioning of a source code file

Answer: C

File locking is needed to prevent concurrent access to a source code file.

When several developers or processes might edit the same file at the same time, one person's changes could overwrite another's. Locking lets only one editor change the file at a time, so updates are not lost.

Privacy and protection against unauthorised access are matters of permissions and access control, not locking. Versioning is handled by a version control system, which records successive versions whether or not a lock is held.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.