Other Programming & Computer Science Answers

Questions: 1 727

Answers by our Experts: 1 357

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search & Filtering

§Construct a flowchart that will convert an inputted number in Fahrenheit to its equivalent measure in Celsius using Formula: C = (5/9)*(F-32)


use flowchart to Find Cube of a Number  

DRAW FLOWCHART TO Calculate area of a rectangle using  area = base * height



  1. The following exercises are on prime numbers.Use the Miller-Rabin Primality Test to test whether n = 157 is a prime. Choose the random value a = 8.

Alice and Bob use the RSA cryptosystem with p = 11, q = 31, and e = 19. Compute Bob’s private key.

Explain how Alice encrypts the message x = 14 using the public key and compute the encrypted message y.


Alice and Bob want to set up a symmetric cryptographic channel using the Diffie-Hellman key exchange protocol. Alice chooses p = 457 and needs to find a generator of Zp. How would you test if g is a generator of Zp? How many exponents a ≥ 1 do you need to test at most to prove that a given g is a generator of Z∗457?Hint: The order ordG(g) of any element g ∈ G must divide the order of the finite group G.


Question 1 

a) Write a short note on the following graphic formats and state one (one) example under each?                         i. Vector graphics ii. Raster graphics b) What is the difference between Multimedia Software and Multimedia Hardware? c) State the difference between the following and state any two (2) examples under each?  i. Lossless and lossy ii. Symmetrical and asymmetrical  

2.Consider a source of S = {S1, S2} with their respective probabilities 3/5 and 2/5.  a) Obtain a Shannon Fano Algorithm for the source S, i. Calculate the efficiency of the system ii. Redundancy iii. Code tree 

3.a) Consider a Huffman’s Algorithm that uses a variable-length encoding scheme to compress the original text: HELLO DEAR! to determine the following? 10 marks i. Code tree ii. Codeword iii. Average code length 

 

 



Draw the binary search tree with elements [1,2,3,4,5,6,7,8,9,10] that has exactly elements 2,4,7, and 9 as the leaves. Make the height of your tree as small as possible given the above constraints.


  1. What is multimedia authoring?
  2. Clearly distinct between videos and animations as different elements applied in multimedia.
  3. What is multimedia applications?
  4. In multimedia applications, there are three types of design to consider. State and define these designs

Directions: Establish the table of information and formulate the LP Model of the following: (15 points each ). 


An appliance repair shop has 5 electric fans, 12 washing machines, and 18 air conditioning units to be repaired. The store employs two part-time repairmen. Repairman A can repair 3 electric fans, 3 washing machines, and 4 airconditioning units in a week, while Repairman B can repair 1 electric fan, 3 washing machines, and 6 air conditioning units in a week. repairman A is paid Php 5,000 a week and repairman B is paid Php 4,200 a week. To minimize cost how many weeks should each of the two repairmen be employed?

Solution:

Let  x= _________________ and y = ______________________


Table of information


Objective Function:________________


Subject to Constraints:


LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS