Skip to main content

Computer Engineering Fundamentals Exam Preparation Guide - 255 Verified Questions

Page 1


Computer Engineering Fundamentals

Exam Preparation Guide

Course Introduction

Computer Engineering Fundamentals is an introductory course that explores the essential principles underlying the design and analysis of computer systems. Topics include digital logic design, computer architecture, data representation, fundamental programming concepts, and the integration of hardware and software components. Students will gain a foundational understanding of how computers process information, the structure and operation of microprocessors, and the basics of system organization. Through theoretical discussion and practical exercises, the course prepares students for advanced study and practical application 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 hexadecimal representation of decimal 35 is 33h

A)True

B)False Answer: False

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 binary representation of decimal -42 is 11010111.

A)True

B)False

Answer: False

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 control unit (CU)coordinates the sequencing of steps involved in executing machine instructions.

A)True

B)False

Answer: True

Q2) The Basic Input-Output System is a collection of low-level subroutines that communicate directly with hardware devices.

A)True

B)False

Answer: True

Q3) The lower half of the RCX register is called EBX. A)True

B)False Answer: True

Q4) Another name for "machine cycle" is clock cycle. 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 string literal must be enclosed in double quotes.

A)True

B)False

Answer: False

Q2) A listing file contains a copy of the program's source code,with line numbers,the numeric address of each instruction,and a symbol table.Optionally,it may display the machine code bytes for the program.

A)True

B)False

Answer: True

Q3) The PROC directive marks both the beginning and ending of a procedure.

A)True

B)False

Answer: False

Q4) The following is a valid data definition statement:

helloStr SWORD -32768

A)True

B)False

Answer: True

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 MOVSX instruction can use a variable as the source operand. A)True

B)False

Q2) The following instruction will produce 1FFFFFFCh in EDX: movsx edx,-4

A)True

B)False

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

Q4) The SUB instruction requires the source operand to be no larger than the destination operand. 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

6

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

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 WriteHex procedure displays integers in hexadecimal format only if an additional formatting parameter is passed in the EDX register.

A)True

B)False

Q3) The RET instruction pops the value pointed to by EBP off the stack into the instruction pointer..

A)True

B)False

Q4) The EBP register points to the last value pushed on the runtime stack. A)True

B)False

Q5) The USES operator,coupled with the PROC directive,lets you list the names of all registers modified within a procedure.. 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 JO instruction is used after an operation involving signed integers.

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

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) The TEST instruction always alters the destination operand.

A)True

B)False

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

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 MUL instruction sets the Carry flag if the upper half of the product is not equal to zero.

A)True B)False

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

A)True B)False

Q4) The binary value of AL after the following instructions have executed is 11100010. mov al,11000101b sar al,1

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) An indirect operand such as [eax + edi] can be passed to the INVOKE directive.

A)True B)False

Q2) The following is a valid LOCAL declaration: LOCAL LastName:BYTE(25)

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 index:DWORD A)True B)False

Q5) In 32-bit programs,ADDR and OFFSET return the same value. A)True B)False

Q6) The CALL instruction can only have a single operand. A)True B)False

Page 10

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

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) The Str_trim procedure has a second parameter that holds the character to be trimmed from the end of the string.

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) The REPNE prefix repeats an instruction while the Zero flag is set,and ECX is greater than zero.

A)True B)False

Q5) The CMPSW instruction uses memory pointed to by EDI as the source 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) 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

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) 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) A Win32 console HANDLE is required when reading and writing files.

A)True

B)False

Q2) The CREATE_NEW constant can be passed to the creationDisposition parameter in the CreateFile function.

A)True

B)False

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

A)True

B)False

Q4) The SetFilePointer function permits you to start reading from any point in a file.

A)True

B)False

Q5) When you call the ReadFile function,you must pass a pointer to a string containing the filename.

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 a single-precision real number,the exponent uses 7 bits. A)True

B)False

Q2) If we were to denormalize the binary number 1.1101 x 2<sup>3</sup>,the result would be binary 1110.1.

A)True

B)False

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

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

Q5) In a single-precision real,the exponent field has a bias of 128. A)True B)False

14

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

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) A language's calling convention includes a list of which registers must be preserved by called procedures.

A)True

B)False

Q2) The Visual C++ compiler contains command-line options for generating assembly language source code.

A)True

B)False

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

A)True

B)False

Q4) A program using the C calling convention pushes function arguments onto the stack from left to right.

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 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) Video services are handled by INT 16h.

A)True

B)False

Q2) The MS-DOS command tail is located in the data segment when a program begins to execute.

A)True

B)False

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

A)True

B)False

Q4) When a MS-DOS function needs to access the computer's hardware,it calls a function in the BIOS.

A)True

B)False

Q5) The < operator,when used at the MS-DOS command prompt,redirects the current program's input.

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) An extended partition can be divided into any number of logical partitions.

A)True

B)False

Q2) The NTFS file system supports Unicode filenames,but FAT32 does not.

A)True

B)False

Q3) Each read-write head in a disk drive moves independently of the other read/write heads.

A)True

B)False

Q4) A sector contains multiple cylinders.

A)True

B)False

Q5) Translation of disk geometry to logical sector numbers is always performed by the operating system.

A)True

B)False

Q6) The MS-DOS file attribute byte does not include a hidden attribute.

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) MS-Windows cannot run MS-DOS programs in full-screen mode.

A)True

B)False

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

Q3) The BIOS data area includes the keyboard typeahead buffer.

A)True

B)False

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

A)True

B)False

Q5) The fastest way to write characters to the video display is by calling INT 10h. A)True

B)False

Q6) The BIOS data area includes the current video mode.

A)True

B)False

Page 18

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

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) Only one code segment may be created in a single program module.

A)True

B)False

Q2) When an interrupt executes,an address in the Exception Process Table is used to locate the interrrupt handler.

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) The segment combine type tells the linker how to combine segments having the same name.

A)True

B)False

Q5) All COM programs use the small memory model.

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