Quiz
FRC C++ Lessons Quiz 1
Fragen in diesem Quiz (23)
1A subsystem represents...
- AA specific part of the robot (ex. a motor)
- BA complicated task linked to user control that part of the robot does
- CA simple task part of the robot does
- DA broad section of the robot that has parts that work together
2A Command represents...
- AA broad section of the robot that has parts that work together
- BA simple task part of the robot does
- CA complicated task linked to user control that part of the robot does
- DA specific part of the robot (ex. a motor)
3An "action" represents...
- AA specific part of the robot (ex. a motor)
- BA simple task part of the robot does
- CA complicated task linked to user control that part of the robot does
- DA broad section of the robot that has parts that work together
4The OI...
- AStands for Operator Interface
- BLinks Joystick Input to actions
- CLinks Joystick Input to commands
- DSpecifies which commands are used by a subsystem
5Teleop Mode...
- ADoes not include user input
- BLasts longer than Autonomous
- CIs shorter than Autonomous
- DIs the "default" game mode
- Ewill utilize many different commands
- Fwill only have one command or command group run
6Autonomous Mode...
- ADoes not include user input
- BIs the "default" game mode
- Cwill only have one command or command group run
- Dwill utilize many different commands
7Which of these Commands should be set as default?
- ADriveWithJoystick
- BFLManual
- CFLToggleUp
- DFLToggleDown
- ESLManualUp
- FSLManualDown
- GSLClose
- HSLCatch
- IMovePincerWithJoystick
8What is the first code your command runs when it is called, and is only run once before the command is called again?

- A1. The Constructor
- B2. The Initialize Function
- C3. The Execute Function
- D4. The IsFinished Function
- E5. The End Function
- F6. The Interrupted Function
9Where should you place code that stops the command when it is done running?

- A1. The constructor
- B2. The Initialize Function
- C3. The Execute Function
- D4. The IsFinished Function
- E5. The End Function
- F6. The Interrupted Function
10What is the code that tells your command when it is finished running?

- A1. The constructor
- B2. The Initialize Function
- C3.The Execute Function
- D4.The IsFinished Function
- E5.The End Function
- F6. The Interrupted Function
11Where should you put code that will cancel the command when another command for the same subsystem is called?

- A1. The constructor
- B2. The Initialize Function
- C3. The Execute Function
- D4. The IsFinished Function
- E5. The End Function
- F6. The Interrupted Function
12Where do you specify which subsystem your command uses?

- A1. The constructor
- B2. The Initialize Function
- C3. The Execute Function
- D4. The IsFinished Function
- E5. The End Function
- F6. The Interrupted Function
13Code in which section will be run repeatedly every time the command is checked on?

- A1. The constructor
- B2. The Initialize Function
- C3. The Execute Function
- D4. The IsFinished Function
- E5. The End Function
- F6. The Interrupted Function
14To create a drive system with 4 motors in RobotBuilder, you drag 4 speed controllers into the Chassis Subsystem folder.
- ARichtig
- BFalsch
15When creating a button linked to a robot arm moving to a specified position you could (reasonably) use which of the following:
- AWhenPressed
- BWhenReleased
- CWhileHeld
16When 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:
- AWhenPressed
- BWhenReleased
- CWhileHeld
17You never need to set default commands for subsystems
- ARichtig
- BFalsch
18Everything for the OI is created in RobotBuilder
- ARichtig
- BFalsch
19A red light next to "Communications" means you are missing a wireless connection to the robot
- ARichtig
- BFalsch
20You should always wear safety glasses when testing robot code
- ARichtig
- BFalsch
21If something breaks while you are testing the robot, you should keep testing to figure out what went wrong
- ARichtig
- BFalsch
22It doesnt really matter which mode the robot is in (Teleop, Autonomous, etc.), all the code is the same
- ARichtig
- BFalsch
23Battery voltages below 12.5 mean you need a new battery
- ARichtig
- BFalsch
Informationen
- Beschreibung
- 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!
- Autor
- 4574programming
- Sprache
- English
- Aufrufe
- 85
- Verlauf
- Erstellt am 22 Dez 2014 · aktualisiert am 14 Mai 2016
- Bewertung
- Noch keine Bewertungen Bewerte dieses Quiz