30.07.2015 Views

ECET 365 Week 3 Quiz (Devry)

For more course tutorials visit www.ecet365.com 1. Question : (TCO #3) Which interrupt is non-maskable? Student Answer: Software interrupt (SWI) Interrupt from a device connected to IRQ pin of HCS12 microcontroller Both A and B Interrupt by multiple devices connected to IRQ pin of HCS12 microcontroller Comments: 2. Question : (TCO #3) Which of the following interrupts has the highest priority? Student Answer: TCNT timer overflow SCI0 ATD0 ATD1 Comments: 3. Question : (TCO #3) Which selection is connected to the reset module in the HCS12 microcontroller? Student Answer: Reset pin ADC0 ADC1 None of the above Comments: 4. Question : (TCO #3) Which bit can mask a maskable interrupt? Student Answer: S bit Z bit N bit None of the above Comments: 5. Question : (TCO #3) In the HCS12 microcontroller, the address range 0xFFFE – 0xFFFF in the interrupt vector table is assigned to which of the following? Student Answer: Clock monitor fail reset ATD0 Reset COP failure reset Comments: 6. Question : (TCO #3) Freescale utilizes BDM to _____. Student Answer: check each instruction of a program individually reset CPU by setting IRQ pin to high-level logic check changes in memory and CPU register for each instruction execution Both A and C Comments: 7. Question : (TCO #3) Watch dog timer is a utility that _____. Student Answer: can reset the microcontroller whenever a program locks up. can catch errors due to memory corruption makes sure that a program does go to an unintentional infinite loop sequence Both A and B Comments: 8. Question : (TCO #3) When an interrupt occurs, _____. Student Answer: in one stage, the contents of the CPU move to RAM memory the CPU finishes executing its current instruction before it starts running an interrupt thread all interrrupts will be ignored if the I bit is zero Both A and B Comments: 9. Question : (TCO #3) Which combination is an appropriate way of setting up the PORTJ interrupt to enabled? Student Answer: Pin I of CCR = 0 Pin I of CCR = 1 Pin I of CCR = 1 and PIEJ7 = 1 Pin I of CCR = 0 and PIEJ6 = 0 Comments: 10. Question : (TCO #3) Which of the following interrupts has the highest priority immediately after a microcontroller reset? Student Answer: Reset XIRQ COP All have the same level of priority.

For more course tutorials visit
www.ecet365.com

1. Question : (TCO #3) Which interrupt is non-maskable?
Student Answer:
Software interrupt (SWI)
Interrupt from a device connected to IRQ pin of HCS12 microcontroller
Both A and B
Interrupt by multiple devices connected to IRQ pin of HCS12 microcontroller
Comments:
2. Question : (TCO #3) Which of the following interrupts has the highest priority?
Student Answer:
TCNT timer overflow
SCI0
ATD0
ATD1
Comments:
3. Question : (TCO #3) Which selection is connected to the reset module in the HCS12 microcontroller?
Student Answer:
Reset pin
ADC0
ADC1
None of the above
Comments:
4. Question : (TCO #3) Which bit can mask a maskable interrupt?
Student Answer:
S bit
Z bit
N bit
None of the above
Comments:
5. Question : (TCO #3) In the HCS12 microcontroller, the address range 0xFFFE – 0xFFFF in the interrupt vector table is assigned to which of the following?
Student Answer:
Clock monitor fail reset
ATD0
Reset
COP failure reset
Comments:
6. Question : (TCO #3) Freescale utilizes BDM to _____.
Student Answer:
check each instruction of a program individually
reset CPU by setting IRQ pin to high-level logic
check changes in memory and CPU register for each instruction execution
Both A and C
Comments:
7. Question : (TCO #3) Watch dog timer is a utility that _____.
Student Answer:
can reset the microcontroller whenever a program locks up.
can catch errors due to memory corruption
makes sure that a program does go to an unintentional infinite loop sequence
Both A and B
Comments:
8. Question : (TCO #3) When an interrupt occurs, _____.
Student Answer:
in one stage, the contents of the CPU move to RAM memory the CPU finishes executing its current instruction before it starts running an interrupt thread
all interrrupts will be ignored if the I bit is zero
Both A and B
Comments:
9. Question : (TCO #3) Which combination is an appropriate way of setting up the PORTJ interrupt to enabled?
Student Answer:
Pin I of CCR = 0
Pin I of CCR = 1
Pin I of CCR = 1 and PIEJ7 = 1
Pin I of CCR = 0 and PIEJ6 = 0
Comments:
10. Question : (TCO #3) Which of the following interrupts has the highest priority immediately after a microcontroller reset?
Student Answer:
Reset
XIRQ
COP
All have the same level of priority.

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>ECET</strong> <strong>365</strong> <strong>Week</strong> 3 <strong>Quiz</strong> (<strong>Devry</strong>)Click Here to Buy the Tutorialhttp://www.ecet<strong>365</strong>.com/product-26-<strong>ECET</strong>-<strong>365</strong>-<strong>Week</strong>-3-<strong>Quiz</strong>For more course tutorials visitwww.ecet<strong>365</strong>.com1. Question : (TCO #3) Which interrupt is non-maskable?Student Answer:Software interrupt (SWI)Interrupt from a device connected to IRQ pin of HCS12microcontrollerBoth A and BInterrupt by multiple devices connected to IRQ pin of HCS12microcontrollerComments:2. Question : (TCO #3) Which of the following interrupts has thehighest priority?Student Answer:TCNT timer overflowSCI0ATD0


ATD1Comments:3. Question : (TCO #3) Which selection is connected to the resetmodule in the HCS12 microcontroller?Student Answer:Reset pinADC0ADC1None of the aboveComments:4. Question : (TCO #3) Which bit can mask a maskable interrupt?Student Answer:S bitZ bitN bitNone of the aboveComments:5. Question : (TCO #3) In the HCS12 microcontroller, the addressrange 0xFFFE – 0xFFFF in the interrupt vector table is assigned towhich of the following?Student Answer:Clock monitor fail resetATD0


ResetCOP failure resetComments:6. Question : (TCO #3) Freescale utilizes BDM to _____.Student Answer:check each instruction of a program individuallyreset CPU by setting IRQ pin to high-level logiccheck changes in memory and CPU register for each instructionexecutionBoth A and CComments:7. Question : (TCO #3) Watch dog timer is a utility that _____.Student Answer:can reset the microcontroller whenever a program locks up.can catch errors due to memory corruptionmakes sure that a program does go to an unintentional infinite loopsequenceBoth A and BComments:8. Question : (TCO #3) When an interrupt occurs, _____.Student Answer:in one stage, the contents of the CPU move to RAM memory the CPUfinishes executing its current instruction before it starts running aninterrupt thread


all interrrupts will be ignored if the I bit is zeroBoth A and BComments:9. Question : (TCO #3) Which combination is an appropriate way ofsetting up the PORTJ interrupt to enabled?Student Answer:Pin I of CCR = 0Pin I of CCR = 1Pin I of CCR = 1 and PIEJ7 = 1Pin I of CCR = 0 and PIEJ6 = 0Comments:10. Question : (TCO #3) Which of the following interrupts has thehighest priority immediately after a microcontroller reset?Student Answer:ResetXIRQCOPAll have the same level of priority.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!