chapter 4 operating systems and file management. operating system basics chapter 4: operating...

60
Chapter 4 Operating Systems and File Management

Upload: dylan-walker

Post on 16-Jan-2016

239 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Chapter 4 Operating Systems and File Management. Operating System Basics Chapter 4: Operating Systems and File Management 2  Operating System Activities

Chapter 4Operating Systems

and File Management

Page 2: Chapter 4 Operating Systems and File Management. Operating System Basics Chapter 4: Operating Systems and File Management 2  Operating System Activities

Operating System Basics

Chapter 4: Operating Systems and File Management

2

Operating System Activities

User Interfaces

The Boot Process

Page 3: Chapter 4 Operating Systems and File Management. Operating System Basics Chapter 4: Operating Systems and File Management 2  Operating System Activities

Operating System Activities

Chapter 4: Operating Systems and File Management

3

An operating system is a type of system software that acts as the master controller for all activities that take place within a computer system

Page 4: Chapter 4 Operating Systems and File Management. Operating System Basics Chapter 4: Operating Systems and File Management 2  Operating System Activities

Operating System Activities

Chapter 4: Operating Systems and File Management

4

Page 5: Chapter 4 Operating Systems and File Management. Operating System Basics Chapter 4: Operating Systems and File Management 2  Operating System Activities

Operating System Activities

Chapter 4: Operating Systems and File Management

5

Multitasking provides process and memory management services that allow two or more tasks, jobs, or programs to run simultaneously

Within a single program, multithreading allows multiple parts, or threads, to run simultaneously

An operating system’s multiprocessing capability supports a division of labor among all the processing units

Page 6: Chapter 4 Operating Systems and File Management. Operating System Basics Chapter 4: Operating Systems and File Management 2  Operating System Activities

Operating System Activities

Chapter 4: Operating Systems and File Management

6

Operating System Categories Single-user operating system Multiuser operating system Server operating system Desktop operating system

Page 7: Chapter 4 Operating Systems and File Management. Operating System Basics Chapter 4: Operating Systems and File Management 2  Operating System Activities

User Interfaces

Chapter 4: Operating Systems and File Management

7

The combination of hardware and software that helps people and computers communicate with each other

Page 8: Chapter 4 Operating Systems and File Management. Operating System Basics Chapter 4: Operating Systems and File Management 2  Operating System Activities

User Interfaces

Chapter 4: Operating Systems and File Management

8

Menus, submenus, and dialog boxes

Page 9: Chapter 4 Operating Systems and File Management. Operating System Basics Chapter 4: Operating Systems and File Management 2  Operating System Activities

The Boot Process

Chapter 4: Operating Systems and File Management

9

During the boot process, the operating system kernel is loaded into RAM The kernel provides essential operating system

services

Your computer’s small bootstrap program is built into special ROM circuitry housed in the computer’s system unit

Page 10: Chapter 4 Operating Systems and File Management. Operating System Basics Chapter 4: Operating Systems and File Management 2  Operating System Activities

The Boot Process

Chapter 4: Operating Systems and File Management

10

Page 11: Chapter 4 Operating Systems and File Management. Operating System Basics Chapter 4: Operating Systems and File Management 2  Operating System Activities

Question

Chapter 4: Operating Systems and File Management

11

A computer handles many tasks simultaneously. Which one of the following refers to the processor’s ability to handle multiple tasks, rather than the operating system’s ability to do so?A. Multi-coreB. MultitaskingC. MultithreadingD. Multiprocessing

Page 12: Chapter 4 Operating Systems and File Management. Operating System Basics Chapter 4: Operating Systems and File Management 2  Operating System Activities

FastPoll True/False QuestionsAnswer A for True and B for False

Chapter 4: Operating Systems and File Management

12

An operating system manages a computer’s resources such as the processor, RAM, and storage space.

Multithreading provides process and memory management services that allow two or more tasks, jobs, or programs to run simultaneously.

GUI stands for “graphic usability icons.”

A bootstrap program is a popular type of application software.

During a computing session, the operating system is executed from RAM.

Page 13: Chapter 4 Operating Systems and File Management. Operating System Basics Chapter 4: Operating Systems and File Management 2  Operating System Activities

Today’s Operating Systems

Chapter 4: Operating Systems and File Management

13

Microsoft Windows

Mac OS

UNIX and Linux

DOS

Handheld Operating Systems

Page 14: Chapter 4 Operating Systems and File Management. Operating System Basics Chapter 4: Operating Systems and File Management 2  Operating System Activities

Microsoft Windows

Chapter 4: Operating Systems and File Management

14

Page 15: Chapter 4 Operating Systems and File Management. Operating System Basics Chapter 4: Operating Systems and File Management 2  Operating System Activities

Mac OS

Chapter 4: Operating Systems and File Management

15

You can tell when you’re using Mac OS by the Apple logo that appears on the menu bar. TheMac OS X interface includes all the standard elements of a GUI,including icons, menus, windows, and taskbars.

Page 16: Chapter 4 Operating Systems and File Management. Operating System Basics Chapter 4: Operating Systems and File Management 2  Operating System Activities

Mac OS

Chapter 4: Operating Systems and File Management

16

On a Macintosh computer with Boot Camp, you can boot into Mac OS X or into Windows.

Page 17: Chapter 4 Operating Systems and File Management. Operating System Basics Chapter 4: Operating Systems and File Management 2  Operating System Activities

Mac OS

Chapter 4: Operating Systems and File Management

17

Mac OS X on an Intel Mac offers the ability to run Windows and Windows application software in addition to software designed for the Macintosh Dual boot Virtual machine

Page 18: Chapter 4 Operating Systems and File Management. Operating System Basics Chapter 4: Operating Systems and File Management 2  Operating System Activities

UNIX and Linux

Chapter 4: Operating Systems and File Management

18

The UNIX operating system was developed in 1969 at AT&T’s Bell Labs Dependable in multiuser environments

Linux is an operating system distributed along with its source code under the terms of a GPL (General Public License) A Linux distribution is a download that contains the Linux

kernel, system utilities, applications, and an installation routine

Page 19: Chapter 4 Operating Systems and File Management. Operating System Basics Chapter 4: Operating Systems and File Management 2  Operating System Activities

UNIX and Linux

Chapter 4: Operating Systems and File Management

19

Linux users can choose from several graphical interfaces.Pictured here is the popular Ubuntu graphical desktop.

Page 20: Chapter 4 Operating Systems and File Management. Operating System Basics Chapter 4: Operating Systems and File Management 2  Operating System Activities

DOS

Chapter 4: Operating Systems and File Management

20

Disk Operating System

First operating system that many used

Page 21: Chapter 4 Operating Systems and File Management. Operating System Basics Chapter 4: Operating Systems and File Management 2  Operating System Activities

Handheld Operating Systems

Chapter 4: Operating Systems and File Management

21

Page 22: Chapter 4 Operating Systems and File Management. Operating System Basics Chapter 4: Operating Systems and File Management 2  Operating System Activities

Question

Chapter 4: Operating Systems and File Management

22

Today’s popular operating systems include Windows, Mac OS, Linux, Android, and Google Chrome. Each has strengths and weaknesses that are important to understand. Which of the following statements is correct? A. Google Chrome is built on the Windows kernel, so it is

ideal for netbooks because it has good resistance to malware.

B. If you don’t like the user interface for Windows but want to run the vast variety of Windows software, you can install Linux.

C. Linux and Mac OS have a reputation for being more stable than Windows.

D. Windows includes software called Boot Camp that allows PCs to boot into different operating systems, such as Mac OS, Linux, Chrome, and Android.

Page 23: Chapter 4 Operating Systems and File Management. Operating System Basics Chapter 4: Operating Systems and File Management 2  Operating System Activities

FastPoll True/False QuestionsAnswer A for True and B for False

Chapter 4: Operating Systems and File Management

23

The Windows kernel is the same as the Mac OS kernel.

Macs featured a graphical user interface before PCs.

Boot Camp is a dual boot utility for Macs.

Mac files have a data fork and a resource fork.

Fedora, Mandrivia, and SUSE are Linux distributions.

Page 24: Chapter 4 Operating Systems and File Management. Operating System Basics Chapter 4: Operating Systems and File Management 2  Operating System Activities

File Basics

Chapter 4: Operating Systems and File Management

24

File Names and Extensions

File Directories and Folders

File Formats

Page 25: Chapter 4 Operating Systems and File Management. Operating System Basics Chapter 4: Operating Systems and File Management 2  Operating System Activities

File Names and Extensions

Chapter 4: Operating Systems and File Management

25

You must adhere to file-naming conventions when saving files Maximum length Prohibited characters No reserved words Case sensitivity

File extensions are usually related to the file format Native file format

Page 26: Chapter 4 Operating Systems and File Management. Operating System Basics Chapter 4: Operating Systems and File Management 2  Operating System Activities

File Directories and Folders

Chapter 4: Operating Systems and File Management

26

To designate a file’s location, you must first specify the device where the file is stored The main hard disk usually is

referred to as Drive C

A disk partition is a section of hard disk drive that is treated as a separate storage unit Partitions can be assigned drive

letters Partitions are not the same as folders

Page 27: Chapter 4 Operating Systems and File Management. Operating System Basics Chapter 4: Operating Systems and File Management 2  Operating System Activities

File Directories and Folders

Chapter 4: Operating Systems and File Management

27

An operating system maintains a directory for each disk, tape, CD, DVD, BD, or USB flash drive Root directory Subdirectory

Depicted as folders

A computer’s file location is defined by a file specification, or path

Page 28: Chapter 4 Operating Systems and File Management. Operating System Basics Chapter 4: Operating Systems and File Management 2  Operating System Activities

File Formats

Chapter 4: Operating Systems and File Management

28

A file format refers to the organization and layout of data that is stored in a file

The format of a file usually includes a header, data, and possibly an end-of-file marker A file header is a section of data at the beginning of a file

that contains information about a file

A file extension does not really define the format of a file

Page 29: Chapter 4 Operating Systems and File Management. Operating System Basics Chapter 4: Operating Systems and File Management 2  Operating System Activities

File Formats

Chapter 4: Operating Systems and File Management

29

A software application can open files that exist in its native file format, plus several additional file formats

Page 30: Chapter 4 Operating Systems and File Management. Operating System Basics Chapter 4: Operating Systems and File Management 2  Operating System Activities

File Formats

Chapter 4: Operating Systems and File Management

30

An easy way to convert a file from one format to another is to open it with an application that supports both file formats, and then use the Save As dialogbox to select an alternative file format.

Page 31: Chapter 4 Operating Systems and File Management. Operating System Basics Chapter 4: Operating Systems and File Management 2  Operating System Activities

Question

Chapter 4: Operating Systems and File Management

31

Suppose a friend sends you a file called Twain.dll. From the file name, what can you deduce?A. That it is a word processing

document, probably about Mark Twain.B. That you should be able to open it

using Microsoft Word.C. That the file extension makes it a

virus.D. That it is a support program file,

perhaps part of the device driver for your scanner.

Page 32: Chapter 4 Operating Systems and File Management. Operating System Basics Chapter 4: Operating Systems and File Management 2  Operating System Activities

File Management

Chapter 4: Operating Systems and File Management

32

Application-based File Management

File Management Utilities

File Management Metaphors

Windows Explorer

File Management Tips

Physical File Storage

Page 33: Chapter 4 Operating Systems and File Management. Operating System Basics Chapter 4: Operating Systems and File Management 2  Operating System Activities

Application-based File Management

Chapter 4: Operating Systems and File Management

33

Applications typically provide a way to open files and save them in a specific folder on a storage device

Page 34: Chapter 4 Operating Systems and File Management. Operating System Basics Chapter 4: Operating Systems and File Management 2  Operating System Activities

Application-based File Management

Chapter 4: Operating Systems and File Management

34

The Save As command of most Windows applications uses the operating system’s filemanagement utility, so you can carry out a widevariety of file and folder tasks such as creating,renaming, and deleting files.

Page 35: Chapter 4 Operating Systems and File Management. Operating System Basics Chapter 4: Operating Systems and File Management 2  Operating System Activities

File Management Utilities

Chapter 4: Operating Systems and File Management

35

File management utilities show you the files stored on your disks and help you work with them

Page 36: Chapter 4 Operating Systems and File Management. Operating System Basics Chapter 4: Operating Systems and File Management 2  Operating System Activities

File Management Metaphors

Chapter 4: Operating Systems and File Management

36

Storage metaphors help you visualize and mentally organize the files on your disks Logical storage models

Page 37: Chapter 4 Operating Systems and File Management. Operating System Basics Chapter 4: Operating Systems and File Management 2  Operating System Activities

Windows Explorer

Chapter 4: Operating Systems and File Management

37

Windows Explorer makes it easy to drill down through the levels of the directory hierarchy to locate a folder or file.

Page 38: Chapter 4 Operating Systems and File Management. Operating System Basics Chapter 4: Operating Systems and File Management 2  Operating System Activities

Windows Explorer

Chapter 4: Operating Systems and File Management

38

Windows Explorer allows you to manipulate files and folders in the following ways: Rename Copy Move Delete

Page 39: Chapter 4 Operating Systems and File Management. Operating System Basics Chapter 4: Operating Systems and File Management 2  Operating System Activities

File Management Tips

Chapter 4: Operating Systems and File Management

39

Use descriptive names

Maintain file extensions

Group similar files

Organize your folders from the top down

Consider using the default folders

Do not mix data files and program files

Page 40: Chapter 4 Operating Systems and File Management. Operating System Basics Chapter 4: Operating Systems and File Management 2  Operating System Activities

File Management Tips

Chapter 4: Operating Systems and File Management

40

Don’t store files in the root directory

Access files from the hard disk

Follow copyright rules

Delete or archive files you no longer need

Be aware of storage locations

Back up

Page 41: Chapter 4 Operating Systems and File Management. Operating System Basics Chapter 4: Operating Systems and File Management 2  Operating System Activities

Physical File Storage

Chapter 4: Operating Systems and File Management

41

The physical storage model describes what happens on the disks and in the circuits Storage media must be formatted before it can store files

Formatting utilities divide the disk into tracks and sectors

Page 42: Chapter 4 Operating Systems and File Management. Operating System Basics Chapter 4: Operating Systems and File Management 2  Operating System Activities

Physical File Storage

Chapter 4: Operating Systems and File Management

42

CDs and DVDs can be created using mastering or packet-writing techniques. Mastering creates discs that can be used more reliably on a wide varietyof computers and standalone players. Packet writing is more flexible for disks that you plan to use only on your own computer.

Page 43: Chapter 4 Operating Systems and File Management. Operating System Basics Chapter 4: Operating Systems and File Management 2  Operating System Activities

Physical File Storage

Chapter 4: Operating Systems and File Management

43

The file system keeps track of the names and locations of files NTFS

Master File Table (MFT) FAT32

File Allocation Table (FAT)

Page 44: Chapter 4 Operating Systems and File Management. Operating System Basics Chapter 4: Operating Systems and File Management 2  Operating System Activities

Physical File Storage

Chapter 4: Operating Systems and File Management

44

Deleting a file changes the status of that file’s clusters to empty and removes the file name from the index file The file’s data is still there File shredder software overwrites “empty” sectors with

random 1s and 0s

Files in the Windows Recycle Bin and similar utilities can be undeleted

Page 45: Chapter 4 Operating Systems and File Management. Operating System Basics Chapter 4: Operating Systems and File Management 2  Operating System Activities

Physical File Storage

Chapter 4: Operating Systems and File Management

45

Fragmented files are stored in noncontiguous clusters and decrease performance

Defragmentation utilities rearrange files so that they are stored in contiguous clusters

Page 46: Chapter 4 Operating Systems and File Management. Operating System Basics Chapter 4: Operating Systems and File Management 2  Operating System Activities

Question

Chapter 4: Operating Systems and File Management

46

Before donating your computer to a charitable organization, you can make sure your personal data cannot be accessed from the hard disk by: A. Deleting any files that contain personal data. B. Deleting files containing personal data and then

emptying the Recycle Bin or Trash. C. Deleting all the files and folders on your computer’s

hard disk. D. Deleting all files and folders and then using file

shredder software.

Page 47: Chapter 4 Operating Systems and File Management. Operating System Basics Chapter 4: Operating Systems and File Management 2  Operating System Activities

Backup Security

Chapter 4: Operating Systems and File Management

47

Backup Basics

File Copies and Synchronization

System Synchronization

File and System Backup

Bare-metal Restore and Virtual Machines

Page 48: Chapter 4 Operating Systems and File Management. Operating System Basics Chapter 4: Operating Systems and File Management 2  Operating System Activities

Backup Basics

Chapter 4: Operating Systems and File Management

48

A backup stores the files needed to recover data that’s been wiped out by operator error, viruses, or hardware failures

Page 49: Chapter 4 Operating Systems and File Management. Operating System Basics Chapter 4: Operating Systems and File Management 2  Operating System Activities

Backup Basics

Chapter 4: Operating Systems and File Management

49

Your backup schedule depends on how much data you can afford to lose

You should run an up-to-date virus check as the first step in your backup routine

The backup device you select depends on the value of your data, your current equipment, and your budget

Page 50: Chapter 4 Operating Systems and File Management. Operating System Basics Chapter 4: Operating Systems and File Management 2  Operating System Activities

Backup Basics

Chapter 4: Operating Systems and File Management

50

Page 51: Chapter 4 Operating Systems and File Management. Operating System Basics Chapter 4: Operating Systems and File Management 2  Operating System Activities

File Copies and Synchronization

Chapter 4: Operating Systems and File Management

51

Unique files are difficult to reproduce

Manually copying and pasting requires you to select the files and destination device each time

File synchronization software ensures that files in two or more locations contain the same data Originated with PDA

To restore from a data file backup, you simply copy files from your backup to your hard disk

Page 52: Chapter 4 Operating Systems and File Management. Operating System Basics Chapter 4: Operating Systems and File Management 2  Operating System Activities

File Copies and Synchronization

Chapter 4: Operating Systems and File Management

52

Page 53: Chapter 4 Operating Systems and File Management. Operating System Basics Chapter 4: Operating Systems and File Management 2  Operating System Activities

System Synchronization

Chapter 4: Operating Systems and File Management

53

Backs up all files and system software on your computer Time Machine

The number of backups depends on the capacity of your backup drive, and the frequency at which you make changes

Page 54: Chapter 4 Operating Systems and File Management. Operating System Basics Chapter 4: Operating Systems and File Management 2  Operating System Activities

File and System Backup

Chapter 4: Operating Systems and File Management

54

Page 55: Chapter 4 Operating Systems and File Management. Operating System Basics Chapter 4: Operating Systems and File Management 2  Operating System Activities

File and System Backup

Chapter 4: Operating Systems and File Management

55

A full backup makes a fresh copy of every file in the folders you’ve specified for the backup

A differential backup makes a backup of only those files that were added or changed since your last full backup session

An incremental backup makes a backup of the files that were added or changed since the last backup—not necessarily the files that changed from the last full backup

Most experts recommend that you keep more than one set of backups

Page 56: Chapter 4 Operating Systems and File Management. Operating System Basics Chapter 4: Operating Systems and File Management 2  Operating System Activities

System Backup

Chapter 4: Operating Systems and File Management

56

Page 57: Chapter 4 Operating Systems and File Management. Operating System Basics Chapter 4: Operating Systems and File Management 2  Operating System Activities

Bare-Metal Restore and Virtual Machines

Chapter 4: Operating Systems and File Management

57

Restoring a Windows computer usually requires several steps

A bare-metal restore restores the computer in a single step

A disk image is a bit-by-bit copy of the data from all sectors of a disk

Page 58: Chapter 4 Operating Systems and File Management. Operating System Basics Chapter 4: Operating Systems and File Management 2  Operating System Activities

Bare-Metal Restore and Virtual Machines

Chapter 4: Operating Systems and File Management

58

Mac users can depend on Time Machine

Windows users can take the following steps: File backups Restore points Recovery disks System backup

Page 59: Chapter 4 Operating Systems and File Management. Operating System Basics Chapter 4: Operating Systems and File Management 2  Operating System Activities

Question

Chapter 4: Operating Systems and File Management

59

Copying important data files from your computer’s hard disk to an optical disk or flash drive is a simple way to back up data. It is not a total backup solution, however. Why not? A. You cannot restore these files to a new hard disk without

the activation codes. B. The backup is bootable, but it won’t start your computer

if the hard disk fails. C. You have not backed up your programs or your personal

settings. D. You have not backed up the restore points needed to

reconfigure the Windows Registry for a new hard disk.

Page 60: Chapter 4 Operating Systems and File Management. Operating System Basics Chapter 4: Operating Systems and File Management 2  Operating System Activities

FastPoll True/False QuestionsAnswer A for True and B for False

Chapter 4: Operating Systems and File Management

60

A disk partition is basically a folder.

A file specification is also called a path.

Windows Explorer is a file management utility.

Disks are formatted into tracks and sectors.

Time Machine is synchronization software used for backup on Macs.

To repopulate a new hard disk from an incremental backup, you have to first restore a full backup.

A boot disk contains a complete copy of your computer’s hard disk as it existed when the computer was new.