Database System Concepts
7th Edition
ISBN: 9780078022159
Author: Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher: McGraw-Hill Education
expand_more
expand_more
format_list_bulleted
Question
How would the following string of characters be represented using run length encoding? What is the compression
ratio?
AAAABBBCCCCCCCCDDDD hi there EEEEEEEEEFF
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution
Trending nowThis is a popular solution!
Step by stepSolved in 3 steps
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Similar questions
- For example: Binary value of character ‘B’ from ASCII table is 01000010Dataword is 1000010 Even Parity Bit is 0 Codeword: 10000100 Even Parity – Complete the following table using Even Parity Character Binary Datawordfrom ASCII table(7-bit value) Parity BitValue TransmittedCodeword ReceivedCodewordat Receiver Check ifthecodewordisrejected t 1010100 10101101 h 1101000 11010000 i 1101001 11010010 s 1110011 11100110arrow_forwardConvert the decimal signed number -7 into 8-bit signed binary number. The signed binary number is 1111 1001. a. The signed binary number is 1110 1001. Ob. OC. The signed binary number is 1111 0001. The signed binary number is 1101 1001. O d.arrow_forward1. Generate the Hamming-code for the following 12-bit data string : 1 0 1 0 1 1 0 1 1 1 0 1 Show that the generated binary string does not have any errors.arrow_forward
- In one of the labs performed you were to examine a .jpg and write the first 2 bytes of Hexadecimal information representing that .jpg. Which of the following is the Hexadecimal representation of that .jpg? FF E8 FF D8 E8 FF D8 FFarrow_forwardHow many 14-bit strings (that is, bit strings of length 14) are there which: a. Start with the sub-string 011? 2048 b. Have weight 4 (i.e., contain exactly 4 1's) and start with the sub-string 011? 330 c. Either start with 011 or end with 01 (or both)? 6144 d. Have weight 4 and either start with 011 or end with 01 (or both)? 825arrow_forwardWrite down the bit pattern in the fraction assuming a fl oating point format that uses Binary Coded Decimal (base 10) numbers in the fraction instead of base 2. Assume there are 24 bits, and you do not need to normalize. Is this representation exact?arrow_forward
- Question Compute a Huffman trie for the following string of length 61. UUJCUJUVAJHHVUJJUUHEUVJJAVHUJEJEJVUVEUAVJVAAVHJEJJJEHVJJEJHHU Here are the frequencies of the characters in the string: char freq А C 1 7 H 8. J 18 U 12 V 10 Using the encodings from the Huffman trie you computed, how many bits are needed to encode the above string? Do not count the bits to represent the encoding table (or any bits used for padding and byte alignment). Answer Your answer should be a positive integer.arrow_forwardA What bit string represents the bitwise OR of bit strings 0110 and 1110? B What is the difference of these sets, i.e., {1,3,4} - {2,3,5}? C What is the value of x after this statement is encountered in a computer program, if x = 1 before the statement is reached? if x + 1 < 3 then x := x + 1 D What is the union of sets {1,3,4} and {2,3,5}? E What is the cartesian product of sets {1,3,4} and {2,9}? F Let U={0,1,2,3,4,5,6,7}. What bitstring represents the subset of all odd integers in U? G What is the powerset of set {1,3,4}? H What bit string represents the bitwise AND of bit strings 0110 and 1110? I What is the intersection of sets {1,3,4} and {2,3,5}?arrow_forwardFind the decimal values of the following signed (negative) numbers. First find a signed-magnitude binaryrepresentation for them and then convert them to decimal numbers: a. (71)8= (111001)2 signed-magnitude =b. (80C)16 = (100000001100)2 signed-magnitude =c. (10100101)2 = (-0100101)2 signed-magnitude =arrow_forward
- Suppose that we use the floating-point format with 12 decimal digits, SEEEMMMMMMMM, to rep- resent a real number, where S is the digit to represent the sign of the mantissa (use 0 for pos- itive and 5 for negative), EEE are the 3 digits to represent the exponent in excess-500 format, MMMMMMMM are the 8 digits to represent the magnitude of the mantissa, and the decimal point of the mantissa is right to the left of MMMMMMMM (i.e., SEEEMMMMMMMM representing the real number +0.MMMMMMMM × 10EEE-500.) When you use this format to represent a real number, in which scenario an overflow will occur and in which scenarios an underflow may occur?arrow_forwardWhat is the probability that a 16-bit binary string is a palindrome? Please explain your work.arrow_forwardpythonarrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Database System ConceptsComputer ScienceISBN:9780078022159Author:Abraham Silberschatz Professor, Henry F. Korth, S. SudarshanPublisher:McGraw-Hill EducationStarting Out with Python (4th Edition)Computer ScienceISBN:9780134444321Author:Tony GaddisPublisher:PEARSONDigital Fundamentals (11th Edition)Computer ScienceISBN:9780132737968Author:Thomas L. FloydPublisher:PEARSON
- C How to Program (8th Edition)Computer ScienceISBN:9780133976892Author:Paul J. Deitel, Harvey DeitelPublisher:PEARSONDatabase Systems: Design, Implementation, & Manag...Computer ScienceISBN:9781337627900Author:Carlos Coronel, Steven MorrisPublisher:Cengage LearningProgrammable Logic ControllersComputer ScienceISBN:9780073373843Author:Frank D. PetruzellaPublisher:McGraw-Hill Education
Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education
Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON
Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON
C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning
Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education