Ask Question
31 October, 22:06

Your Web page provides a form for users to add their names to a membership list, stored in a text file. You are writing a program to process the form submission. How should your program open the file? Read operations Write operations Append operations This will not work: the form will be used by different people at different times.

+4
Answers (1)
  1. 1 November, 01:47
    0
    For the above condition, and as mentioned none of the mode will work, and we need to make use of the JSON format. And we nee to use the jа vascript, and we don't need to mention the mode in jа vascript. Thus, this is nowadays used solution for this old problem that existed when we used to code using c+ + and c.

    Explanation:

    You need to write over this text file, and you also need to read. Hence, you need to open the file with the three privileges, and the append will be required, and this way we can only move line by line. However, this is an old style. Now we save in text file in JSON format. The data collected from Form is converted to JSON format and written in text file. And as required data can be read or written, and as required. So if we use only JSON format, then we need not mention the mode, as its not required these days in new languages like jа vascript.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question ✅ “Your Web page provides a form for users to add their names to a membership list, stored in a text file. You are writing a program to ...” in 📘 Computers and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers