1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Liono4ka [1.6K]
3 years ago
8

You need to design a data storage scheme for Hayseed Heaven library data system. There are several hundred thousand large data r

ecords. You expect frequent insertions/deletions as well as frequent queries, involving multiple attributes. There is no requirement for printing the file in order. You may assume the initial file is available sorted. The queries are in real time and primarily occur on the ISBN number, title, and author fields. There are occasional queries on the publisher and subject fields of the record. You may make reasonable assumptions about hardware availability. The entire system is archived monthly. What do you propose and why
Computers and Technology
1 answer:
Alekssandra [29.7K]3 years ago
7 0

Answer:

Make use of hash tables

Explanation:

The appropriate thing to use for this should be a hash table.

A Hash Table can be described as a data structure which stores data in an associative manner. In a hash table, data is stored in an array format, where each data value has its own unique index value. Access of data becomes very fast if we know the index of the desired data. So we can perform Hashing on ISBN Number since its unique and based on the Hash Function w ecan store the Information record.

There is no requirement for printing the file in order - HashTables dont store the data in order of insertions, so no problems with that

It becomes a data structure in which insertion and search operations are very fast irrespective of the size of the data. So Querying books details can be fast and searching will take less time.

It can also be pointed out that it wont be too expensive for Hardware implemtation as HashTables stores data based on Hash Functions and memory consumption is also optimal which reduces memory wastages.

You might be interested in
How to upload themes to chrome web store
Advocard [28]
You need to go to the chrome web store, filter your search for themes, search what kind you are looking for, and then add the extension. 
3 0
3 years ago
I WILL GIVE YOU BRAINIEST IF YOU GIVE A GOOD ANSWER
Elodia [21]

Answer:

5 Ways to Practice Green Computing

Buy "Energy Star" labeled monitors, desktops, laptops, and printers . ...

Put laptops in "sleep" mode when not in use. ...

Even better, turn OFF computers and other equipment when not in use. ...

E-cycle used computer equipment. ...

Buy the new "Smart Strip" power strip.

Explanation:

3 0
3 years ago
What is the decimal number of binary number 1101011 if the binaryis represented as a(n)
Kruka [31]

Answer:

a. Unsigned integer  107

b. Signed magnitude integer  -43

c. One’s complement integer  -20

d. Two’s complement integer  21

e. ASCII character k

Explanation:

a) For unsigned integer,

   We put this value in representation of binary and put binary number in it.

   we will place 1, 2, 4, 8, 16, 32, 64, 128 ...(powers of two)

                         64  32  16  8  4  2  1

                           <u>1     1    0   1   0   1   1</u>        

The positions at 1 is present,we will add those numbers.In this                (64+32+8+2+1) =107 is there.

So,107 will be the representation.

b)For signed magnitude integer,

  The representation is just the same,but as signed integers the first bit represent the negative number.

                         64  32  16  8  4  2  1

                           <u>1     1    0   1   0   1   1</u>    

The first bit is for Negative(-),then we will add other number where 1 is present.In this (32+8+2+1)=43.We will add (-) due to signed integers.

So,-43 will be the representation.

c) For One's complement integer,

We will compliment the bits of binary number.At the place of 1 ,place 0 and at the place of 0,place 1.

                             <u>1     1    0   1   0   1   1</u>    

    Compliment   <u> 0   0    1   0  1   0   0</u>    

Then,We put this value in representation of binary and put binary number in it, we will place 1, 2, 4, 8, 16, 32, 64, 128 ...(powers of two)                

                         64  32  16  8  4  2  1

                          <u> 0   0    1   0  1   0   0</u>  

The positions at 1 is present,we will add those numbers.In this (16+8)=20    we will put negative at the starting because of the compliment

So, -20 will be the representation.

d)For Two's complement integer,

After compliment of bits At the place of 1 ,place 0 and at the place of 0,place 1.Then,we add 1 bit to the Least significant bit(Lsb).

                             <u>1     1    0   1   0   1   1</u>    

   Compliment     <u> 0   0    1   0  1   0   0</u>    

 Add 1 to Lsb       <u> 0   0    1   0  1   0   0</u>

                                                       +  <u> 1</u>

   Number           <u> 0   0    1   0  1   0   1</u>

Then,We put this value in representation of binary and put binary number in it, we will place 1, 2, 4, 8, 16, 32, 64, 128 ...(powers of two)                

                         64  32  16  8  4  2  1

                          <u> 0   0    1   0  1   0   1</u>  

The positions at 1 is present,we will add those numbers.In this (16+8+1)=21

So,21 will be the representation.

e. For ASCII character,

First,convert it into decimal

  We multiply bits with 2^n,from ascending numbers to 0 to (n-1),and add them

           =   1 * 2^6 + 1*2^5 + 0* 2^4 + 1*2^3 + 0* 2^2 + 1*2^1 + 1* 2^0  

              =   64+32+8+2+1

                =  107

Then,we check in Ascii table 107 decimal number's position ,k is there.

So,k will be the representation.

8 0
3 years ago
Setting up the initial values for the min and max depends on whether n is odd or even. If n is even, compare the first two eleme
sashaice [31]
The answer is the number (2)
3 0
3 years ago
What is you college success
nadya68 [22]

Answer:

The true measure of student success is how well students are prepared to accomplish their current and future academic, personal, and professional goals through the development of knowledge, a sense of responsibility and self-reliance, and a connection to the college and wider community.

6 0
3 years ago
Other questions:
  • Assume a 8x1 multiplexer’s data inputs have the following present values: i0=0, i1=0, i2=0, i3=0, i4=0, i5=1, i6=0, i7=0. What s
    8·1 answer
  • An educational institution has a number of buildings in the campus. Each building has its own independent network system, and al
    15·1 answer
  • There are only three active stations in a slotted aloha network: a, b, andc. each station generates a frame in a time slot with
    15·1 answer
  • The inability of BAE Automated Systems to create an automated baggage handling system led to a significant delay in the opening
    10·1 answer
  • A zipped folder is indicated by a
    14·1 answer
  • Define time management and give two activities that you can do to help manage your tasks, homework, or projects better.
    12·1 answer
  • Security on a network not only means being able to prevent a hacker from breaking into your computer but also includes being abl
    7·1 answer
  • Prepare the truth table for the following boolean expressions: (A+B).(A+C).(B)
    12·1 answer
  • When you start a new, blank document, you usually end up changing the font to arial 11. 5 point. How can you make these settings
    8·1 answer
  • On a cdma (code division multiple access) network, how are mobile handsets identified by the carrier?
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!