Search Header Logo

Ch09-Main Memory_part1

Authored by 徐leo 徐leo

Computers

University

Ch09-Main Memory_part1
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

CPU使用哪2個暫存器檢查Process存取的指令是否合法? (複選)

分頁基底暫存器 (Page-table base register, PTBR)

基底暫存器 ( base register )

分頁長度暫存器 (Page-table length register, PTLR)

限制暫存器 ( limit register )

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

以下敘述何者有誤?

基底暫存器 ( base register )負責保存最小的記憶體位址值。

限制暫存器 ( limit register )負責保存process大小值。

OS負責檢查Process存取的指令位址是否合法。

User process不能存取OS process的記憶體位址空間

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

若base register 值=0X100,limit register 值=0X200,若CPU要去讀取0X310值,會發生何事?

CPU成功執行0X310位址的指令

0X310不屬於Process合法讀取位址,發生trap

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

將原始程式資料與記憶體位置連結的動作稱為?

Compile

Address Binding

Loader

Linker

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

將使用者程式原始碼轉換成可執行程式步驟,以下何者正確?

Compiler -> Loader ->Linker

Loader -> Compiler ->Linker

Compiler -> Linker -> Loader

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

執行Address Binding的時機點為何 ?

Compile time

Load time

Execution time

以上皆是

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

以下描述何者有誤?

若程式載入記憶體的位址已經事先知道,則在Compile time ,就會產生 absolute code

若無法事先知道程式載入記憶體的位址,則在Load time 產生relocatable code

若在Execution time才做address binding,代表程式載入記憶體動作前,已完成程式碼定址

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?