COMPUTER PROGRAMMING FOR ENGINEERS - EXAMPLE 17.3 : (a) The byte is the basic building block of computer data used in chemical engineering process simulation where 16 bits make a word, 4 bits make a nibble, 32 bits make a quad word and 8 bits make a byte. Then how many nibbles are there in a megabytes? (b) In computer data items, let : 1 bit - counts from 0 to 1, 8 bits - counts from 0 to 255, 16 bits - counts from 0 to A. What is the value of A? (c) In a binary system of 4 bits, if 1100 = 12, 1101 = 13, 1110 = 14, 1111 = 15, B = 16, then guess the value of B. (d) By using any form of tools, find the exact value of 2 power 64 or 2^64.
Answer Posted / kangchuentat
COMPUTER PROGRAMMING FOR ENGINEERS - ANSWER 17.3 : (a) 4 bits as a nibble, then 8 bits as 2 nibbles and as a byte. Finally a megabytes make 2 meganibbles. (b) By induction, final number of count = 2 power (number of bit) - 1. For 16 bits, A = 2 power 16 - 1 = 65536 - 1 = 65535. (c) Undetermined and no answer for B since 1111 = 15 is maximum in a binary system of 4 bits. (d) By using web calculator, 2^64 = 18446744073709551616. The answer is given by Kang Chuen Tat; PO Box 6263, Dandenong, Victoria VIC 3175, Australia; SMS +61405421706; chuentat@hotmail.com; http://kangchuentat.wordpress.com.
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Are some heat transfer services more prone to tube vibration that others for a shell and tube exchanger?
Where the Induced draft, forced draft & balanced draft furnace are to be used? Selection of furnaces are based on which criteria?
How can metals be removed from aqueous waste streams?
Explain how can one quickly estimate the additional pressure drop to be introduced with more tube passes?
What is gibbs free energy?
What is a cstr and what are its basic assumptions?
We are having proplem with the persperation smell in ETT/ECHO room in our cardiac hospital.The 2 Ton of AC is not conditioning the environment. We have to use exhaust fan to through out of the room bad air. Could anyone suggest how to coup with this effectively using chemical engineering. Any permanent solution to neutralise the bad smell.The Air freshners are not doing enough instead making a bad odour.
Explain what is the best way to configure a bypass line in slurry services?
Why does catalytic converter used in an automobile?
How instrument air is continually supplied in process plant?
What is a good source of information for the design of pressure vessels?
When should one be concerned with the tube wall temperature on the cooling waterside of a shell and tube exchanger?
What is the import procurement cycle?
Can you pls tell me how to calculate the amphere rating of cable in case of three phase supply but all load is single phase
What type of heat exchangers are most commonly used for a large-scale plant-cooling loop using seawater as the utility?