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

Free and Premium ARM EN0-001 Dumps Questions Answers

Page: 1 / 8
Total 210 questions

ARM Accredited Engineer Questions and Answers

Question 1

In which type of storage will the compiler preferentially place frequently accessed variables?

Options:

A.

Stack

B.

Heap

C.

Registers

D.

Hard disk

Buy Now
Question 2

Which one of the following statements best describes the function of vector catch logic?

Options:

A.

It traps writes to the memory containing the vector table

B.

It provides additional resources for debugging exception handlers

C.

It provides configurable exception priorities on an ARM processor

D.

It provides an improved mechanism for an application to handle exceptions

Question 3

Which of the following would enable the use of a symmetric multiprocessing (SMP) operating system?

Options:

A.

A dual-core Cortex-A9 processor

B.

A Cortex-R4 processor with a Cortex-M3 system controller

C.

A Cortex-A8 processor with a graphics processing unit (GPU)

D.

A uni-core Cortex-A5 processor with a digital signal processor (DSP)

Question 4

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 5

Under which of the following data-sharing scenarios would cache maintenance operations be necessary?

Options:

A.

Sharing data with another thread running on the same core

B.

Sharing data with another process running on the same core

C.

Sharing data with an external device

D.

Sharing data with another CPU in an SMP system

Question 6

An ARMv7 implementation might include the VFPv4-D32 floating point extension. What does the '32' indicate?

Options:

A.

The width of the datapath in bits

B.

The number of double precision floating point registers implemented

C.

The number of bits of data that can be loaded or stored at once

D.

The number of integer operations that can be performed simultaneously

Question 7

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 8

In a loop termination test, how might a programmer indicate to the compiler that the loop iteration count limit is divisible by four?

Options:

A.

AND the count limit with -0x3

B.

Add 4 to the count limit

C.

Subtract 4 from the count limit

D.

Shift the count limit left two bit positions

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

Question 13

An external debugger would need to clean the contents of the processor data cache in which of the following cases?

Options:

A.

When it changes the contents of ARM registers (r0-r15)

B.

When it displays the contents of an area of cacheable data

C.

When it displays the contents of an area of cacheable code

D.

When it sets a software breakpoint

Question 14

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

Question 15

An undefined instruction will cause an Undefined Instruction exception to be taken when:

Options:

A.

It is fetched.

B.

It is decoded.

C.

It is executed.

D.

It writes back its results.

Question 16

An Advanced SIMD intrinsic has the prototype:

uint8xl6x2_t vld2q_u8 (uint8_t const * ptr);

How many bytes does this intrinsic load from memory?

Options:

A.

2

B.

16

C.

32

D.

256

Question 17

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 18

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 19

Which of the following processor resources do NOT have to be saved or modified by the Linux scheduler during context switch?

Options:

A.

Registers R0-R15

B.

Thread and process ID registers

C.

The CPSR

D.

NEON and VFP registers

Question 20

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 21

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.

Question 22

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 23

The following C function is compiled with hard floating point linkage.

float function(int a, float b, int c, float d);

Which register is used to pass argument c?

Options:

A.

R0

B.

R1

C.

R2

D.

R3

Question 24

According to the AAPCS (with soft floating point linkage), when the caller "func" calls sprintf, where is the value of the parameter "x" placed?

#include

void func(double x, int i , char *buffer)

{

sprintf(buffer, "pass %d: value = %f\n", i, x); }

Options:

A.

Split between register R3 and 4 bytes on the stack

B.

Split between registers R3 and R4

C.

8 bytes on the stack

D.

VFP Register D0

Question 25

Consider a sequence of five independent instructions running on a pipelined processor. There are no interlocks and no data dependencies between instructions, and each instruction takes one cycle to execute. The processor has three pipeline stages and is not superscalar.

How many cycles does it take to fetch, decode and execute all five instructions in sequence, assuming that there are no pipeline stalls?

Options:

A.

5 cycles

B.

7 cycles

C.

8 cycles

D.

15 cycles

Question 26

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 27

Which of the following operations would count as intrusive to normal processor operation?

Options:

A.

Tracing using Embedded Trace Macrocell (ETM)

B.

Halt mode debugging

C.

Monitor mode debugging

D.

Using the Performance Monitor Unit

Question 28

The effect of clicking the Stop button in a debugger is to:

Options:

A.

Put the processor(s) into debug state.

B.

Force the processor to execute a BKPT instruction

C.

Hold the processor in a Reset condition

D.

Re-initialize the memory contents.

Question 29

A standard performance benchmark is being run on a single core ARM v7-A processor. The performance results reported are significantly lower than expected. Which of the following options is a possible explanation?

Options:

A.

L1 Caches and branch prediction are disabled

B.

The Embedded Trace Macrocell (ETM) is disabled

C.

The Memory Management Unit (MMU) is enabled

D.

The Snoop Control Unit (SCU) is disabled

Question 30

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 31

When setting the initial location of the stack pointer and the base address of the heap, the ARM EABI requires that the:

Options:

A.

Base address of the heap must be the same as the initial stack pointer.

B.

Stack pointer must be 8-byte aligned.

C.

Heap must be in external RAM.

D.

Initial stack pointer must be the lowest addressable memory location.

Page: 1 / 8
Total 210 questions