Black Friday Special 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: save70

ARM AAE EN0-001 New Questions

Page: 3 / 8
Total 210 questions

ARM Accredited Engineer Questions and Answers

Question 9

Cortex-A series processors contain event counting hardware which can be used to profile and benchmark code. The counters for these are programmed using:

Options:

A.

Memory-mapped registers.

B.

Generic Interrupt Controller (GIC) registers.

C.

Debug Coprocessor Registers (CPU).

D.

System Control Coprocessor Registers (CP15).

Question 10

Which events would be counted using the Performance Monitoring Unit (PMU) in order to measure the data cache efficiency of an application?

Options:

A.

Memory read instructions, and memory write instructions

B.

Architecturally executed instructions, and instruction fetches causing a cache line refill

C.

Memory access instructions causing a cache line refill, and memory read and write operations causing a cache access

D.

Memory read or write operations causing a cache access, and architecturally executed instructions

Question 11

In the ARM instruction set what is the maximum branch distance for a Branch or Branch and Link instruction?

Options:

A.

±32MB

B.

±4MB

C.

±12KB

D.

±4KB

Question 12

In an ARMv7-A system, the following C function calculates a simple checksum for an input data packet of variable length. The checksum is defined to be the sum of all of the 16-bit data items in the packet modulo 65536. The parameter data_items contains the number of 2-byte data items in the packet, and it cannot be zero by design.

When using an ARM compiler, which TWO of the following optimizations could improve the performance of this code? (Choose two)

Options:

A.

Use a do/while loop instead of a for loop

B.

Change the type of sum to be an unsigned short

C.

Change the type of i to be an unsigned int

D.

Use signed variables instead of unsigned variables

E.

Declare sum as a global variable

Page: 3 / 8
Total 210 questions