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
Afull journal bearing has a journal diameter of 27 mm, with a unilateral tolerance of -0.028 mm. the bushing bore has a diameter of 27.028 mm and a unilateral tolerance of 0.04 mm. the l/d ratio is 0.5. the load is 1.3 kn and the journal runs at 1200 rev/min. if the average viscosity is 50 mpa-s, find the minimum film thickness, the power loss, and the side flow for the minimum clearance assembly.
Answers: 1
question
Engineering, 04.07.2019 18:10
Thermal stresses are developed in a metal when its a) initial temperature is changed b) final temperature is changed c) density is changed d) thermal deformation is prevented e) expansion is prevented f) contraction is prevented
Answers: 2
question
Engineering, 04.07.2019 18:10
Carbon dioxide gas expands isotherm a turbine from 1 mpa, 500 k at 200 kpa. assuming the ideal gas model and neglecting the kinetic and potential energies, determine the change in entropy, heat transfer and work for each kilogram of co2.
Answers: 2
question
Engineering, 04.07.2019 18:10
Machinery that is a key part of the process and without which the plant or process cannot function is classifed as: (clo4) a)-critical machinery b)-essential machinery c)-general purpose machinery d)-none of the specified options.
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, 08.10.2019 22:00
question
Social Studies, 08.10.2019 22:00
Questions on the website: 13722362