1 1 pts question 13 the set of commands shown is from

This preview shows page 10 - 13 out of 13 pages.

1 / 1 pts Question 13 The set of commands shown is from GOTO_BEACON. In this list of commands, what does the following command do? SetDigitalOutput(14,freq);
HINT: reread the programming C powerpoint from the lecture to understand how GOTO_BEACON works.
12/13/2017 Programming QUIZ: FA17: ENGR-10 Sections 01 and 02 - Intro to Engr 11/13 Sets the freq variable to 14, which tells the infrared detectors to receive a 1 KHz signal. Sets component 14 on the IR board to 0, which tells the infrared detectors to receive a 1 KHz signal. Sets the freq variable to 14, which tells the infrared detectors to receive a 10 KHz signal. Sets digital port 14 on the controller to 0, which tells the infrared detectors to receive a 1 KHz signal. Sets digital port 14 on the controller to 0, which tells the infrared detectors to receive a 10 KHz signal.
12/13/2017 Programming QUIZ: FA17: ENGR-10 Sections 01 and 02 - Intro to Engr 1 / 1 pts Question 14 The set of commands shown is from the move function in the GOTO_BEACON program. What kind of variable is ambient_level? Hint: reread the Programming C PowerPoint from the lecture to understand this question.
12/13 1 / 1 pts Question 15 The flow chart shown suggests a way to program the movement of the robot. What is the robot doing when you change the state from state=1 to state=2? Hint: reread the Programming C PowerPoint from the lecture to understand this question.
12/13/2017 Programming QUIZ: FA17: ENGR-10 Sections 01 and 02 - Intro to Engr
13/13 Quiz Score: 14 out of 15

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture