Computer Programming/Modular Programming/File Handling
- Modular Programming: Process of writing program in multiple modules
- Main Module: The main part of the program inside which several sub modules are created
- Sub program: A group of statements written in a separate module to perform one or more tasks
- Formal Parameter: Parameter used while declaring and defining sub-program or user-defined functions
- Actual Parameter: Parameter used while calling sub-procedure or user defined function
- Local Variable: The variable which is recognized only inside the module where it is declared
- Global Variable: The variable which can be accessed from all the modules.
- File Handling: File handling is a mechanism to work with file so that we can read and write data from and into a disk file through QBASIC program.
- Output Mode: Output mode creates a new file and opens it to store data.
- Append Mode: Append mode opens an existing file to add records.
- Input Mode: Input mode opens and existing file to read records.
- File management command: File management command operates various task in a program. (Ex. FILES, MKDIR, CHDIR, RMDIR, NAME...AS, KILL and SYSTEM)
No comments:
Post a Comment