Respuesta :
Answer:
a. 0.04 msec
b. 23.59 msec
Explanation:
a. Text Mode
2 * 80 *25 = 4000 bytes
1 byte take 2nsec time so, 4000 bytes take
4000 * 10 nsec = 40000 nsec = 0.00004 sec = 0.04 msec
b. Graphics:
24 bit color
3 bytes per pixel
1024 * 768 * 3 = 2 359 296 bytes
2 359 296 * 10 nsec = 23592960 nsec = 0.02359296
sec =23.59 msec
The time required to rewrite 80‐character X 25 line text mode and 1024 X 768 pixel graphics screen respectively are; 4 * 10⁻⁶ seconds and 0.23592960 seconds
What is the programming time?
A) We are told that 1 byte takes 2 nseconds (2 * 10⁻⁹ seconds) to copy a byte.
For the rewrite of the text screen, amount of data required to be copied is 2000.
Number of bytes copied = 2 * 80 * 25 = 4000 bytes
Time to completely rewrite 4000 bytes = 4000 * 10⁻⁹
Time = 4 * 10⁻⁶ seconds
B) For the rewrite of graphics screen 1024 X 768 pixel graphics screen with 24‐bit color, number of bytes is;
Number of bytes = (1024 * 768 * 3) = 23592960 bytes
Time to rewrite = 23592960 * 10⁻⁹ = 0.23592960 seconds
Read more about Computer Programming at; https://brainly.com/question/10848659