Question
Some of the following questions have more than one correct answer. Identify all the correct answers.) 26. Which of the following are considered advantages with
Some of the following questions have more than one correct answer. Identify all the correct answers.)
26. Which of the following are considered advantages with respect to writing inline code?
a. coding is simplier
b. execution is faster
c. file size is smaller
d. program is portable
Type: MR
27. Which of the following C++ keywords must be included in the definition of a C++ function if the function will be called from an assembly language module?
a. extern
b. C
c. C++
d. __asm
28. What does the C++ language specification say about code implementation when it comes to returning values from functions?
a. Integers can be returned in a single register or a combination of registers.
b. Space for return values can be reserved on the stack by the calling program.
c. Floating-point values are usually pushed on the processors floating-point stack.
d. Nothing is said about code implementation details.
Type: MR
29. Which of the following statements is true with regard to calling the C/C++ printf function from within an assembly language program?
a. Floating-point arguments must be declared as type REAL8 .
b. Format strings use (0Dh) and (0Ah) in place of newline ( ).
c. Floating-point arguments must be declared as type REAL4.
d. Multiple arguments are not permitted.
Type: MR
30. Which of the following are typical uses of assembly language programming?
a. Configure hardware devices.
b. Optimize program speed and size.
c. Conceal programming details.
d. Speed up program development.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started