Generate a set of 10 symbols, including how frequent each symbol will be used.
Question
Generate a set of 10 symbols, including how frequent each symbol will be used.
Solution
Sure, here is a set of 10 symbols and their frequencies:
- Symbol: *, Frequency: 10 times
- Symbol: #, Frequency: 8 times
- Symbol: @, Frequency: 15 times
- Symbol: $, Frequency: 12 times
- Symbol: %, Frequency: 9 times
- Symbol: ^, Frequency: 7 times
- Symbol: &, Frequency: 11 times
- Symbol: !, Frequency: 13 times
- Symbol: ?, Frequency: 6 times
- Symbol: +, Frequency: 14 times
Please note that these frequencies are arbitrary and can be adjusted as per your requirements.
Similar Questions
Design Shannon Fano algorithm and Hoffman algorithm for your set of symbols. (show all the details).
Write a program to generate and print the given star pattern.Input:The input consists of a single integer N, where 1 ≤ N ≤ 10.Output:Print the star pattern as described.For N=3, the pattern will be * *** ***** *** *
The number of bytes occupied by a character array of 10 elements.(a) 20 bytes(b) 60 bytes(c) 40 bytes(d) 120 bytes
Page 2 of 101. These patterns are made of sticks(a) Draw Pattern 4(1)(b) How many sticks will there be in Pattern 10?.............................(1)(c) Which pattern will use 40 sticks?.............................(1)© Corbettmaths 2015Page 3 of 102. Here is a pattern of dots(a) Continue the pattern to show Pattern 4(2)(b) How many dots will there be in Pattern 6?.............................(1)(c) Which pattern will use 77 dots?.............................(1)(d) Explain why there will not be a pattern that uses 200 dots.! ! ......................................................................................................................! ! ......................................................................................................................(1)© Corbettmaths 2015Page 4 of 103. Patterns are made of sticks(a) Complete the table for Pattern 4.(1)(b) Sketch Pattern 5(1)(c) Which pattern will have 30 sticks?.............................(1)(d) Here is the rule for working out the number of sticksHow many sticks will be in Pattern 200?.............................(1)© Corbettmaths 2015Page 5 of 104. Here is a pattern of red and yellow squares.(a) Here is a method for working out the number of red squares in each pattern.Complete the method for Pattern 20.(2)(b) Which statements below are true?A Pattern 10 has 11 yellow squaresB The number of red squares is always oddC Every pattern has more red squares than yellow squaresD Pattern 5 has 11 red squares.....................................(2)© Corbettmaths 2015
R L D 1 Z * 5 E % S 3 M 9 C P 8 U # A 2 B $ G 6 W @ 4 N © T 7 F H .How many such symbols are there in the above series, each of which is immediately preceded by a letter and immediately followed by a letter?OptionsTwoThreeNone of theseFourThree
Upgrade your grade with Knowee
Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.