Computer Operating Systems
Performing Basic File Operations
Performing Basic File Operations

Every file has an associated format that defines the way data is stored in the file. The file format is identified by a period (also called a dot) appended to a file name, followed by three or four letters. The following are some of the more common file formats:

  • Word documents (.doc)

  • Images (.gif and .jpg)

  • Executable programs (.exe)

  • Multimedia files (.wma and others)

When you open a file, the operating system selects an appropriate program to display the contents of the file based on the file format. For example, when you open a Word document, the operating system opens a word processor, such as Word, to display the contents of the document.

To understand this concept of performing basic file operations, consider a scenario. You want to create a document by using WordPad. You are new to the concept of files and want to know how to create and save the file in a specific location. You also want to know how to open or delete an existing file.

In this exercise, you will explore how to perform basic file operations.

Click to launch the exercise. Follow the steps to complete the exercise.

styles/prem_styles_v1.cssscormcode.jsfindlmsapi.jsmedia/dv342195_4.jpgmedia/constraints_js.htcmedia/crse2695ae_01_04_05_sim01.xmlmedia/crse2695ae_01_04_05_sim01.swfmedia/crse2695ae_01_04_05_sim01.htmgraphics/button_launch_stat.jpggraphics/button_launch_roll.jpggraphics/button_launch_down.jpg1.95.22.0topic.graphic1