

Computer Engineering Fundamentals
Practice Questions
Course Introduction
This course provides a comprehensive introduction to the foundational concepts of computer engineering. Students will explore topics such as digital logic design, computer architecture, microprocessors, data representation, and interfacing principles. Emphasis is placed on understanding the interplay between hardware and software, along with an introduction to embedded systems and basic programming concepts. Through theoretical lessons and hands-on laboratory experience, learners will gain the essential skills and knowledge required for further study 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) A dynamic link library (DLL)is never written in the Java programming language.
A)True
B)False Answer: True
Q2) The 8-bit two's complement of binary 00000010 is 11111110.
A)True
B)False Answer: True
Q3) The sum of the binary integers 01101101 and 00111011 is 10101001.
A)True
B)False Answer: False
Q4) The sum of 3AB4h and 0429h is 3EDDh.
A)True
B)False Answer: True
Q5) The sum of all powers of 2 from 20 to 28 is 511.
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 MMX register names are just different names for registers in the floating-point unit.
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) The lower half of the RCX register is called EBX. A)True
B)False Answer: True
Q4) The upper half of the RDX register is called EDX. A)True
B)False
Answer: False
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) Identifiers are by default,case sensitive.
A)True
B)False Answer: False
Q2) A string literal must be enclosed in double quotes.
A)True
B)False
Answer: False
Q3) An object file is commonly read as input by the linker.
A)True
B)False
Answer: False
Q4) The listing file is generated by the linker.
A)True
B)False
Answer: False
Q5) The .DATA directive must always occur before the .CODE directive.
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) 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
Q2) The following instruction will produce 1FFFFFFCh in EDX: movsx edx,-4
A)True
B)False
Q3) The following instruction will assemble correctly: dec BYTE PTR [edi]
A)True
B)False
Q4) The MOVSX instruction can use a variable as the source operand.
A)True
B)False
Q5) The format for the ADD instruction is: MOV source,destination 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) In a stack,the first value pushed on a stack is the last one to be removed.
A)True
B)False
Q2) 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
Q3) The EBP register points to the last value pushed on the runtime stack.
A)True
B)False
Q4) The RET instruction pops the value pointed to by EBP off the stack into the instruction pointer..
A)True
B)False
Q5) 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
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 XOR instruction inverts each bit in a destination operand.
A)True
B)False
Q2) With unsigned operands,the CMP instruction sets the Carry flag when the destination operand is less than the source operand.
A)True
B)False
Q3) For any two integers n and m,((n XOR m)XOR m)produces n.
A)True
B)False
Q4) The XOR instruction can be used to generate the two's complement of an integer.
A)True
B)False
Q5) The JO instruction is used after an operation involving signed integers.
A)True
B)False
Q6) The TEST instruction always alters the destination operand.
A)True
B)False

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

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 DIV instruction generates a divide overflow condition when the remainder is too large to fit into the destination operand.
A)True
B)False
Q2) The SAR and SHR instructions perform the same operation.
A)True
B)False
Q3) RDX will equal 1 after the following instructions have executed.
mov rax,0FFFF0000FFFF0000h
mov rbx,2
mul rbx
A)True
B)False
Q4) When the MUL BL instruction executes,the upper half of the product ends up in the AH register.
A)True
B)False
Q5) 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) When a 32-bit mode prgram needs to pass a 64-bit integer argument to a subroutine on the stack,you should push the low-order doubleword of the argument first,followed by the high-order doubleword.
A)True
B)False
Q2) An indirect operand such as [eax + edi] can be passed to the INVOKE directive.
A)True B)False
Q3) The following is a valid LOCAL declaration: LOCAL index:DWORD
A)True B)False
Q4) In assembly language,a variable declared using the LOCAL directive in one procedure can be read by code in another procedure. A)True B)False
Q5) The C calling convention is used by the Irvine32 library. 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) array[EDX+ESI] is an example of a base-index-displacement operand.
A)True
B)False
Q2) The Str_compare procedure returns no value in the EAX register.Instead,it sets the Carry and Zero flags.
A)True
B)False
Q3) 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
Q4) 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
Q5) The EDX and ECX registers can be combined in a based-indexed 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 defining a structure variable,you can specify default values for zero or more structure fields.
A)True
B)False
Q2) A structure variable cannot be declared inside another structure.
A)True
B)False
Q3) The IFDIFI directive performs a case-insensitive comparison between two arguments.
A)True
B)False
Q4) When a macro is invoked,the CALL instruction executes if the macro uses the ASPROC operator.
A)True
B)False
Q5) The IFNOTB directive permits assembly if its argument is not blank.
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) When you call the ReadFile function,you must pass a pointer to a string containing the filename.
A)True
B)False
Q2) When requesting single-character input,you must call SetConsoleMode to alter the console flag settings.
A)True
B)False
Q3) The SetConsoleWindowInfo function lets you control the size and position of the console window.
A)True
B)False
Q4) If you want to open an existing file,you must call the Win32 OpenFile function.
A)True
B)False
Q5) The Win32 ReadConsoleInput function reads character input from the console buffer,but does not remove the characters from the buffer.
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) A double extended-precision real occupies 60 of storage.
A)True
B)False
Q2) In a single-precision real,the exponent field has a bias of 128.
A)True
B)False
Q3) The single-precision real representation of zero contains zeros in the mantissa and ones in the exponent.
A)True
B)False
Q4) There are two types of NaNs,one of which is named Quiet NaN.
A)True
B)False
Q5) 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
Q6) In a single-precision real number,the exponent uses 7 bits.
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) C language programs automatically convert external identifiers to all uppercase letters.
A)True
B)False
Q2) In Visual C++,the PTR directive cannot be used in inline assembly code.
A)True
B)False
Q3) When a C++ functions is called,floating-point values inside the function are usually pushed on the processor's floating-point stack before returning to the function's caller.
A)True
B)False
Q4) A language's calling convention includes a list of which registers must be preserved by called procedures.
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) The device names for parallel printer port 1 are both PRN and LPT1.
A)True
B)False
Q2) MS-DOS services are handled by INT 21h.
A)True
B)False
Q3) The INT instruction uses a value in the BX register to locate an entry in the interrupt vector table.
A)True
B)False
Q4) MS-DOS function calls are also called interrupts because they use the INT instruction.
A)True
B)False
Q5) 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
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) Two important measurements of hard disk efficiency are the average seek time and the disk rotation speed.
A)True
B)False
Q2) If each disk cluster contains two logical sectors,the cluster size must be 4,096.
A)True
B)False
Q3) A disk containing primarily small files should use a small cluster size to make the most efficient use of space.
A)True
B)False
Q4) Translation of disk geometry to logical sector numbers is always performed by the operating system.
A)True
B)False
Q5) The MS-DOS file attribute byte does not include a hidden attribute.
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) Keys stored in the keyboard typeahead buffer can only be retrieved by calling INT 16h.
A)True
B)False
Q2) INT 16h permits characters to be redirected,so input can be read from a file.
A)True
B)False
Q3) The BIOS data area includes the keyboard typeahead buffer.
A)True
B)False
Q4) The INT 8h service routine retrieves the keyboard scan code and looks up the corresponding ASCII code.
A)True
B)False
Q5) Memory-mapped graphics in Mode 13h permits 128 different integer values for each color.
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) Port-based I/O uses the IN and OUT instructions to read and write data to specific numbered locations.
A)True
B)False
Q2) IA-32 systems offer two types of hardware input-output: memory-mapped,and port-based.
A)True
B)False
Q3) When an interrupt executes,an address in the Exception Process Table is used to locate the interrrupt handler.
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) In large model programs,all code segments have the same name.
A)True
B)False
To view all questions and flashcards with answers, click on the resource link above. Page 20