Today we learned about the I/O hierarchy We can put the I/O hierarchy into persp
ID: 3847456 • Letter: T
Question
Today we learned about the I/O hierarchy We can put the I/O hierarchy into perspective by showing what happens when an application program displays a string of characters on the screen in the figure on the right. The following steps are involved: A statement in the application program calls an HLL library function that writes the string to standard output. The library function (Level 3) calls an operating system function, passing a string pointer. The operating system function (Level 2) uses a loop to call a BIOS subroutine, passing it the ASCII code and color of each character. The operating system calls another BIOS subroutine to advance the cursor to the next position on the Screen. The BIOS subroutine (Level 1) receives a character, maps it to a particular system font, and sends the character to a hardware port attached to the video controller card. The video controller card (Level 0) generates timed hardware signals to the video display that control the raster scanning and displaying of pixels. Explain what the similar steps would be for your browser uploading a file to YouTube?Explanation / Answer
Uploading a video to the youtube follows the following process
a. Server Queue
The file first is sent to the server and after receiving the file the server needs to process the file. the processing may take some time as the servers also process hundreds of videos at a time.
b. Incomplete Files
It happens that file remains in the queue for much longer time. So if that happens the user have to delete the file and upload it again.
c. Slicing
This days youtube follow a concept of slicing. That means the video are broken into smaller parts so that it can be uploaded at a much faster rate.
d. Resampling
The file uploaded is resampled by the youtube depending on size and quality of the video.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.