calculate the Bus Data Transfers, Interrupts,Total Bus Transfers and the Improvement
Short Answers 1. Given the following scenario, calculate the Starting Block and the Offset for of the following records in a data file. (Hint: Derive a formula from the examples on page 460.) The first allocation unit of the data file is in block 4. The data file has a length of 230 allocation units. The allocation unit size used by the disk drive and FMS is 1024 bytes. A file is made up of logical records that are 145 bytes in length. Determine the block and the offset of the start of the given records in the following data file:
Record number Starting Block (of record) Offset
1
35
168
2. Given the following scenario, calculate the Bus Data Transfers, Interrupts,Total Bus Transfers and the Improvement (over the Buffer Size of the previous row) as a percentage to fill in the following table that compares the efficiency of different buffer sizes when transmitting a 2 MB file. (Hint: See the example on page 215.) The file size is 2 MB (2,097,152 bytes). The bus size is 8 bytes. A single data transfer over the system bus also causes two interrupts (each of which requires a bus transfer).
Buffer size (bytes) Bus data transfers Interrupts Total bus transfers Improvement (%)
1 N/A
2
4
8
16
32
64
128
256
Short Answers 1. Describe at least three features of directory services, such as Windows Active Directory. 2. How does the use of APIs facilitate distributed computing? 3. What is the difference between HTTP and HTTPS? 4. Use or research about either Google Drive or Dropbox. Then write a brief description of the interface and describe how a typical user would use the system.