FRC C++ Lessons Quiz 1

Descrição

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
Quiz por 4574programming, atualizado more than 1 year ago
4574programming
Criado por 4574programming mais de 9 anos atrás
61
1

Resumo de Recurso

Questão 1

Questão
A subsystem represents...
Responda
  • 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

Questão 2

Questão
A Command represents...
Responda
  • 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)

Questão 3

Questão
An "action" represents...
Responda
  • 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

Questão 4

Questão
The OI...
Responda
  • Stands for Operator Interface
  • Links Joystick Input to actions
  • Links Joystick Input to commands
  • Specifies which commands are used by a subsystem

Questão 5

Questão
Teleop Mode...
Responda
  • 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

Questão 6

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

Questão 7

Questão
Which of these Commands should be set as default?
Responda
  • DriveWithJoystick
  • FLManual
  • FLToggleUp
  • FLToggleDown
  • SLManualUp
  • SLManualDown
  • SLClose
  • SLCatch
  • MovePincerWithJoystick

Questão 8

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

Questão 9

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

Questão 10

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

Questão 11

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

Questão 12

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

Questão 13

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

Questão 14

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

Questão 15

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

Questão 16

Questão
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:
Responda
  • WhenPressed
  • WhenReleased
  • WhileHeld

Questão 17

Questão
You never need to set default commands for subsystems
Responda
  • True
  • False

Questão 18

Questão
Everything for the OI is created in RobotBuilder
Responda
  • True
  • False

Questão 19

Questão
A red light next to "Communications" means you are missing a wireless connection to the robot
Responda
  • True
  • False

Questão 20

Questão
You should always wear safety glasses when testing robot code
Responda
  • True
  • False

Questão 21

Questão
If something breaks while you are testing the robot, you should keep testing to figure out what went wrong
Responda
  • True
  • False

Questão 22

Questão
It doesnt really matter which mode the robot is in (Teleop, Autonomous, etc.), all the code is the same
Responda
  • True
  • False

Questão 23

Questão
Battery voltages below 12.5 mean you need a new battery
Responda
  • True
  • False

Semelhante

Processo Administrativo Federal - Quiz I
tiago meira de almeida
Língua Portuguesa - Vocabulário
nando.mrossi
Principais Temas para estudar Geografia
Marina Faria
Direito Civil
GoConqr suporte .
Direito Processual Civil
Joelma Silva
Modelos Atômicos
Caio Carboni
Aprendendo Inteligência
Clarice Plack
5 passos para organizar e monitorar o desempenho nos estudos
Alessandra S.
Citologia
Thamy Procopio
Metonímia
Diogo Alcantara
Contextualização da Aula 2 - Tecnologia na Formação Profissional - SAÚDE
Fabrícia Assunção