Chapter 10 Quiz: SP22: CMPE-102 Sec 04 - Assembly Language Programming
https://sjsu.instructure.com/courses/1479457/quizzes/1571206 1/4
Chapter 10 Quiz
Due Apr 24 at 11:59pm Points 10 Questions 10
Available Apr 18 at
...
Chapter 10 Quiz: SP22: CMPE-102 Sec 04 - Assembly Language Programming
https://sjsu.instructure.com/courses/1479457/quizzes/1571206 1/4
Chapter 10 Quiz
Due Apr 24 at 11:59pm Points 10 Questions 10
Available Apr 18 at 12am - May 20 at 11:59pm about 1 month Time Limit 10 Minutes
Instructions
Attempt History
Attempt Time Score
LATEST Attempt 1 6 minutes 9 out of 10
Score for this quiz: 9 out of 10
Submitted Apr 23 at 2pm
This attempt took 6 minutes.
Chapter 10 Quiz
This quiz is a self-check opportunity to test your knowledge of the topics and concepts for this learning
objective.
Please reach out to your instructor with any questions that you may have.
Question 1 1 / 1 pts
A structure variable cannot be declared inside another structure.
true
false
5/18/22, 10:41 PM Chapter 10 Quiz: SP22: CMPE-102 Sec 04 - Assembly Language Programming
https://sjsu.instructure.com/courses/1479457/quizzes/1571206 2/4
Question 2 1 / 1 pts
When defining a structure variable, you can specify default values for zero
or more structure fields.
false
true
Question 3 1 / 1 pts
An array can be declared as a structure member.
false
true
Question 4 1 / 1 pts
All fields in a UNION begin at the same offset.
true
false
5/18/22, 10:41 PM Chapter 10 Quiz: SP22: CMPE-102 Sec 04 - Assembly Language Programming
https://sjsu.instructure.com/courses/1479457/quizzes/1571206 3/4
Question 5 1 / 1 pts
When a macro is invoked, the CALL instruction executes if the macro
uses the ASPROC operator.
true
false
Question 6 1 / 1 pts
A macro causes duplicate source code to be inserted into a program if the
macro is invoked more than once.
false
true
Question 7 1 / 1 pts
Replacing macro invocations with procedure calls tends to make a
program run faster.
true
false
Question 8 1 / 1 pts
5/18/22, 10:41 PM Chapter 10 Quiz: SP22: CMPE-102 Sec 04 - Assembly Language Programming
https://sjsu.instructure.com/courses/1479457/quizzes/1571206 4/4
The IFNOTB directive permits assembly if its argument is not blank.
false
true
Question 9 0 / 1 pts
The IFNDIF directive permits assembly if two arguments are equal.
true
orrect Answer orrect Answer false
Question 10 1 / 1 pts
The IFDIFI directive performs a case-insensitive comparison between two
arguments.
false
true
[Show More]