subject
Engineering, 07.11.2019 04:31 libbymcvay

An integer in c (int) is represented by 4 bytes (1 byte = 8 bits). find the largest integer that can be handled by c. verify that number by computer (try to printf that number, and printf that number +1). no programming is required for this. hint: (a) conversion from binary to decimal: 3 2 1 0 11012 =1 2 + 0 2 +1 2 +1 2 = 8 + 0 + 2 +1 10 =11 (b) if an integer is represented by 1 byte (8 bits), the maximum integer number is (seven 1's as one bit must be reserved for a sign). 6 5 0 2 =1 2 +1 2 ++1 2 1 2 1 7 =  − =128 −1 (c) the number looks like a telephone number in dallas.

ansver
Answers: 1

Another question on Engineering

question
Engineering, 04.07.2019 18:10
A-mn has a cubic structure with a0 0.8931 nm and a density of 7.47 g/cm3. b-mn has a different cubic structure, with a0 0.6326 nm and a density of 7.26 g/cm3. the atomic weight of manganese is 54.938 g/mol and the atomic radius is 0.112 nm. determine the percent volume change that would occur if a-mn transforms to b-mn.
Answers: 2
question
Engineering, 04.07.2019 18:20
Ahe-xe mixture containing a 0.75 mole fraction of helium is used for cooling electronics in an avionics application. at a temperature of 300 k and atmospheric pressure, calculate the mass fraction of helium and the mass density, molar concentration and molecular weight of the mixture. if the cooling capacity is 10 l, what is the mass of the coolant?
Answers: 3
question
Engineering, 04.07.2019 19:10
Asteel wire of 2 mm diameter is fixed between two points located 2 m apart. the tensile force in the wire is 250n, if its density of steel is given by 7830 kg/m3 the fundamental frequency of vibration hz? ?
Answers: 3
question
Engineering, 06.07.2019 03:10
Tom is having a problem with his washing machine. he notices that the machine vibrates violently at a frequency of 1500 rpm due to an unknown rotating unbalance. the machine is mounted on 4 springs each having a stiffness of 10 kn/m. tom wishes to add an undamped vibration absorber attached by a spring under the machine the machine working frequency ranges between 800 rpm to 2000 rpm and its total mass while loaded is assumed to be 80 kg. a) what should be the mass of the absorber added to the machine so that the natural frequency falls outside the working range? b) after a first trial of an absorber using a mass of 35 kg, the amplitude of the oscillation was found to be 10 cm. what is the value of the rotating unbalance? c) using me-3.5 kg.m, find the optimal absorber (by minimizing its mass). what would be the amplitude of the oscillation of the absorber?
Answers: 1
You know the right answer?
An integer in c (int) is represented by 4 bytes (1 byte = 8 bits). find the largest integer that can...
Questions
question
Mathematics, 09.11.2019 09:31
question
Mathematics, 09.11.2019 09:31
question
Mathematics, 09.11.2019 09:31
question
Mathematics, 09.11.2019 09:31
Questions on the website: 13722361