wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

MCES_M1_Test

Total questions: 23

Worksheet time: 22mins

Name
Class
Date
1.

Represent a basic block diagram of CPSR mentioning all the different fields. You can use your fingers to draw a basic sketch.

2.

Match the following

a)

Less load on compiler

1.

CISC

b)

More load on compiler

2.

RISC

c)

ARM Core, Controller, Peripherals & Bus

3.

ES Hardware

d)

OS, boot code, applications

4.

ES Software

e)

Fastest memory units with very low capacity

5.

Registers

3.

Size of general purpose registers in NXP LPC 2148?

(a)  

4.

This memory unit is placed between main memory & the core to improve overall system performance.

(a)  

5.

Which of these does not come under RISC design philosophy?

a)

Reduced instructions

b)

Pipeline

c)

Load-store architecture

d)

Aarmugam

6.

Select all the options that come under ARM design philosophy instruction set.

a)

Variable cycle execution

b)

Thumb state

c)

Barrel shifter

d)

Pipelining

7.

Shrihari alias 'loose maada' can store a 32-bit hexadecimal number in some temporary storage. He calls his friend Jogi & asks for help. Jogi suggests him to use ​ (a)   for his operation. He also warns him not to use ​ (b)   for the storage. Using ​ (c)   mode, Srihari successfully completes his mission.

Choose from the below words
registers
special purpose registers
immediate addressing
8.

Processor or Controller?

(a)  

9.

Convert 55 from decimal to hexadecimal.

10.

Which movie scene?

(a)  

11.

Which movie scene?

4 lines
12.

Which movie scene?

4 lines
13.

Which movie scene?

4 lines
14.

Any idea which TV sitcom is this?

4 lines
15.

ARM Core Dataflow model does not include this...

a)

Instruction decoder

b)

Barrel shifter

c)

Peripherals

d)

Register file/ bank

16.

There are a total of ​ (a)   registers in ARM processor. Out of these, ​ (b)   are special purpose registers. Along with all these, we have 2 more special purpose registers called ​ (c)   & ​ (d)   .

Choose from the below words
16
3
CPSR
SPSR
17.

CPSR contains ​ (a)   major fields. They are ​ Flags, status, extension & ​ (b)   . Processor modes come under ​ (c)   field.

Choose from the below words
4
control
18.

There is some data 0xABCD inside a memory location 0x001C. Shrikara wants to get this data onto some temporary storage to perform some calculations. Can you help him write an appropriate instruction for this?

a)

MOV R1, #0xABCD

MOV R2, #0x001C

MOV R2, R1

b)

MOV R1, #0x001C

LDR R2, [R1]

c)

LDR R1, #0x001C

MOV R2, R1

d)

MOV R1, #0x001C

STR R2, [R1]

19.

There is some data - 0xCAFE in temporary storage unit & Rayan wants to transfer this data into an internal memory location - 0x4000. He calls his friend Bharath for help. But Bharath also seems clueless. Can you help them?

a)

MOV R1, #0x4000

MOV R2, 0xCAFE

STR R2, [R1]

b)

MOV R1, #0xCAFE

STR R1, R2

c)

MOV R1, #0x4000

MOV R2, 0xCAFE

LDR R2, [R1]

d)

MOV R1, #0x4000

MOV R2, 0xCAFE

MOV R1, R2

20.

Sanjana wants to find factorial of a number using assembly language. Can you help her out with the basic steps?

a)

1) Set initial & final ranges.

2) Keep incrementing.

3) Addition on loop

4) Repeat till all numbers are covered.

b)

1) Take the desired number.

2) Make a copy & decrement step by step.

3) Multiply & accumulate.

4) Repeat till counter == 1.

c)

1) Take the desired number.

2) Make a copy & increment step by step.

3) Multiply & accumulate.

4) Repeat till counter == 1.

d)

1) Take the desired number.

2) Make a copy & decrement step by step.

3) Multiply & accumulate.

4) Repeat till counter == 0.

21.

When Tushar performs the addition of 2 numbers - 0xBACE & 0xCAFE, which of the following flags will be set?

a)

Carry flag

b)

Overflow flag

c)

Zero flag

d)

Negative flag

22.

Priya wants to perform comparison of 2 hexadecimal numbers - 0xABCD & 0xABCD. Instruction she used was 'CMP'. Which flag will be set when she performs this operation?

(a)  

23.

It has been slightly more than 1 month since we started our MCES journey. So, any feedback to your Professor? You can even share what you feel about the classes/ labs & the subject. Only your honest feedback can optimize the teaching-learning process. Request you not to skip this question.

4 lines