Skip to main content

Embedded Systems Final Exam Questions - 255 Verified Questions

Page 1


Embedded Systems

Final Exam Questions

Course Introduction

Embedded Systems is a course that introduces students to the design, development, and application of specialized computing systems that are integrated into larger devices and products. Covering both hardware and software aspects, the course explores microcontrollers, real-time operating systems, input/output interfacing, and communication protocols. Students will gain hands-on experience in programming embedded devices, understanding system constraints, optimizing performance, and ensuring reliability in application-specific environments such as consumer electronics, automotive systems, and industrial control. Through laboratory work and projects, students develop practical skills in building and troubleshooting embedded 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) A compiler decodes and executes one program statement at a time.

A)True

B)False Answer: False

Q2) The sum of all powers of 2 from 20 to 28 is 511.

A)True

B)False Answer: True

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

A)True

B)False Answer: False

Q4) A virtual machine may be constructed from software.

A)True

B)False Answer: True

Q5) The sum of the binary integers 01101101 and 00111011 is 10101001.

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) In Real-address mode,multiple programs can run at the same time,but they can only address physical memory.

A)True

B)False

Answer: False

Q3) Requests from hardware devices are called "interrrupts".

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 listing file is generated by the linker.

A)True

B)False Answer: False

Q4) In the following statement,EAX is called the source operand: mov EBX,EAX

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 following instructions will set the Overflow flag: mov al,80h

sub al,-5

A)True

B)False

Q2) The following statement will assemble without errors: mov DWORD PTR [eax],1234h

A)True

B)False

Q3) Suppose BX and DX both contain positive integers.If adding them produces a negative result,the Overflow flag will be set.

A)True

B)False

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

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 ESP register always points to the next available position (NAP)where a new value will be pushed on the stack.

A)True

B)False

Q2) By default,labels are visible only within the procedure in which they are declared.

A)True

B)False

Q3) In 32-bit mode,immediate values pushed on the stack are always 32 bits long.

A)True

B)False

Q4) The RandomRange procedure always produces a random integer between 0 and 0FFFFFFFFh

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 JBE instruction is used when comparing unsigned integers.

A)True

B)False

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

A)True

B)False

Q3) ANDing an operand with 1 sets the zero flag if the operand was originally an even number.

A)True

B)False

Q4) The XOR instruction inverts each bit in a destination operand.

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

A)True

B)False

Q2) When the MUL BL instruction executes,the upper half of the product ends up in the AH register.

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

A)True

B)False

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

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 subroutine argument is passed by value,the calling program pushes the argument's address on the stack.

A)True

B)False

Q2) The assembler checks the pointer type used with the ADDR operator against the pointer type declared in the PROC directive.For example,it prevents a pointer to DWORD from being passed to a procedure expecting an pointer to BYTE.

A)True

B)False

Q3) The following is a valid LOCAL declaration: LOCAL index:DWORD

A)True

B)False

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

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) Binary search uses a divide and conquer strategy.

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) If an O(n<sup>2</sup>)sorting algorithm requires 0.2 seconds to sort an array of 1,000 elements,it will require 200 seconds to sort 10,000 elements.

A)True

B)False

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

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 IFNDIF directive permits assembly if two arguments are equal.

A)True

B)False

Q2) A macro causes duplicate source code to be inserted into a program if the macro is invoked more than once.

A)True

B)False

Q3) The IFNOTB directive permits assembly if its argument is not blank.

A)True

B)False

Q4) The following statements exit a macro if the <b>count</b> argument is blank:

IFB &lt;count&gt; EXITM

ENDIF

A)True

B)False

Q5) The following statements permits assembly if the symbol Win32 has been defined: IFDEF Win32

A)True

B)False

Page 12

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

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 LPSTR data type in the Win32 API is a 32-bit pointer to a character string.

A)True

B)False

Q2) The SetConsoleTextAttribute function can be used to change the color of text that has already been written to the screen buffer.

A)True

B)False

Q3) If you want to open an existing file,you must call the Win32 OpenFile function.

A)True

B)False

Q4) The HANDLE data type in the Win32 API is a 16-bit integer.

A)True

B)False

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

A)True

B)False

Q6) A Win32 console HANDLE is required when reading and writing files.

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) The first byte of every x86 machine instruction is the ModR/M byte. 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) 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

Q4) In a single-precision real number,the exponent uses 7 bits. A)True B)False

Q5) A double extended-precision real occupies 60 of storage. A)True B)False

Page 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) At the beginning of an __asm block,general-purpose registers such as EAX and EBX may have unknown values.

A)True

B)False

Q2) In 32-bit mode,the offsets of stack parameters should always be calculated from EBP.

A)True

B)False

Q3) A language's calling convention does not include the order in which parameters are passed.

A)True

B)False

Q4) In Visual C++,an inline statement can refer to labels outside the __asm block.

A)True

B)False

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

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) Real-mode programming is also known as 16-bit mode programming.

A)True

B)False

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

A)True

B)False

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

A)True

B)False

Q4) There is no INT 21h function that lets you set a file's I/O pointer past the end of a file.

A)True

B)False

Q5) MS-DOS services are handled by INT 21h.

A)True

B)False

Q6) INT 21h,function 10h writes a string to standard output.

A)True

B)False

Page 16

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

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) The MS-DOS file attribute byte does not include a hidden attribute.

A)True

B)False

Q2) The FAT32 file system allows the setting of permissions on individual files and folders.

A)True

B)False

Q3) A sector contains multiple cylinders.

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 hard disk partition can be divided into multiple volumes.

A)True

B)False

Q6) A track contains multiple sectors.

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) Memory-mapped graphics in Mode 13h permits 128 different integer values for each color.

A)True

B)False

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

A)True

B)False

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

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 INT 8h service routine retrieves the keyboard scan code and looks up the corresponding ASCII code.

A)True

B)False

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

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) The CLASS type in a segment definition makes it possible to combine two segments having different names.

A)True

B)False

Q2) Only one code segment may be created in a single program module.

A)True

B)False

Q3) The Speaker Demo Program uses the IN instruction to turn the speaker on.

A)True

B)False

Q4) The following are all permissible segment ALIGN types: BYTE,WORD,DWORD,REAL4.

A)True

B)False

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

A)True

B)False

Q6) All COM programs use the small memory model.

A)True

B)False

Page 19

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

Turn static files into dynamic content formats.

Create a flipbook
Embedded Systems Final Exam Questions - 255 Verified Questions by Quizplus - Issuu