Results 1 to 2 of 2

Thread: From Schaum's Os (6)

  1. #1
    Trying to make mom and pop proud
    Join Date
    Sep 2003
    Location
    Pakistan
    Posts
    3
    Rep Power
    10


    Good post? Yes | No
    Can anyone tell why it I sstated nine bits in question's 6.23 answer instead of 6 ( I guess so) because 3 bits for the owner,other group members and for everyone else and three bits for read, write, execute access thats make 3+3=6 why its 3*3=9. I am not getting it what to make of 9 bits.

  2. #2
    An Urch Guru Pundit Swami Sage
    Join Date
    Jul 2003
    Location
    Brazil
    Posts
    1,360
    Rep Power
    15


    Good post? Yes | No
    Naveednaseer,

    For each type of permission (read, write, execute), you need three bits to indicate if the permission is granted to owner, group, and everyone. Take this example:

    Read - 000 - not granted to anyone
    Read - 100 - granted to owner
    Read - 010 - granted to group
    Read - 001 - granted to everyone
    Read - 110 - granted to owner and group
    Read - 101 - granted to owner and everyone
    Read - 011 - granted to group and everyone
    Read - 111 - granted to all

    So for these 8 combinations, you need 3 bits. The same thing applies to Write and Execute and thus 3+3+3 = 9

    Wood

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Schaum's Outline of Genetics 5th vs. 4th / Schaum's Outline of ....series
    By xcutioner in forum GRE Biochemistry, Cell and Molecular Biology
    Replies: 1
    Last Post: 07-08-2010, 11:00 PM
  2. From Schaum's OS (7)
    By wood in forum GRE Computer Science
    Replies: 4
    Last Post: 10-30-2003, 02:44 PM
  3. From Schaum's OS (8)
    By wood in forum GRE Computer Science
    Replies: 9
    Last Post: 10-26-2003, 04:13 PM
  4. From Schaum's Os (6)
    By naveednaseer in forum GRE Computer Science
    Replies: 6
    Last Post: 10-01-2003, 07:19 PM
  5. From Schaum's OS
    By wood in forum GRE Computer Science
    Replies: 13
    Last Post: 09-14-2003, 01:56 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

SEO by vBSEO ©2010, Crawlability, Inc.