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
Why is double the amount of gas collected in one of the test tubes in electrolysis of water than th amount collected in the other? Name this gas?
What is maximum recommended velocity for steam in a plant pipe network?
What is a solvent?
What are the different characteristics that can affect the flow of bulk solids and how?
can anybody give me syallbus of chemical engineering for section engineer in railway.
What are the design considerations for a piping system for the transfer of slurries?
What are some common causes of gas pipeline vibration 20 carbon steel line?
what r the question asked in interview of gate,is it related to course?
design calculations for reactor
How much maximum power can be generated by 320v, 10kg-cm synchronous motor if shaft is rotated mechanically at 50 to 60 rpm?
How does a tank-blanketing valve operate?
What is a good source of surfactant information on the internet?
What are the main terms in unit operations? What are its characteristics?
What is the largest application for surfactants?
Name the three classes of organic solvents?