Unit 1-MCQ
Unit 1-MCQ
MCQ
a) Built-in Power-on-reset
b) Brown-out reset
c) Both a & b
d) None of the above
4) How many RPO status bits are required for the selection of two register
banks ?
a) 1
b) 2
c) 8
d) 16
Ans: a) 1
Which statement is precise in relation to FSR, INDF and indirect addressing
mode?
a. Address byte must be written in FSR before executing INDF instruction in
indirect addressing mode
b. Address byte must be written in FSR after executing INDF instruction in
indirect addressing mode
c. Address byte must be written in FSR at the same time during the execution of
INDF instruction in indirect addressing mode
d. Address byte must be always written in FSR as it is independent of any
instruction in indirect addressing mode
a) Only A
b) Only B
c) Only A & B
d) A & D
Ans: a). Only A
5) Which condition/s of MCLR (master clear) pin allow to reset the PIC?
a) High
b) Low
c) Moderate
d) All of the above
Ans: b):Low
7) Which kind of mode is favourable for MCLR pin for indulging in reset
operations?
a) Normal mode
b) Sleep mode
c) Power-down mode
d) Any flexible mode
Ans: b).Sleep mode
10) What happens when the supply voltage falls below 4V during the
power-up timer delay of 72ms in PIC?
a) CPU resets PIC once again in BOR mode
b) BOR reset mode gets disabled
c) PIC does not remain in BOR mode until the voltage increases irrespective
of stability
d) Power-up timer kills 72ms more again
Ans: a)CPU resets PIC once again in BOR mode
12) Which form of clocking mechanism is highly efficient and reliable for
crystal or ceramic clock sources for operating at the range of 5- 200 kHz
in PIC?
a) RC
b) LP (Low-Power Clocking)
c) XT
d) HS (High Speed)
Ans: b) LP (Low-Power Clocking)
15) How many bits are utilized by the instruction of direct addressing
mode in order to address the register files in PIC?
a) 2
b) 5
c) 7
d) 8
Ans: c) 7
20)The first 128 bytes of RAM in the PIC18 are used for the access
bank.
a) True
b) False
Ans: a) True
21)The instruction "MOVWF Ox40" uses which addressing mode?
a) Direct Addressing Mode
b) Immediate Addressing Mode
c) Index ROM
d) Register indirect Addressing Mode
Ans: b) Immediate Addressing Mode
23)In PIC 18, the WREG register is not part of the SFR.
a) True
b) False
Ans: a)True
24)Which pin is used to reset the PIC18F458 chip?
a) MCLR
b) Vcc
c) Vdd
d) OSC1
Ans. a) MCLR
Ans: a) Low
26)How many Vdd and Gnd pins are in the PIC 18F458 chip?
a) 3 pins
b) 4 pins
c) 2 pins
d) 1 pin
Ans: c):2 pin
27)Upon pow er-up, the power-up timer keeps the CPU in the reset state
until the voltage source is stable.
a) True b) false.
Ans: a)True
28)The configuration registers are located within the ROM program
address space.
a) True b) false.
Ans:
29)The high er the clock frequency for the system, the lower the
power dissipation.
a) True b) false.
Ans:
30)If we have the statement BORV = 42 in a given source code, what is
the lowest Vdd voltage level at which the CPU goes i nto the reset state?
a) 4.5 V
b) 4.2 V
c) 2.7 V
d) 2.0 V
Ans: b) 4.2V