Pass the ARM AAE EN0-001 Questions and answers with CertsForce

Viewing page 3 out of 7 pages
Viewing questions 21-30 out of questions
Questions # 21:

In which of the following situations would you use a mutex to avoid synchronization problems?

Options:

A.

A single-threaded application needs to manage two separate UART peripherals


B.

Two independent threads running on a single processor both need to access a single UART


C.

In a dual-core system, a UART is accessed by a single thread running on one of the processors


D.

In a dual-core system, processor A needs to access UART A and processor B needs to access UART B


Expert Solution
Questions # 22:

A C code segment contains three calls to a function, foobar ().

This code segment is to be linked with a static library that defines foobar ().

Ignoring inlining, how many copies of foobar () will the ARM linker place in the output?

Options:

A.

None


B.

Always one


C.

Always three


D.

One or more depending on optimization level


Expert Solution
Questions # 23:

Which one of these statements is TRUE about code running on final hardware without a debugger attached?

Options:

A.

FIQ exceptions must not be taken


B.

The instruction cache must be enabled


C.

Global variables must be initialized to zero


D.

The Reset Vector must reside in non-volatile memory


Expert Solution
Questions # 24:

Before execution:

R0=0xFFFFFFFF

R1 = ?

EOR R0, R0, R1

If R0=0x00000000 after executing the EOR instruction above, what was the value in R1 before the instruction executed?

Options:

A.

0x00000000


B.

0xFFFFFFFF


C.

0x11111111


D.

0xAAAAAAAA


Expert Solution
Questions # 25:

An advantage of native compiling over cross compiling is that:

Options:

A.

It can enable the final code to be smaller, and execute more quickly.


B.

It allows greater parallelism when building code by utilizing many processors.


C.

The compiler is able to produce error and warning messages in a range of languages.


D.

Build scripts can detect details of the target, and automatically configure the build to match.


Expert Solution
Questions # 26:

As part of the ABI specification, the AAPCS defines which of the following?

Options:

A.

How many levels of nested function calls are permitted on ARM systems


B.

How to measure the maximum amount of stack required by an application


C.

On which mode's stack you need to save the return address in a non-leaf function


D.

Which registers need to be preserved by a function


Expert Solution
Questions # 27:

Many ARM cores provide two instruction sets, ARM and Thumb. Which THREE of the following statements apply to the Thumb instruction set implemented for the ARMv7-A architecture? (Choose three)

Options:

A.

Thumb is a hybrid 16/32-bit instruction set


B.

No Thumb instructions can be conditionally executed


C.

Thumb code is always slower than the equivalent ARM code


D.

Some routines take more instructions in Thumb code than in the equivalent ARM code


E.

The Thumb instruction set can access the Advanced SIMD "NEON" instructions


F.

Thumb code is always more power-efficient than equivalent ARM code


Expert Solution
Questions # 28:

On an ARM processor that does not implement Security Extensions, which one of the following can be the starting address of the exception vector table?

Options:

A.

0xFFFFFFFF


B.

0xFFFFFFF0


C.

0xFFFF0000


D.

0x0000FFFF


Expert Solution
Questions # 29:

Which of the following options lists the power modes in order of increasing overhead of entry and exit from run mode?

Options:

A.

Shutdown, dormant, standby


B.

Dormant, standby, shutdown


C.

Shutdown, standby, dormant


D.

Standby, dormant shutdown


Expert Solution
Questions # 30:

A program running on a development board that is connected to a host using a debugger can access a file on the host by using:

Options:

A.

Memory mapping


B.

Semihosting


C.

Polling


D.

Virtual I/O


Expert Solution
Viewing page 3 out of 7 pages
Viewing questions 21-30 out of questions