АвтоАвтоматизацияАрхитектураАстрономияАудитБиологияБухгалтерияВоенное делоГенетикаГеографияГеологияГосударствоДомДругоеЖурналистика и СМИИзобретательствоИностранные языкиИнформатикаИскусствоИсторияКомпьютерыКулинарияКультураЛексикологияЛитератураЛогикаМаркетингМатематикаМашиностроениеМедицинаМенеджментМеталлы и СваркаМеханикаМузыкаНаселениеОбразованиеОхрана безопасности жизниОхрана ТрудаПедагогикаПолитикаПравоПриборостроениеПрограммированиеПроизводствоПромышленностьПсихологияРадиоРегилияСвязьСоциологияСпортСтандартизацияСтроительствоТехнологииТорговляТуризмФизикаФизиологияФилософияФинансыХимияХозяйствоЦеннообразованиеЧерчениеЭкологияЭконометрикаЭкономикаЭлектроникаЮриспунденкция

FILE BASICS

Читайте также:
  1. Lighting basics: Later afternoon fashion shot
  2. Lighting basics: Open shade beauty shot
  3. Lighting basics: Strobe against sun
  4. Lighting basics: Tungsten fresnel-spot beauty shot
  5. Rheology basics of food production, 3 credits
  6. Storage Basics

A computer file – or simply a “file” – is defined as a named collection of data that exists on a storage medium, such as a disk, CD, DVD, or tape. A file can contain a group of records, a document, a photo, music, a video, an e-mail message, or a computer program. Computer files have several characteristics, such as a name, format, location, size, and date.

Every file has a name and might also have a file extension. When you save a file, you must provide a valid file name that adheresto specific rules, referred to as file-naming conventions. Each operating system has a unique set of file-naming conventions. Figure 4 lists the file-naming conventions for the current versions of Windows.

 

Case sensitive No
Maximum length of file name File name and extension cannot exceed 255 characters
Spaces allowed Yes
Numbers allowed Yes
Characters not allowed * \: < > | " /?    
File names not allowed   Aux, Com1, Com2, Com3, Com4, Con, Lpt1, Lpt2, Lpt3, Prn, Nul  

 

Fig. 4: Windows File-naming Conventions

 

DOS and Windows 3.1 limited file names to eight characters. With that limitation, it was often difficult to create descriptive file names. As a result, files were sometimes difficult to locate and identify. Today, most operating systems allow you to use long file names.

Current versions of Windows support file names up to 255 characters long. That limitation includes the entire file path sometimes called a file specification—drive letter, folders, file name and extension.

 

C:\My Music\Reggae\Marley One Love.mp3

Drive letter Primary Secondary folder folder   File name File extension  

An operating system maintains a list of files called a directory for each storage disk, tape, CD, or DVD. The main directory of a disk is referred to as the root directory. A root directory can be subdivided into smaller lists. Each list is called a subdirectory. When you use Windows, Mac OS, or a Linux graphical file manager, these subdirectories are depicted as folders. Folders can be created within other folders. (See the example, mentioned above) A folder name is separated from a drive letter and other folder names by a special symbol. In Microsoft Windows, this symbol is the backslash (\). By storing a file in a folder, you assign it a place in an organized hierarchy of folders and files.

If an operating system attaches special significance to a symbol, you might not be able to use it in a file name. For example, Windows uses the colon (:) character to separate the device letter from a file name or folder, as in C:Music. When you use Windows applications, avoid using the symbols: * \ < > | " / and? in file names.

Some operating systems also contain a list of reserved words that are used as commands or special identifiers. You cannot use these words alone as a file name. Windows users should avoid using the following reserved words as file names: Nul, Aux, Com1, Com2, Com3, Com4, Con, Lpt1, Lpt2, Lpt3, and Prn.

Some operating systems are case sensitive, but not those you typically work with on personal computers. Feel free to use uppercase and lowercase letters in file names that you create on PCs and Macs.

You can also use spaces in file names. That’s a different rule than for e-mail addresses where spaces are not allowed. You’ve probably noticed that people often use underscores or periods instead of spaces in e-mail addresses such as Madi_Jones@msu.edu. That convention is not necessary in file names, so a file name such as Letter to Madi Jones is valid.

A file extension is an optional file identifier that is separated from the main file name by a period, as in Paint.exe. With some operating systems, such as Windows, file extensions work like tickets that admit people to different plays, movies, or concerts. If a file has the right extension for a particular application program, you'll see it in the list of files you can open with that software. A file extension is related to the file format, which is defined as the arrangement of data in a file and the coding scheme used to represent the data. Files containing graphics are usually stored using a different file format than files containing text. Most software have a native file format (.doc for MSWord,.pdf for AdobeAcrobat etc.)

To designate a file’s location, you must first specify where the file is stored. Each of PC’s storage devices is identified by a device letter (A:, C:, D:) – a convention that is specific to DOS and Windows. A device letter is usually followed by a colon, so drive A could be designated as A: or as 3.5" Floppy (A:).

The main hard disk drive is usually referred to as “drive C.” Additional storage devices can be assigned letters D through Z. Although most PCs stick to the standard of drive A for the floppy disk drive and drive C for the hard disk drive, the device letters for CD, Zip, and DVD drives are not standardized.

A file contains data, stored as a group of bits. The more bits, the larger the file. File size is usually measured in bytes, kilobytes, or megabytes. Comparedto small files, large files fill up storage space more quickly, require longer transmission times, and are more likely to be stripped off e-mail attachments by a mail server.

Your computer keeps track of the date that a file was created or last modified. The file date is useful if you have created several versions of a file and want to make sure you know which version is the most recent.

 

Comprehension сheck. Mark the following statements as True or False.

1. When you create a file, you should give it a proper name according to file-naming conventions.

2. Windows limits the length of file names up to 265 characters.

3. Users must store a file in a folder to appoint it a place in a hierarchical structure of folders and files.

4. Operating systems add special significance to certain symbols that you should avoid in file names.

5. A file extension is a compulsory file identifier separated from the file name by a period.

6. The device letters for the floppy and hard disks are standardized.

 


1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 |

Поиск по сайту:



Все материалы представленные на сайте исключительно с целью ознакомления читателями и не преследуют коммерческих целей или нарушение авторских прав. Студалл.Орг (0.005 сек.)