Labour Day Special Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: suredis

ARM EN0-001 ARM Accredited Engineer Exam Practice Test

Page: 1 / 21
Total 210 questions

ARM Accredited Engineer Questions and Answers

Testing Engine

  • Product Type: Testing Engine
$42  $119.99

PDF Study Guide

  • Product Type: PDF Study Guide
$36.75  $104.99
Question 1

The following ARM instruction can be used to return from an exception:

movs pc, lr

Apart from the program counter, which register is updated by this instruction?

Options:

A.

Ir

B.

r0

C.

CPSR

D.

SCTLR

Question 2

Under which of the following circumstances is TLB maintenance always required?

Options:

A.

If a TLB miss occurs

B.

On every process switch

C.

If the TLB reports a fault

D.

When a page table entry is changed

Question 3

An interrupt handler contains the following instruction sequence at the end. The purpose of these instructions is to clear the interrupt request in the interrupt controller and then safely re-enable interrupts.

STR r0, [r1] ; write to interrupt controller register to clear interrupt request

CPSIE i ; re-enable IRQ interrupts

Which of the following instructions should be placed at position in order to ensure that the interrupt controller sees the write before interrupts are re-enabled?

Options:

A.

DMB

B.

DSB

C.

ISB

D.

NOP

Question 4

A Programmer's View CPU model usually provides:

Options:

A.

Cycle-accurate simulation of the CPU.

B.

Instruction-accurate simulation of the CPU.

C.

Simulation of user-defined memory-mapped peripherals.

D.

Cycle-accurate simulation of the cache and memory system.

Question 5

According to the EABI. what would the C size of () operator return when given the following structure?

Options:

A.

19

B.

20

C.

24

D.

28

Question 6

The following pair of functions implement a simple mutex spinlock which might be used to protect a critical code section in a multi-threaded application. The address of the lock variable is in r0.

In order to minimize power while waiting for the lock to be available. SEV and WFE instructions can be used to place the processor in a low power state while waiting for the lock to become available. At which points should these instructions be placed?

Question 7

What is the value of R2 after execution of the following instruction sequence?

MOV R3, #0xBA

MOV R2/#0x10

BIC R2, R3, R2

Options:

A.

R2 = 0xBB

B.

R2 = 0xCB

C.

R2 = 0xAA

D.

R2 = 0xCC

Question 8

An Advanced SIMD intrinsic has the prototype:

int16x4_t vmul_n_s16(int16x4_t a, int16_t b);

How many multiplications does this intrinsic compute?

Options:

A.

1 multiplication

B.

4 multiplications

C.

16 multiplications

D.

64 multiplications

Question 9

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 10

Which of the following is an accurate description of network storage as compared to on-chip RAM?

Options:

A.

It has lower capacity

B.

It is quicker to access

C.

It is always available

D.

It is easy to share with other devices

Question 11

Using a Generic Interrupt Controller (GIC), when the interrupt handler writes to the End of Interrupt Register (ICCEOIR), which of the following state transitions might occur for that interrupt ID?

Options:

A.

Inactive to Active

B.

Pending to Active

C.

Active to Inactive

D.

Active to Pending

Question 12

What is an "Entry point" in an application?

Options:

A.

A place where execution can start

B.

The location of the main () function

C.

The lowest address contained in a program image

D.

A location where the linker can store additional information

Question 13

In an MPCore system, when one core is waiting for resources to be released, what instruction could be used to reduce that core's power consumption?

Options:

A.

WFE

B.

PLD

C.

NOP

D.

DSB

Question 14

What debugger view can you use to determine which function caused an exception?

Options:

A.

The Memory view

B.

The Variables view

C.

The Call Stack view

D.

The Breakpoint view

Question 15

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 16

Which of the following features was added in version 2 of the ARM Architecture Advanced SIMD extensions?

Options:

A.

Additional quadword registers

B.

Support for double precision floating-point arithmetic

C.

Fused Multiply-Accumulate (Fused MAC) instructions

D.

Support for polynomials

Question 17

The disassembly of a program written in C shows calls to the function__aeabi_fadd. Which one of these compiler floating point options could have been used?

Options:

A.

Hard floating-point linkage

B.

Soft floating-point linkage without floating-point hardware

C.

Hard floating-point linkage with optimization for space

D.

Soft floating-point linkage with floating-point hardware

Question 18

Which privileged mode can kernel code use to get direct access to the User mode registers R13 and R14?

Options:

A.

Abort mode

B.

System mode

C.

Hypeivisor mode

D.

Supervisor mode

Question 19

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 20

Consider the following code sequence, executing on a processor which implements ARM Architecture v7-A.

LDR r0, [r1]

STR r0, [r2]

STR r3, [r3]

R1 points to a location in normal memory. R2 and R3 point to device memory.

Which of the following statements best describes the ordering rules which apply to this sequence?

Options:

A.

The two writes to device memory will happen in program order, but the read can be performed out of order

B.

The memory accesses can happen in any order

C.

The memory accesses will happen in program order

D.

The read to r0 and the write from r0 will happen in program order, but the write from r3 can be performed out of order

Question 21

Which power mode describes the state where the ARM processor is powered down, but its Level 1 caches remain powered?

Options:

A.

Run mode

B.

Dormant mode

C.

Standby mode

D.

Shutdown mode

Question 22

In a symmetric multi-processing (SMP) software architecture, which of the following pairs of statements are TRUE? (Select the option in which BOTH statements are TRUE).

Options:

A.

The roles of individual cores are determined dynamically. Each core has its own set of external peripherals.

B.

Each core has the same view of memory and shared peripherals. Any user application, process or task can be scheduled to run on any core.

C.

The roles of individual cores are statically determined by the system designer. Hardware must be implemented to provide cache coherency between the cores.

D.

Each core has the same view of memory and peripherals. The roles of individual cores are statically determined by the system designer.

Question 23

In an operating system environment, most applications are executed in which processor mode?

Options:

A.

Supervisor

B.

IRQ

C.

System

D.

User

Question 24

When linking with the standard C library, which library functions MUST be redefined in order to port your code to a new piece of production hardware?

Options:

A.

Functions that are not compliant with the ISO C library standard

B.

Functions that are not compliant with the 1985 IEEE 754 standard for binary floating-point arithmetic

C.

Target-dependent functions which use semihosting

D.

Functions called implicitly by the compiler

Question 25

Which of these instructions is a correct translation of the body of function f?

struct T { char a; int b; };

int f(struct T *p) { return p->b; }

Options:

A.

LDR r0, [r0], #1

B.

LDR r0, [r0]. #4

C.

LDR r0, [r0.#1]

D.

LDR r0, [r0. #4]

Question 26

The Q-flag in the program status register (PSR) indicates which of the following?

Options:

A.

Arithmetic overflow has occurred

B.

Processor is in Thumb execution state

C.

Imprecise data aborts are currently disabled

D.

Saturation has occurred after execution of a saturated arithmetic instruction

Question 27

In Architecture ARMv7-A which one of the following has a known physical address at power-on reset?

Options:

A.

The exception vector table

B.

The Memory Management Unit (MMU) translation table

C.

The Stack Pointer (SP)

D.

The System Control Register (SCTLR)

Question 28

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 29

Which of the following is an external exception?

Options:

A.

Supervisor Call

B.

FIQ

C.

Undefined Instruction

D.

Parity

Question 30

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 31

Within the ARMv7 architecture, which one of the following features is unique to the ARMv7-A profile?

Options:

A.

Cache support

B.

Privileged execution

C.

The ARM instruction set

D.

Virtual memory support

Page: 1 / 21
Total 210 questions