Questions and Exercises for preparation exam

Questions and Exercises for preparation exam

(Only Part of Question 1 here on this box, please see attachment for full questions)

Question 1

This question is about Block 1 Part 1. You must show all of your working for full marks.

On 4 June 1996, the maiden flight of the Ariane 5 space launcher ended in a failure. Around 40 seconds after lift off, at an altitude of about 3700 metres, Ariane 5 veered off its flight path, broke up and exploded.

The problem was traced to a software exception that was caused during execution of a data conversion from a 64-bit floating point value to 16-bit signed integer value. The floating point number that was converted had a value greater than what could be represented by a 16-bit two’s complement integer

  • a. Name the kind of software error that was responsible for the Ariane 5 disaster.

Answer:

The software designers made an assumption that the number being converted from a float to an integer would not exceed a certain number.

  • b.
    • i.Write this number in 16-bit two’s complement binary notation.
    • Answer:
    • ii.Convert the number in part (i) into a decimal notation.
    • Answer:
    • iii.Write your result from part (ii) in decimal scientific notation
    • Answer:

"You need a similar assignment done from scratch? Our qualified writers will help you with a guaranteed AI-free & plagiarism-free A+ quality paper, Confidentiality, Timely delivery & Livechat/phone Support.


Discount Code: CIPD30



Click ORDER NOW..

order custom paper