ACtE08 · Chapter 8Mock Test 07🏛️ Past Licensure QuestionID: 0fce674e
Which standard file mode / operation is used to add new records or data to the end of an existing file without overwriting its existing content?
Which standard file mode / operation is used to add new records or data to the end of an existing file without overwriting its existing content?
Multiple Choice Options
- A
Add
- B✓ Correct Option
Append
- C
Attach
- D
Apprehend
Detailed Technical Solution & Explanation
In standard operating systems, file systems, and programming languages (e.g., C, C++, Python, Java), the 'Append' mode (mode 'a' or 'ab') opens a file and positions the file write pointer at the end of the file, adding new content without truncating or overwriting existing data.
Option Analysis:
•
Option A (Add): Arithmetic operation, not a standard file stream mode.
•
Option B (Append): Correct. The standard universal file access mode for writing to the end of a file.
•
Option C (Attach): Used in database or file system mounting, not standard file record writing.
•
Option D (Apprehend): Non-technical legal term.
Reference: Mock Test 07NEC Licensure Syllabus