FRC C++ Lessons Quiz 1

Descripción

This quiz covers FRC C++ Part 1 (http://goo.gl/j1FudJ), which deals with Command Based Programming. Note: Some questions have multiple "correct" answers, all of which must be selected to receive points. Read the directions on each question carefully!
4574programming
Test por 4574programming, actualizado hace más de 1 año
4574programming
Creado por 4574programming hace más de 9 años
61
1

Resumen del Recurso

Pregunta 1

Pregunta
A subsystem represents...
Respuesta
  • A specific part of the robot (ex. a motor)
  • A complicated task linked to user control that part of the robot does
  • A simple task part of the robot does
  • A broad section of the robot that has parts that work together

Pregunta 2

Pregunta
A Command represents...
Respuesta
  • A broad section of the robot that has parts that work together
  • A simple task part of the robot does
  • A complicated task linked to user control that part of the robot does
  • A specific part of the robot (ex. a motor)

Pregunta 3

Pregunta
An "action" represents...
Respuesta
  • A specific part of the robot (ex. a motor)
  • A simple task part of the robot does
  • A complicated task linked to user control that part of the robot does
  • A broad section of the robot that has parts that work together

Pregunta 4

Pregunta
The OI...
Respuesta
  • Stands for Operator Interface
  • Links Joystick Input to actions
  • Links Joystick Input to commands
  • Specifies which commands are used by a subsystem

Pregunta 5

Pregunta
Teleop Mode...
Respuesta
  • Does not include user input
  • Lasts longer than Autonomous
  • Is shorter than Autonomous
  • Is the "default" game mode
  • will utilize many different commands
  • will only have one command or command group run

Pregunta 6

Pregunta
Autonomous Mode...
Respuesta
  • Does not include user input
  • Is the "default" game mode
  • will only have one command or command group run
  • will utilize many different commands

Pregunta 7

Pregunta
Which of these Commands should be set as default?
Respuesta
  • DriveWithJoystick
  • FLManual
  • FLToggleUp
  • FLToggleDown
  • SLManualUp
  • SLManualDown
  • SLClose
  • SLCatch
  • MovePincerWithJoystick

Pregunta 8

Pregunta
What is the first code your command runs when it is called, and is only run once before the command is called again?
Respuesta
  • 1. The Constructor
  • 2. The Initialize Function
  • 3. The Execute Function
  • 4. The IsFinished Function
  • 5. The End Function
  • 6. The Interrupted Function

Pregunta 9

Pregunta
Where should you place code that stops the command when it is done running?
Respuesta
  • 1. The constructor
  • 2. The Initialize Function
  • 3. The Execute Function
  • 4. The IsFinished Function
  • 5. The End Function
  • 6. The Interrupted Function

Pregunta 10

Pregunta
What is the code that tells your command when it is finished running?
Respuesta
  • 1. The constructor
  • 2. The Initialize Function
  • 3.The Execute Function
  • 4.The IsFinished Function
  • 5.The End Function
  • 6. The Interrupted Function

Pregunta 11

Pregunta
Where should you put code that will cancel the command when another command for the same subsystem is called?
Respuesta
  • 1. The constructor
  • 2. The Initialize Function
  • 3. The Execute Function
  • 4. The IsFinished Function
  • 5. The End Function
  • 6. The Interrupted Function

Pregunta 12

Pregunta
Where do you specify which subsystem your command uses?
Respuesta
  • 1. The constructor
  • 2. The Initialize Function
  • 3. The Execute Function
  • 4. The IsFinished Function
  • 5. The End Function
  • 6. The Interrupted Function

Pregunta 13

Pregunta
Code in which section will be run repeatedly every time the command is checked on?
Respuesta
  • 1. The constructor
  • 2. The Initialize Function
  • 3. The Execute Function
  • 4. The IsFinished Function
  • 5. The End Function
  • 6. The Interrupted Function

Pregunta 14

Pregunta
To create a drive system with 4 motors in RobotBuilder, you drag 4 speed controllers into the Chassis Subsystem folder.
Respuesta
  • True
  • False

Pregunta 15

Pregunta
When creating a button linked to a robot arm moving to a specified position you could (reasonably) use which of the following:
Respuesta
  • WhenPressed
  • WhenReleased
  • WhileHeld

Pregunta 16

Pregunta
When creating a button linked to a robot arm moving up as long as the user needs it to, you could (reasonably) use which of the following:
Respuesta
  • WhenPressed
  • WhenReleased
  • WhileHeld

Pregunta 17

Pregunta
You never need to set default commands for subsystems
Respuesta
  • True
  • False

Pregunta 18

Pregunta
Everything for the OI is created in RobotBuilder
Respuesta
  • True
  • False

Pregunta 19

Pregunta
A red light next to "Communications" means you are missing a wireless connection to the robot
Respuesta
  • True
  • False

Pregunta 20

Pregunta
You should always wear safety glasses when testing robot code
Respuesta
  • True
  • False

Pregunta 21

Pregunta
If something breaks while you are testing the robot, you should keep testing to figure out what went wrong
Respuesta
  • True
  • False

Pregunta 22

Pregunta
It doesnt really matter which mode the robot is in (Teleop, Autonomous, etc.), all the code is the same
Respuesta
  • True
  • False

Pregunta 23

Pregunta
Battery voltages below 12.5 mean you need a new battery
Respuesta
  • True
  • False
Mostrar resumen completo Ocultar resumen completo

Similar

Ecuaciones diferenciales lineales de segundo orden
Juan Beltran
Test ciencias sociales y competencias
crisferroeldeluna
Deeper Learning
Maya V.
Etapas y fases de una Investigación Acción Participativa (IAP) Fuente: T. Alberich
Anabella C UPANA
Planeación Estratégica
Luis Gonzalez
ELEMENTOS DE LA EPISTEMOLOGÍA DE ENFERMERÍA
naye19052012
PAST SIMPLE
almajannette.soa
TECNICAS DE RECOLECCION DE DATOS
Francisco Gómez
Uso De Los Tiempos Verbales
Laura -
FÓRMULAS Geométricas...
Ulises Yo
ANATOMÍA...
Ulises Yo