IOT Questions and Answers – Microcontroller (ARM 7- Pipelining)

This set of Basic IOT Questions and Answers focuses on “Microcontroller (ARM 7- Pipelining)”.

1. What are the pipelining stages include?
a) Fetch, Decode, Write
b) Fetch, Decode, Execute
c) Fetch, Execute, Write
d) Fetch, Decode, Execute, Write
View Answer

Answer: b
Explanation: ARM7 core has a 3-stage pipeline that increases instruction flow through the processor up to three times. So each instruction is executed in 3 stages:
Fetch – instruction is fetched from memory and placed in pipeline.
Decode – instruction is fetched and data-path signals prepared for next cycle.
Execute – instruction from prepared data-path reads from registry bank, shifts operand to ALU and writes generated result to dominant register.

2. What is pipe lining?
a) Non linear
b) Linear
c) Linear and Non linear
d) Sometimes both
View Answer

Answer: b
Explanation: Pipeline is linear, which means that in simple data processing processor executes one instruction in single clock cycle which while individual instruction takes three clock cycles.

3. What are the no of pins that are in the ARM7 processors?
a) 65 pin with QFP
b) 45 Pin with QFP
c) 45 pin with LLC
d) 65 pin with DIP
View Answer

Answer: d
Explanation: The ARM7 family members have different packages, such as DIP(Dual In Line), QFP(Quad Flap Package), LLC(Leadless Chip Carrier) they all have 40 pins that are dedicated to different functions. Especially 8051 has a Quad Flap Package.
advertisement
advertisement

4. Using what the processor wake-up from power-down?
a) External Interrupts
b) Internal interrupts
c) Serial Programming
d) Program Counter
View Answer

Answer: a
Explanation: The AVR7 processor wakes up from power down mode via external interrupt or BOD.

5. What is the flash memory for LPC2141?
a) 34kB
b) 32kB
c) 128kB
d) 256kB
View Answer

Answer: b
Explanation: The LPC2141/42/44/46/48 microcontrollers are based on a 16-bit/32-bit ARM7TDMI-S CPU with real-time emulation and embedded trace support, that combine the microcontroller with embedded high-speed flash memory ranging from 32 kB to 512 kB.
Sanfoundry Certification Contest of the Month is Live. 100+ Subjects. Participate Now!

6. What are the categories in the vectored interrupt controller?
a) Fast interrupt request
b) Non vectored interrupt request
c) Non-vectored IQR
d) Fast interrupt request, Non vectored interrupt request and Non-vectored IQR
View Answer

Answer: d
Explanation: The vectored Interrupt controller accepts all the interrupts request inputs and categorizes them as Fast Interrupt Request, Vectored Interrupt Request, and Non Vectored IQR as defined by programmable settings. The programmable assignment scheme means that priorities of interrupts from the various peripherals can be dynamically assigned and adjusted.

7. Each peripheral has an interrupt line?
a) True
b) False
View Answer

Answer: a
Explanation: Each peripheral device has one interrupt line connected to the Vectored Interrupt Controller, but may have several internal interrupt flags. Individual interrupt flags may also represent more than one interrupt source.
advertisement

8. What is pin connect block?
a) All pins are having a function without reserved
b) Some pins are Reserved
c) Pins have more than one function
d) Multiplexing of some pins
View Answer

Answer: c
Explanation: The pin connect block allows selected pins of the microcontroller to have more than one function. Configuration registers control the multiplexers to allow connection between the pin and the on chip peripherals.

9. What is the size of ADC and DAC?
a) 16 bit
b) 10 bit
c) 8 bit
d) 32 bit
View Answer

Answer: b
Explanation: The converters are single 10-bit successive approximation analog to digital converters. While ADC0 has 6 channels, ADC1 has 8 channels. And DAC output voltage is the vref voltage.
advertisement

10. How many processors are used in the Instruction pipelining?
a) One
b) Two
c) Three
d) Four
View Answer

Answer: a
Explanation: Pipelining is a technique for implementing instruction level parallelism within a single processor. Pipelining attempts to keep every part of the processor busy with some instructions, by dividing incoming instructions into the series of sequential steps.

11. Which signal is used for pipelining on bis cycle in ARM710T?
a) BWAIT
b) BTRAN
c) BLOK
d) BCLK
View Answer

Answer: b
Explanation: The signal BTAN[1:0] is placed by one bus cycle. This pipelining should be taken into account when these signals are being decoded. The value of BTRAN[1:0] indicates whether the next bus cycle is a data cycle or an address cycle.

12. _______ pin can be used to extend memory access in whole cycle increments.
a) BTRAN
b) BLOK
c) BWAIT
d) BCLK
View Answer

Answer: c
Explanation: BWAIT pin can be used to extend memory access in whole cycle increments. BWAIT is driven by the selected slave during the low phase of BCLK.

13. How many DC-DC converters interfaces in ARM7100?
a) 5
b) 3
c) 4
d) 2
View Answer

Answer: d
Explanation: ARM7100 has two programmable duty ratio 96KHz clock output which is intended to be used as drivers for DC to DC converter in the PSU subsystems.

14. The ARM7TDMI-S uses which pipelining?
a) 2-Stage
b) 3-Stage
c) 4-Stage
d) 5-Stage
View Answer

Answer: b
Explanation: A 3-stage pipelining is used, so instructions are executed in three stages: Fetch, Decode, Execute.

15. The ARM7TDMI-S processor has __________ types of memory cycle.
a) 5
b) 3
c) 4
d) 2
View Answer

Answer: c
Explanation: The ARM7TDMI-S processor has 4 types of memory cycle: Non sequential cycle, Sequential cycle, cp processor register transfer cycle, internal cycle.

Sanfoundry Global Education & Learning Series – IOT.

To practice basic questions and answers on all areas of IOT, here is complete set of 1000+ Multiple Choice Questions and Answers.

If you find a mistake in question / option / answer, kindly take a screenshot and email to [email protected]

advertisement
advertisement
Subscribe to our Newsletters (Subject-wise). Participate in the Sanfoundry Certification contest to get free Certificate of Merit. Join our social networks below and stay updated with latest contests, videos, internships and jobs!

Youtube | Telegram | LinkedIn | Instagram | Facebook | Twitter | Pinterest
Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.