Summer Special Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: exc65

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?

A.

5 cycles

B.

7 cycles

C.

8 cycles

D.

15 cycles

In which TWO of the following locations would a compiler typically place local variables? (Choose two)

A.

ROM

B.

Heap

C.

Cache

D.

Registers

E.

Stack

What will be the contents of R2 after the execution of the following piece of code?

LDRR1, =0xAABBCCDD

MOV R2, #0x4

ANDSR1, R1, #0x4

ADDNE R2, R2, #0x4

A.

R2 = 0x4

B.

R2 = 0x8

C.

R2 = 0xAABBCCDD

D.

R2 = 0xAABBCCD4

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?

A.

1 multiplication

B.

4 multiplications

C.

16 multiplications

D.

64 multiplications

The Performance Monitoring Unit (PMU) of a Cortex-A9 processor permits direct measurement of which one of the following?

A.

Cache Size

B.

Clock Speed

C.

Program size

D.

Numbers of instructions executed

When using the ARM Compiler (armcc), which of the following possible keywords can be used to remove padding bytes from a structure?

A.

__package

B.

__packed

C.

__compact

D.

__compress

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

A.

1

B.

4

C.

7

D.

8

A development board is supplied with a Board Support Package (BSP) for a particular operating system. Which TWO of these items would you expect to find in the BSP? (Choose two)

A.

Power supply and electrical cables

B.

Debugging hardware and software solution

C.

System on chip peripheral driver source code

D.

Boundary scan protocol definition

E.

Boot code for board-specific devices

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

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

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

A.

Registers R0-R15

B.

Thread and process ID registers

C.

The CPSR

D.

NEON and VFP registers