New Year Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 70percent

ARM EN0-001 ARM Accredited Engineer Exam Practice Test

Demo: 31 questions
Total 210 questions

ARM Accredited Engineer Questions and Answers

Question 1

Which TWO of the following accurately describe constraints on the location of the Tightly Coupled Memory (TCM) regions in a Cortex-R4 processor? (Choose two)

Options:

A.

TCM Region A (ATCM) must be at a lower memory address than TCM Region B (BTCM)

B.

TCM Region A can only be located at address 0x0

C.

Both TCM regions must be placed at addresses which are aligned to their size

D.

The two TCM regions may not overlap

E.

TCM Region B (BTCM) must be located immediately above TCM Region A (ATCM)

Question 2

In a Cortex-A9 MPCore cluster with four processors, which of the processors can be interrupted by a software-generated interrupt?

Options:

A.

Any processor in the cluster

B.

Only the processor raising the software-generated interrupt

C.

Only processors outside the cluster

D.

Any processor except the one raising the software-generated interrupt

Question 3

Which of the following memory attributes, specified in a translation table entry, could be used to protect a page containing a read-sensitive peripheral from speculative instruction fetches?

Options:

A.

S (Secure)

B.

nG (non-Global)

C.

xN (Execute Never)

D.

AP (Access Permission)

Question 4

In a single-processor system, which of these operations requires a barrier instruction to guarantee correct operation?

Options:

A.

Copying data from Flash to RAM

B.

Changing from one privileged mode to another

C.

Loading code into memory and then executing it

D.

Incrementing a RAM location that will be read by an interrupt handler

Question 5

Assuming a 4-core Cortex-A9 SMP system which does not use the Accelerator Coherency Port (ACP). and operates the L1 caches in writeback mode, in which of the following situations is a cache clean operation required?

Options:

A.

An external DMA engine modifies data in a region of data memory which is already cached by the processor

B.

An external agent needs to read data which has been modified by the processor in a cacheable memory region

C.

Debugger reads data from a shared, cacheable memory location

D.

One core modifies data in a shared cacheable memory region

Question 6

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

Question 7

In which of these cases would code have better performance when compiled for Thumb state than when compiled for ARM state?

Options:

A.

When the processor has no data cache

B.

When the code involves many shifting operations

C.

When the code has many conditionally executed instructions

D.

When the processor can only fetch instructions 16-bits at a time

Question 8

To ensure optimum efficiency when programming in C, what is the recommended maximum number of arguments to be passed to a function?

Options:

A.

1

B.

4

C.

7

D.

8

Question 9

In a Cortex-A9 processor, when the Memory Management Unit (MMU) is disabled, which of the following statements is TRUE? (VA is the virtual address and PA is the physical address)

Options:

A.

VA == PA; No address translations; instructions and data are not cached

B.

VA! = PA; No address translations; instructions may be cached but not data

C.

VA == PA; Address translations take place; data may be cached but not instructions

D.

VA == PA; No address translations; instructions may be cached but not data

Question 10

In an ARMv7-A processor that includes the Advanced SIMD extension (NEON), where are the data values operated on by NEON instructions stored?

Options:

A.

In system memory

B.

In registers shared with the VFP register set

C.

In registers shared with the integer register set

D.

In dedicated registers not shared with other registers

Question 11

When building code for both ARM and Thumb states, which tool decides for each function call whether to use a BL or BLX instruction?

Options:

A.

The linker

B.

The archiver

C.

The compiler

D.

The assembler

Question 12

Which of the following is an advantage of the single-step debug technique?

Options:

A.

It allows a complete trace of real-time program execution to be captured

B.

It reduces the number of pins required to connect the debugger to the processor

C.

It allows examination of the system state before and after execution of a statement

D.

It requires only one change to the program source code

Question 13

In general, when programming in C, stack accesses will be reduced by:

Options:

A.

Disabling inlining.

B.

Never passing more than four parameters in function calls.

C.

Declaring automatic variables as "packed".

D.

Configuring the compiler to optimize for space.

Question 14

Which of the following is an optional extension to the ARMv7-A architecture?

Options:

A.

VFP

B.

The System Control Coprocessor (CP15)

C.

Support for memory barriers

D.

A Memory Protection Unit conforming to the PMSA

Question 15

If the processor is in User mode and then an IRQ interrupt occurs:

Options:

A.

CPSR mode bits are set to User mode and SPSR _User mode bits are set to IRQ.

B.

CPSR mode bits are set to IRQ and SPSR_Irq mode bits are set to User.

C.

CPSR mode bits are set to IRQ and SPSR_Irq mode bits are set to IRQ.

D.

CPSR mode bits are set to User and SPSR User mode bits are set to IRQ.

Question 16

If the performance of an application remains unchanged when the core clock speed of a Cortex-A9 processor is reduced, what can you deduce about the system?

Options:

A.

The Clocks Per Instruction (CPI) of the processor has increased

B.

The processor is NOT the limiting factor on performance

C.

Instruction cache utilization has improved

D.

The core has stopped carrying out speculative data memory accesses

Question 17

In a Cortex-A processor, after which TWO of these events is a cache maintenance operation required to ensure reliable code execution? (Choose two)

Options:

A.

Processor reset

B.

Switching from ARM to Thumb state

C.

Changing the access permissions of a page

D.

Executing a Data Memory Barrier instruction

E.

Loading data from an unaligned memory address

Question 18

Capturing processor execution trace is characterized as being:

Options:

A.

Influenced by breakpoints.

B.

Intrusive on normal processor operation.

C.

Inaccurate regarding code execution history.

D.

Not intrusive on normal processor operation.

Question 19

Assume a little-endian system.

What is the value of R5 after the execution of the following piece of code?

Options:

A.

0xBB

B.

0xAABBCC22

C.

0x102

D.

0xCC

Question 20

A simple system comprises of the following memory map:

Flash - 0x0 to 0x7FFF

RAM - 0x10000 to 0X17FFF

When conforming to the ABI, which of the following is a suitable initial value for the stack pointer?

Options:

A.

Top address of RAM (0x18000)

B.

Top address of flash (0x8000)

C.

Bottom address of RAM (0x10000)

D.

Bottom address of flash (0x0000)

Question 21

When using the default ARM tool-chain libraries for bare-metal applications. I/O functionality is rerouted and handled by a connected debugger. This is often referred to as semihosting. Which one of the following explanations BEST describes how this feature can be implemented by a debugger?

Options:

A.

The library directly sends I/O requests to the debugger using the JTAG connection

B.

While the target is running, the debugger processes I/O requests from a shared queue in memory

C.

The I/O library calls rely on an Ethernet connection to redirect the requests to the debugger

D.

The I/O library calls generate an exception that is trapped and handled by the debugger

Question 22

What is the value of r0 after executing the following instruction sequence?

MOV r0, #200

MOV r5, #1

STR r3, [r0, r5, LSL#3]!

Options:

A.

200

B.

201

C.

204

D.

208

Question 23

Which of the following is a REQUIRED feature in the ARMv7 architecture?

Options:

A.

The Thumb-2 instruction set

B.

NEON

C.

Integer division instructions

D.

A memory management unit

Question 24

The automatic removal of a cache line from a cache to free the location is known as cache line:

Options:

A.

Coherency

B.

Pre-fetch

C.

Eviction

D.

Allocation

Question 25

Clicking the Start button in a debugger:

Options:

A.

Begins processor execution.

B.

Resets the processors.

C.

Erases existing breakpoints.

D.

Puts the processor(s) into debug state.

Question 26

An embedded application running on an ARM processor is not meeting its expected performance target. The target hardware on which the application is running allows the frequency of the CPU to be increased independently from the memory system.

The CPU frequency is increased from 800 MHz to 1 GHz and experiments verify that the application performance does not increase.

Which one of the following statements MUST BE TRUE?

Options:

A.

The performance is limited by something other than the CPU

B.

The cache hit rate has gone down

C.

The measurement methodology is flawed and the experiment needs to be repeated

D.

The operating system is performing more context switches

Question 27

Implementing loops using a decrementing counter which exits the loop when a counter reaches zero can be beneficial for power and performance. This is because:

Options:

A.

A simpler branch instruction can be used.

B.

Decrementing variables uses less power than incrementing them.

C.

The decrement and branch operations can be encoded as a single instruction.

D.

The loop termination condition check can be integrated into the subtract operation.

Question 28

What architecture does the ARM11 MPCore implement?

Options:

A.

ARMv6

B.

ARMv6K

C.

ARMv7-A

D.

ARMv7-A with the Multiprocessing Extensions

Question 29

It is common to declare structures as "packed" in order to minimize data memory size. Which of the following accurately describes the effect of this?

Options:

A.

Members will be stored as bit-fields

B.

Data Aborts will be disabled for all structure accesses

C.

Structure members will be re-ordered so that the smallest are first

D.

Multi-byte members are not required to be naturally aligned

Question 30

Optimizing for space will:

Options:

A.

Produce an image which is decompressed at run-time.

B.

Cause the compiler to unroll loops where possible.

C.

Result in more functions being inlined by the compiler.

D.

Produce smaller code, even if this results in slower execution.

Question 31

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

Demo: 31 questions
Total 210 questions