Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Multiple Choice Identify the letter which best answers each question. Please write your answer in the line provided or you may not receive credit for

Multiple Choice
Identify the letter which best answers each question. Please write your answer in the line provided or you may not receive credit for the problem. q,1. Which set of instructions will create the waveform and light the LED as shown in the diagram? The LED is connected to P14.
A. HIGH 12, PAUSE 500, LOW 12, PAUSE 500
B. HIGH 500, PAUSE 12, LOW 500, PAUSE 12
C. HIGH 14, PAUSE 1000, LOW 14, PAUSE 1000
D. HIGH 12, PAUSE 12, LOW 12, PAUSE 12
E. HIGH 14, LOW 14, PAUSE 500, PAUSE 500
F. None of the above.
q,2. The cathode of an LED is connected to P5 of a BS2 with its anode connected to VDD through a green-blue-brown-gold resistor. Which of the following commands will light the LED?
A. HIGH 13
D. TOGGLE 5
B. PULSOUT 5, NOW
E. DEBUG "Light LED now!"
C. LOW 5
F. HIGH 5
3. An LED is connected to an output pin on the BS2. Which resistor below will set the LED curren approximately 9mA.(NOTE: Assume the LED will drop about 2.0 volts.)
A. yellow-violet-red-gold
D. brown-black-yellow-gold
B. brown-black-black-gold
E. orange-orange-brown-gold
C. green-brown-red-gold
F. Any of the above.
4. Which of the following commands will cause the BASIC stamp to delay for 10 seconds?
A. PAUSE 100
D. PAUSE 10000
B. PAUSE 500
E. PAUSE 5
C. PAUSE 10
F. None of the above.
5. Input 1, Input 2 and Output I have been defined as nibble variables. If both Input 1 and Input 2 are ec 910, what will the decimal value of Output 1 be after the following program line:
Output1= Input1+ Input2
A.2
D.0
B.16
E. None of the above.
C.18
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Practical Database Programming With Visual Basic.NET

Authors: Ying Bai

1st Edition

0521712351, 978-0521712354

More Books

Students also viewed these Databases questions