Number System Conversions and Binary Tree Data Compression
Number System Conversions
Problem Statement:
Convert the octal number () into binary (), decimal (), and hexadecimal () numeral systems.
Radix Conversion Reference Table (, , ):
Decimal : Binary , Octal , Hexadecimal
Decimal : Binary , Octal , Hexadecimal
Decimal : Binary , Octal , Hexadecimal
Decimal : Binary , Octal , Hexadecimal
Decimal : Binary , Octal , Hexadecimal
Decimal : Binary , Octal , Hexadecimal
Decimal : Binary , Octal , Hexadecimal
Decimal : Binary , Octal , Hexadecimal
Decimal : Binary , Hexadecimal
Decimal : Binary , Hexadecimal
Decimal : Binary , Hexadecimal
Decimal : Binary , Hexadecimal
Decimal : Binary , Hexadecimal
Decimal : Binary , Hexadecimal
Decimal : Binary , Hexadecimal
Decimal : Binary , Hexadecimal
Conversion to Binary ():
Each octal digit maps directly to a 3-bit binary triad:
Integer portion:
Fractional portion:
Concatenated binary value:
Conversion to Hexadecimal ():
Regroup the binary bits into 4-bit tetrads originating outwards from the radix point:
Integer portion (grouped to the left with leading zero padding):
Binary grouping:
Hexadecimal mapping:
Fractional portion (grouped to the right with trailing zero padding):
Binary grouping:
Hexadecimal mapping:
Concatenated hexadecimal value:
Conversion to Decimal ():
Positional expansion of the binary representation using powers of 2:
Bit positional indices for integer part (from right to left, starting at ):
Index :
Index :
Index :
Index :
Integer sum:
Bit positional indices for fractional part (from left to right, negative exponents):
Index :
Index :
Index :
Index :
Fractional sum:
Total decimal sum:
Data Compression via Binary Tree Coding

Character Frequency Analysis:
Target word:
ABRAKADABRATotal length: characters
Frequencies per symbol:
A: appearsB: appearsR: appearsK: appearsD: appears
Uncompressed Representation (Nezgoščen Zapis):
Total unique characters:
Fixed bit-length required per symbol:
Fixed storage requirement per character type:
A:B:R:K:D:Total uncompressed size:
Binary Tree Construction and Topology:
Root node containing set
ABRKD(cumulative weight ):Left branch (): Leaf node
A(frequency )Right branch (): Internal node
BRKD(weight )Internal node
BRKD:Left branch (): Internal node
BR(weight )Left branch (): Leaf node
B(frequency )Right branch (): Leaf node
R(frequency )
Right branch (): Internal node
KD(weight )Left branch (): Leaf node
K(frequency )Right branch (): Leaf node
D(frequency )
Prefix Codebook:
A: Code0(length )B: Code100(length )R: Code101(length )K: Code110(length )D: Code111(length )
Compressed Representation (Zgoščen Zapis):
Standard mathematical bit accumulation:
A:B:R:K:D:Full bit sum:
Worksheet branch evaluation:
Expression recorded:
Full Encoded Message Sequence:
Translation of
A-B-R-A-K-A-D-A-B-R-A:A=0B=100R=101A=0K=110A=0D=111A=0B=100R=101A=0Complete binary bitstream:
01001010110011101001010
Compression Metrics:
Compression Factor ():
Formula:
Computed ratio:
Percentage calculation ():
Expression:
Grading Criteria and Assessment Scale
Task Points Distribution (Točkovanje Nalog):
Task 1:
Task 2:
Task 3:
Task 4:
Task 5:
Task 6:
Task 7:
Task 8:
Task 9:
Task 10:
Task 11:
Task 12:
Task 13:
Task 14:
Task 15:
Task 16:
Task 17:
Task 18:
Task 19:
Task 20:
Total cumulative points:
Page classification index:
A - 4
Grading Scale Boundaries (Ocenjevanje Nalog):
Grade 5 – Excellent (odlično):
Points:
Percentage:
Grade 4 – Very Good (prav dobro):
Points:
Percentage:
Grade 3 – Good (dobro):
Points:
Percentage:
Grade 2 – Sufficient (zadostno):
Points:
Percentage:
Grade 1 – Insufficient (nezadostno):
Points:
Percentage:
Supplementary Worksheet Content: English Language Exercises
Verb Tense Completions:
Job tenure context:
(START) his job at a consultancy since last summer.Work duration context:
The company... Last month, he 16 (WORK) late...Social encounter context:
...finally had time to meet. They 17 (NOT SEE) each other for...Conversation duration:
...a café where they 19 (TALK) for hours about their lives.Entrepreneurship dialogue:
...asked, "...you ever 20 (THINK) about starting your... really, yes. Maybe someday I will."
Irregular and Regular Noun Plural Forms (4 Points Total):
Singular:
A phenomenonPlural:phenomenaSingular:
A proofPlural:proofsSingular:
A lousePlural:liceSingular:
A calfPlural:calves