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

  Develop contoller as sequential ckt using min num of d-ff

To develop contoller as a sequential circuit using minimum number of D flip-flops and the minimum number of external gates. the controller should set the values of the control lines appropriately to drive the combinational logic circuit.

  Determine the electrostatic force acting on the electron

Consider a classical model of a hydrogen atom, with nucleus of charge -e orbited by an electron of charge +e, where e = -1.6×10-19 C. If these may be modeled as point charges separated by 0.053 nm, determine the electrostatic force acting on the e..

  Find the capacitance-unit lenght for the cable

Given a co-axial cable to which Pinner = a and Pouter = b energized +Q, -Q where -+Q is the inner cable charge. a) Find E' for a

  What is minimum stopping distance for the same car traveling

The minimum stopping distance for a car traveling at a speed of 30m/sand is 60 m including the distance traveled during the driver's reaction time of 0.53 s. What is the minimum stopping distance for the same car traveling

  Calculate hall voltage across the wire

An Aluminum wire with a square cross section 2mm on a side is carrying a current of 1.5amps. Aluminum has a resistivity of 2.69*10^-6 ohm-cm and an atomic volume of 10cc/mol. Assuming aluminum has three free electrons per atom

  Determine the no-load line-to-line generated voltage

A three-phase, 318.75-kVA, 2300-V alternator has an armature resistance of 0.35 ­/phase and a synchronous reactance of 1.2 ­/phase. Determine the no-load line-to-line generated voltage and the voltage regulation

  Design a low pass active filter that passes frequencies

Design a low pass active filter that passes frequencies at 900 Hz and below and at these values the magnitude (in dB) of the transfer function is between 23 dB and 17 dB. The circuit's magnitude (in dB) of the transfer function at a frequency of 1..

  Design for mos inverter using a depletion-type transistor

Create the layout design for MOS inverter using a depletion-type transistor with VTL = -0.3V and an enhancement-type device with VTO = 0.5V such that tPLH is less than or equal to 15ns and tPHL is less than or equal to 1ns with CL = 1pF.

  Determine transfer function for first order low pass filter

Determine the transfer function for a first order low pass filter with a cutoff frequency of 1000 radians/sec (note radians and not Hertz) and a pass band gain of 1 using the following types. (a) Butterworth type

  Find the sample space for the experiment

Find the sample space for the  experiment: Drawing bolts from a lot of 20, containing one defective D, until D is drawn, one at a time and assuming sampling without replacement, that is, bolts drawn are not returned to the lot.

  Find the thévenin impedance with respect to the terminals

a) Find the amplitude and phase of the Thévenin voltage with respect to the terminals a, b. b) Find the Thévenin impedance with respect to the terminals a, b. c) Draw the Thévenin source physical equivalent circuit.

  What are measured values for the two resistances

What do you believe would happen, if you removed the 220 ohm resistor from the circuit and connected the LED directly to the 555 integrated circuit. Are there any appreciable differences between labeled, calculated.

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