{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

cs186_sp08_mt1-9

cs186_sp08_mt1-9 - $35 Power tools Cordless 43121 Hammer...

Info icon This preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Name: __________________________________ d. (4 pts) Consider a system with 1 kilobyte pages. If we devote 1 gigabyte of memory space for input buffers, and we do not use double buffering, what is the largest file we can sort in two passes? (Remember 1 KB = 2 10 bytes, 1 MB = 2 20 bytes, 1 GB = 2 30 bytes, 1 TB = 2 40 bytes, and 1 PB = 2 50 bytes) i. 1 GB ii. 100 GB iii. 1 TB iv. 1 PB ANSWER: _______ Relational Algebra Consider the following relations for a sales database for a chain of hardware stores: Products PRODUCT_ID NAME MSRP CATEGORY NOTES 42341 Drill
Image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: $35 Power tools Cordless 43121 Hammer $15 Hand tools None 63433 Drywall nail $0.15 Nails 2” 64221 Roofing nail $0.15 Nails 1” 53433 Table saw $215 Power tools Safety shield Stores STORE_ID ADDRESS REGION MANAGER 13 1 Main St., San Jose WEST Bob Smith 15 2 Elm Rd., NY EAST Naomi Smith 19 5 Shady Ln, Austin CENTRAL Tim Gunn 22 8 River Rd., Seattle WEST Johnny Rocket Sales DATE PRODUCT_ID STORE_ID QUANTITY PRICE Jan. 1 43121 15 1 $15 Dec. 8 64221 22 100 $0.11 Mar. 3 53433 22 1 $210 9...
View Full Document

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern