Skip to main content

Digital Systems Design Midterm Exam - 255 Verified Questions

Page 1


Digital Systems Design

Midterm Exam

Course Introduction

Digital Systems Design introduces students to the principles and methodologies used in the analysis, design, and implementation of digital electronic systems. The course covers fundamental concepts such as number systems, Boolean algebra, logic gates, combinational and sequential circuits, and hardware description languages (HDL) like VHDL or Verilog. Students will learn to design, simulate, and optimize digital circuits using modern tools and technologies, gaining practical experience in constructing modules like adders, multiplexers, flip-flops, counters, and finite state machines. Through theoretical study and hands-on laboratory exercises, students develop the skills necessary to tackle real-world digital design challenges in computer engineering and related fields.

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 8-bit two's complement of binary 00000010 is 11111110.

A)True

B)False Answer: True

Q2) The binary representation of decimal -42 is 11010111.

A)True

B)False Answer: False

Q3) To translate an unsigned decimal integer into binary,repeatedly divide the integer by 2,saving each remainder as a binary digit.

A)True

B)False Answer: True

Q4) The sum of 3AB4h and 0429h is 3EDDh.

A)True

B)False Answer: True

To view all questions and flashcards with answers, click on the resource link above. Page 3

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 Basic Input-Output System is a collection of low-level subroutines that communicate directly with hardware devices.

A)True

B)False

Answer: True

Q2) In 64-bit mode,you can use three more general-purpose registers than in 32-bit mode.

A)True

B)False

Answer: False

Q3) Data travels along a bus with n bits running in parallel,where the bus is n bits wide.

A)True

B)False

Answer: True

Q4) The Carry flag reflects the status of an usigned arithmetic operation.

A)True

B)False

Answer: True

To view all questions and flashcards with answers, click on the resource link above.

Page 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 code name must end with a colon (:).

A)True

B)False Answer: True

Q2) The following is a valid data definition statement: varX WORD 100h,65536

A)True

B)False Answer: False

Q3) The following is a valid data definition statement: helloStr SWORD -32768

A)True

B)False Answer: True

Q4) The .DATA directive must always occur before the .CODE directive.

A)True

B)False Answer: False

Page 5

To view all questions and flashcards with answers, click on the resource link above.

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,80h sub al,-5

A)True

B)False

Q2) When you move a 16-bit constant or an 8-bit constant into a 64-bit register,the upper bits of the destination operand are cleared.

A)True

B)False

Q3) The EIP register can be the source operand of a MOV,ADD,or SUB instruction. A)True B)False

Q4) The following instructions will set the Overflow flag: mov al,0D7h add al,75h

A)True B)False

Q5) If AL contains +127 and you add 3 to AL,the Overflow flag will be set. 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) When the POP instruction executes,the ESP register is incremented after the value it points to is copied from the stack.

A)True

B)False

Q2) The USES operator,coupled with the PROC directive,lets you list the names of all registers modified within a procedure..

A)True

B)False

Q3) The runtime stack is supported by the computer's processor.

A)True

B)False

Q4) A nested procedure call occurs when a called procedure calls another procedure before the first procedure returns

A)True

B)False

Q5) The WriteDec procedure does not display a plus sign.

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) The destination operand of the OR instruction cannot be a memory operand.

A)True

B)False

Q2) The OR instruction can be used to find the intersection of two bit-mapped sets.

A)True

B)False

Q3) The Parity flag indicates whether the lowest byte of a destination operand has an even number of 1 bits.

A)True

B)False

Q4) 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

Q5) XORing an operand with 1 always causes the Zero flag to be set.

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 binary value of AL after the following instructions have executed is 00001101. mov al,01101011b

shr al,2

A)True

B)False

Q2) The SAR and SHR instructions perform the same operation.

A)True

B)False

Q3) When the MUL BX instruction executes,the 32-bit product ends into the EAX register.

A)True

B)False

Q4) The MUL instruction sets the Carry flag if the upper half of the product is not equal to zero.

A)True

B)False

Q5) The SAR instruction is suitable for signed integers.

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 LastName:BYTE(25)

A)True B)False

Q2) Local variables are stored on the runtime stack,at a higher address than the stack pointer.

A)True B)False

Q3) The following is a valid LOCAL declaration: LOCAL pArray:DWORD PTR

A)True

B)False

Q4) Stack parameters are usually expressed as positive offsets from ESP. A)True B)False

Q5) The following is a valid LOCAL declaration: LOCAL index:DWORD 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 MOVSW instruction copies a word from the location addressed by ESI to the location addressed by EDI.

A)True

B)False

Q2) On the first pass through an array of N items,the inner loop of a bubble sort executes N - 1 times.

A)True

B)False

Q3) The CLD instruction causes the ESI and EDI registers to be increased in value by the MOVSB instruction.

A)True

B)False

Q4) The CMPSW instruction uses memory pointed to by EDI as the source operand. A)True

B)False

Q5) The Str_compare procedure returns no value in the EAX register.Instead,it sets the Carry and Zero flags.

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) The following statements exit a macro if the <b>count</b> argument is blank:

IFB &lt;count&gt; EXITM

ENDIF

A)True

B)False

Q2) The IFNDIF directive permits assembly if two arguments are equal.

A)True

B)False

Q3) The following statement permits assembly if arg1 is exactly the same as arg2? (case-senstitive comparison):

IFIDN &lt;arg1&gt;,&lt;arg2&gt;

A)True

B)False

Q4) When defining a structure variable,you can specify default values for zero or more structure fields.

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 /SUBSYSTEM:CONSOLE option is required when linking Win32 console applications.

A)True

B)False

Q3) When requesting single-character input,you must call SetConsoleMode to alter the console flag settings.

A)True

B)False

Q4) The Win32 ReadConsoleInput function reads character input from the console buffer,but does not remove the characters from the buffer.

A)True

B)False

Q5) The COORD structure defined in MS-Windows specifies X and Y screen coordinates in pixel coordinates.

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) After calling the FCOM instruction to compare two floating-point values,you must execute the FNSTSW instruction,followed by FPOP to prepare the CPU to recognize branching instructions such as JG and JL.

A)True

B)False

Q2) Not all values between 0 and 1 can be represented by a single-precision significand,but all such values can be represented by an extended-precision significand.

A)True

B)False

Q3) 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

Q4) There are two types of NaNs,one of which is named Quiet NaN.

A)True

B)False

Q5) The first byte of every x86 machine instruction is the ModR/M byte.

A)True

B)False

To view all questions and flashcards with answers, click on the resource link above. Page 14

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) In Visual C++,the PTR directive cannot be used in inline assembly code.

A)True

B)False

Q2) The EVEN and ALIGN directives can be used in Visual C++ inline assembly code.

A)True

B)False

Q3) C language programs automatically convert external identifiers to all uppercase letters.

A)True

B)False

Q4) Although STDCALL is compatible with the Win32 API, it does not match the calling convention used by C programs.

A)True

B)False

Q5) At the beginning of an __asm block,general-purpose registers such as EAX and EBX may have unknown values.

A)True

B)False

To view all questions and flashcards with answers, click on the resource link above. Page 15

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) MS-DOS function calls are also called interrupts because they use the INT instruction.

A)True

B)False

Q2) The INT instruction uses a value in the BX register to locate an entry in the interrupt vector table.

A)True

B)False

Q3) Real-mode programming is also known as 16-bit mode programming.

A)True

B)False

Q4) Writing data to a text file usually takes more CPU time than writing data to a binary file.

A)True

B)False

Q5) Video memory begins at offset 00100h in the IBM-PC's memory.

A)True

B)False

To view all questions and flashcards with answers, click on the resource link above.

Page 16

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) A disk containing primarily small files should use a small cluster size to make the most efficient use of space.

A)True

B)False

Q2) A track contains multiple sectors.

A)True

B)False

Q3) An extended partition can be divided into any number of logical partitions.

A)True

B)False

Q4) Clusters are the basic unit of storage for directories and files in a FAT-type file system.

A)True

B)False

Q5) A sector contains multiple cylinders.

A)True

B)False

Q6) The cluster allocation table (CAT)keeps track of all clusters used by a file.

A)True

B)False

Page 17

To view all questions and flashcards with answers, click on the resource link above.

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) Keys stored in the keyboard typeahead buffer can only be retrieved by calling INT 16h.

A)True B)False

Q2) INT 16h provides a way to inspect the keyboard buffer without actually removing a key.

A)True

B)False

Q3) INT 16h permits characters to be redirected,so input can be read from a file.

A)True

B)False

Q4) Character colors use 4 bits for the foreground color,and 4 bits for the background color.Blinking is controlled by a 9<sup>th</sup> bit that is not part of the attribute byte. A)True

B)False

Q5) INT 10h function 9 displays a character and attribute at the current cursor position.

A)True B)False

To view all questions and flashcards with answers, click on the resource link above.

Page 18

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) The Speaker Demo Program uses the IN instruction to turn the speaker on.

A)True

B)False

Q2) The following is an example of a valid segment override: mov eax,ds:var1

A)True

B)False

Q3) IA-32 systems offer two types of hardware input-output: memory-mapped,and port-based.

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) Port-based I/O uses the IN and OUT instructions to read and write data to specific numbered locations.

A)True

B)False

To view all questions and flashcards with answers, click on the resource link above. Page 19

Turn static files into dynamic content formats.

Create a flipbook