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
Explain the method adopted to minimize shell side pressure drop in a shell?
pls send me model paper of NPCIL for executive trainee. and syllabus of executive trainee 2015.
How can you separate hydrogen peroxide into hydrogen and oxygen?
Explain why does catalytic converter used in an automobile?
What compounds are responsible for the odors that come from wastewater treatment plants?
what is designing step of heat exchanger
dear sir/madam, I had applied for the post of officer trainee so plz if u have any papers both technical or aptitude plz inform me on sonalichavan01@gmail.com
what is first order of reaction?
Explain some good strategies for curing tube vibration in shell and tube exchangers?
What are demand of crotonaldehyde99% in the worldand its international market ?
How are vessel lined with glass or how are they coated?
hi, i have completed B.tech Chemical enggneering, plz can anyone provide me GVK BIO company's interview questions. iam attending the interview for the first time..
Explain how can you separate hydrogen peroxide into hydrogen and oxygen?
What type of pump may be appropriate for a liquid near saturation, a low flow rate, and very limited npsha?
How do you design a vapor-liquid separator or a flash drum?