Some of the modules in notepad are Module 1: File Module File module contains set of instruction which are used to create / open / Print a text document. File module is used to do operations such as NEW, OPEN, SAVE, PRINT, EXIT. NEW: It create a new buffer in memory. It receives input from user after creating the buffer. It stores the input temporarily in buffer in series of bits. OPEN It create a new buffer in memory & loads the content of the file into the buffer. It receives input from user and append it to the buffer. It stores the input temporarily in buffer in series of bits. SAVE PRINT It forwards the content of buffer to the printing service. EXIT It terminate the program itself & invoke a system call to unload the program from memory. Module 2: Edit Module Edit Module is used to modify the content of buffer (document). Edit Module is used to do operations such as COPY / PASTE / FIND / REPLACE / DELETE the content of buffer COPY It copy the selected content to the clipboard. Clipboard is a temporary buffer used to hold a collection of data / path / link. It saves the content of buffer to the permanent storage. It stores the content buffer in series of bits to the permanent storage. Buffer content are in the form of series of bits. It converts those bits into data and allows the OS to store it in storage.
PASTE It copies the content of clipboard and append it to the buffer. The copied content still remains in clipboard after the PASTE operation is done. DELETE It remove / delete the selected content from the buffer. FIND It receives input from user and match it with the content of buffer. If matched content was found then it highlights the content. REPLACE It receives 2 input from user. 1st input is the source content which is to be replaced by the 2nd input. Once it receives the both inputs from user wherever the 1st input is matched were replaced by the text with 2nd input. Module 3:...
Please join StudyMode to read the full document