The subsequent problems deal with the following PIC circuit, where the PORTB pins are attached directly up to the individual segments of a 7-segment LED display as shown. (Note - All seven segments "a"-"g" are wired as shown for segment "g," with a pull-up resistor to 5V.) Assume the PORTB pins are declared as outputs.Which of the following statements would make a "2" appear on the LED display?

A. PORTB = %00000010
B. PORTB = %00010010
C. PORTB = %01000000
D. PORTB = %11101101
E. PORTB = %11111101


Answer: B

Trades & Technology

You might also like to view...

Describe the two classifications of aluminum alloys.

What will be an ideal response?

Trades & Technology

List three positive and three negative impacts of construction on people, society, or the environment.

What will be an ideal response?

Trades & Technology

In some locales, wind and seismic forces require the use of a(n) ____ to improve the lateral (side-to-side) strength of an exterior wall.

a.shearwall b.embankment c.buttress d.abutment

Trades & Technology

When questioned about her overall customer satisfaction, the owner says "I really do not know for sure, but I very rarely receive any calls from upset customers." Which of these statements is most likely to be true?

A) The shop has a very high level of customer satisfaction. B) The service manager is doing a good job of hiding the customer complaints. C) The shop does not have anyone doing customer follow-up contacts. D) Two of the above choices listed are likely to be true.

Trades & Technology