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

What is the ignition temp. of Alluminium,Coper&Iron.

1809


What is the order of a chemical reaction, , if the rate of formation of 'C', increases by a factor of 2.82 on doubling the concentration of 'A' and increases by a factor of 9 on trebling the concentration of 'B'?

3182


marketing procedure of iocl

1953


What is vapour flooding and liquid floodin in distillation?

1193


Can any one send me the sample test papers of IOCL entry exam to be held on 6th july 2008. Also plz send the interview questions that cud probably be asked........i wud be highly obliged if u can send a few test paers and other stuff @ inderjeetd@gmail.com.........Inderpreet

2216






based on percentage problems

2406


What is the maximum recommend pipe velocity for dry and wet gases?

711


What are the steps required to design a vapor-liquid separator or flash drum?

600


what is the cast iron grade of composition of c-3.06% , Mn- 0.48% , Si-2.38% , S-0.088% , P-0.092% , Cr-0.12% , Ni- 0.012% , Mo-0.00%

1650


How does hollow shaft impeller works? Does it based on principle of pitot tube?

1759


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

608


What are the greenhouse gases in earth's atmosphere?

653


What is the method of determining maximum differential pressure during hydro testing of shell and tube heat exchangers?

670


if i added hypo before DM plant so i will affect my resins of anion or cation. if affect it so do prevent what kind of step should be taken to remove hypo before DM inlet?

1079


What is the largest application for surfactants?

675