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
What is the wet bulb globe temperature?
What are some common methods for helium leak testing a vacuum system?
How can one estimate how the friction factor changes in heat exchanger tubes with a change in temperature?
Explain what is the best way to configure a bypass line in slurry services?
On what basis are materials to be crushed evaluated apart from size?
How can I treat a waste stream containing both hexavalent chromium and arsenic?
which reformer efficiencywise best?
i am appearing in railway section engg. exam of chemical eng. therefore i want previous papers and study material of chemical eng.
How can you estimate the efficiency of a pump?
What is a barometric condenser?
What is the difference between horizontal and vertical heat exchanger?
What is the import procurement cycle?
how can i prepare for gate chemical in kolkata
What are the assumptions made for kynch theory?
Please help to get IOCL/HPCL or other chemical engineering paper pls send kathir_skv@yahoo.com Regards, kathirvel