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

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?

566


What is maximum recommended velocity for steam in a plant pipe network?

622


What is a solvent?

637


What are the different characteristics that can affect the flow of bulk solids and how?

651


can anybody give me syallbus of chemical engineering for section engineer in railway.

2005






What are the design considerations for a piping system for the transfer of slurries?

688


What are some common causes of gas pipeline vibration 20 carbon steel line?

707


what r the question asked in interview of gate,is it related to course?

1810


design calculations for reactor

2119


How much maximum power can be generated by 320v, 10kg-cm synchronous motor if shaft is rotated mechanically at 50 to 60 rpm?

669


How does a tank-blanketing valve operate?

709


What is a good source of surfactant information on the internet?

718


What are the main terms in unit operations? What are its characteristics?

649


What is the largest application for surfactants?

672


Name the three classes of organic solvents?

558