Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Question 1. what is responsible for monitoring the bus and making sure a slave r

ID: 2078936 • Letter: Q

Question

Question 1. what is responsible for monitoring the bus and making sure a slave respond only to data and commands that are associated to its own address?

       (a) the master

       (b) the slave

       (c) Both the master and the slave

       (d) Sometimes the slave and sometimes the master.

       (e) None of (a) through (d) is the correct answer.

Question 2. the PC1602F LCD display is initialized by sending control instructions to the configuration registers in the LCD and must be done by setting RS and R/!W low.

       (a) True

       (b) False

Question 3. which of the following statement(s) is/are false about the TextLCD library?

        (a) The TextLCD library is part of the mbed library and will be automatically included and linked when the user include "TextLCD.h" in the source file.

        (b) TextLCD provides the locate() function to move the cursor to different row and column of the LCD display.

        (c) The printf() function from the TextLCD library is the same as the printf() function in the C++ standard library.

        (d) The LCD display can be cleared with the clear() function from the TextLCD library.

        (d) The TextLCD definition also tells the LCD objects which pins are used for which functions.

Question 4. when an LCD objects myLCD is successfully instantiated using the TextLCD definition and provided that the LCD can accommodate required rows and columns, what does the following code do?

myLCD.locate(4,7);

       (a) It identifies the x, y ordinates of point (4, 7).

       (b) It moves the cursor to the 4th line and 7th column.

       (c) It moves the cursor to the 7th line and 4th column.

       (d) It checks to see if the LCD has a location of the 7th line and 4th column.

       (e) None of the above is the correct answer.

Explanation / Answer

1. (a) The master is responsible for it.

2. (a) True

3. (d) The TextLCD definition also tells the LCD objects which pins are used for which functions.

4. (b)  It moves the cursor to the 4th line and 7th column.

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote