阿摩線上測驗 登入

申論題資訊

試卷:110年 - 110 國立中山大學_碩士班招生考試_資工系(甲組):作業系統與資料結構#104265
科目:中山◆資工◆作業系統與資料結構
年份:110年
排序:0

題組內容

5. (10%) Consider the two-dimensional array a:
61a06af2dc733.jpg
where cach double occupies 8 bytes and a [0] [0] is at location 400, in a paged system with pages of size 400 bytes. A small process is in page 0 (locations 0 to 399) for manipulating the matrix; thus, every instruction fetch will be from page 0. For three page frames, how many page faults are generated by the following array initialization loops, using LRU replacement and assuming (1) page frame 0 has the process in it, (2) the other two are initially empty, and (3) the array is stored in memory row-major.

申論題內容

(b) (5%)
61a06b63f2e8d.jpg