Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

TRUE OR FALSE 1. You cannot define a structure inside another structure. 2. You

ID: 663985 • Letter: T

Question

TRUE OR FALSE

1. You cannot define a structure inside another structure.

2. You can define a structure variable and specify default values for zero or more structure fields.

3. MASM does not permit you to declare an array as a structure field.

4. All fields in a UNION begin at the same offset.

5. When a macro is invoked, both CALL and RET statements are executed.

6. A macro tends to expand the executable code size of a program, because of the possibility of inserting duplicate code each time the macro is invoked.

7. Replacing multiple macro calls with procedure calls tends to make a program run faster.

8. The IFNB directive permits assembly if its argument is not blank.

9. The IFDIF directive permits assembly if two arguments are equal.

10. The IFDIFI directive performs a case-insensitive comparison between two arguments.

11. The following statement permits assembly if the symbol Win32 has been defined:

     IF DEFINED Win32

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

     IFIDN <arg1>,<arg2>

13. The following statements create five uninitialized DWORD variables in which each variable name is a member of the following list:

         monday,tuesday,wednesday,thursday,friday:

     FOR varName,<monday,tuesday,wednesday,thursday,friday>

          DWORD varName ?

     ENDM

14. The following statements exit a macro if the count argument is blank:

     IFB <count>

     RET

     ENDIF

15. The following macro moves any 16-bit memory operand to any other 16-bit memory operand:

     mMove16 MACRO destination,source

          push eax

          mov ax,source

          mov destination,ax

          pop eax

     ENDM

Explanation / Answer

1 .False

2. True

3. False

4. False

5. False

6. True

7. True

8. True

9. False

10. True

11. False

12. True

13. True

14. False

15. True