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

  Lithium ion battery technology

The paper includes Lithium ion battery technology with its advantages and disadvantages. The paper discusses about the Lithium air battery in which detailed reactions of Lithium with air including nonaqueous as well as aqueous are given.

  Power transformers and tariffs

Construction of different types of power transformer, significant energy savings

  Paper on orthogonal frequency-division multiplexing

This document is shown a paper on Orthogonal frequency-division multiplexing with advantages, disadvantages and uses.

  Function of the hmi in a scada system

This assignment contains electronics engineering questions like State the commonly found components of a SCADA (Supervisory control and data acquisition) system. and decribe the function of the HMI in a SCADA system.

  Resultant waveform of the odd harmonic series

Prepare an Excel graph showing the individual components and summated resultant waveform of the odd harmonic series resulting in an approximate square wave.

  Explain scada system

Explain the function of the HMI in a SCADA system.

  Design a 2-digit 24 second shot-clock

Design a 2-digit 24 second "shot-clock" countdown timer with pushbutton controller.

  Model a discrete-time system

To understand di erent signal models To be able to model a discrete-time system and design simple signal processing algorithms.

  Draw a relay construction diagram

Draw a relay construction diagram and briefly explain the operation of a relay.

  Frequency division multiplexing

Write a short technical report on Frequency Division Multiplexing

  Impact of electron energy

Briefly discuss the impact of electron energy, electron current and target on the Bremsstrahlung generated.

  Traffic light controller

The schematic of the traffic light controller

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