Closed Thread
Results 1 to 4 of 4

Thread: Computer Science stuff

  1. #1
    johnny's Avatar
    johnny is offline Newbie
    Join Date
    Feb 2008
    Location
    United States of America.
    Posts
    7
    Rep Power
    0

    Computer Science stuff

    Okay, so these are the questions that came from my computer science textbook, and I answered them on my own, but the textbook does not give out the answers for these questions. I want to know if I answered these right. Any suggestions would be appreciated.

    1. Suppose that only 50GB of your personal computer's 120GB hard-disk drive is empty. Would it be reasonable to use CDs to store all the material you have on the drive as a backup? What about DVDs?
    I answered:
    It would be reasonable to use CDs, because information is recorded in them by creating variations in their reflection surfaces. But, not really DVDs, because they usually work very well for multimedia and entire motion pictures.

    2. How many bytes of storage space would be required to store a 400-page novel in which each page contains 3500 characters if ASCII were used? How many bytes would be required if Unicode were used?
    I answered:
    1 character in ASCII = 8 bits = 1 byte, 1 character in Unicode = 16 bits = 2 bytes
    (400)(3500) = 1400000 characters
    Thus, 1400000 bytes for ASCII, and 2800000 bytes for Unicode.

    3. What values have binary representations in which only one of the bits is 1? List the binary representations for the smallest six values with this property.
    I answered:
    Possible binary representations: 0001, 0010, 0100, 1000, 10000, 100000
    Therefore 1, 2, 4, 8, 16, and 32.

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Location
    Advertising world
    Posts
    Many

     
  3. #2
    Join Date
    Jul 2006
    Posts
    16,491
    Blog Entries
    75
    Rep Power
    143

    Re: Computer Science stuff

    For 1: think about the storage size of a CD/DVD and the amount of data that needs to be stored for a single backup. I would not consider CDs a viable format based on those calculations.
    Programming is a branch of mathematics.
    My CodeCall Blog | My Personal Blog

  4. #3
    Join Date
    Jul 2006
    Location
    Amherst, New York, United States
    Posts
    6,277
    Blog Entries
    26
    Rep Power
    20

    Re: Computer Science stuff

    I too would not consider a CD a reasonable option. It would require 1000CD's. DVD's are a much better option IMO, Bluray would be even better.

  5. #4
    broncoslb is offline Learning Programmer
    Join Date
    Feb 2008
    Posts
    34
    Rep Power
    0

    Re: Computer Science stuff

    Yea, that would still be about 11 DVDs. External hdd would be a much better solution.

    As for #3, 10000000 would be -128 if you are working with signed values, so that could replace your 100000=32 on your list

Closed Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Questions about Computer Science
    By RedSilver in forum The Lounge
    Replies: 2
    Last Post: 01-14-2011, 07:19 PM
  2. Hello, looking for suggestions about Computer Science
    By codedemon in forum Introductions
    Replies: 2
    Last Post: 10-17-2010, 12:42 AM
  3. Computer science vs Computer Engineering
    By jwxie518 in forum The Lounge
    Replies: 18
    Last Post: 03-09-2009, 12:39 PM
  4. Computer Science stuff (continued)
    By johnny in forum Programming Theory
    Replies: 1
    Last Post: 03-22-2008, 08:25 AM
  5. Do you need Computer Science/Studies?
    By TcM in forum The Lounge
    Replies: 13
    Last Post: 12-06-2007, 03:14 AM

Tags for this Thread

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