

Advanced Computer Architecture
Textbook Exam Questions

Course Introduction
Advanced Computer Architecture explores the design and analysis of modern computer systems, focusing on the quantitative principles that drive high-performance and energy-efficient processor architectures. The course examines topics such as pipelining, superscalar and out-of-order execution, memory hierarchy optimization, parallel and multicore architectures, cache coherence, and interconnection networks. Emphasis is placed on hardware/software interactions, emerging technologies, and real-world application workloads. Students will engage with case studies, simulation tools, and hands-on assignments to understand trade-offs and innovations in state-of-the-art computing systems.
Recommended Textbook
Assembly Language for x86 Processors 7th Edition by Kip R. Irvine
Available Study Resources on Quizplus
17 Chapters
255 Verified Questions
255 Flashcards
Source URL: https://quizplus.com/study-set/3977 Page 2
Chapter 1: Basic Concepts Assessment
Available Study Resources on Quizplus for this Chatper
14 Verified Questions
14 Flashcards
Source URL: https://quizplus.com/quiz/79902
Sample Questions
Q1) The hexadecimal representation of decimal 35 is 33h
A)True
B)False Answer: False
Q2) The binary representation of decimal 42 is 00101010. A)True
B)False Answer: True
Q3) The sum of 3AB4h and 0429h is 3EDDh.
A)True
B)False Answer: True
Q4) The 8-bit two's complement of binary 00000010 is 11111110. A)True
B)False Answer: True
Q5) A virtual machine may be constructed from software. A)True
B)False
Answer: True

Page 3
To view all questions and flashcards with answers, click on the resource link above.
Chapter 2: X86 Processor Architecture Assessment
Available Study Resources on Quizplus for this Chatper
15 Verified Questions
15 Flashcards
Source URL: https://quizplus.com/quiz/79901
Sample Questions
Q1) The Carry flag reflects the status of an usigned arithmetic operation.
A)True
B)False
Answer: True
Q2) The MMX register names are just different names for registers in the floating-point unit.
A)True
B)False Answer: True
Q3) When running in 64-bit mode,only the lowest 48 bits of address operands are used.
A)True
B)False
Answer: True
Q4) Data travels along a bus with n bits running in parallel,where the bus is n bits wide.
A)True
B)False
Answer: True
To view all questions and flashcards with answers, click on the resource link above.

4

Chapter 3: Assembly Language
Fundamentals-assessment
Available Study Resources on Quizplus for this Chatper
15 Verified Questions
15 Flashcards
Source URL: https://quizplus.com/quiz/79900
Sample Questions
Q1) A string literal must be enclosed in double quotes. A)True
B)False Answer: False
Q2) The EQU directive permits a constant to be redefined at any point in a program.
A)True
B)False
Answer: False
Q3) The following is a valid data definition statement: varX WORD 100h,65536
A)True
B)False Answer: False
Q4) The listing file is generated by the linker.
A)True
B)False Answer: False
To view all questions and flashcards with answers, click on the resource link above. Page 5

Chapter 4: Data Transfers,addressing,and
Arithmetic-assessment
Available Study Resources on Quizplus for this Chatper
15 Verified Questions
15 Flashcards
Source URL: https://quizplus.com/quiz/79899
Sample Questions
Q1) The following instructions will set the Overflow flag: mov al,0D7h add al,75h
A)True
B)False
Q2) If AL contains +127 and you add 3 to AL,the Overflow flag will be set.
A)True
B)False
Q3) The Overflow flag will never be set when subtracting a positive integer from a negative integer.
A)True
B)False
Q4) The EIP register can be the source operand of a MOV,ADD,or SUB instruction. A)True B)False
Q5) The following statement will assemble without errors: mov DWORD PTR [eax],1234h
A)True B)False
To view all questions and flashcards with answers, click on the resource link above. Page 6

Chapter 5: Procedures-assessment
Available Study Resources on Quizplus for this Chatper
16 Verified Questions
16 Flashcards
Source URL: https://quizplus.com/quiz/79898
Sample Questions
Q1) The RandomRange procedure always produces a random integer between 0 and 0FFFFFFFFh
A)True
B)False
Q2) By default,labels are visible only within the procedure in which they are declared.
A)True
B)False
Q3) The ESP register always points to the next available position (NAP)where a new value will be pushed on the stack.
A)True
B)False
Q4) The USES operator,coupled with the PROC directive,lets you list the names of all registers modified within a procedure..
A)True
B)False
Q5) The runtime stack is supported by the computer's processor.
A)True
B)False
To view all questions and flashcards with answers, click on the resource link above. Page 7

Chapter 6: Conditional Processing Assessment
Available Study Resources on Quizplus for this Chatper
15 Verified Questions
15 Flashcards
Source URL: https://quizplus.com/quiz/79897
Sample Questions
Q1) With unsigned operands,the CMP instruction sets the Carry flag when the destination operand is less than the source operand.
A)True
B)False
Q2) The destination operand of the OR instruction cannot be a memory operand. A)True
B)False
Q3) The JAE instruction jumps if the (unsigned)first operand is greater than or equal to the (unsigned)second operand.
A)True
B)False
Q4) The JECXZ instruction jumps to a target label when the CX register is equal to zero. A)True B)False
Q5) With signed operands,the CMP instruction makes the Sign flag equal to the Overflow flag when the destination operand is less than the source operand.
A)True B)False
To view all questions and flashcards with answers, click on the resource link above. Page 8

Chapter 7: Integer Arithmetic Assessment
Available Study Resources on Quizplus for this Chatper
15 Verified Questions
15 Flashcards
Source URL: https://quizplus.com/quiz/79896
Sample Questions
Q1) The hexadecimal values of DX and AX after the following instructions have executed are DX=0005 and AX=0000.
mov dx,5000h
mov ax,20h
mul dx
A)True
B)False
Q2) When the MUL BX instruction executes,the 32-bit product ends into the EAX register.
A)True
B)False
Q3) The binary value of AL after the following instructions have executed is 11111101.
mov al,11000101b
sar al,4
A)True
B)False
Q4) The destination operand of the IMUL instruction may be a memory operand.
A)True
B)False
To view all questions and flashcards with answers, click on the resource link above. Page 9

Chapter 8: Advanced Procedures Assessment
Available Study Resources on Quizplus for this Chatper
15 Verified Questions
15 Flashcards
Source URL: https://quizplus.com/quiz/79895
Sample Questions
Q1) The following is a valid LOCAL declaration: LOCAL index:DWORD
A)True B)False
Q2) The following is a valid LOCAL declaration: LOCAL pArray:DWORD PTR
A)True B)False
Q3) Stack parameters are usually expressed as positive offsets from ESP. A)True B)False
Q4) The following is a valid LOCAL declaration: LOCAL LastName:BYTE(25) A)True B)False
Q5) The CALL instruction can only have a single operand. A)True B)False
To view all questions and flashcards with answers, click on the resource link above. Page 10

Chapter 9: Strings and Arrays Assessment
Available Study Resources on Quizplus for this Chatper
15 Verified Questions
15 Flashcards
Source URL: https://quizplus.com/quiz/79894
Sample Questions
Q1) The REPNE prefix repeats an instruction while the Zero flag is set,and ECX is greater than zero.
A)True B)False
Q2) In 64-bit mode,operands that use register indexes must use 64-bit registers.You can use both base-index operands and base-index-displacement operands.
A)True B)False
Q3) The Str_compare procedure returns no value in the EAX register.Instead,it sets the Carry and Zero flags.
A)True
B)False
Q4) The REPNZ CMPSB instruction pair will execute as long as the byte pointed to by ESI is not equal to the byte pointed to by EDI.
A)True B)False
Q5) array[EDX+ESI] is an example of a base-index-displacement operand.
A)True B)False
To view all questions and flashcards with answers, click on the resource link above. Page 11

Chapter 10: Structures and Macros Assessment
Available Study Resources on Quizplus for this Chatper
15 Verified Questions
15 Flashcards
Source URL: https://quizplus.com/quiz/79893
Sample Questions
Q1) When a macro is invoked,the CALL instruction executes if the macro uses the ASPROC operator.
A)True B)False
Q2) The following statements exit a macro if the <b>count</b> argument is blank: IFB <count> EXITM
ENDIF
A)True
B)False
Q3) The following macro moves any 32-bit memory operand to any other 32-bit memory operand:
mMove32 MACRO destination,source push eax
mov eax,source mov destination,eax pop eax
ENDM
A)True B)False
To view all questions and flashcards with answers, click on the resource link above. Page 12

Chapter 11: Ms-Windows Programming Assessment
Available Study Resources on Quizplus for this Chatper
15 Verified Questions
15 Flashcards
Source URL: https://quizplus.com/quiz/79892
Sample Questions
Q1) The HANDLE data type in the Win32 API is a 16-bit integer.
A)True
B)False
Q2) The Win32 ReadConsoleInput function reads character input from the console buffer,but does not remove the characters from the buffer.
A)True
B)False
Q3) The LPSTR data type in the Win32 API is a 32-bit pointer to a character string.
A)True
B)False
Q4) The SetFilePointer function permits you to start reading from any point in a file.
A)True
B)False
Q5) The /SUBSYSTEM:CONSOLE option is required when linking Win32 console applications.
A)True
B)False
To view all questions and flashcards with answers, click on the resource link above. Page 13

Chapter 12: Floating-Point Processing and Instruction
Encoding Assessment
Available Study Resources on Quizplus for this Chatper
15 Verified Questions
15 Flashcards
Source URL: https://quizplus.com/quiz/79891
Sample Questions
Q1) In the encoding of a MOV from a register to any other operand (89/r),the /r indicates that a Mod R/M byte follows the opcode.
A)True
B)False
Q2) A double extended-precision real occupies 60 of storage.
A)True
B)False
Q3) In a single-precision real number,the exponent uses 7 bits.
A)True
B)False
Q4) The FSTP instruction copies the value in ST(0)to memory,but it does not pop a value off the stack.
A)True B)False
Q5) The binary floating-point number 111.0001 is equivalent to decimal 7 1/8. A)True B)False
Q6) In a single-precision real,the exponent field has a bias of 128.
A)True
B)False
Page 14
To view all questions and flashcards with answers, click on the resource link above.
Page 15

Chapter 13: High-Level Language Interface-- Assessment
Available Study Resources on Quizplus for this Chatper
15 Verified Questions
15 Flashcards
Source URL: https://quizplus.com/quiz/79890
Sample Questions
Q1) The Visual C++ compiler contains command-line options for generating assembly language source code.
A)True
B)False
Q2) In Visual C++,the PTR directive cannot be used in inline assembly code.
A)True
B)False
Q3) C language programs automatically convert external identifiers to all uppercase letters.
A)True
B)False
Q4) Optimizing C++ compilers rarely substitute registers in the place of variables when they generate assembly language source code.
A)True
B)False
Q5) The EVEN and ALIGN directives can be used in Visual C++ inline assembly code.
A)True
B)False
To view all questions and flashcards with answers, click on the resource link above. Page 16

Chapter 14: 16-Bit Ms-Dos Programming Assessment
Available Study Resources on Quizplus for this Chatper
15 Verified Questions
15 Flashcards
Source URL: https://quizplus.com/quiz/79889
Sample Questions
Q1) Writing data to a text file usually takes more CPU time than writing data to a binary file.
A)True
B)False
Q2) When a file is opened by an MS-DOS function,the function returns an integer handle.This handle must be used for all subsequent reading and/or writing to the file.
A)True
B)False
Q3) INT 21h,function 10h writes a string to standard output.
A)True
B)False
Q4) The < operator,when used at the MS-DOS command prompt,redirects the current program's input.
A)True
B)False
Q5) MS-DOS function calls are also called interrupts because they use the INT instruction.
A)True
B)False
To view all questions and flashcards with answers, click on the resource link above. Page 17

Chapter 15: Disk Fundamentals Assessment
Available Study Resources on Quizplus for this Chatper
15 Verified Questions
15 Flashcards
Source URL: https://quizplus.com/quiz/79888
Sample Questions
Q1) Clusters are the basic unit of storage for directories and files in a FAT-type file system.
A)True
B)False
Q2) The NTFS file system supports Unicode filenames,but FAT32 does not.
A)True
B)False
Q3) The cluster allocation table (CAT)keeps track of all clusters used by a file.
A)True
B)False
Q4) Two important measurements of hard disk efficiency are the average seek time and the disk rotation speed.
A)True
B)False
Q5) A disk containing primarily small files should use a small cluster size to make the most efficient use of space.
A)True
B)False
To view all questions and flashcards with answers, click on the resource link above. Page 18

Chapter 16: Bios-Level Programming Assessment
Available Study Resources on Quizplus for this Chatper
15 Verified Questions
15 Flashcards
Source URL: https://quizplus.com/quiz/79887
Sample Questions
Q1) The BIOS data area includes the current video mode.
A)True
B)False
Q2) The default MS-DOS video display is 80 columns by 25 rows.
A)True
B)False
Q3) INT 10h function 9 displays a character and attribute at the current cursor position.
A)True
B)False
Q4) Memory-mapped graphics in Mode 13h permits 128 different integer values for each color.
A)True
B)False
Q5) If you mix the colors red and green in the same attribute byte and set the intensity bit to 1,the resulting color is yellow.
A)True
B)False
To view all questions and flashcards with answers, click on the resource link above.
Page 19

Chapter 17: Expert Ms-Dos Programming Assessment
Available Study Resources on Quizplus for this Chatper
15 Verified Questions
15 Flashcards
Source URL: https://quizplus.com/quiz/79886
Sample Questions
Q1) All COM programs use the small memory model.
A)True
B)False
Q2) The CLASS type in a segment definition makes it possible to combine two segments having different names.
A)True
B)False
Q3) Only one code segment may be created in a single program module.
A)True
B)False
Q4) When a key is pressed on the keyboard,the Intel 8259 programmable interrupt controller signals the CPU to suspend execution of the current program.
A)True
B)False
Q5) The following is an example of a valid segment override: mov eax,ds:var1
A)True
B)False
To view all questions and flashcards with answers, click on the resource link above. Page 20