How to use the minimum number of bits to represent the data

Assignment Help Electrical Engineering
Reference no: EM13267280

One of the biggest challenges with log systems, like the ones used for Intrusion Detection Systems data, is the amount of disk space that they require. For example, storing a message like: "User1 login success", contains 19 characters, which yield 19 x 8 = 152 bytes. Hence, storing this kind of record hourly could yield Gigabytes of data, making log files hard to archive.

In contrast, a numeric encoding is proposed, such that information may be better compacted. For example, the previous example could be represented as UserId = 1, Event = 0, and Outcome = 1. Thus a record in file could be seen as <UserId, Event, Outcome> = <1, 0, 1>, such that the record is represented as a bit stream of 0's and 1's.

Given the following definition:
•User = {id | 0 <= id <= 500}
•Event = {login, access, logout, download, upload}
•Outcome = {Fail, Success}
Use the minimum number of bits to represent the data. Also give the proper procedure to read and write a record (hint: use and, or, and shift operations). Finally, use the approach to:
•Interpret (write the textual event) the record seen as (15B7)16 (hint: remember the previous example: "User1 login success")
•Convert the phrase "User157 login fail" to the proposed approach
•Compare (compute) also the size of 1 million records using the previous format (around 20 bytes per record) and the proposed format.

Reference no: EM13267280

Questions Cloud

Describe structure for the compound : Provide a structure for the following compound: molecular mass 101; IR: 3397, 3200, 1655, 1622 cm-1; 13C NMR: ? 27.5, ? 38.0 (weak), ? 180.5 (weak).
How much energy is stored on the capacitor as t : The voltage on a 40 µF capacitor is found to be 12(1 - e-8t) volts. Find the voltage at t = 0, and the voltage at t = 0.1 second. How much energy is stored on the capacitor as t approaches infinity
Conducted experiment in both experimental-control groups : Suppose you conducted an experiment in which both the experimental and control groups were given a pretest and a posttest in order to measure the amount of change for each group. How many t tests should be conducted? why?
Explain the diels-alder reaction between maleic anhydride : Can someone continue on what I already have please. Water cannot be used as a solvent for the Diels-Alder reaction between maleic anhydride and 1,3-cyclopentadiene because
How to use the minimum number of bits to represent the data : One of the biggest challenges with log systems, like the ones used for Intrusion Detection Systems data, is the amount of disk space that they require. For example, storing a message like: "User1 login success", contains 19 characters
Define high cooking temperature to speed the cooking process : pressure cookers achieve a high cooking temperature to speed the cooking process by heating a small amount of water under constant pressure
Obtain the total length of the wire : A coil formed by wrapping 45 turns of wire in the shape of a square is positioned in a magnetic field so that the normal to the plane of the coil, What is the total length of the wire
Implications for the video game industry : Discuss the evolution of the video game industry in terms of competition and technology. What does disruptive strategy mean? What are the principles behind it?
Determine what is the maximum amplitude of output signal : What is the highest frequency of a triangle wave of 20V peak-to-peak amplitude that can be reproduced by an op amp whose slew rate is 10v/s.  For a sine wave of the same frequency.

Reviews

Write a Review

Electrical Engineering Questions & Answers

  Explain how to divide the amount of the project goal

The project has been broken down into the following modules: Power supply, Processor and motherboard with RAM, I/O circuit board, CD-ROM drive, Floppy drive LCD display, Keypad, Enclosure and all mechanical parts, Final assembly.

  Find loading error when the pot is in middle of its range

A 10 K-ohm pot is used as a position sensor with a 10 -V supply. The input resistance to the interface circuit is 50 K-ohm. Find the loading error when the pot is in the middle of its range.

  Design a buck converter to produce an output voltage

Design a buck converter to produce an output voltage of 18 V across a 10- load resistor. The output voltage ripple must not exceed 0.5 percent. The dc supply is 48 V. Design for continuous inductor current.

  Compute the power absorbed by an element in a circuit

Compute the power absorbed by an element in a circuit, but for a simple sinusoidal current i = sin(2πt/T) where T = 1 s.

  Calculate the power delievered to the load by each battery

Two full charged 8A-Hr batteries are connected in parallel and supply power to a resistive load of 2.4 ohms. The open-circuit voltage of both batteries is 6.4VDC and the internal(Thevenin) resistances are 0.24 ohms and 0.28ohms.

  Explain at what point in lifecycle should process initiated

Cradle to death is a typical lifecycle for any given application. The useful life of a particular application will vary based on advancements in a given discipline. It is critical to continuously seek and identify new ways to adapt technology.

  What are the maximum and minimum values for the if

A 10 kHz signal modulates a 500 MHz carrier, with a modulation index of 2. What are the maximum and minimum values for the instantaneous frequency of the modulated signal

  Explain a terrestrial radio link transmits a cdma signal

A terrestrial radio link transmits a CDMA signal from a base station using a spreading code with a chip rate of 1.0 Mchips per seconds. The message data rate of the signal is 10 kbps.

  Describe as best as possible an automatic garage door opener

discuss to describe as best as possible an automatic garage door opener system. You should either use one you are familiar with as an example, or recall the details from one or more that you imagine could be available

  Design a low-pass filter that attenuates the noise

A measurement signal has a frequency less than 1 kHz, but there is unwanted noise at about 1 MHz. Design a low-pass filter that attenuates the noise to 1%. What is the effect on the measurement signal at its maximum of 1 kHz

  What are the advantages of using a counter

In a Built in Self Test, for a combinational logic system, what are the advantages of using a counter instead of an ALFSR to generate testing vectors for 2 cases.

  Explain what change in the sound do expect to hear

if you use the sinusoidal waveform to drive the speaker: What change in the sound do you expect to hear when you increase the amplitude of the sinusoidal signal on the function generator

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd