§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
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.
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: