Interfacing with the Arduin Quiz

Interfacing with the Arduin Quiz Answer. In this post you will get Quiz & Assignment Answer Of Interfacing with the Arduin

 

Interfacing with the Arduin Quiz

Offered By ”University of California”

Enroll Now

Week- 1

Module 1 Quiz

1.
Question 1
Pressure in a water pump system is analogous to what concept
in an electrical circuit?

1 point

  • a. resistance
  • b. voltage
  • c. capacitance
  • d. current

=================================================

 

2.
Question 2
A narrow pipe in a water system is analogous to what concept in an electrical circuit?

1 point

  • a. resistance
  • b. voltage
  • c. capacitance
  • d. current

=================================================

 

3.
Question 3
Electrical current is measured in:

1 point

  • a. Ohms
  • b. Coulombs
  • c. Amperes
  • d. Volts

=================================================

 

4.
Question 4
Electrical resistance is measured in:

1 point

  • a. Ohms
  • b. Coulombs
  • c. Amperes
  • d. Volts

=================================================

 

 

5.
Question 5
An LED is reverse-biased when:

1 point

  • a. the voltage across it does exceed its threshold
  • b. the anode and cathode have the same voltage
  • c. current flows through the LED
  • d. the anode is negative with respect to the cathode

=================================================

 

6.
Question 6
The function of a potentiometer is to:

1 point

  • a. measure the resistance between two points in the circuit
  • b. measure the voltage between two points in the circuit
  • c. vary the resistance between points in the circuit
  • d. complete an open circuit

=================================================

 

7.
Question 7
True or False: All of the holes in a column on the side of a breadboard are electrically connected.

1 point

  • True
  • False

=================================================

 

8.
Question 8
True or False: When resistance increases and current is held constant, voltage also increases.

1 point

  • True
  • False

 

Peer-graded Assignment: Peer Assignment: Build a Circuit

https://www.electroschematics.com/turn-on-led-button-arduino/

 

 

Week- 2

Module 2 Quiz

1.
Question 1
Which Arduino function can be used to read information from a sensor?

1 point

a. analogWrite()

b. tone()

c. digitalRead()

d. digitalWrite()

=================================================

 

2.
Question 2
A photoresistor:

1 point

a. changes voltage according to light level

b. increases or decreases current through a wire

c. stores an image

d. changes resistance according to light level

=================================================

 

3.
Question 3
A voltage divider is:

1 point

a. a component that reduces voltage by a known factor

b. a component acts as a power supply for a number of components

c. a circuit that contains resistors connected in series

d. the combination of a set of resistive sensors

=================================================

 

4.
Question 4
True or False: A
voltage-controlling sensor can be read by an Arduino using the analogRead()
function.

1 point

True

False

=================================================

 

5.
Question 5
In order to perform On-Off actuation, the following Arduino
command might be used:

1 point

a. digitalRead()

b. tone()

c. digitalWrite()

d. #include

=================================================

 

6.
Question 6
The function of a Digital to Analog Converter is:

1 point

a. to generate an analog voltage from digital signals

b. to allow analog current to be controlled by a digital number

c. to produce a waveform with an analog frequency

d. to accept both digital and analog inputs

=================================================

 

7.
Question 7
Which Arduino command is used to generate a pulse width modulated signal?

1 point

a. analogWrite()

b. tone()

c. digitalRead()

d. digitalWrite()

=================================================

 

8.
Question 8
The duty cycle of a signal describes:

1 point

a. its frequency

b. its voltage level

c. its peak voltage difference

d. the fraction of time it is high

 

 

Peer-graded Assignment: Peer Asssignment: Light an LED

https://create.arduino.cc/projecthub/57254/turn-led-on-if-surroundings-are-dark-with-ldr-sensor-da9d68

 

 

Week- 3

Module 3 Quiz

1.
Question 1
An EEPROM is:

1 point

a. non-volatile

b. impossible to reprogram

c. cheaper than Flash (per bit)

d. not byte-addressable

=================================================

 

2.
Question 2
A mask is:

1 point

a. a code used to hide data in memory

b. a sequence of bits used to identify bits of interest

c. part of a method for securing memory

d. a secret key inside memory

=================================================

 

3.
Question 3
Assume that you have a byte but you are interested in only the 2 least significant bits of the byte. Which hexadecimal number represents the mask that you would use to help you?

1 point

a. 0xFF

b. 0x80

c. 0x03

d. 0x02

=================================================

 

4.
Question 4
How many wires are used for communication in the I2C protocol?

1 point

a. 2

b. 3

c. 4

d. 5

=================================================

 

5.
Question 5
Which role describes a node that places data on the bus?

1 point

a. Master

b. Slave

c. Transmitter

d. Receiver

=================================================

 

6.
Question 6
When is an Acknowledge bit sent?

1 point

a. at the beginning of each message

b. at the end of each message

c. before the address is sent

d. after each byte is sent

=================================================

 

7.
Question 7
True or False: The Wire.write() function buffers data before sending it.

1 point

True

False

=================================================

 

8.
Question 8
True or False: During normal operation, the SDA line should not change while the SCL line is high.

1 point

True

False

 

Peer-graded Assignment: Peer Assignment: EEPROM Sketch

#include <EEPROM.h>
int address = 0;
int value;
void setup(void)
{
    Serial.begin(9600);
}
void loop(void)
{
    String s = “”;
    s = Serial.readString();
    if(s.startsWith(“read”)){
        address = s.substring(s.indexOf(‘ ‘) + 1).toInt();
        Serial.print(“Data Address: “);
        Serial.println(address);
        Serial.println(EEPROM.read(address));
    }
    else if(s.startsWith(“write”)){
        address = s.substring(6, 7).toInt();
        value = s.substring(8, s.length()).toInt();
        Serial.print(“Address: “);
        Serial.print(address);
        Serial.print(” Data Write: “);
        Serial.println(value);
        EEPROM.write(address, value);
    }
}

Week- 4

Module 4 Quiz

 

1.
Question 1
In a communication over the Internet, how is the “port” number used?

1 point

a. to identify a machine involved in communication

b. to uniquely identify a component on the network

c. to identify the application protocol being used

d. to determine the domain name of the node on the network

=================================================

 

2.
Question 2
The Domain Name Service is:

1 point

a. a system to generate names for Internet domains

b. a service to map domain names to IP addresses

c. a protocol for identifying services provided by different domains

=================================================

 

3.
Question 3
Which of the following is NOT an argument to the Ethernet.begin() function?

1 point

a. MAC address

b. IP address

c. Local processor

d. Gateway

=================================================

 

 

4.
Question 4
DHCP is:

1 point

a. a protocol to assign IP addresses to network nodes

b. a type of router used with Ethernet

c. a location service for network nodes

d. a type of firewall used in small companies

=================================================

 

5.
Question 5
What is NOT a type of encryption used in WiFi today?

1 point

a. WEP

b. WPA

c. WPC

d. WPA2

=================================================

 

6.
Question 6
True or False: The SSID of a WiFi network is the name of the network.

1 point

True

False

=================================================

 

7.
Question 7
True or False: An Ethernet client does not send data to an Ethernet server.

1 point

True

False

=================================================

 

8.
Question 8
True or False: A MAC address is unique for each network adapter.

1 point

True

False

 

 

Peer-graded Assignment: Peer Assignment: WiFi Shield

Download

[Attention]: To get any assignment File you must need to click here to subscribe to YouTube and after that fill up this google form]

 

 

 

Other Questions Of This Category