Search Header Logo

COA_Ch05_Exam

Authored by Chun-Jung Lin

others

COA_Ch05_Exam
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 4 pts

General-purpose architectures are divided into three groups:

memory-memory, register-memory, and load-store
stack addressing, accumulator addressing, and register addressing
Von Neumann, parallel, and quantum
Windows, Mac, and Linux

2.

MULTIPLE CHOICE QUESTION

30 sec • 4 pts

Consider the infix expression: 16/(5+3). The equivalent postfix (reverse Polish notation) expression is:

16/8
16 / 5 + 3
16 5 3 + /
5 3 + / 16

3.

MULTIPLE CHOICE QUESTION

30 sec • 4 pts

Consider the postfix (reverse Polish notation) 10 5 + 6 3 - /. The equivalent infix expression is:

(10+5)/(6-3)
選項 2
10/5+(6-3)
(10+5)-(6/3)

4.

MULTIPLE CHOICE QUESTION

30 sec • 4 pts

A stack-organized computer uses _______ addressing.

indirect
zero
indexed
direct

5.

MULTIPLE CHOICE QUESTION

30 sec • 4 pts

If the opcodes field for an instruction has n bits, that means there are _______ potential distinct operations.

2n
n/2
2^n
n^2

6.

MULTIPLE CHOICE QUESTION

30 sec • 4 pts

A “subtract” statement is an example of:

an arithmetic instruction
a data movement instruction
a Boolean logic instruction
a bit manipulation instruction
an input/output instruction

7.

MULTIPLE CHOICE QUESTION

30 sec • 4 pts

Examples of hazards in pipelines include:

resource conflicts, data dependencies, and conditional branch statements
superscalar and VLIW
addressing modes and memory
ILP and VLIW

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

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?