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


Please Help Members By Posting Answers For Below Questions

Are some heat transfer services more prone to tube vibration that others for a shell and tube exchanger?

659


Where the Induced draft, forced draft & balanced draft furnace are to be used? Selection of furnaces are based on which criteria?

3053


How can metals be removed from aqueous waste streams?

572


Explain how can one quickly estimate the additional pressure drop to be introduced with more tube passes?

581


What is gibbs free energy?

594






What is a cstr and what are its basic assumptions?

670


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.

1721


Explain what is the best way to configure a bypass line in slurry services?

546


Why does catalytic converter used in an automobile?

603


How instrument air is continually supplied in process plant?

671


What is a good source of information for the design of pressure vessels?

576


When should one be concerned with the tube wall temperature on the cooling waterside of a shell and tube exchanger?

591


What is the import procurement cycle?

632


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

1699


What type of heat exchangers are most commonly used for a large-scale plant-cooling loop using seawater as the utility?

667