slide1
Download
Skip this Video
Download Presentation
Haiku Error Messages:

Loading in 2 Seconds...

play fullscreen
1 / 22

Haiku Error Messages: - PowerPoint PPT Presentation


  • 63 Views
  • Uploaded on

Haiku Error Messages:      Chaos reigns within.         Stop, reflect, and reboot.          Order shall return.          Yesterday it worked          Today it is not working          Windows is like that.

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about ' Haiku Error Messages:' - zaltana-torres


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
slide1

Haiku Error Messages:

     Chaos reigns within.         Stop, reflect, and reboot.         Order shall return.

         Yesterday it worked         Today it is not working         Windows is like that.

         Windows XP crashed.         The Blue Screen of Death.         No one hears your screams.

device management
Device Management

III. File Management

D. something

1. smaller some

slide5

E. Access Methods

Logical Level

How are records located within a file?

slide6

method to use depends upon file’s intended application

fixed length records vs.variable length records

slide7

Fixed length record - all records in file are same size

Class ID Number Sex Last Name

4 char 9 int 1char 20 char

slide8

Variable length record - records in file are diff sizes

Name Birthplace Personal Mission Statement

5-10 char 10 - 20 char 0 - 100 char

slide9

fixed length records =easy to implement,but may waste space

variable length records =difficult to implement, but no wasted space

slide10

1. Sequential Access

Records are logically ordered within the file

Records are accessed one after the other in order

slide11

1. Sequential Access

analogy - phone book

but must search it in order

slide12

2. Random Access

Records are located directly within the file

Hashing algorithm determines the record’s logical address

slide13

2. Random Access

analogy - phone book

open book to exactly the right page and put your finger on exactly the right record

slide14

it’s not magic, it’s an algorithm

Hashing Algorithm:

key field value modulo file’s prime numberyields logical address

slide15

Hashing Algorithm ex:

45 (key field value) modulo11 (file’s prime number)yields[4] r1 (logical address)

slide16

Logical Record # File

Key Field (eg ID number)

0

1

2

3

4

5

6

7

8

9

10

Zeb - 45 - $0.02

45

Hashing Algorithm

45 % 11 = 1

slide17

Logical Record # File

Key Field (eg ID number)

0

1

2

3

4

5

6

7

8

9

10

Zeb - 45 - $0.02

15

Zeke - 15 - $5.00

Hashing Algorithm

15 % 11 = 4

slide18

Logical Record # File

Key Field (eg ID number)

0

1

2

3

4

5

6

7

8

9

10

Zeb - 45 - $0.02

58

Martha - 58 - $25

Zeke - 15 - $5.00

Hashing Algorithm

58 % 11 = 3

slide19

Logical Record # File

Key Field (eg ID number)

0

1

2

3

4

5

6

7

8

9

10

Zeb - 45 - $0.02

32

Martha - 58 - $25

Zeke - 15 - $5.00

Hashing Algorithm

32 % 11 = 10

Mable - 32 - $50

slide20

Logical Record # File

Key Field (eg ID number)

0

1

2

3

4

5

6

7

8

9

10

Zeb - 45 - $0.02

47

hash clash

Martha - 58 - $25

Zeke - 15 - $5.00

Hashing Algorithm

47 % 11 = 3

Mable - 32 - $50

slide21

3. Indexed Access

features of both

add an index “layer” on top of the file

slide22

B-tree Index

37

33

Logical Record # File

0

1

2

3

4

5

6

7

8

9

10

21

33

21

19

18

18

Zerub, 19, $1.98

17

10

10

8

9

8

6

ad