Cambridge International AS Level · Computer Science (9618)

Processor Fundamentals: แบบฝึกหัด

ข้อปรนัย 5 ข้อ ตรวจให้ทันทีที่ตอบ และข้อเขียน 5 ข้อ พร้อมวิธีทำละเอียด ทั้งหมดจากเรื่อง Processor Fundamentals

10 ข้อ23 คะแนนฟรี ไม่ต้องสมัคร
ข้อ 1
1 คะแนน

During the Fetch-Execute cycle, what is the role of the Control Unit (CU) during the 'decode' stage?

ข้อ 2
1 คะแนน

A processor is described as having a 'Quad-core' architecture. How does increasing the number of cores generally affect performance?

ข้อ 3
1 คะแนน

During the two-pass assembly process of a program written in assembly language, which of the following tasks is carried out exclusively during the second pass?

ข้อ 4
1 คะแนน

Which of the following describes the function of the Address Bus in a processor?

ข้อ 5
1 คะแนน

What is the primary function of the Interrupt Service Routine (ISR)?

ข้อ 6
2 คะแนน

In the context of the Von Neumann model, state the stored program concept.

ลองเขียนคำตอบด้วยตัวเองก่อน แล้วค่อยเทียบกับวิธีทำ

ข้อ 7
3 คะแนน

Compare the immediate addressing mode with the direct addressing mode in assembly language instructions.

ลองเขียนคำตอบด้วยตัวเองก่อน แล้วค่อยเทียบกับวิธีทำ

ข้อ 8
5 คะแนน

Explain the exact sequence of steps taken by the processor when an interrupt is detected and handled at the end of the Fetch-Execute cycle.

ลองเขียนคำตอบด้วยตัวเองก่อน แล้วค่อยเทียบกับวิธีทำ

ข้อ 9
3 คะแนน

In the Von Neumann model, the Central Processing Unit (CPU) uses several special purpose registers during the Fetch-Execute cycle.

(a) Describe the purpose of the Memory Address Register (MAR) and the Memory Data Register (MDR). [2]

(b) During the fetch stage of the cycle, the following register transfer occurs:
\( \text{MAR} \to [\text{memory}] \to \text{MDR} \)
Explain what is happening during this specific step. [1]

ลองเขียนคำตอบด้วยตัวเองก่อน แล้วค่อยเทียบกับวิธีทำ

ข้อ 10
5 คะแนน

A programmer is writing a routine to manipulate bit-level data stored in the Accumulator (ACC). The current 8-bit binary value in the ACC is 1011 0011.

(a) Show the result of performing a logical left shift (LSL) by 2 places on the value 1011 0011. [1]

(b) The programmer wants to ensure that the 4 most significant bits of an 8-bit value are cleared (set to 0) while keeping the 4 least significant bits unchanged. Identify the logic operation (e.g., AND, OR, XOR) and the 8-bit mask required to achieve this. [2]

(c) Explain the difference between direct addressing and indirect addressing in the context of fetching an operand for an assembly instruction. [2]

ลองเขียนคำตอบด้วยตัวเองก่อน แล้วค่อยเทียบกับวิธีทำ

* เนื้อหาของ thinka สร้างโดย AI อาจไม่ถูกต้องสมบูรณ์ในทุกกรณี กรุณาใช้เป็นสื่อเสริมและตรวจสอบกับเอกสารอ้างอิงอย่างเป็นทางการ

คุณเห็นเฉลยแล้ว ทีนี้มาตรวจคำตอบของคุณบ้าง

หน้านี้บอกได้ว่าคำตอบที่ดีเป็นอย่างไร แต่บอกไม่ได้ว่าคำตอบของคุณขาดอะไร thinka ตรวจข้อเขียนของคุณตามเกณฑ์ให้คะแนนจริงในราว 15 วินาที

อยากฝึกโจทย์แบบนี้เพิ่มไหม เริ่มฝึกหัวข้อนี้ได้เลย ตรวจให้ทันทีทุกข้อ

เริ่มฝึกเลย